Age | Commit message (Collapse) | Author |
|
|
|
|
|
- re-enable encryption migration tests
- sqlite requires reconnect after schema changes
Backport of 10a2955 from master
|
|
hostname.
This reverts commit 73062040e68212ac6e92d36211ca0bef91777589.
|
|
Refactor OC_DB::connect() to properly support sockets.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I use the term socket for any extension, either unix socket, or internet socket (port).
I check if the socket is all digits
* only integers 0 and larger would pass this test.
I then check if the string is less than or equal to the maximum port number.
By using "if($socket)" I make sure socket isn't false, empty, or the string '0'.
I don't believe I need to initialize $port because $port will always be set if $socket is true. Please show me if I am wrong here. Thanks
|
|
|
|
This passes anything that is not a valid port (0<int<65535) as a unix socket.
I tested this with unix sockets; this needs to be tested with a non-standard mysql port as well but I don't foresee any issues.
To use a unix socket, even one different than PHP's mysql.default_socket..
* Database Host = localhost:/path/to/socket
|
|
|
|
When upgrade, also simulate the database schema update for apps before
doing the actual upgrade.
|
|
- kill replaceDB() - this function is unused and it's implementation obviously wrong
- add method annotation OC_DB_StatementWrapper::fetchAll
- remove duplicate code in Test_DBSchema and reuse OC_DB::tableExists
- remove unused variables
|
|
Remove all occurences of @brief and @returns from PHPDoc
|
|
* test case added to avoid adding them later
|
|
Command line tool to convert current database to others, except sqlite
|
|
|
|
* owncloud/master: (137 commits)
add comment to clearify when a skip in the foreach happens
remove obsolete code
Always define sendmail_is_available
[tx-robot] updated from transifex
Make hardcoded exception messages translatable
Disable sharing in trashbin app
class Test_Config is already declared
[tx-robot] updated from transifex
using array_key_exists() instead of isset() - required because in case the value is null isset is returning false
fixing undefined exception classes
unit test testSetAppValueIfSetToNull() added
unit tests for dynamic backend registration
ignore underscore.js in scrutinizer.yml
adding ownCloud globals to jshintrc: OC, t, n
Use git checkout on directory as some files may not be in git resulting in, e.g.:
adding underscore.js
reduce code duplication, fix parse error, prevent page reload on hitting enter while changing the display name - refs #8085
translations for oc-dialogs reside in code
Fix copy conflict dialog translation
[tx-robot] updated from transifex
...
|
|
|
|
|
|
This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720
Enabled analysis tools:
- PHP Analyzer
- JSHint
- PHP Copy/Paste Detector
- PHP PDepend
|
|
Conflicts:
lib/private/migration/content.php
|
|
|
|
|
|
|
|
|
|
Conflicts:
lib/private/vcategories.php
|