Commit Graph

69 Commits (8904bf645b30fbdfdcb00a2ea607d752ee69d865)

Author SHA1 Message Date
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Joas Schilling 160298c556
fix(mysql): Remove custom MySQL workaround from 2015 2 years ago
Joas Schilling b202b139dd
fix(postgres): Remove old Postgres 9.4 workaround 2 years ago
Joas Schilling ad839dbb0a
fix(sqlite): Remove no longer required autoincrement fix 2 years ago
Carl Schwan e966cfbc4b
Cleanup plsam issues in DB/ContactsManager and Console 2 years ago
Arthur Schiwon 997c2a2a79
fix DBAL exception handling in setValues 3 years ago
Côme Chilliet 8a16e7e8a1
Fix more psalm issues in OC\DB 3 years ago
Côme Chilliet 378630f8a0
Fix psalm issues following doctrine/dbal bump 3 years ago
Côme Chilliet a2a7150d6d
Migrate Repair events to OCP\EventDispatcher\Event 3 years ago
Robin Appelman 1537c3d23b
record backtrace when profiling db requests 4 years ago
Carl Schwan 7d272c54d0 Add a built-in profiler inside Nextcloud 4 years ago
Côme Chilliet ea23523c70
Adapt more code to migration to LoggerInterface 4 years ago
Julius Härtl 83717a7800
Add event logging for db and redis connection 4 years ago
Louis Chemineau 405c5eb813 Add --dry-run option for db:add-missing-* cmd 4 years ago
Joas Schilling 1c138d3ae2
Allow to prefix the Query log with the request id 4 years ago
Carl Schwan 52760a95d9
Check if directoy is writable instead of possibly missing file 4 years ago
Joas Schilling 168c673755
Allow to log DB, redis and LDAP requests into files 4 years ago
Joas Schilling 5bb49feef8
Allow NULL as well for limit, not integer only 4 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Morris Jobke ab48d5e8cb
Cleanup unneeded code around database.xml 5 years ago
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