summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Fix getDirectoryContent implementation for Jail wrapperRobin Appelman2020-04-302-3/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #20710 from nextcloud/fix/argon2-options-checksRoeland Jago Douma2020-04-301-10/+5
|\ | | | | Fix Argon2 options checks
| * Fix Argon2 options checksMichaIng2020-04-301-10/+5
| | | | | | | | | | | | | | | | | | | | | | The minimum for memory cost is 8 KiB per thread. Threads must be checked and set first to allow checking against the correct memory cost mimimum. Options are now applied the following way: - If config.php contains the setting with an integer higher or equal to the minimum, it is applied. - If config.php contains the setting with an integer lower than the minimum, the minimum is applied. - If config.php does not contain the setting or with no integer value, the PHP default is applied. Signed-off-by: MichaIng <micha@dietpi.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #20742 from nextcloud/fix/csRoeland Jago Douma2020-04-301-6/+0
|\ \ | | | | | | Run the cs fixer for green ci
| * | Run the cs fixer for green ciRoeland Jago Douma2020-04-301-6/+0
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #20677 from ↵Joas Schilling2020-04-301-11/+25
|\ \ | |/ |/| | | | | nextcloud/followup/17718/scaling-user-provisioning Scaling user provisioning for subadmins with many groups
| * Don't loop over all groups to check for subadminsJoas Schilling2020-04-271-11/+24
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Patch to optimize for large installations (>5000 users >20000 groups) where ↵Mikael Hammarin2020-04-251-0/+1
| | | | | | | | | | | | | | | | | | | | subadmins have access to many of groups (>250) - UsersController:editUser() calls isUserAccessible() even if the user is admin This fix reduces API calls to editUser (ex change locale/display name) from >2 minutes (!) to ~3 seconds per call in average. Signed-off-by: Mikael Hammarin <mikael@try2.se>
* | Merge pull request #18883 from adrb/optimize_swift_14116Roeland Jago Douma2020-04-302-18/+48
|\ \ | | | | | | Optimize Openstack Swift files download
| * | It's a fix for issue #14116,Adrian Brzezinski2020-04-272-18/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improves efficiency when downloading files from Swift storage. Before, files were downloaded and then pushed back to user. That behaevior causes all kinds of performance problems. Now, files are streamed directly to user. Signed-off-by: Adrian Brzezinski <adrian.brzezinski@eo.pl>
* | | Merge pull request #20717 from nextcloud/fix/getconfig-param-definitionsRoeland Jago Douma2020-04-301-3/+3
|\ \ \ | | | | | | | | Define getSystemValueBool/Int/String function default parameter with correct type
| * | | Define getSystemValueBool/Int/String function default parameter with correct ↵MichaIng2020-04-291-3/+3
| |/ / | | | | | | | | | | | | type Signed-off-by: MichaIng <micha@dietpi.com>
* / / Update license headers for 19Christoph Wurst2020-04-29195-42/+209
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #20650 from tekhnee/patch-1Morris Jobke2020-04-271-1/+1
|\ \ | | | | | | Adhere to EMailTemplate interface in constructor call.
| * | Adhere to EMailTemplate interface in constructor call.Tekhnee2020-04-251-1/+1
| |/ | | | | | | | | Email creation appears to have been refactored lately but it looks like custom template-based emails were left out. Signed-off-by: Tekhnee <info@tekhnee.org>
* | Merge pull request #19929 from nextcloud/bugfix/user-delete-avatarMorris Jobke2020-04-272-0/+21
|\ \ | | | | | | Delete avatar if a user is deleted
| * | Delete avatar if a user is deletedJulius Härtl2020-04-242-0/+21
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #19793 from nextcloud/bugfix/noid/link-to-federated-reshareMorris Jobke2020-04-271-5/+0
|\ \ \ | |_|/ |/| | Fix resharing of federated shares that were created out of links
| * | Link shares have reshare permission if outgoing federated shares are enabledJulius Härtl2020-04-211-5/+0
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Allow specifying a default expiration dateRoeland Jago Douma2020-04-241-2/+12
| | | | | | | | | | | | | | | | | | This overrides the max expiration date. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #20627 from ↵Morris Jobke2020-04-243-191/+0
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/cleanup/noid/remove-obsolete-repair-steps Remove obsolete repair steps for logo and updater channel
| * | | Remove obsolete repair steps for logo and updater channelMorris Jobke2020-04-243-191/+0
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Merge pull request #20298 from nextcloud/enh/noid/auto-logoutblizzz2020-04-243-26/+43
|\ \ \ \ | |_|_|/ |/| | | Allow to configure auto logout after browser inactivity
| * | | Do not create remember me cookieJulius Härtl2020-04-231-2/+6
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Provide config though initial state serviceJulius Härtl2020-04-232-24/+37
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #18816 from nextcloud/bugfix/noid/paginate-contacts-searchblizzz2020-04-233-4/+4
|\ \ \ \ | |/ / / |/| | | Use paginated search for contacts
| * | | Use paginated search for contactsJulius Härtl2020-04-233-4/+4
| |/ / | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* / / filter out blacklisted files in getDirectoryContentRobin Appelman2020-04-231-1/+1
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix new routing in settings etcRoeland Jago Douma2020-04-221-52/+44
| | | | | | | | | | | | | | | | | | Also prefix resources Unify the prefix handling Handle urls with and without slash Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #20114 from ↵Roeland Jago Douma2020-04-212-79/+77
|\ \ | |/ |/| | | | | nextcloud/techdebt/noid/allow-some-apps-to-have-root-urls Allow some apps to have root URLs in their own routing file
| * Extend tests for root urlJoas Schilling2020-04-181-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * PHP CS fixesJoas Schilling2020-04-181-3/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Fix creation of legacy routesJoas Schilling2020-04-181-0/+29
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Allow some apps to have root URLs in their own routing fileJoas Schilling2020-04-182-78/+48
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add method to storage backends to get directory content with metadataRobin Appelman2020-04-2011-59/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently you need to use `opendir` and then call `getMetadata` for every file, which adds overhead because most storage backends already get the metadata when doing the `opendir`. While storagebackends can (and do) use caching to relief this problem, this adds cache invalidation dificulties and only a limited number of items are generally cached (to prevent memory usage exploding when scanning large storages) With this new methods storage backends can use the child metadata they got from listing the folder to return metadata without having to keep seperate caches. Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Move to subfolders for preview filesRoeland Jago Douma2020-04-193-18/+151
|/ | | | | | | | | | | Else the number of files can grow very large very quickly in the preview folder. Esp on large systems. This generates the md5 of the fileid. And then creates folders of the first 7 charts. In that folder is then a folder with the fileid. And inside there are the previews. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #20447 from liamjack/fix/13287/welcome_emailJohn Molakvoæ2020-04-171-2/+2
|\ | | | | Increase max-height on button in welcome email template
| * Fix #13287 - Increase max-height on button in welcome email templateLiam JACK2020-04-121-2/+2
| | | | | | | | Signed-off-by: Liam JACK <liamjack@users.noreply.github.com>
* | Merge pull request #20505 from nextcloud/fix/noid/system-credsblizzz2020-04-161-6/+6
|\ \ | | | | | | do not advertise nulled userId for for systemwide credentials
| * | fix credentialsManager documentation and ensure userId to be used as stringArthur Schiwon2020-04-151-6/+6
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #16946 from exussum12/patch-1Roeland Jago Douma2020-04-161-2/+2
|\ \ \ | | | | | | | | Increase max read
| * | | Update View.phpScott Dutton2020-04-151-2/+2
| | | |
| * | | Increase max readScott Dutton2020-04-121-2/+2
| | |/ | |/| | | | | | | | | | | | | 8kb is very low, especially given this will be local files Signed-off-by: Scott Dutton <scott@exussum.co.uk>
* | | Merge pull request #20246 from nextcloud/fix/untranslated_mail_footerRoeland Jago Douma2020-04-165-22/+22
|\ \ \ | | | | | | | | Provide the proper language to the mailer
| * | | Provide the proper language to the mailerRoeland Jago Douma2020-04-165-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Else we can't properly translate the footer in the recipients e-mail language. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Revert "Make sure MySQL is not saying 'this' = 'this ' is true"Roeland Jago Douma2020-04-152-9/+1
|/ / /
* | / Run cs:fix and fix HashWrapper codeMorris Jobke2020-04-151-1/+3
| |/ |/| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #19540 from jlutran/fixKeystoneV3AuthMorris Jobke2020-04-151-0/+4
|\ \ | | | | | | Fix issues with Keystone auth v3 in files_external app
| * | Fix issues with Keystone auth v3 in files_external appJulien Lutran2020-04-151-0/+4
| | | | | | | | | | | | Signed-off-by: Julien Lutran <julien.lutran@corp.ovh.com>
* | | Merge pull request #20050 from nextcloud/bugfix/noid/mysql-equal-trims-shockMorris Jobke2020-04-152-1/+9
|\ \ \ | | | | | | | | Make sure MySQL is not saying 'this' = 'this ' is true