summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Reopen sessions if we need to write to them instead of keeping them openJulius Härtl2022-08-174-8/+36
| | | | | | | Sessions are a locking operation until we write close them, so close them early and reopen later in case we want to write to them Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #32943 from ↵Vincent Petry2022-08-179-133/+125
|\ | | | | | | | | nextcloud/unencrypted-size-revert-interface-changes Revert interface changes from "store unencrypted size in the unencrypted_size column"
| * fix updating size when folder is emptyRobin Appelman2022-08-161-13/+17
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * store unencrypted size in the unencrypted_size columnRobin Appelman2022-08-165-50/+139
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Revert "store unencrypted size in the unencrypted_size column"Robin Appelman2022-08-165-130/+47
| | | | | | | | | | | | This reverts commit 8238582e59b7b6ec03318bcf81bf47cce54af320. Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Revert "add case statement to sql function builder"Robin Appelman2022-08-161-11/+0
| | | | | | | | | | | | This reverts commit 2a68819a67045d87a369a8a6413f153b3b2bea5f. Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Revert "make expression build return IQueryFunction instead of string"Robin Appelman2022-08-166-92/+85
| | | | | | | | | | | | This reverts commit 813b50ed428a8bc36817d19c84444e96dbe3b668. Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #33550 from nextcloud/jail-search-postVincent Petry2022-08-171-5/+7
|\ \ | | | | | | optimize search post-processing for jail wrapper
| * | optimize search post-processing for jail wrapperRobin Appelman2022-08-161-5/+7
| |/ | | | | | | | | | | don't both asking the wrapped cache if we know it's not in our jail anyway Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #33540 from nextcloud/mount-provider-migrationVincent Petry2022-08-171-1/+6
|\ \ | | | | | | fix updating cached mounts that didn't have their mount provider set previously
| * | fix updating cached mounts that didn't have their mount provider set previouslyRobin Appelman2022-08-161-1/+6
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #33551 from nextcloud/scanner-dont-update-same-sizeVincent Petry2022-08-172-4/+11
|\ \ | | | | | | don't update the folder size if we know it hasn't changed
| * | don't update the folder size if we know it hasn't changedRobin Appelman2022-08-162-4/+11
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #33559 from yeyulantu/bugfix-search-cacheJulius Härtl2022-08-161-1/+1
|\ \
| * | fixed the cache searchBuilder negative mapDavid2022-08-161-1/+1
| |/ | | | | Signed-off-by: David <37280718+yeyulantu@users.noreply.github.com>
* | Make DisplayNameCache return null if user doesn't existsCarl Schwan2022-08-163-4/+4
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge branch 'master' into display-name-cache-publicCarl Schwan2022-08-15143-1055/+1523
|\| | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * fix exif metadata providerRobin Appelman2022-08-121-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Create more secure passwords by defaultJoas Schilling2022-08-121-4/+10
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Recover installation when creating the user failedJoas Schilling2022-08-121-0/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Do not update passwords if nothing changedJulius Härtl2022-08-091-3/+6
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Merge pull request #32363 from nextcloud/cleanup/remove-long-deprecated-classesCarl Schwan2022-08-088-65/+65
| |\ | | | | | | Remove OCP\App and OCP\BackgroundJob
| | * Remove OCP\App and OCP\BackgroundJobCarl Schwan2022-08-018-65/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both deprecated since NC 23 IAppManager is the replacement for OCP\App unfortunately it can't be dependency injected in classes used by the installed otherwise the database connection is initialised too early Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | Merge pull request #33398 from nextcloud/enh/noid/sensitive-methods-appsVincent Petry2022-08-053-10/+65
| |\ \ | | | | | | | | allow apps to specify methods carrying sensitive parameters
| | * | allow apps to specify methods carrying sensitive parametersArthur Schiwon2022-07-283-10/+65
| | | | | | | | | | | | | | | | | | | | | | | | … in order to remove them from logging. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | Merge pull request #33447 from ↵Vincent Petry2022-08-041-0/+8
| |\ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/detect-leading-spaces-in-config Detect leading spaces in config files
| | * | | Detect leading spaces in config filesVincent Petry2022-08-031-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because those will cause PHP to output to stdout and will cause unrelated error messages. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * | | | Support specifying IPv6 proxies in CIDR notationSimon Leiner2022-08-021-30/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, it was not possible to use CIDR notation for IPv6 proxies in the trusted_proxies parameter of config.php [1]. This patch adds support for that. [1]: https://docs.nextcloud.com/server/24/admin_manual/configuration_server/reverse_proxy_configuration.html#defining-trusted-proxies Signed-off-by: Simon Leiner <simon@leiner.me>
| * | | Merge pull request #32958 from ↵Julius Härtl2022-08-021-2/+2
| |\ \ \ | | | | | | | | | | | | | | | nextcloud/fix/noid/permission-update-allow-public-uploads
| | * | | don't reduce file public link permissions if public upload is not enabledJulien Veyssier2022-08-011-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
| * | | | Document all getIncomplete implementations as returning string|falseCôme Chilliet2022-08-022-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | Fix dynamic property creations in test filesCôme Chilliet2022-08-011-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | This fixes warnings in PHP 8.2 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Merge pull request #32482 from nextcloud/enh/noid/share-attributesCarl Schwan2022-08-015-4/+196
| |\ \ \ | | |_|/ | |/| | Add share attributes + prevent download permission
| | * | Multiple fixesCarl Schwan2022-07-312-24/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix tests - Use non deprecated event stuff - Add a bit of type hinting to the new stuff - More safe handling of instanceOfStorage (share might not be the first wrapper) - Fix resharing Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| | * | Inherit hide download from share attributesVincent Petry2022-07-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When resharing by link, if the download permission was removed through share attributes, convert it to the hide download flag. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| | * | Fix view-only code after code review commentsVincent Petry2022-07-281-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| | * | Attempt to fix sqlite json issueVincent Petry2022-07-281-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| | * | Fix share attribute related tests + code styleVincent Petry2022-07-282-16/+3
| | | | | | | | | | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| | * | Add share attributes + prevent download permissionVincent Petry2022-07-285-3/+210
| | | | | | | | | | | | | | | | | | | | | | | | Makes it possible to store download permission Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * | | Merge pull request #33225 from nextcloud/fix/handle-one-time-passwordsCarl Schwan2022-07-291-1/+1
| |\ \ \ | | |/ / | |/| | Handle one time password better
| | * | Handle one time password betterCarl Schwan2022-07-281-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | Add a public interface for the bruteforce throttler and register for injectionJoas Schilling2022-07-282-5/+5
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Merge pull request #33380 from luzpaz/fix/lib-private-typosCôme Chilliet2022-07-2837-44/+44
| |\ \ \ | | | | | | | | | | Fix typos in lib/private subdirectory
| | * | | Fix typos in lib/private subdirectoryluz paz2022-07-2737-44/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found via `codespell -q 3 -S l10n -L jus ./lib/private` Signed-off-by: luz paz <luzpaz@github.com>
| * | | | fix mistake in db query to delete a user config valueJulien Veyssier2022-07-271-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
| * | | | Merge pull request #33378 from nextcloud/s3-no-null-bundleDaniel2022-07-271-3/+6
| |\ \ \ \ | | |/ / / | |/| | | don't set `null` as a bundle path
| | * | | don't set `null` as a bundle pathRobin Appelman2022-07-271-3/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | Merge pull request #30030 from nextcloud/fexistsVincent Petry2022-07-261-2/+2
| |\ \ \ \ | | | | | | | | | | | | Fix disabled `php_uname`
| | * | | | Fix #30003acsfer2022-06-211-2/+2
| | | | | | | | | | | | | | | | | | Fix #30003
| * | | | | Merge pull request #30510 from nextcloud/user-cleanup-storage-before-cacheVincent Petry2022-07-261-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | delete files before cleaning cache when cleaning user files