aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #22382 from nextcloud/bugfix/22380John Molakvoæ2020-08-244-0/+57
|\ | | | | Add repair step to remove old dashboard app config
| * Add repair step to remove old dashboard app configJulius Härtl2020-08-244-0/+57
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | [tx-robot] updated from transifexNextcloud bot2020-08-234-2/+4
| |
* | Properly search for users when limittogroups is enabledRoeland Jago Douma2020-08-211-1/+9
|/ | | | | | | Searching just for the uid is not enough. This makes sure this done properly again now. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #20891 from cuppett/cuppett/issue#19790Roeland Jago Douma2020-08-201-6/+38
|\ | | | | Resolves #19790, Provides Support for IAM Credentials
| * Resolves #19790, Provides Support for IAM CredentialsStephen Cuppett2020-08-201-6/+38
| | | | | | | | | | | | | | | | | | | | | | Includes support for either leveraging environment variables passed to the PHP runtime or IAM instance profile present on the host being used. The default and first choice is still the parameter file as documented. See also: https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_credentials_provider.html#chaining-providers Signed-off-by: Stephen Cuppett <steve@cuppett.com>
* | Merge pull request #22331 from ↵Roeland Jago Douma2020-08-2010-23/+30
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/dont-use-deprecated-inigetwrapper Don't use deprecated getIniWrapper() anymore
| * | Don't use deprecated getIniWrapper() anymoreJoas Schilling2020-08-2010-23/+30
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #21529 from nextcloud/enh/encryption/improve_key_formatMorris Jobke2020-08-206-16/+200
|\ \ | | | | | | New SSE key format
| * | New SSE key formatRoeland Jago Douma2020-08-206-16/+200
| | | | | | | | | | | | | | | | | | | | | * Encrypt the keys with the instance secret * Store them as json (so we can add other things if needed) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Make Cache::removeChildren non recursiveRobin Appelman2020-08-202-15/+38
| |/ |/| | | | | | | | | | | | | | | | | | | | | Currently the "add new files during scanning" call stack is smaller than the "remove deleted files during scanning" call stack. This can lead to the scanner adding folders in the folder tree that are to deep to be removed. This changes the `removeChildren` logic to be non recursive so there is no limit to the depth of the folder tree during removal Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #13712 from nextcloud/bugfix/noid/do-not-load-all-routesMorris Jobke2020-08-203-25/+29
|\ \ | |/ |/| Only load routes of the app which is requested
| * Properly inject IRouter into URLGenerator to properly encapsulate testsMorris Jobke2020-08-193-20/+10
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Only load routes of the app which is requestedMorris Jobke2020-08-191-5/+19
| | | | | | | | | | | | | | * Add fallback to load all routes if needed * Move partial loaded routes test to proper place Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Exclude the Bridge Bot password as wellJoas Schilling2020-08-201-2/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #22237 from ↵Roeland Jago Douma2020-08-201-1/+1
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/allow_putContent_empty_string Allow writing empty content to new file
| * | Allow writing empty content to new fileGeorg Ehrke2020-08-131-1/+1
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | [tx-robot] updated from transifexNextcloud bot2020-08-202-0/+2
| | |
* | | Merge pull request #22289 from ↵Morris Jobke2020-08-191-1/+1
|\ \ \ | |_|/ |/| | | | | | | | nextcloud/techdebt/noid/fix-encryption-stream-invalid-scalar-arguments Cast float to int to avoid invalid scalar argument warning
| * | Cast float to int to avoid invalid scalar argument warningMorris Jobke2020-08-181-1/+1
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #22218 from nextcloud/enh/sse/make_legacy_cipher_opt_inRoeland Jago Douma2020-08-195-0/+67
|\ \ \ | | | | | | | | SSE: make legacy format opt in
| * | | Add legacy scanning commandRoeland Jago Douma2020-08-191-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | Make legacy cipher opt inRoeland Jago Douma2020-08-194-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Systems that upgrade have this enabled by default * New systems disable it * We'll have to add some wargning in the setup checks if this is enabled Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #22304 from nextcloud/techdebt/noid/matching-param-namesMorris Jobke2020-08-1911-77/+80
|\ \ \ \ | | | | | | | | | | Use matching parameter names form interfaces and implementations
| * | | | Use matching parameter names form interfaces and implementationsMorris Jobke2020-08-1911-77/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found by Psalm 3.14.1 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | | Merge pull request #22280 from nextcloud/bugfix/noid/429-on-brute-force-maximumMorris Jobke2020-08-197-27/+180
|\ \ \ \ \ | |/ / / / |/| | | | Send "429 Too Many Requests" in case of brute force protection
| * | | | Fix the return type of OC_Template->fetchPage() to be string onlyMorris Jobke2020-08-191-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | | Update autoloaderJoas Schilling2020-08-192-0/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | Fix CSJoas Schilling2020-08-194-0/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | Correctly return ms delay when at maxJoas Schilling2020-08-191-3/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | Add missing defaultJoas Schilling2020-08-191-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | Simplify array filterJoas Schilling2020-08-191-2/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | Fix wrong doc + type hintJoas Schilling2020-08-191-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | Only throw when also the last 30 mins were attackingJoas Schilling2020-08-191-8/+9
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | Make the throttling O(2^n) instead of O(n^n)Joas Schilling2020-08-191-9/+9
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | Make Throttler strictJoas Schilling2020-08-191-9/+10
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | Split delay calculation from getting the attemptsJoas Schilling2020-08-191-5/+17
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | Let the database count the entriesJoas Schilling2020-08-191-2/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | Send "429 Too Many Requests" in case of brute force protectionJoas Schilling2020-08-194-2/+129
| |/ / / | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #22288 from ↵Morris Jobke2020-08-191-2/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | nextcloud/techdebt/noid/fix-oc_image-invalid-scalar-arguments Cast float/char to int to avoid invalid scalar argument warning
| * | | Cast float/char to int to avoid invalid scalar argument warningMorris Jobke2020-08-181-2/+2
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Allow to disable share emailsJoas Schilling2020-08-191-1/+2
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | [tx-robot] updated from transifexNextcloud bot2020-08-192-0/+2
|/ /
* | Improve recent file fetchingRoeland Jago Douma2020-08-181-6/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #16876 Before we'd just fetch everything from all storages we'd have access to. Then we'd sort. And filter in php. Now this of course is tricky if a user shared just a file with you and then has a ton of activity. Now we try to contruct the prefix path. So that the filtering can happen right away in the databae. Now this will make the DB more busy. But it should help overall as in most cases less queries are needed then etc. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | [tx-robot] updated from transifexNextcloud bot2020-08-182-0/+2
| |
* | Merge pull request #22109 from nextcloud/feature/20931/followup-1John Molakvoæ2020-08-171-2/+51
|\ \
| * | Expose status via Collaborators APIGeorg Ehrke2020-08-141-2/+51
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | Merge pull request #22271 from ↵Roeland Jago Douma2020-08-174-2/+15
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/phpdoc/22063/add-interface-method-and-phpdoc Properly add new methods to interface and document in PHPDoc for getR…
| * | | Properly add new methods to interface and document in PHPDoc for getRootMounts()Morris Jobke2020-08-174-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | Introduced in #22063 and was just forgotten. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Fix "misplaced variables" warning of Psalm in PHPDoc statementsMorris Jobke2020-08-176-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | Ref #21787 Signed-off-by: Morris Jobke <hey@morrisjobke.de>