Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Happy new year! | Thomas Müller | 2016-01-12 | 1 | -3/+1 |
| | |||||
* | Remove OC_DB::getConnection | Morris Jobke | 2016-01-07 | 1 | -7/+0 |
| | |||||
* | Remove OC_DB::insertid | Morris Jobke | 2016-01-07 | 1 | -15/+0 |
| | |||||
* | Remove beginTransaction, commit, rollback from OC_DB | Morris Jobke | 2016-01-07 | 1 | -21/+0 |
| | |||||
* | Remove OC_DB::isError | Morris Jobke | 2016-01-07 | 1 | -15/+2 |
| | |||||
* | Remove OC_DB::dropTable | Morris Jobke | 2016-01-07 | 1 | -9/+0 |
| | |||||
* | Remove remainings of mssql | Thomas Müller | 2015-07-29 | 1 | -1/+1 |
| | |||||
* | Remove OC_Log | Thomas Müller | 2015-07-03 | 1 | -2/+2 |
| | |||||
* | fix followup issues with unneeded parameters | Morris Jobke | 2015-04-18 | 1 | -3/+3 |
| | |||||
* | DB: remove unused parameter - was forgotten during the migration to doctrine | Morris Jobke | 2015-04-18 | 1 | -3/+2 |
| | | | | * 377e9a8677afc92bca61fb1bb055901db8457896 <- doctrine merge | ||||
* | Update license headers | Jenkins for ownCloud | 2015-03-26 | 1 | -12/+21 |
| | |||||
* | let insertIfNotExist() throw the native DBALException - no need to hide the ↵ | Thomas Müller | 2015-03-09 | 1 | -15/+2 |
| | | | | real exception | ||||
* | Allow specifying the compare-array for insertIfNotExists() | Joas Schilling | 2015-03-09 | 1 | -2/+2 |
| | |||||
* | Revert "Updating license headers" | Morris Jobke | 2015-02-26 | 1 | -21/+13 |
| | | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36. | ||||
* | Updating license headers | Jenkins for ownCloud | 2015-02-23 | 1 | -13/+21 |
| | |||||
* | Add tableExists to public db api | Robin Appelman | 2014-12-09 | 1 | -37/+2 |
| | |||||
* | Add dropTable to IDBConnection | Robin Appelman | 2014-12-09 | 1 | -10/+1 |
| | |||||
* | Correctly namespace and autoload DatabaseException | Joas Schilling | 2014-11-27 | 1 | -25/+11 |
| | |||||
* | Add missing DB rollback functionality | Dan Bartram | 2014-10-24 | 1 | -0/+7 |
| | |||||
* | Bit more cleanup | Robin Appelman | 2014-10-22 | 1 | -25/+10 |
| | |||||
* | Move creating the database connection to the server container | Robin Appelman | 2014-10-22 | 1 | -63/+2 |
| | |||||
* | Remove implicit prepared statement cache and get the connection from the ↵ | Robin Appelman | 2014-10-22 | 1 | -26/+9 |
| | | | | server container in \OC_DB | ||||
* | Activate the query logger on connect | Robin Appelman | 2014-10-20 | 1 | -0/+1 |
| | |||||
* | Ensure db connection before changing cache state | Duane Johnson | 2014-08-30 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | When trying to upgrade from 7.0.0 to 7.0.2, the manual upgrade path (e.g. ` sudo -u www-data /usr/bin/php5 ./occ upgrade`) exits with the following fatal error: ``` /var/www/owncloud# php occ upgrade PHP Fatal error: Call to a member function disableQueryStatementCaching() on a non-object in /var/www/owncloud/lib/private/db.php on line 423 ``` This is caused by the self::$connection static variable having not been initialized at the point of call. Adding a self::connect() fixes the issue. See https://forum.owncloud.org/viewtopic.php?f=29&t=23398&p=68556#p68556 | ||||
* | - Added test to trigger index id error | Vincent Petry | 2014-07-14 | 1 | -0/+10 |
| | | | | | - re-enable encryption migration tests - sqlite requires reconnect after schema changes | ||||
* | We obviously have to pass the hostname as is when there is no ':' in the ↵ | Andreas Fischer | 2014-06-17 | 1 | -1/+1 |
| | | | | | | hostname. This reverts commit 73062040e68212ac6e92d36211ca0bef91777589. | ||||
* | Merge pull request #9018 from owncloud/dbms-socket-support | Frank Karlitschek | 2014-06-13 | 1 | -25/+19 |
|\ | | | | | Refactor OC_DB::connect() to properly support sockets. | ||||
| * | Don't specify host when using a socket. | Andreas Fischer | 2014-06-12 | 1 | -1/+1 |
| | | |||||
| * | Rename variable to indicate that it can be port and socket. | Andreas Fischer | 2014-06-12 | 1 | -4/+4 |
| | | |||||
| * | No need to check the port number as this will fail anyway. | Andreas Fischer | 2014-06-12 | 1 | -1/+1 |
| | | |||||
| * | Move getValue() to where required. This actually is not required "global data". | Andreas Fischer | 2014-06-12 | 1 | -9/+5 |
| | | |||||
| * | Move check for : to where it belongs, getting rid of $socket = false; | Andreas Fischer | 2014-06-12 | 1 | -8/+5 |
| | | |||||
| * | Extract common variables of $connectionParams. | Andreas Fischer | 2014-06-12 | 1 | -11/+8 |
| | | |||||
| * | Inline $port expression, getting rid of $port variable. | Andreas Fischer | 2014-06-12 | 1 | -2/+1 |
| | | |||||
| * | Fixes based on suggestions | josh4trunks | 2014-06-11 | 1 | -11/+7 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | Fix variable not always being defined. | josh4trunks | 2014-06-04 | 1 | -0/+2 |
| | | |||||
| * | Work with MySQL Sockets | josh4trunks | 2014-06-04 | 1 | -1/+8 |
| | | | | | | | | | | | | | | 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 | ||||
* | | Removed simulate db update flag and split into separate methods | Vincent Petry | 2014-06-04 | 1 | -9/+20 |
| | | |||||
* | | Simulate apps database schema update on upgrade | Vincent Petry | 2014-06-04 | 1 | -3/+9 |
|/ | | | | | When upgrade, also simulate the database schema update for apps before doing the actual upgrade. | ||||
* | - fix dropTable() and introduce tableExists() | Thomas Müller | 2014-05-30 | 1 | -15/+59 |
| | | | | | | | - 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 | ||||
* | Merge pull request #8639 from owncloud/drop-brief | Thomas Müller | 2014-05-19 | 1 | -10/+10 |
|\ | | | | | Remove all occurences of @brief and @returns from PHPDoc | ||||
| * | Remove all occurences of @brief and @returns from PHPDoc | Morris Jobke | 2014-05-19 | 1 | -14/+14 |
| | | | | | | | | * test case added to avoid adding them later | ||||
* | | Merge pull request #6457 from owncloud/db-convert-tool | Frank Karlitschek | 2014-05-19 | 1 | -98/+41 |
|\ \ | |/ |/| | Command line tool to convert current database to others, except sqlite | ||||
| * | Merge remote-tracking branch 'owncloud/master' into db-convert-tool | Andreas Fischer | 2014-04-09 | 1 | -3/+2 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ... | ||||
| * | | Deduplicate connection handling code into \OC\DB\ConnectionFactory | Andreas Fischer | 2014-03-31 | 1 | -98/+41 |
| | | | |||||
* | | | Fix all PHPDoc types and variable names, in /lib | Robin McCorkell | 2014-05-13 | 1 | -1/+1 |
| |/ |/| | |||||
* | | More PHPDoc fixes, using scrutinizer patches as hints | Bart Visscher | 2014-02-28 | 1 | -3/+2 |
|/ | |||||
* | Scrutinizer Auto-Fixes | Scrutinizer Auto-Fixer | 2014-02-19 | 1 | -1/+2 |
| | | | | | | | | | | | 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 | ||||
* | Merge branch 'master' into scrutinizer_documentation_patches | Thomas Müller | 2014-02-18 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: lib/private/migration/content.php | ||||
| * | Merge branch 'master' into fix-5388-master | Bart Visscher | 2013-12-16 | 1 | -0/+3 |
| |\ |