Commit Graph

48 Commits (5cd1880daa048a685da689c7f41a2e50486494de)

Author SHA1 Message Date
Robin Appelman 111fa47f10
remove ReconnectWrapper 5 years ago
Christoph Wurst 2c9cdc1cdb
Add our own DB exception abstraction 5 years ago
Christoph Wurst 8b64e92b92
Bump doctrine/dbal from 2.12.0 to 3.0.0 5 years ago
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 5 years ago
Joas Schilling fbda2d1d25
Don't try to update on NotNullConstraintViolationException, only on unique or foreign key 5 years ago
Joas Schilling 1aa9c9164d
Fix comparing the empty string for global credentials 5 years ago
Julius Härtl f49630f48c
Replace prefix in executeUpdate 5 years ago
Roeland Jago Douma fe46149560
Psalm fixes 5 years ago
Roeland Jago Douma 28be188fbc
Update internal connection class 5 years ago
Morris Jobke f12e7e0e95
Fetch the logger and system config once for all query builder instances 5 years ago
Christoph Wurst d9015a8c94
Format code to a single space around binary operators 5 years ago
Joas Schilling 3212c074b9
Log the number of queries built and executed 5 years ago
Morris Jobke 99c9423766
Remove @suppress SqlInjectionChecker 5 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Christoph Wurst 44577e4345
Remove trailing and in between spaces 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 1a9330cd69
Update the license headers for Nextcloud 19 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 74936c49ea
Remove unused imports 6 years ago
Daniel Kesselberg 9e699a8d21
Add event subscriber for transaction isolation level 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Daniel Kesselberg 9cb7252880
Connection::TRANSACTION_READ_COMMITTED is deprecated 6 years ago
Ole Ostergaard 0d778fcc4e Code cleanup. 7 years ago
Ole Ostergaard a48ea8cffa Add insertIgnoreConflict to Adapter and use it for for executing the file locking. 7 years ago
Morris Jobke 5273639d0e
Add deprecation message ofr insertIfNotExist 7 years ago
Morris Jobke 230e93f575
Catch UniqueConstraintViolationException inside insertIfNotExist 7 years ago
Robin Appelman 335619f6a4
Check connection status and attempt to reconnect each each minute 8 years ago
Robin Appelman aad01894e3
refactor user searching 8 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Lukas Reschke 3d2600b039
Add Phan plugin to check for SQL injections 9 years ago
Joas Schilling 15eec7b83c Start migrations 9 years ago
Piotr Mrówczyński 9fec4031b3
Adjust query/event logging code in favour of more complex owncloud/diagnostics (#27643) 9 years ago
Morris Jobke 3329f44a76
Address comments 9 years ago
Morris Jobke 713f684a8b
Adding tests for 4 byte unicode characters 9 years ago
Philipp Schaffrath 2ccf544ad7
Fixed failing test which was ignoring a required (not null) column (#26303) 9 years ago
Roeland Jago Douma f07d75a4dd
@since 9.2.0 to @since 11.0.0 9 years ago
Joas Schilling 2c4035e806
Inject config and logger 9 years ago
Robin Appelman 3a8e75a814
Allow 4byte unicode filenames on supported platforms 9 years ago
Joas Schilling 0215b004da
Update with robin 10 years ago
Joas Schilling ba87db3fcc
Fix others 10 years ago
Lukas Reschke aba539703c
Update license headers 10 years ago
Joas Schilling 7e3ce83526
Add a method to lock a table 10 years ago
Roeland Jago Douma 893204ef4a
Fix broken exception naming 10 years ago
Roeland Jago Douma d09f835dca
Move \OC\DB to PSR-4 10 years ago
Robin McCorkell 1b2f1cc272 Prevent certain DBs throwing exceptions on same-value updates 10 years ago
Lukas Reschke 933f60e314 Update author information 10 years ago
Joas Schilling 01164e89a4 Move parameter to the right function call 10 years ago
Joas Schilling 76f506e264 Use our OCP constants 10 years ago