aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* chore: Adjust `OCP\Server::get` annotation to work with phpstanchore/server-annotationsFerdinand Thiessen2025-02-191-6/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(cron): Keep job class limitation when searching for the next jobbugfix/noid/keep-job-class-limitationJoas Schilling2025-02-191-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2025-02-198-8/+40
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #50864 from nextcloud/fix/fix-psalm-taint-errors-2Joas Schilling2025-02-183-37/+17
|\ | | | | fix: Fix psalm taint false-positives by small refactorings
| * fix: Fix psalm taint false-positives by small refactoringsfix/fix-psalm-taint-errors-2Côme Chilliet2025-02-173-37/+17
| | | | | | | | | | | | | | Mostly make it clear that we trust admin input or that we correctly escape strings. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(files): properly forward open params from short urlsskjnldsv2025-02-181-2/+3
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2025-02-186-12/+370
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* chore: Add missing star in phpdoc commentfix/fix-psalm-taint-errorsCôme Chilliet2025-02-171-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Fix false-positive psalm taint errors when outputting plain textCôme Chilliet2025-02-171-2/+10
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Fix psalm taint false-positive by escaping trusted inputCôme Chilliet2025-02-171-11/+11
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Correctly tag json encoding in BaseResponse to fix false-positiveCôme Chilliet2025-02-171-1/+9
| | | | | | …in psalm taint analysis Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Move config.php taint trust upstream directly in OC\Config classCôme Chilliet2025-02-172-21/+23
| | | | | | This solves some false-positive psalm taint errors Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Work around psalm taint false-positive by not using var_exportCôme Chilliet2025-02-171-1/+1
| | | | | | | | | var_export is listed as a taint sink because it may output stuff depending on the parameters. It was not the case here, but we can simply json_encode the result by passing it as context to the logger method rather than using var_export. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Correctly flag json encoding methods as escaping html and quotesCôme Chilliet2025-02-172-2/+6
| | | | | | | Especially with JSON_HEX_TAG it’s perfectly fine to echo JSON, and we only use it in JSON output anyway. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Fix psalm taint error in L10N factoryCôme Chilliet2025-02-171-3/+24
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #50791 from nextcloud/perf/remove-filecache-indexKate2025-02-172-0/+2
|\ | | | | chore(filecache): remove index fs_id_storage_size
| * chore(filecache): remove index fs_id_storage_sizeperf/remove-filecache-indexBenjamin Gaussorgues2025-02-132-0/+2
| | | | | | | | | | | | Index is outdated by PR 50781 Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | Merge pull request #50809 from nextcloud/fixPhp83DeprecationGit'Fellow2025-02-151-8/+4
|\ \ | | | | | | fix(repair): PHP8.3 deprecation warning
| * | fix(repair): PHP8.3 deprecation warningfixPhp83DeprecationGit'Fellow2025-02-141-8/+4
| | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2025-02-152-0/+2
|/ / | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2025-02-144-4/+10
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #48738 from nextcloud/perf/log-high-memory-requestsJulius Knorr2025-02-131-0/+16
|\ \ | | | | | | perf: Log requests using high amount of memory as warning
| * | perf: Log requests using high amount of memory as warningperf/log-high-memory-requestsJulius Knorr2025-02-131-0/+16
| | | | | | | | | | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* | | Merge pull request #50794 from nextcloud/fix/fix-appmanager-cleanappidCôme Chilliet2025-02-132-4/+26
|\ \ \ | | | | | | | | fix: Only keep allowed characters in appid, and flag the method as escaping
| * | | fix: Also remove digits at the start and underscore on both ends of appidfix/fix-appmanager-cleanappidCôme Chilliet2025-02-131-1/+1
| | | | | | | | | | | | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
| * | | fix: Only keep allowed characters in appid, and flag the method as escapingCôme Chilliet2025-02-132-4/+26
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Merge pull request #50781 from nextcloud/perf/improve-incomplete-scanBenjamin Gaussorgues2025-02-132-15/+6
|\ \ \ \ | |/ / / |/| | | perf(files): faster query to fetch incomplete directories
| * | | perf(files): faster query to fetch incomplete directoriesperf/improve-incomplete-scanBenjamin Gaussorgues2025-02-132-15/+6
| | |/ | |/| | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | | fix: Replace getInstalledApps calls with getEnabledAppsfix/clarify-app-manager-methodsCôme Chilliet2025-02-136-6/+6
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | fix: Replace isInstalled calls with isEnabledForAnyone or isEnabledForUserCôme Chilliet2025-02-134-8/+8
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | chore: Improve naming of methods and properties in AppManagerCôme Chilliet2025-02-131-21/+23
| | | | | | | | | | | | | | | | | | Remove all references to installed apps where it’s about enabled apps Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | fix(ocp): Deprecate getInstalledApps and replace with clearer method nameCôme Chilliet2025-02-132-3/+21
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | fix(ocp): Deprecate isInstalled and add isEnabledForAnyone insteadCôme Chilliet2025-02-132-3/+13
|/ / | | | | | | | | | | The method name was really confusing Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* / Fix(l10n): Update translations from TransifexNextcloud bot2025-02-134-2/+28
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2025-02-1210-22/+126
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #50498 from nextcloud/bug/48678/restore-dav-error-response-2Daniel2025-02-111-16/+8
|\ | | | | Don't rethrow a type error
| * fix: make locked exception path relative to the viewRobin Appelman2025-02-111-16/+8
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #50324 from nextcloud/shared-cache-watcher-updateRobin Appelman2025-02-113-0/+22
|\ \ | |/ |/| fix: don't use cached root info from shared cache if the watcher has detected an update
| * fix: don't use cached root info from shared cache if the watcher has ↵Robin Appelman2025-02-063-0/+22
| | | | | | | | | | | | detected an update Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix(l10n): Update translations from TransifexNextcloud bot2025-02-106-6/+20
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2025-02-092-2/+12
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2025-02-082-0/+2
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #50697 from nextcloud/admin-audit-listen-failed-loginJoas Schilling2025-02-061-0/+8
|\ | | | | feat(admin_audit): write admin audit log for AnyLoginFailedEvent
| * feat(admin_audit): write admin audit log for AnyLoginFailedEventadmin-audit-listen-failed-loginLuka Trovic2025-02-061-0/+8
| | | | | | | | Signed-off-by: Luka Trovic <luka@nextcloud.com>
* | Merge pull request #49955 from nextcloud/occ-upgrade-reminderLouis2025-02-061-1/+1
|\ \ | | | | | | fix: when already upgrading, don't instruct to run `occ upgrade`
| * | fix: when already upgrading, don't instruct to run `occ upgrade`occ-upgrade-reminderJosh2025-02-051-1/+1
| | | | | | | | | | | | | | | Fixes #36289 Signed-off-by: Josh <josh.t.richards@gmail.com>
* | | Merge pull request #50660 from nextcloud/fix/mime-intJohn Molakvoæ2025-02-063-4/+27
|\ \ \ | |_|/ |/| | fix: make sure we process mime extensions as string
| * | fix: psalm and OCP @since declarationsfix/mime-intJohn Molakvoæ2025-02-063-5/+5
| | | | | | | | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * | fix: make sure we process mime extensions as stringskjnldsv2025-02-053-4/+27
| | | | | | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | | fix(FediverseAction): Ensure valid fediverse links are generatedFerdinand Thiessen2025-02-061-5/+18
| | | | | | | | | | | | | | | | | | Harden also for existing values of the profile. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>