Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-10Ensure there is a connection object within \OC_DB::enableCaching()Thomas Müller
2014-11-03allow passing driver options, fixes #11718Jörn Friedrich Dreyer
2014-07-15- Added test to trigger index id errorVincent Petry
- re-enable encryption migration tests - sqlite requires reconnect after schema changes Backport of 10a2955 from master
2014-06-17We obviously have to pass the hostname as is when there is no ':' in the ↵Andreas Fischer
hostname. This reverts commit 73062040e68212ac6e92d36211ca0bef91777589.
2014-06-13Merge pull request #9018 from owncloud/dbms-socket-supportFrank Karlitschek
Refactor OC_DB::connect() to properly support sockets.
2014-06-12Don't specify host when using a socket.Andreas Fischer
2014-06-12Rename variable to indicate that it can be port and socket.Andreas Fischer
2014-06-12No need to check the port number as this will fail anyway.Andreas Fischer
2014-06-12Move getValue() to where required. This actually is not required "global data".Andreas Fischer
2014-06-12Move check for : to where it belongs, getting rid of $socket = false;Andreas Fischer
2014-06-12Extract common variables of $connectionParams.Andreas Fischer
2014-06-12Inline $port expression, getting rid of $port variable.Andreas Fischer
2014-06-12Fixes based on suggestionsjosh4trunks
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
2014-06-05Fix variable not always being defined.josh4trunks
2014-06-05Work with MySQL Socketsjosh4trunks
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
2014-06-04Removed simulate db update flag and split into separate methodsVincent Petry
2014-06-04Simulate apps database schema update on upgradeVincent Petry
When upgrade, also simulate the database schema update for apps before doing the actual upgrade.
2014-05-31- fix dropTable() and introduce tableExists()Thomas Müller
- 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
2014-05-19Merge pull request #8639 from owncloud/drop-briefThomas Müller
Remove all occurences of @brief and @returns from PHPDoc
2014-05-19Remove all occurences of @brief and @returns from PHPDocMorris Jobke
* test case added to avoid adding them later
2014-05-19Merge pull request #6457 from owncloud/db-convert-toolFrank Karlitschek
Command line tool to convert current database to others, except sqlite
2014-05-13Fix all PHPDoc types and variable names, in /libRobin McCorkell
2014-04-09Merge remote-tracking branch 'owncloud/master' into db-convert-toolAndreas Fischer
* 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 ...
2014-03-31Deduplicate connection handling code into \OC\DB\ConnectionFactoryAndreas Fischer
2014-02-28More PHPDoc fixes, using scrutinizer patches as hintsBart Visscher
2014-02-19Scrutinizer Auto-FixesScrutinizer Auto-Fixer
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
2014-02-18Merge branch 'master' into scrutinizer_documentation_patchesThomas Müller
Conflicts: lib/private/migration/content.php
2014-02-06polish documentation based on scrutinizer patchesJörn Friedrich Dreyer
2013-12-17Merge branch 'master' into fix-5388-masterBart Visscher
2013-12-11Send "SET NAMES utf8" to MySQL for PHP below 5.3.6Andreas Fischer
2013-11-22Change OC_Migrate from MDB2 to DoctrineBart Visscher
2013-09-30move the private namespace OC into lib/private - OCP will stay in lib/publicThomas Müller
Conflicts: lib/private/vcategories.php