summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* allow storing multiple mounts for the same rootid in the mount cacheRobin Appelman2023-04-283-17/+21
| | | | | | | | | | | | currently `[$userId, $rootId]` is used as the unique key for storing mounts in the mount cache, however there are cases where the same rootid is mounted in multiple places for a user which currently leads to not all of those mounts being added to the cache. Previously this didn't matter as the mount cache was only used to list users with access to a specific file, so a user having access to the file multiple times didn' change anything. With 24 the mount cache is used for more cases and multiple mounts for the same id becomes relevant. While I think there isn't a real negative effect atm besides missing the optimized path we should ensure that the mounts are properly listed Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(psalm): systemtagsJohn Molakvoæ2023-04-281-2/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix: Empty fallback for template creator action labelJulius Härtl2023-04-271-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Create new file/folder labelsChristopher Ng2023-04-271-1/+21
| | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Merge pull request #37925 from nextcloud/feat-update-maintenance-mode-hintDaniel2023-04-261-7/+3
|\ | | | | fix: change maintenance mode info wording
| * fix: change maintenance mode info wordingDaniel Kesselberg2023-04-261-7/+3
| | | | | | | | | | | | In maintenance mode the database is accessible and it's possible to execute other commands then maintenance:mode Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #37480 from ↵Christoph Wurst2023-04-261-1/+1
|\ \ | | | | | | | | | | | | nextcloud/fix/ocp/ilogfactor-getcustomlogger-deprecation-version fix(ocp): Add deprecation version to ILogFactory::getCustomLogger
| * | fix(ocp): Add deprecation version to ILogFactory::getCustomLoggerChristoph Wurst2023-03-301-1/+1
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-04-264-0/+4
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #37905 from ↵Joas Schilling2023-04-2516-28/+477
|\ \ \ | |_|/ |/| | | | | | | | nextcloud/techdebt/noid/add-attributes-for-remaining-security-annotations feat(security): Add PHP \Attribute for remaining security annotations
| * | feat(security): Add PHP \Attribute for remaining security annotationsJoas Schilling2023-04-2516-28/+477
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #37818 from nextcloud/dav-ext-storage-logRobin Appelman2023-04-251-0/+18
|\ \ \ | | | | | | | | debug log requests made by dav external storage/shares
| * | | debug log requests made by dav external storage/sharesRobin Appelman2023-04-241-0/+18
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #37835 from nextcloud/feat/background-allow-parallel-runsCôme Chilliet2023-04-257-4/+116
|\ \ \ \ | | | | | | | | | | feat(BackgroundJobs): Allow preventing parallel runs for a job class
| * | | | JobList: add debug log when hasReservedJob query failsMarcel Klehr2023-04-241-1/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | Update autoloadersMarcel Klehr2023-04-232-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | JobList#hasReservedJobs: Close cursorMarcel Klehr2023-04-231-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so Joas doesn't die Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | Fix BackgroundJob testsMarcel Klehr2023-04-232-3/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | IParallelAwareJob: Add missing boilerplateMarcel Klehr2023-04-231-0/+27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | Add IParallelAwareJob interfaceMarcel Klehr2023-04-232-2/+22
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | Update lib/private/BackgroundJob/JobList.phpMarcel Klehr2023-04-231-1/+2
| | | | | | | | | | | | | | | | | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | test(BackgroundJobs): Add tests for allowParallelRuns and hasReservedJobsMarcel Klehr2023-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | fix(SpeechToText): Prevent parallel runs of TranscriptionJobMarcel Klehr2023-04-231-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | feat(BackgroundJobs): Allow preventing parallel runs for a job classMarcel Klehr2023-04-233-0/+52
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | | | | Merge pull request #36378 from nextcloud/fix/improve-taint-analysisJoas Schilling2023-04-252-1/+4
|\ \ \ \ \ | | | | | | | | | | | | Add missing taint analysis docblock comments, and improve escaping in…
| * | | | | Add missing taint analysis docblock comments, and improve escaping in some ↵Carl Schwan2023-04-242-1/+4
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | methods Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* / | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-04-254-0/+4
|/ / / / | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | Merge pull request #36857 from nextcloud/scan-repair-unencrypted-sizeRobin Appelman2023-04-246-40/+54
|\ \ \ \ | | | | | | | | | | fix unencrypted_size for folders when scanning the filesystem with encryption enabled
| * | | | fix type hintsRobin Appelman2023-04-044-8/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | fix unencrypted folder size when no children with unencrypted size set are leftRobin Appelman2023-04-042-31/+26
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | fix unencrypted_size for files when scanningRobin Appelman2023-04-042-1/+12
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | fix unencrypted_size for folders when scanning the filesystem with ↵Robin Appelman2023-04-042-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | encryption enabled Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | feat(ratelimit): Add Attributes support to rate limit middlewareJoas Schilling2023-04-246-41/+216
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Merge pull request #37816 from ↵Christoph Wurst2023-04-242-2/+2
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | nextcloud/fix/events/info-to-debug-log-legacy-events fix(events): Log deprecated events as debug, not info
| * | | | fix(events): Log deprecated events as debug, not infoChristoph Wurst2023-04-192-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | Merge pull request #37820 from nextcloud/parent-storage-mtime-ignore-errorRobin Appelman2023-04-211-1/+13
|\ \ \ \ \ | | | | | | | | | | | | ignore errors while trying to update parent storage_mtime
| * | | | | ignore errors while trying to update parent storage_mtimeRobin Appelman2023-04-201-1/+13
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | in the worst case this should only cause an extra rescan later Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Read mtime of version.php only onceArthur Schiwon2023-04-212-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - in most cases it would read again in \OC_Util::loadVersion anyway - remove some unused use statements Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | | add the server roots and version info hash to apcu prefixArthur Schiwon2023-04-211-1/+1
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes collissions when more than one instance is running on the same system For the memcaches we use a more complex prefix, where version and instance ID are incorporated. We do not have this data at hand at this point of time. But we can get the mtime of the version.php file relatively cheap. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Merge pull request #37525 from nextcloud/file-debug-infoRobin Appelman2023-04-212-0/+2
|\ \ \ \ | | | | | | | | | | add command for getting fileinfo for debugging
| * | | | add command for getting fileinfo for debuggingRobin Appelman2023-04-172-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Merge pull request #37062 from nextcloud/free-spaceRobin Appelman2023-04-211-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Check free space only if source exists and is dir
| * | | | | Add function_exists() checkGit'Fellow2023-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Simon L. <szaimen@e.mail.de> Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
| * | | | | Fix free space problemsGit'Fellow2023-03-071-1/+1
| | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | | | | Merge pull request #37596 from nextcloud/enh/type-iconfig-getter-callsRobin Appelman2023-04-2169-153/+151
|\ \ \ \ \ \ | | | | | | | | | | | | | | Use typed version of IConfig::getSystemValue as much as possible
| * \ \ \ \ \ Merge branch 'master' into enh/type-iconfig-getter-callsCôme Chilliet2023-04-20196-431/+1128
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
| * | | | | | | Adapt tests to config value typingCôme Chilliet2023-04-052-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | | Use typed version of IConfig::getSystemValue as much as possibleCôme Chilliet2023-04-0569-150/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | | Fix TypeError in ProfilerCôme Chilliet2023-04-201-1/+1
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-04-2010-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>