]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
13 months agoAdd migration for storages that are not rebuildable oc-wnd-migrate-25
Louis Chemineau [Wed, 11 Oct 2023 14:19:57 +0000 (16:19 +0200)]
Add migration for storages that are not rebuildable

Signed-off-by: Louis Chemineau <louis@chmn.me>
13 months agoMigrate oc_storages for other auth backend 39593/head
Louis Chemineau [Tue, 10 Oct 2023 16:19:08 +0000 (18:19 +0200)]
Migrate oc_storages for other auth backend

Signed-off-by: Louis Chemineau <louis@chmn.me>
13 months agoAdd logic to migrate users' credentials
Louis Chemineau [Wed, 4 Oct 2023 16:12:35 +0000 (18:12 +0200)]
Add logic to migrate users' credentials

Signed-off-by: Louis Chemineau <louis@chmn.me>
13 months agore-encode password stored in oc's "v2" format
Robin Appelman [Thu, 27 Jul 2023 14:48:05 +0000 (16:48 +0200)]
re-encode password stored in oc's "v2" format

Signed-off-by: Robin Appelman <robin@icewind.nl>
13 months agoadd command to migrate from owncloud wnd external storage
Louis Chemineau [Wed, 11 Oct 2023 09:38:43 +0000 (11:38 +0200)]
add command to migrate from owncloud wnd external storage

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Louis Chemineau <louis@chmn.me>
15 months agoMerge pull request #39509 from nextcloud/backport/39221/stable25
Côme Chilliet [Thu, 27 Jul 2023 08:35:20 +0000 (10:35 +0200)]
Merge pull request #39509 from nextcloud/backport/39221/stable25

[stable25] Bugfix/bulk upload empty files

15 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 27 Jul 2023 00:26:24 +0000 (00:26 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
15 months agoMerge pull request #39524 from nextcloud/backport/39264/stable25
Andy Scherzinger [Wed, 26 Jul 2023 07:05:59 +0000 (09:05 +0200)]
Merge pull request #39524 from nextcloud/backport/39264/stable25

[stable25] Add instance category while checking new updates

15 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 26 Jul 2023 00:57:48 +0000 (00:57 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
15 months agoAdd instance category while checking new updates 39524/head
Benjamin Gaussorgues [Fri, 7 Jul 2023 07:51:08 +0000 (09:51 +0200)]
Add instance category while checking new updates

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
15 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 25 Jul 2023 00:25:57 +0000 (00:25 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
15 months agowhen reading an empty file getting EOF is not an error 39509/head
Matthieu Gallien [Fri, 7 Jul 2023 09:22:19 +0000 (11:22 +0200)]
when reading an empty file getting EOF is not an error

will allow uploading empty files via bulk upload

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
15 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 24 Jul 2023 00:25:58 +0000 (00:25 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 23 Jul 2023 00:28:31 +0000 (00:28 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 22 Jul 2023 00:31:55 +0000 (00:31 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 21 Jul 2023 00:24:49 +0000 (00:24 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoMerge pull request #39501 from nextcloud/release/25.0.9 v25.0.9
Arthur Schiwon [Thu, 20 Jul 2023 11:11:02 +0000 (13:11 +0200)]
Merge pull request #39501 from nextcloud/release/25.0.9

25.0.9

16 months agoMerge pull request #39493 from nextcloud/backport/39490/stable25
Arthur Schiwon [Thu, 20 Jul 2023 11:00:46 +0000 (13:00 +0200)]
Merge pull request #39493 from nextcloud/backport/39490/stable25

[stable25] fix(apps): Fix loading info.xml file

16 months ago25.0.9 39501/head
Arthur Schiwon [Thu, 20 Jul 2023 09:57:38 +0000 (11:57 +0200)]
25.0.9

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agofix(apps): Fix loading info.xml file 39493/head
Joas Schilling [Wed, 12 Jul 2023 07:23:37 +0000 (09:23 +0200)]
fix(apps): Fix loading info.xml file

Ref: https://bugs.php.net/bug.php?id=62577

Signed-off-by: Joas Schilling <coding@schilljs.com>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 20 Jul 2023 00:26:40 +0000 (00:26 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 19 Jul 2023 00:26:58 +0000 (00:26 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 18 Jul 2023 00:24:30 +0000 (00:24 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoMerge pull request #39426 from nextcloud/release/25.0.9_rc2 v25.0.9rc2
Arthur Schiwon [Mon, 17 Jul 2023 18:06:27 +0000 (20:06 +0200)]
Merge pull request #39426 from nextcloud/release/25.0.9_rc2

25.0.9 RC2

16 months agoMerge pull request #39419 from nextcloud/backport/39416/stable25
Joas Schilling [Mon, 17 Jul 2023 11:56:52 +0000 (13:56 +0200)]
Merge pull request #39419 from nextcloud/backport/39416/stable25

[stable25] fix(core): Add password confirmation requirement for getapppassword

16 months ago25.0.9 RC2 39426/head
Arthur Schiwon [Mon, 17 Jul 2023 10:39:17 +0000 (12:39 +0200)]
25.0.9 RC2

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agofix(core): Add password confirmation requirement for getapppassword 39419/head
Joas Schilling [Mon, 17 Jul 2023 10:07:22 +0000 (12:07 +0200)]
fix(core): Add password confirmation requirement for getapppassword

Signed-off-by: Joas Schilling <coding@schilljs.com>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 17 Jul 2023 00:26:01 +0000 (00:26 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 16 Jul 2023 00:25:30 +0000 (00:25 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 15 Jul 2023 00:27:31 +0000 (00:27 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoMerge pull request #39394 from nextcloud/backport/39380/stable25
Arthur Schiwon [Fri, 14 Jul 2023 17:30:06 +0000 (19:30 +0200)]
Merge pull request #39394 from nextcloud/backport/39380/stable25

[stable25] fix(db): no hardcoded table prefix is expected

16 months agofix(db): no hardcoded table prefix is expected 39394/head
Arthur Schiwon [Thu, 13 Jul 2023 21:34:39 +0000 (23:34 +0200)]
fix(db): no hardcoded table prefix is expected

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 14 Jul 2023 00:30:26 +0000 (00:30 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoMerge pull request #39353 from nextcloud/tests/noid/psalm-baseline
Arthur Schiwon [Thu, 13 Jul 2023 15:13:25 +0000 (17:13 +0200)]
Merge pull request #39353 from nextcloud/tests/noid/psalm-baseline

[stable25] test(psalm): ignore known reports

16 months agoMerge pull request #39279 from nextcloud/release/25.0.9_rc1 v25.0.9rc1
Arthur Schiwon [Thu, 13 Jul 2023 12:33:32 +0000 (14:33 +0200)]
Merge pull request #39279 from nextcloud/release/25.0.9_rc1

25.0.9 RC1

16 months agoMerge pull request #39356 from nextcloud/backport/39323/39323-stable25 39364/head
Andy Scherzinger [Thu, 13 Jul 2023 12:10:25 +0000 (14:10 +0200)]
Merge pull request #39356 from nextcloud/backport/39323/39323-stable25

[stable25] getStorage before remove

16 months agogetStorage before remove 39356/head
Maxence Lange [Tue, 11 Jul 2023 18:36:17 +0000 (17:36 -0100)]
getStorage before remove

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
16 months agoMerge pull request #36601 from nextcloud/backport/35743/stable25
Arthur Schiwon [Thu, 13 Jul 2023 10:54:36 +0000 (12:54 +0200)]
Merge pull request #36601 from nextcloud/backport/35743/stable25

[stable25] Include more information in iMIP email and show diff information on updating an event

16 months agoMerge pull request #39346 from nextcloud/ci/sign-drone-stable25
Andy Scherzinger [Thu, 13 Jul 2023 10:46:46 +0000 (12:46 +0200)]
Merge pull request #39346 from nextcloud/ci/sign-drone-stable25

[stable25] chore(CI): Sign .drone.yml file

16 months agotest(psalm): ignore known reports 39353/head
Arthur Schiwon [Wed, 12 Jul 2023 17:34:01 +0000 (19:34 +0200)]
test(psalm): ignore known reports

- this is code we also have in master, but raises flags here due to "race
  conditions" in merging and backporting competing with enabling psalm
  reacting on those types.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agoMerge pull request #39220 from nextcloud/automated/noid/stable25-update-psalm-baseline
Arthur Schiwon [Thu, 13 Jul 2023 10:26:07 +0000 (12:26 +0200)]
Merge pull request #39220 from nextcloud/automated/noid/stable25-update-psalm-baseline

[stable25] Update psalm-baseline.xml

16 months agochore(CI): Sign .drone.yml file 39346/head
Joas Schilling [Thu, 13 Jul 2023 09:51:35 +0000 (11:51 +0200)]
chore(CI): Sign .drone.yml file

Signed-off-by: Joas Schilling <coding@schilljs.com>
16 months agoUpdate psalm baseline 39220/head
nextcloud-command [Thu, 13 Jul 2023 02:41:52 +0000 (02:41 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 13 Jul 2023 00:30:00 +0000 (00:30 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoMerge pull request #39259 from nextcloud/backports/39146/stable25
Arthur Schiwon [Wed, 12 Jul 2023 21:18:13 +0000 (23:18 +0200)]
Merge pull request #39259 from nextcloud/backports/39146/stable25

[stable25] fix(files_sharing): hide download permission for circle shares

16 months agostyle(php): satisfy style checker 39259/head
Arthur Schiwon [Wed, 12 Jul 2023 18:26:57 +0000 (20:26 +0200)]
style(php): satisfy style checker

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agoMerge pull request #39061 from nextcloud/backport/31790/stable25
Arthur Schiwon [Wed, 12 Jul 2023 18:06:48 +0000 (20:06 +0200)]
Merge pull request #39061 from nextcloud/backport/31790/stable25

[stable25] Fix creating events with old (< unix time) lastoccurence

16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 12 Jul 2023 00:22:28 +0000 (00:22 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoMerge pull request #39294 from nextcloud/backport/39248/stable25
Arthur Schiwon [Tue, 11 Jul 2023 23:10:30 +0000 (01:10 +0200)]
Merge pull request #39294 from nextcloud/backport/39248/stable25

[stable25] preload custom properties when propfinding folders

16 months agoMerge pull request #39101 from nextcloud/backport/39093/stable25
Arthur Schiwon [Tue, 11 Jul 2023 22:44:59 +0000 (00:44 +0200)]
Merge pull request #39101 from nextcloud/backport/39093/stable25

[stable25] Silent `imagecreatefromstring()` errors

16 months agoMerge pull request #38982 from nextcloud/automated/noid/stable25-fix-npm-audit
Simon L [Tue, 11 Jul 2023 21:31:44 +0000 (23:31 +0200)]
Merge pull request #38982 from nextcloud/automated/noid/stable25-fix-npm-audit

[stable25] Fix npm audit

16 months agochore(deps): fix npm audit 38982/head
nextcloud-command [Tue, 11 Jul 2023 16:06:53 +0000 (16:06 +0000)]
chore(deps): fix npm audit

Signed-off-by: GitHub <noreply@github.com>
16 months agoMerge pull request #39233 from nextcloud/backport/39202/stable25
Arthur Schiwon [Tue, 11 Jul 2023 12:22:44 +0000 (14:22 +0200)]
Merge pull request #39233 from nextcloud/backport/39202/stable25

[stable25] use more efficient tag retrieval on DAV report request

16 months agoUse recurrence instance to build iMip email 36601/head
Anna Larch [Mon, 12 Dec 2022 19:46:37 +0000 (20:46 +0100)]
Use recurrence instance to build iMip email

instead of the main VEVENT of a repeating event

Fixes part of https://github.com/nextcloud/calendar/issues/3919

Signed-off-by: Anna Larch <anna@nextcloud.com>
16 months agoMerge pull request #38973 from nextcloud/backport/38747/stable25
Joas Schilling [Tue, 11 Jul 2023 05:18:30 +0000 (07:18 +0200)]
Merge pull request #38973 from nextcloud/backport/38747/stable25

[stable25] perf: skip request without write permission

16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 11 Jul 2023 00:32:48 +0000 (00:32 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agopreload custom properties when propfinding folders 39294/head
Robin Appelman [Sun, 9 Jul 2023 00:41:10 +0000 (02:41 +0200)]
preload custom properties when propfinding folders

Signed-off-by: Robin Appelman <robin@icewind.nl>
16 months agoMerge pull request #39253 from nextcloud/backport/38046/stable25
Joas Schilling [Mon, 10 Jul 2023 18:53:15 +0000 (20:53 +0200)]
Merge pull request #39253 from nextcloud/backport/38046/stable25

[stable25] fix(dav): Abort requests with 429 instead of waiting

16 months agochore(psalm): Make psalm aware of sabre/uri 38973/head
Julius Härtl [Thu, 2 Mar 2023 22:23:57 +0000 (23:23 +0100)]
chore(psalm): Make psalm aware of sabre/uri

Signed-off-by: Julius Härtl <jus@bitgrid.net>
16 months agoperf: skip request without write permission
Daniel Kesselberg [Mon, 12 Jun 2023 09:26:23 +0000 (11:26 +0200)]
perf: skip request without write permission

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
16 months agoMerge pull request #39032 from nextcloud/backport/38917/stable25
Arthur Schiwon [Mon, 10 Jul 2023 15:27:46 +0000 (17:27 +0200)]
Merge pull request #39032 from nextcloud/backport/38917/stable25

[stable25] fix(l10n): Fix plural issue with different locale and language

16 months agoMerge pull request #39144 from nextcloud/fix/password-confirmation-25
Arthur Schiwon [Mon, 10 Jul 2023 15:23:38 +0000 (17:23 +0200)]
Merge pull request #39144 from nextcloud/fix/password-confirmation-25

[stable25] Fix password confirmation

16 months agoMerge pull request #37744 from nextcloud/backport/36690/stable25
Arthur Schiwon [Mon, 10 Jul 2023 15:16:04 +0000 (17:16 +0200)]
Merge pull request #37744 from nextcloud/backport/36690/stable25

[stable25] fix: Make sure that rollback hook is triggered on all version backends

16 months ago25.0.9 RC1 39279/head
Arthur Schiwon [Mon, 10 Jul 2023 14:32:44 +0000 (16:32 +0200)]
25.0.9 RC1

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agochore: fix codestyle for \OC\Files\Node\Folder 39253/head
Daniel Kesselberg [Mon, 10 Jul 2023 12:54:02 +0000 (14:54 +0200)]
chore: fix codestyle for \OC\Files\Node\Folder

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
16 months agofix: use handleLoginFailed for invalid email address
Daniel Kesselberg [Mon, 10 Jul 2023 12:28:19 +0000 (14:28 +0200)]
fix: use handleLoginFailed for invalid email address

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
16 months agoMerge pull request #39081 from nextcloud/backport/39025/stable25
Julius Härtl [Mon, 10 Jul 2023 11:03:40 +0000 (13:03 +0200)]
Merge pull request #39081 from nextcloud/backport/39025/stable25

16 months agofix: PHP 7.4 compatibility 39233/head
Arthur Schiwon [Mon, 10 Jul 2023 10:07:08 +0000 (12:07 +0200)]
fix: PHP 7.4 compatibility

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agofix(files_sharing): hide download permission for circle shares
Richard Steinmetz [Tue, 4 Jul 2023 13:17:30 +0000 (15:17 +0200)]
fix(files_sharing): hide download permission for circle shares

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
16 months agofix(dav): Abort requests with 429 instead of waiting
Joas Schilling [Thu, 30 Mar 2023 13:02:51 +0000 (15:02 +0200)]
fix(dav): Abort requests with 429 instead of waiting

Signed-off-by: Joas Schilling <coding@schilljs.com>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 10 Jul 2023 00:29:12 +0000 (00:29 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 9 Jul 2023 00:35:50 +0000 (00:35 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 8 Jul 2023 00:30:37 +0000 (00:30 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agostyle: satisfy code style checker 37744/head
Arthur Schiwon [Fri, 7 Jul 2023 16:30:17 +0000 (18:30 +0200)]
style: satisfy code style checker

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agoproperly register test mount for user
Robin Appelman [Thu, 6 Jul 2023 14:09:45 +0000 (16:09 +0200)]
properly register test mount for user

Signed-off-by: Robin Appelman <robin@icewind.nl>
16 months agofix: Check return type on rollback
Julius Härtl [Mon, 13 Mar 2023 09:57:12 +0000 (10:57 +0100)]
fix: Check return type on rollback

Signed-off-by: Julius Härtl <jus@bitgrid.net>
16 months agodon't re-get fileinfo for versioned file if it's not shared
Robin Appelman [Fri, 10 Mar 2023 16:10:06 +0000 (17:10 +0100)]
don't re-get fileinfo for versioned file if it's not shared

Signed-off-by: Robin Appelman <robin@icewind.nl>
16 months agotests(files_versions): Tear down fs to clear mount cache before testing
Julius Härtl [Tue, 14 Feb 2023 11:38:51 +0000 (12:38 +0100)]
tests(files_versions): Tear down fs to clear mount cache before testing

Signed-off-by: Julius Härtl <jus@bitgrid.net>
16 months agofix: Make sure that rollback hook is triggered on all version backends
Julius Härtl [Mon, 13 Feb 2023 13:30:40 +0000 (14:30 +0100)]
fix: Make sure that rollback hook is triggered on all version backends

Signed-off-by: Julius Härtl <jus@bitgrid.net>
16 months agorefactor: adjust to unexposed searchBySystemTag
Arthur Schiwon [Thu, 6 Jul 2023 20:33:20 +0000 (22:33 +0200)]
refactor: adjust to unexposed searchBySystemTag

- in this backport we have to drop the breaking addition in
  \OCP\Files\Folder
- this requires adjustments in check for the existance of the method but
  also in testing
- another change in \OCP\SystemTag\ISystemTagManager can be applied as
  this interface is not implemented elsewhere

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agofix: cannot apply limit+offset on multi-tag-search
Arthur Schiwon [Tue, 27 Jun 2023 20:49:08 +0000 (22:49 +0200)]
fix: cannot apply limit+offset on multi-tag-search

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agorefactor: save unnecessary method_exists
Arthur Schiwon [Wed, 21 Jun 2023 18:35:41 +0000 (20:35 +0200)]
refactor: save unnecessary method_exists

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agofix: use array_unitersect against objects
Arthur Schiwon [Wed, 21 Jun 2023 18:07:00 +0000 (20:07 +0200)]
fix: use array_unitersect against objects

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agofix: obey offset and limit for results from favs and circles
Arthur Schiwon [Wed, 21 Jun 2023 18:04:35 +0000 (20:04 +0200)]
fix: obey offset and limit for results from favs and circles

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agofix: cominbation of small fixes
Arthur Schiwon [Wed, 21 Jun 2023 16:01:49 +0000 (18:01 +0200)]
fix: cominbation of small fixes

- possible null return
- parameter name mismatch in implementation
- incomplete unit test

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agofix: include invisible tags for admins
Arthur Schiwon [Thu, 15 Jun 2023 20:46:04 +0000 (22:46 +0200)]
fix: include invisible tags for admins

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agofix: search with more than one search tags
Arthur Schiwon [Fri, 2 Jun 2023 21:11:30 +0000 (23:11 +0200)]
fix: search with more than one search tags

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agofix: no search when LazyFolder was provided
Arthur Schiwon [Fri, 12 May 2023 10:10:38 +0000 (12:10 +0200)]
fix: no search when LazyFolder was provided

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agochore: cleanup unused code
Arthur Schiwon [Thu, 11 May 2023 11:18:45 +0000 (13:18 +0200)]
chore: cleanup unused code

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agofix: ensure searchBySystemTag() is available
Arthur Schiwon [Thu, 11 May 2023 11:17:49 +0000 (13:17 +0200)]
fix: ensure searchBySystemTag() is available

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agofix: favorites view and universal search against tags
Arthur Schiwon [Thu, 11 May 2023 11:08:57 +0000 (13:08 +0200)]
fix: favorites view and universal search against tags

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agofix: change if with conditionless else to switch; and a parameter value
Arthur Schiwon [Thu, 11 May 2023 09:22:27 +0000 (11:22 +0200)]
fix: change if with conditionless else to switch; and a parameter value

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agouse efficient tag retrieval on DAV report request
Arthur Schiwon [Fri, 28 Apr 2023 12:09:22 +0000 (14:09 +0200)]
use efficient tag retrieval on DAV report request

- uses DAV search approach against valid files joined by systemtag selector
- reduced table join for tag/systemtag search
- supports pagination
- no changes to the output formats or similar

Example request body:

<?xml version="1.0"?>
<oc:filter-files xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns" xmlns:ocs="http://open-collaboration-services.org/ns">
  <d:prop>
    <d:getcontentlength/>
    <d:getcontenttype/>
    <d:getetag/>
    <d:getlastmodified/>
    <d:resourcetype/>
    <nc:face-detections/>
    <nc:file-metadata-size/>
    <nc:has-preview/>
    <nc:realpath/>
    <oc:favorite/>
    <oc:fileid/>
    <oc:permissions/>
    <nc:nbItems/>
  </d:prop>
  <oc:filter-rules>
    <oc:systemtag>32</oc:systemtag>
  </oc:filter-rules>
  <d:limit>
    <d:nresults>50</d:nresults>
    <nc:firstresult>0</nc:firstresult>
  </d:limit>
</oc:filter-files>

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 7 Jul 2023 00:27:56 +0000 (00:27 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoMerge pull request #39153 from nextcloud/backport/39115/stable25
Arthur Schiwon [Thu, 6 Jul 2023 16:43:25 +0000 (18:43 +0200)]
Merge pull request #39153 from nextcloud/backport/39115/stable25

[stable25] fix(sse): don't update uncached files

16 months agoMerge pull request #39195 from nextcloud/fix/stable25/tag-search-short-circuit-master
Arthur Schiwon [Thu, 6 Jul 2023 16:39:37 +0000 (18:39 +0200)]
Merge pull request #39195 from nextcloud/fix/stable25/tag-search-short-circuit-master

[stable25] fix(TagSearchProvider): Short circuit if no tag matches the query

16 months agoFix psalm error 39195/head
Marcel Klehr [Fri, 30 Jun 2023 10:32:14 +0000 (12:32 +0200)]
Fix psalm error

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
16 months agofix(TagSearchProvider): Short circuit if no tag matches the query
Marcel Klehr [Thu, 29 Jun 2023 13:01:14 +0000 (15:01 +0200)]
fix(TagSearchProvider): Short circuit if no tag matches the query

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
16 months agoMerge pull request #39154 from nextcloud/backport/38625/stable25
Arthur Schiwon [Thu, 6 Jul 2023 11:36:58 +0000 (13:36 +0200)]
Merge pull request #39154 from nextcloud/backport/38625/stable25

[stable25] fix: expect interface, not a specific implementation

16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 6 Jul 2023 00:31:04 +0000 (00:31 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>