summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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 #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>
* | | | | | Merge pull request #37674 from nextcloud/feature/speech-to-textJoas Schilling2023-04-1912-0/+578
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | feat(SpeechToText): Add SpeechToText OCP provider API
| * | | | | fix(autoloader): RebuildJoas Schilling2023-04-192-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | | Fix(docs): Fix parameter type in doc blockJoas Schilling2023-04-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | | Context params: Make userId nullableMarcel Klehr2023-04-195-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | SpeechToTextManager#scheduleFileTranscription: Take context params and ↵Marcel Klehr2023-04-196-7/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | expose them on the Transcription*Events Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | TranscriptionJob: Add owner argument to simplify filesystem setupMarcel Klehr2023-04-192-53/+7
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | TranscriptionJob: Ensure filesystem is setup before trying to retrieve fileMarcel Klehr2023-04-181-2/+54
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | Run cs:fixMarcel Klehr2023-04-182-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | Update lib/private/SpeechToText/SpeechToTextManager.phpMarcel Klehr2023-04-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Julien Veyssier <julien-nc@posteo.net> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | Fix missing importJoas Schilling2023-04-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | | SpeechToTextManager#transcribeFile: Try next provider if one failsMarcel Klehr2023-04-171-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | Update lib/public/SpeechToText/ISpeechToTextManager.phpMarcel Klehr2023-04-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | Update lib/public/SpeechToText/ISpeechToTextManager.phpMarcel Klehr2023-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | Update lib/public/SpeechToText/ISpeechToTextManager.phpMarcel Klehr2023-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | Update lib/private/SpeechToText/SpeechToTextManager.phpMarcel Klehr2023-04-171-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | SpeechToTextManager: Deduplicate transcription jobsMarcel Klehr2023-04-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | Transcription*Event: Add doc blockMarcel Klehr2023-04-172-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | AbstractTranscriptionEvent: Add File paramMarcel Klehr2023-04-174-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | Update lib/private/SpeechToText/SpeechToTextManager.phpMarcel Klehr2023-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | Add missing strict_types + author + copyrightMarcel Klehr2023-04-133-0/+72
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | Split TranscriptionFinishedEvent into Successful and Failed eventsMarcel Klehr2023-04-135-41/+74
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | ISpeechToTextManager: Take File as input, drop $contextMarcel Klehr2023-04-133-20/+19
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | ISpeechToTextProvider#transcribeFile: Pass \OCP\Files\File instead of pathMarcel Klehr2023-04-123-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | chore(coding style): Run cs:fixMarcel Klehr2023-04-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | chore(coding style): Run cs:fixMarcel Klehr2023-04-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * | | | | feat(SpeechToText): Add autoload changesMarcel Klehr2023-04-112-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>