Commit Graph

156 Commits (2e36ea010a445295a451a00aaece42b081eb82ee)

Author SHA1 Message Date
Joas Schilling 16e9bf2309
Make sure MySQL is not saying 'this' = 'this ' is true 6 years ago
Christoph Wurst 28f8eb5dba
Add visibility to all constants 6 years ago
Christoph Wurst 1584c9ae9c
Add visibility to all methods and position of static keyword 6 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 41b5e5923a
Use exactly one empty line after the namespace declaration 6 years ago
Christoph Wurst 2fbad1ed72
Fix (array) indent style to always use one tab 6 years ago
Christoph Wurst 85e369cddb
Fix multiline comments 6 years ago
Christoph Wurst 1a9330cd69
Update the license headers for Nextcloud 19 6 years ago
Joas Schilling 720dc4e93d
Add optional column oc_comments.reference_id 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 74936c49ea
Remove unused imports 6 years ago
Christoph Wurst 5fc4c91a76
Fix mismatching doc block parameter types 6 years ago
Daniel Kesselberg 9e699a8d21
Add event subscriber for transaction isolation level 6 years ago
Joas Schilling 059968e1c7
Pick a shorter name for the transfer ownership table 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Robin Appelman 9e450d727a
add LEAST and GREATER to db function builder 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
Robin Appelman ac209cea52
add count() as shortcut for count('*') in FunctionBuilder 6 years ago
Robin Appelman 0e9feeb090
return from QueryBuilder instead of IQueryBuilder 6 years ago
Robin Appelman 8ef5a366ec
add MAX and MIN to functionbuilder 6 years ago
Arthur Schiwon d0409548c6
instead of upsert, fallback to default query on PgSQL <= 9.4 7 years ago
Christoph Wurst 3174012adf Add event dispatcher to OCP 7 years ago
Roeland Jago Douma d11caf1a3a
No need for platform hacks anymore 7 years ago
Joas Schilling b3e6cbc4c5
Remove the custom prefix from the table name length when checking on the default primary index 7 years ago
Joas Schilling f906913177
Allow to use Subqueries in from 7 years ago
Joas Schilling f557e1e214
Indeces, columns and sequences don't have the table prefix 7 years ago
Morris Jobke f889beae7e
Fix PHPDoc 7 years ago
Ole Ostergaard 0d778fcc4e Code cleanup. 7 years ago
Ole Ostergaard d62da82bf9 Add supression of SqlInjectionChecker. 7 years ago
Ole Ostergaard c9b6487393 Add PostgreSQL specific implementation for includeIgnoreConflict. 7 years ago
Ole Ostergaard a48ea8cffa Add insertIgnoreConflict to Adapter and use it for for executing the file locking. 7 years ago
Robin Appelman bfd539017f
add casting to string for postgresql query builder 7 years ago
Joas Schilling c09fa1ee65
Only check the Oracle schema conditions if the app supports it 7 years ago
Joas Schilling f265657bc6
Only check changed items 7 years ago
Morris Jobke 5273639d0e
Add deprecation message ofr insertIfNotExist 7 years ago
Morris Jobke 230e93f575
Catch UniqueConstraintViolationException inside insertIfNotExist 7 years ago
Joas Schilling bb352fb667
Use the defined func()->count() instead of manual counting 7 years ago
Daniel Kesselberg 0ee191bf44
Use const for dbname and dbtableprefix defaults 7 years ago
Joas Schilling f5c63d7a6e
Disable Oracle enforcement for now until the following issues are solved: 8 years ago
Joas Schilling ef5074adaa
Fix primary key handling on postgres 8 years ago
Joas Schilling 008c8dde1a
Ignore custom prefixes which are longer 8 years ago
Joas Schilling 5e0bfe5c16
Ignore automatic generated sequences 8 years ago
Joas Schilling 960961148e
Fix calculation of default name 8 years ago
Joas Schilling 8a45cb1d20
Prevent too long identifier names 8 years ago
Joas Schilling 891de38080
Only create the schema when moving between databases 8 years ago
Joas Schilling 011fe9e0f9
MySQL 8.0+ and MariaDB 10.3+ are large prefix and barracuda by default 8 years ago