summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #20033 from nextcloud/s3-seekable-streamRoeland Jago Douma2020-04-062-21/+206
|\ | | | | Enable fseek for files in S3 storage
| * update autoloaderRobin Appelman2020-04-031-9/+7
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * add basic tests for s3 seeking and add some error handling if reopen return ↵Robin Appelman2020-04-011-8/+18
| | | | | | | | | | | | the wrong range Signed-off-by: Robin Appelman <robin@icewind.nl>
| * make seekable s3 stream genericRobin Appelman2020-04-012-57/+106
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Enable fseek for files in S3 storageLukas Stabe2020-04-012-19/+147
| | | | | | | | Signed-off-by: Lukas Stabe <lukas@stabe.de>
* | Merge pull request #20139 from ↵Roeland Jago Douma2020-04-041-1/+1
|\ \ | | | | | | | | | | | | nextcloud/unify-default-value-for-restricting-user-enumeration-with-settings Unify default value for restricting user enumeration with settings
| * | Unify default value for restricting user enumeration with settingsDaniel Calviño Sánchez2020-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the value was never enabled or disabled, the settings show "Restrict username enumeration to groups" as disabled. However, in some components it was enabled by default, which caused an inconsistency in the behaviour with respect to the settings, for example in the contacts menu. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Properly hint exceptions thrown by getUserFolderJulius Härtl2020-04-031-2/+4
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #19486 from nextcloud/scanner-performanceRoeland Jago Douma2020-04-023-15/+73
|\ \ \ | | | | | | | | Improve performance of file scanner
| * | | restart transaction when cache insert fails due to duplicateRobin Appelman2020-04-011-3/+7
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | call cache->insert directly instead of going trough cache->put first when ↵Robin Appelman2020-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | scanning Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | dont try to get existing cache data during scanning if we already know its a ↵Robin Appelman2020-04-011-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | new file Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | reuse known parentId when inserting cache entries in scannerRobin Appelman2020-04-012-1/+4
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | optimize getMetaData for local storageRobin Appelman2020-04-011-6/+57
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #19890 from nextcloud/enh/comments-reference-idJoas Schilling2020-04-023-22/+136
|\ \ \ \ | |_|_|/ |/| | | Add optional comments reference_id
| * | | Optionally write the reference id into the databaseJoas Schilling2020-03-311-22/+61
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Allow to set and get the reference idJoas Schilling2020-03-312-0/+32
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Add optional column oc_comments.reference_idJoas Schilling2020-03-311-0/+43
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #19781 from ↵Robin Appelman2020-04-012-17/+11
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | nextcloud/quota-include-external-dont-use-current-user Dont always use the current users quota when calculating storage info
| * | | Dont always use the current users quota when calculating storage infoRobin Appelman2020-03-042-17/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead pass the quota as parameter. Without this fix, when 'quota_include_external_storage' is enabled, the webui will show the quota configured for the admin for every user instead of the users quota Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #20241 from nextcloud/fix/license-headers-19Roeland Jago Douma2020-04-01144-21/+156
|\ \ \ \ | | | | | | | | | | Update the license headers for Nextcloud 19
| * | | | Update the license headers for Nextcloud 19Christoph Wurst2020-03-31144-21/+156
| | |/ / | |/| | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #19858 from nextcloud/feature/webauthnRoeland Jago Douma2020-03-318-13/+711
|\ \ \ \ | | | | | | | | | | Add WebAuthn support
| * | | | Start with webauthnRoeland Jago Douma2020-03-317-11/+709
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
| * | | | Make password nullable in LoginDataRoeland Jago Douma2020-03-311-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | [POC] Event for failed login attemptsRoeland Jago Douma2020-03-315-4/+135
|/ / / / | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Update util.phpJohn Molakvoæ2020-03-281-2/+1
| | | |
* | | | Update Config.phpJohn Molakvoæ2020-03-281-4/+1
|/ / /
* | | Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-2732-42/+0
|\ \ \ | | | | | | | | Remove unused imports
| * | | Remove unused importsChristoph Wurst2020-03-2532-42/+0
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Use the short array syntax, everywhereChristoph Wurst2020-03-26127-655/+655
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Use lowercase true, false and null constantsChristoph Wurst2020-03-254-4/+4
|/ / / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #20145 from ↵blizzz2020-03-251-1/+1
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/generated-avatars-and-nophoto-cache Fix generated avatars and nophoto cache files
| * | | Fix generated avatars and nophoto cache filesJoas Schilling2020-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since nextcloud/server#19493 newFile() by default does not write the file anymore. Setting an empty string as content will make it write the file immediate, without having to call putContent() afterwards. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #14722 from tacruc/GpgMailerHooksRoeland Jago Douma2020-03-253-6/+28
|\ \ \ \ | | | | | | | | | | Add Mailer events
| * | | | Added Hook before Message is sendArne Hamann2020-03-243-6/+28
| |/ / / | | | | | | | | | | | | Signed-off-by: Arne Hamann <kontakt+github@arne.email>
* | | | Merge pull request #19782 from nextcloud/quota-wrapper-include-externalRoeland Jago Douma2020-03-241-9/+18
|\ \ \ \ | | | | | | | | | | Use global used space in quota wrappen when external storage is included
| * | | | Use global used space in quota wrappen when external storage is includedRobin Appelman2020-03-041-9/+18
| | |/ / | |/| | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #20127 from nextcloud/bugfix/noid/check-user-on-remote-wipeRoeland Jago Douma2020-03-241-7/+3
|\ \ \ \ | |_|/ / |/| | | Check the user on remote wipe
| * | | Check the user on remote wipeJoas Schilling2020-03-161-7/+3
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Remove admin_notifications since it is obsolete since Nextcloud 14Julius Härtl2020-03-241-1/+0
| |_|/ |/| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #17684 from mlatief/support-no-proxyRoeland Jago Douma2020-03-221-7/+34
|\ \ \ | | | | | | | | Add support for GuzzleHTTP 'no' proxy
| * | | Add support for GuzzleHTTP 'no' proxyMohammed Abdellatif2020-02-291-7/+34
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The custom config allows to setup a proxy URI that is passed to GuzzleHTTP client as request options. Guzzle has the option to receive an array of proxies for each URI scheme as well as 'no' key value pair to provide a list of host names that should not be proxied to. Guzzle would automatically populate these options with HTTPS_PROXY and NO_PROXY environment variables. However, when providing a 'proxy' request option, default values will be overriden and it is required to explicitly provide the 'no' value if needed. More info: http://docs.guzzlephp.org/en/stable/request-options.html#proxy This commit will add support for a new config 'proxyexclude', which takes a list of host names to be excluded. It will also provide 'proxy' request option as an array instead of a string to Guzzle, and populate 'http' and 'https' URI schemes with proxy URI, and 'no' with 'proxyexclude' list. Also, if no 'proxy' is configured, it will leave out 'proxy' request option, so it won't override Guzzle default values. Sample config file includes a hint on how to explicitly sync 'proxyexclude' with NO_PROXY, and a note about default values. Signed-off-by: Mohammed Abdellatif <m.latief@gmail.com>
* | | Expose enumeration config though share managerJulius Härtl2020-03-201-0/+9
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Limit enumeration in contacts storeJulius Härtl2020-03-201-1/+2
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Limit user search in Collaborators pluginsJulius Härtl2020-03-203-5/+50
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Fix recursive calls in logging via server methodsJoas Schilling2020-03-182-162/+196
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #19978 from nextcloud/harden/check_for_ownerRoeland Jago Douma2020-03-181-0/+5
|\ \ \ | | | | | | | | Actually check if the owner is not null
| * | | Actually check if the owner is not nullRoeland Jago Douma2020-03-161-0/+5
| | |/ | |/| | | | | | | | | | | | | | | | Else this can error out on storages that do not have an owner (e.g. groupfolders). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #19981 from nextcloud/enh/reset_target_if_null_after_shareRoeland Jago Douma2020-03-181-0/+5
|\ \ \ | | | | | | | | Update the target when it isempty after sharing