summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #23508 from nextcloud/fix/23355/iuser-expected-null-givenMorris Jobke2020-10-161-1/+1
|\ | | | | fixes potential passing of null to getUserGroupIds
| * fixes potential passing of null to getUserGroupIdsArthur Schiwon2020-10-161-1/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #23478 from nextcloud/fix/21059/fix-deadlock-in-scsscacherMorris Jobke2020-10-162-1/+17
|\ \ | | | | | | Clear cached app config while waiting for the SCSSCache lock to return
| * | Clear cached app config while waiting for the SCSSCache to finish processing ↵Morris Jobke2020-10-162-1/+17
| |/ | | | | | | | | | | the file Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / SCSSCacher - Lock should not be removedMorris Jobke2020-10-161-1/+0
|/ | | | | | This is within the failed lock acquiring branch. So the lock is free by another process and should not be removed because the cached file (that was created by the process having the lock) appeared on the filesystem. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #23490 from ↵Morris Jobke2020-10-161-10/+25
|\ | | | | | | | | nextcloud/debug/noid/log-statements-for-scss-locking Provide log statements for SCSS cache
| * Provide log statements for SCSS cacheMorris Jobke2020-10-161-10/+25
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Type the authentication listenersChristoph Wurst2020-10-157-0/+21
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Add psalm types for the event dispatcherChristoph Wurst2020-10-153-2/+16
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add psalm types for the migration schema closureChristoph Wurst2020-10-152-12/+15
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix type errors detected by PsalmChristoph Wurst2020-10-143-4/+10
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Annotate IContainer so Psalm knows what resove and query returnChristoph Wurst2020-10-141-0/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* [tx-robot] updated from transifexNextcloud bot2020-10-142-0/+2
|
* Merge pull request #23409 from nextcloud/fix/cache-entry-array-accessMorris Jobke2020-10-132-2/+8
|\ | | | | The file cache entry is array accessible
| * The file cache entry is array accessibleChristoph Wurst2020-10-132-2/+8
| | | | | | | | | | | | … so let's make this part of our API. We use it as array already. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | The encryption decrypt position can be int or stringChristoph Wurst2020-10-131-1/+1
|/ | | | | | | The public API said string, internally we treated it as int. In reality both are used. Let's reflect that in the documented argument type. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #23382 from ↵Joas Schilling2020-10-1312-61/+55
|\ | | | | | | | | nextcloud/techdebt/noid/psr-logger-in-authentication Use PSR logger in authentication
| * Use PSR logger in authenticationJoas Schilling2020-10-1212-61/+55
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | [tx-robot] updated from transifexNextcloud bot2020-10-132-0/+2
|/
* Merge pull request #23378 from R0Wi/bugfix/registration_typoMorris Jobke2020-10-121-1/+1
|\ | | | | Fix typo 'shared'
| * Fix typo 'shared'Robin Windey2020-10-121-1/+1
| |
* | Add Psalm type for the bootstrap registration contextChristoph Wurst2020-10-121-2/+13
|/ | | | | | This can potentially catch a few bugs with wrong class strings. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Type some of the core mappersChristoph Wurst2020-10-124-1/+10
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add template typing to the QBMapperChristoph Wurst2020-10-121-2/+17
| | | | | | | | | | | | | The QBMapper is kind of a generic type, though this concept does not exist in php. Hence you have a lot of type coercion in subtypes (mappers in the individual apps) because you suddenly don't expect an Entity[] but your specific type. Luckily Psalm lets us type those. Then in the subclass you can psalm-implement the mapper with a concrete type and psalm will do all the magic to ensure types are used correctly. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #23249 from nextcloud/techdebt/server-container-cleanupRoeland Jago Douma2020-10-091-227/+263
|\ | | | | Server container cleanup
| * Clean up the serverChristoph Wurst2020-10-091-227/+263
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #23287 from nextcloud/enh/bruteforce/limit_storageRoeland Jago Douma2020-10-096-0/+115
|\ \ | |/ |/| Limit storing bruteforce attempts
| * Limit throttler to 48 hoursRoeland Jago Douma2020-10-081-0/+5
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Add cleanup job for old brutefoce attemptsRoeland Jago Douma2020-10-085-0/+110
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | [tx-robot] updated from transifexNextcloud bot2020-10-092-0/+4
|/
* Merge pull request #23291 from ↵Roeland Jago Douma2020-10-082-9/+8
|\ | | | | | | | | nextcloud/techdebt/noid/use-psr-logger-in-event-dispatcher Use PSR Logger in event dispatcher
| * Use PSR Logger in event dispatcherJoas Schilling2020-10-082-9/+8
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Job::run() does not return anythingMorris Jobke2020-10-081-1/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #23245 from nextcloud/techdebt/server-bus-deprecate-aliasRoeland Jago Douma2020-10-081-3/+3
|\ | | | | Deprecate the named alias of IBus
| * Deprecate the named alias of IBusChristoph Wurst2020-10-071-3/+3
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | [tx-robot] updated from transifexNextcloud bot2020-10-082-0/+2
|/
* Merge pull request #23184 from ↵Morris Jobke2020-10-072-36/+33
|\ | | | | | | | | nextcloud/bugfix/noid/make-sure-getUsersFavoritingObject-can-be-run-without-a-user Make sure getUsersFavoritingObject can be run without a user
| * Make sure getUsersFavoritingObject can be run without a userJoas Schilling2020-10-062-36/+33
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #23248 from nextcloud/techdebt/server-getters-query-getRoeland Jago Douma2020-10-071-102/+103
|\ \ | | | | | | Use the ContainerInterface::get inside the server container
| * | Use the ContainerInterface::get inside the server containerChristoph Wurst2020-10-071-102/+103
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #23252 from nextcloud/fix/l10n/activitiesRoeland Jago Douma2020-10-071-1/+1
|\ \ \ | | | | | | | | Use the correct l10n for activities
| * | | Use the correct l10n for activitiesRoeland Jago Douma2020-10-071-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #23244 from ↵Roeland Jago Douma2020-10-072-14/+17
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | nextcloud/techdebt/noid/user-psr-logger-interface-in-comments Use PSR logger interface in comments manager
| * | | Use PSR logger interface in comments managerJoas Schilling2020-10-072-14/+17
| |/ / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | [tx-robot] updated from transifexNextcloud bot2020-10-072-4/+4
| | |
* | | Merge pull request #23144 from nextcloud/enh/noid/update-param-for-psalmMorris Jobke2020-10-064-17/+19
|\ \ \ | |/ / |/| | Less psalm warnings
| * | Add explicit typecast for $value.Daniel Kesselberg2020-10-032-3/+3
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | Update signature for setDaniel Kesselberg2020-10-022-2/+3
| | | | | | | | | | | | | | | | | | also ILiteral and IQueryFunction are valid. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | Update signature for in/notInDaniel Kesselberg2020-10-022-4/+4
| | | | | | | | | | | | | | | | | | $y is always passed to quoteColumnName hence ILiteral|IParameter|IQueryFunction are supported. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | Update signature for like/notLike/in/notInDaniel Kesselberg2020-10-022-8/+9
| | | | | | | | | | | | | | | | | | $x is always passed to quoteColumnName hence ILiteral|IParameter|IQueryFunction are supported. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>