]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
16 months agofix event move issue 37813/head
Maximilian Martin [Fri, 3 Mar 2023 21:02:44 +0000 (16:02 -0500)]
fix event move issue

Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
16 months agoMerge pull request #38433 from nextcloud/fix/theming-invert-25
Simon L [Mon, 12 Jun 2023 13:20:27 +0000 (15:20 +0200)]
Merge pull request #38433 from nextcloud/fix/theming-invert-25

[stable25] fix(theming): fix header primary invert if background disabled

16 months agoMerge pull request #38408 from nextcloud/backport/38291/stable25
Simon L [Mon, 12 Jun 2023 13:17:48 +0000 (15:17 +0200)]
Merge pull request #38408 from nextcloud/backport/38291/stable25

[stable25] fix loading custom logo image

16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 12 Jun 2023 00:18:19 +0000 (00:18 +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, 11 Jun 2023 00:34:51 +0000 (00:34 +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, 10 Jun 2023 00:17:59 +0000 (00:17 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoMerge pull request #38560 from nextcloud/backport/38259/stable25
Robin Appelman [Fri, 9 Jun 2023 17:43:14 +0000 (19:43 +0200)]
Merge pull request #38560 from nextcloud/backport/38259/stable25

[stable25] reload filelist when adding or removing shares

16 months agochore(assets): Recompile assets 38560/head
nextcloud-command [Fri, 9 Jun 2023 15:43:41 +0000 (15:43 +0000)]
chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
16 months agoreload filelist when adding or removing shares
Robin Appelman [Mon, 15 May 2023 11:03:13 +0000 (13:03 +0200)]
reload filelist when adding or removing shares

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
16 months agoMerge pull request #38721 from nextcloud/backport/38719/stable25
John Molakvoæ [Fri, 9 Jun 2023 14:57:03 +0000 (16:57 +0200)]
Merge pull request #38721 from nextcloud/backport/38719/stable25

16 months agoCreate lint-eslint-when-unrelated.yml 38721/head
John Molakvoæ [Fri, 9 Jun 2023 08:49:58 +0000 (10:49 +0200)]
Create lint-eslint-when-unrelated.yml

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
16 months agoMerge pull request #38705 from nextcloud/backport/38486/stable25
John Molakvoæ [Thu, 8 Jun 2023 14:19:18 +0000 (16:19 +0200)]
Merge pull request #38705 from nextcloud/backport/38486/stable25

16 months agofix(psalm): Install apcu, ftp and ldap extension like in static-code-analysis-security 38705/head
Joas Schilling [Thu, 1 Jun 2023 21:58:45 +0000 (23:58 +0200)]
fix(psalm): Install apcu, ftp and ldap extension like in static-code-analysis-security

Signed-off-by: Joas Schilling <coding@schilljs.com>
16 months agofix: keep important php and node versions
John Molakvoæ [Thu, 8 Jun 2023 11:16:09 +0000 (13:16 +0200)]
fix: keep important php and node versions

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
16 months agofix(CI): Update oracle image and config
Joas Schilling [Thu, 1 Jun 2023 22:44:42 +0000 (00:44 +0200)]
fix(CI): Update oracle image and config

Signed-off-by: Joas Schilling <coding@schilljs.com>
16 months agochore: update workflows from templates
John Molakvoæ [Thu, 1 Jun 2023 16:09:13 +0000 (18:09 +0200)]
chore: update workflows from templates

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
16 months agoRevert "fix(CI): Update oracle image and config"
John Molakvoæ [Thu, 8 Jun 2023 11:12:00 +0000 (13:12 +0200)]
Revert "fix(CI): Update oracle image and config"

This reverts commit 64b917e87e1479a917bd5c80c33713381c75d053.

16 months agoRevert "chore: update workflows from templates"
John Molakvoæ [Thu, 8 Jun 2023 11:11:52 +0000 (13:11 +0200)]
Revert "chore: update workflows from templates"

This reverts commit 4952609b6892423df931dce65d77a8337942188c.

16 months agofix(CI): Update oracle image and config
Joas Schilling [Thu, 1 Jun 2023 22:44:42 +0000 (00:44 +0200)]
fix(CI): Update oracle image and config

Signed-off-by: Joas Schilling <coding@schilljs.com>
16 months agochore: update workflows from templates
John Molakvoæ [Thu, 1 Jun 2023 16:09:13 +0000 (18:09 +0200)]
chore: update workflows from templates

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 8 Jun 2023 00:19:16 +0000 (00:19 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoMerge pull request #38682 from nextcloud/backport/38577/stable25
Julien Veyssier [Wed, 7 Jun 2023 09:38:38 +0000 (11:38 +0200)]
Merge pull request #38682 from nextcloud/backport/38577/stable25

[stable25] Improve oauth2 database migration from ownCloud

16 months agodrop the oauth2_clients trusted column, delete unsupported clients and their access... 38682/head
Julien Veyssier [Wed, 7 Jun 2023 08:33:04 +0000 (10:33 +0200)]
drop the oauth2_clients trusted column, delete unsupported clients and their access tokens, shorten oauth2 client names

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 7 Jun 2023 00:18:15 +0000 (00:18 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoMerge pull request #38668 from nextcloud/backport/37780/stable25
Pytal [Tue, 6 Jun 2023 22:41:21 +0000 (15:41 -0700)]
Merge pull request #38668 from nextcloud/backport/37780/stable25

16 months agoTrap focus in dialogs 38668/head
Christopher Ng [Fri, 21 Apr 2023 02:48:44 +0000 (19:48 -0700)]
Trap focus in dialogs

Signed-off-by: Christopher Ng <chrng8@gmail.com>
16 months agoAdd focus-trap
Christopher Ng [Fri, 21 Apr 2023 02:48:43 +0000 (19:48 -0700)]
Add focus-trap

Signed-off-by: Christopher Ng <chrng8@gmail.com>
16 months agoMerge pull request #38661 from nextcloud/backport/38649/stable25
Christoph Wurst [Tue, 6 Jun 2023 18:02:42 +0000 (20:02 +0200)]
Merge pull request #38661 from nextcloud/backport/38649/stable25

[stable25] fix(caldav): Close DB cursor in reminder index background job

16 months agoMerge pull request #38480 from nextcloud/backport/38440/stable25
Simon L [Tue, 6 Jun 2023 14:24:11 +0000 (16:24 +0200)]
Merge pull request #38480 from nextcloud/backport/38440/stable25

[stable25] fix: Catch Deadlock properly as execute throws Doctrine exceptions not our wrapped ones

16 months agofix(caldav): Close DB cursor in reminder index background job 38661/head
Christoph Wurst [Mon, 5 Jun 2023 16:47:24 +0000 (18:47 +0200)]
fix(caldav): Close DB cursor in reminder index background job

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 6 Jun 2023 00:18:00 +0000 (00:18 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoMerge pull request #38576 from nextcloud/backport/38355/stable25
Arthur Schiwon [Mon, 5 Jun 2023 15:41:52 +0000 (17:41 +0200)]
Merge pull request #38576 from nextcloud/backport/38355/stable25

[stable25] fix(trashbin): Truncate long filenames

16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 5 Jun 2023 00:17:50 +0000 (00:17 +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, 4 Jun 2023 00:17:57 +0000 (00:17 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoMerge pull request #38117 from nextcloud/automated/noid/stable25-fix-npm-audit
Simon L [Sat, 3 Jun 2023 10:51:15 +0000 (12:51 +0200)]
Merge pull request #38117 from nextcloud/automated/noid/stable25-fix-npm-audit

[stable25] Fix npm audit

16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 3 Jun 2023 00:18:10 +0000 (00:18 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agochore(deps): fix npm audit 38117/head
nextcloud-command [Fri, 2 Jun 2023 15:24:00 +0000 (15:24 +0000)]
chore(deps): fix npm audit

Signed-off-by: GitHub <noreply@github.com>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 2 Jun 2023 00:17:48 +0000 (00:17 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoMerge pull request #38575 from nextcloud/backport/38301/stable25
Daniel [Thu, 1 Jun 2023 18:44:23 +0000 (20:44 +0200)]
Merge pull request #38575 from nextcloud/backport/38301/stable25

[stable25] fix(caldav): Ignore invalid events for reminder generation

16 months agoMerge pull request #38518 from nextcloud/backport/38496/stable25
Daniel [Thu, 1 Jun 2023 18:38:22 +0000 (20:38 +0200)]
Merge pull request #38518 from nextcloud/backport/38496/stable25

[stable25] fix: catch errors in id3parser library

16 months agofix(trashbin): Truncate long filenames 38576/head
Christopher Ng [Thu, 1 Jun 2023 02:06:42 +0000 (19:06 -0700)]
fix(trashbin): Truncate long filenames

Signed-off-by: Christopher Ng <chrng8@gmail.com>
16 months agofix(caldav): Ignore invalid events for reminder generation 38575/head
Christoph Wurst [Wed, 31 May 2023 07:48:45 +0000 (09:48 +0200)]
fix(caldav): Ignore invalid events for reminder generation

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 1 Jun 2023 00:18:16 +0000 (00:18 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoMerge pull request #38532 from nextcloud/automated/noid/stable25-update-ca-cert-bundle
Joas Schilling [Wed, 31 May 2023 07:26:37 +0000 (09:26 +0200)]
Merge pull request #38532 from nextcloud/automated/noid/stable25-update-ca-cert-bundle

[stable25] Update ca-cert bundle

16 months agoUpdate CA certificate bundle 38532/head
nextcloud-command [Wed, 31 May 2023 02:33:31 +0000 (02:33 +0000)]
Update CA certificate bundle

Signed-off-by: GitHub <noreply@github.com>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 31 May 2023 00:17:59 +0000 (00:17 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agofix: catch errors in id3parser library 38518/head
Daniel Kesselberg [Sat, 27 May 2023 22:30:47 +0000 (00:30 +0200)]
fix: catch errors in id3parser library

We use a forked version of getID3 to read embedded images from mp3 files to use them as previews.

If the library is unable to extract a image or fails on something different we should handle it properly.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 30 May 2023 00:17:53 +0000 (00:17 +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, 28 May 2023 00:17:49 +0000 (00:17 +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, 27 May 2023 00:18:23 +0000 (00:18 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agofix: execute throws docrine exceptions not our wrapped ones 38480/head
Julius Härtl [Wed, 24 May 2023 15:04:13 +0000 (17:04 +0200)]
fix: execute throws docrine exceptions not our wrapped ones

Signed-off-by: Julius Härtl <jus@bitgrid.net>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 26 May 2023 00:18:27 +0000 (00:18 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agoMerge pull request #38434 from nextcloud/release/25.0.7 v25.0.7
Arthur Schiwon [Thu, 25 May 2023 09:59:15 +0000 (11:59 +0200)]
Merge pull request #38434 from nextcloud/release/25.0.7

25.0.7

16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 25 May 2023 00:20:07 +0000 (00:20 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months ago25.0.7 38434/head
Arthur Schiwon [Wed, 24 May 2023 13:15:47 +0000 (15:15 +0200)]
25.0.7

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
16 months agofix(theming): fix header primary invert if background disabled 38433/head
John Molakvoæ [Wed, 24 May 2023 09:40:57 +0000 (11:40 +0200)]
fix(theming): fix header primary invert if background disabled

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 24 May 2023 00:18:06 +0000 (00:18 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
16 months agofix loading custom logo image 38408/head
Robin Appelman [Mon, 15 May 2023 15:38:43 +0000 (17:38 +0200)]
fix loading custom logo image

Signed-off-by: Robin Appelman <robin@icewind.nl>
16 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 23 May 2023 00:17:42 +0000 (00:17 +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 [Mon, 22 May 2023 00:18:00 +0000 (00:18 +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, 21 May 2023 00:17:23 +0000 (00:17 +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, 20 May 2023 00:17:28 +0000 (00:17 +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, 19 May 2023 00:17:36 +0000 (00:17 +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 [Thu, 18 May 2023 18:46:47 +0000 (18:46 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
17 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 18 May 2023 00:18:05 +0000 (00:18 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
17 months agoMerge pull request #38315 from nextcloud/release/25.0.7_rc1 v25.0.7rc1
Arthur Schiwon [Wed, 17 May 2023 17:30:29 +0000 (19:30 +0200)]
Merge pull request #38315 from nextcloud/release/25.0.7_rc1

25.0.7 RC1

17 months agoMerge pull request #38309 from nextcloud/backport/37961/stable25
Arthur Schiwon [Wed, 17 May 2023 16:58:59 +0000 (18:58 +0200)]
Merge pull request #38309 from nextcloud/backport/37961/stable25

[stable25] SystemTags endpoint to return tags used by a user with meta data

17 months agoMerge pull request #38090 from nextcloud/backport/35092/stable25
Arthur Schiwon [Wed, 17 May 2023 16:58:27 +0000 (18:58 +0200)]
Merge pull request #38090 from nextcloud/backport/35092/stable25

[stable25] Check return value and improve error handling on certificate manager

17 months agoMerge pull request #37769 from nextcloud/backport/36217/stable25
Arthur Schiwon [Wed, 17 May 2023 13:56:11 +0000 (15:56 +0200)]
Merge pull request #37769 from nextcloud/backport/36217/stable25

[stable25] Handle reminders where calendar name is null

17 months agoMerge pull request #38074 from nextcloud/stable25-fix-a11y-files-settings
Arthur Schiwon [Wed, 17 May 2023 11:30:26 +0000 (13:30 +0200)]
Merge pull request #38074 from nextcloud/stable25-fix-a11y-files-settings

[stable25] Add required accessibility attributes to legacy files navigation

17 months agoMerge pull request #38132 from nextcloud/backport/36895/stable25
Git'Fellow [Wed, 17 May 2023 11:24:17 +0000 (13:24 +0200)]
Merge pull request #38132 from nextcloud/backport/36895/stable25

[stable25] Fix json_decode expecting a string

17 months agoMerge pull request #37850 from nextcloud/backport/37834/stable25
Arthur Schiwon [Wed, 17 May 2023 11:15:04 +0000 (13:15 +0200)]
Merge pull request #37850 from nextcloud/backport/37834/stable25

[stable25] Fix TypeError in Profiler

17 months agoMerge pull request #37832 from nextcloud/backport/37807/stable25
Arthur Schiwon [Wed, 17 May 2023 11:14:15 +0000 (13:14 +0200)]
Merge pull request #37832 from nextcloud/backport/37807/stable25

[stable25] Fix background color of external devices with errors on dark color theme

17 months agoMerge pull request #38249 from nextcloud/fix/read-only-system-addres-book-acls-stable25
Christoph Wurst [Wed, 17 May 2023 11:13:16 +0000 (13:13 +0200)]
Merge pull request #38249 from nextcloud/fix/read-only-system-addres-book-acls-stable25

[stable25] fix(carddav): Mark system address book as read-only

17 months agoMerge pull request #37702 from nextcloud/backport/37617/stable25
Arthur Schiwon [Wed, 17 May 2023 11:10:22 +0000 (13:10 +0200)]
Merge pull request #37702 from nextcloud/backport/37617/stable25

[stable25] handle not being able to write file for notify self-test

17 months agoMerge pull request #37569 from nextcloud/backport/34375/stable25
Arthur Schiwon [Wed, 17 May 2023 11:07:43 +0000 (13:07 +0200)]
Merge pull request #37569 from nextcloud/backport/34375/stable25

[stable25] fix(dav) Handle Calendar trashbin UID conflicts by removing the deleted calendar object

17 months agoMerge pull request #37307 from nextcloud/backport/37006/stable25
Arthur Schiwon [Wed, 17 May 2023 11:06:28 +0000 (13:06 +0200)]
Merge pull request #37307 from nextcloud/backport/37006/stable25

[stable25] also unmark deleted ldap user when checking the ldap entry

17 months agoMerge pull request #37720 from nextcloud/backport/37697/stable25
Joas Schilling [Wed, 17 May 2023 05:14:04 +0000 (07:14 +0200)]
Merge pull request #37720 from nextcloud/backport/37697/stable25

[stable25] Fix button text

17 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 17 May 2023 00:17:51 +0000 (00:17 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
17 months agoFix button text 37720/head
Christopher Ng [Fri, 14 Apr 2023 00:42:45 +0000 (17:42 -0700)]
Fix button text

Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 3b94da9c1d9869db35cf8b33da82119d93c1402f)

17 months agoMerge pull request #38325 from nextcloud/backport/38303/stable25
Simon L [Tue, 16 May 2023 21:34:06 +0000 (23:34 +0200)]
Merge pull request #38325 from nextcloud/backport/38303/stable25

[stable25] fix(search): fix load more

17 months agofix backport 38325/head
Simon L [Tue, 16 May 2023 19:53:01 +0000 (21:53 +0200)]
fix backport

Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
17 months agoMerge pull request #38305 from nextcloud/backport/38143/stable25
Simon L [Tue, 16 May 2023 19:58:12 +0000 (21:58 +0200)]
Merge pull request #38305 from nextcloud/backport/38143/stable25

[stable25] Fix generated avatars cache

17 months agofix(search): fix load more
John Molakvoæ [Tue, 16 May 2023 09:42:12 +0000 (11:42 +0200)]
fix(search): fix load more

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
17 months ago25.0.7 RC1 38315/head
Arthur Schiwon [Tue, 16 May 2023 16:05:14 +0000 (18:05 +0200)]
25.0.7 RC1

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
17 months agofix: PHP 7.4 compat 38309/head
Arthur Schiwon [Tue, 16 May 2023 11:12:10 +0000 (13:12 +0200)]
fix: PHP 7.4 compat

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
17 months agorefactor: remove where specification from SELECT getter
Arthur Schiwon [Wed, 10 May 2023 16:40:44 +0000 (18:40 +0200)]
refactor: remove where specification from SELECT getter

- search constraints are now fully in control of
  SystemTagsInFilesDetector::detectAssignedSystemTagsIn(), avoids
  duplication of a WHERE statement

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
17 months agorefactor: remove SystemTag logic from Folder into QuerySearchHelper
Arthur Schiwon [Fri, 5 May 2023 19:28:09 +0000 (21:28 +0200)]
refactor: remove SystemTag logic from Folder into QuerySearchHelper

- adds OC\SystemTag\SystemTagsInFilesDetector where the search logic is
  moved to

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
17 months agochore: polish SystemTagsInUseCollection
Arthur Schiwon [Thu, 4 May 2023 19:58:08 +0000 (21:58 +0200)]
chore: polish SystemTagsInUseCollection

- DI SystemTagManager
- add some comments and doc
- catch NoUserException
- add return type hints

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
17 months agofix: improve naming of new systemtags endpoint to systemtags-assigned
Arthur Schiwon [Thu, 4 May 2023 19:17:55 +0000 (21:17 +0200)]
fix: improve naming of new systemtags endpoint to systemtags-assigned

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
17 months agofeat: specify media type via url path: systemtags-current/$mediaType
Arthur Schiwon [Thu, 4 May 2023 09:57:07 +0000 (11:57 +0200)]
feat: specify media type via url path: systemtags-current/$mediaType

- only the media part of the mime type can be search, but not the full
  mime type. It can be added, should it become necessary.
- thus fixes previously hardcoded selector for image/ types
- also fixes a return type hint
- adds a return type hint

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
17 months agoPoC: SystemTags endpoint to return tags used by a user with meta data
Arthur Schiwon [Thu, 27 Apr 2023 20:24:16 +0000 (22:24 +0200)]
PoC: SystemTags endpoint to return tags used by a user with meta data

Target case is photos app: when visiting the tags category, all systemtags
of the whole cloud are retrieved. In subequent steps the next tag is
requested until the browser view is filled with tag tiles (i.e. previews
are requested just as well).

With this approach, we incorpoate the dav search and look for user related
tags that are used by them, and already returns the statistics (number of
files tagged with the respective tag) as well as a file id for the purpose
to load the preview. This defaults to the file with the highest id.

Call:
curl -s -u 'user:password' \
  'https://my.nc.srv/remote.php/dav/systemtags-current' \
  -X PROPFIND -H 'Accept: text/plain' \
  -H 'Accept-Language: en-US,en;q=0.5'  -H 'Depth: 1' \
  -H 'Content-Type: text/plain;charset=UTF-8' \
  --data @/home/doe/request-systemtag-props.xml

With request-systemtag-props.xml:
<?xml version="1.0" encoding="UTF-8"?>
<d:propfind xmlns:d="DAV:">
        <d:prop xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns">
                <oc:id/>
                <oc:display-name/>
                <oc:user-visible/>
                <oc:user-assignable/>
                <oc:can-assign/>
                <nc:files-assigned/>
                <nc:reference-fileid/>
        </d:prop>
</d:propfind>

Example output:
  …
  <d:response>
    <d:href>/master/remote.php/dav/systemtags/84</d:href>
    <d:propstat>
      <d:prop>
        <oc:id>84</oc:id>
        <oc:display-name>Computer</oc:display-name>
        <oc:user-visible>true</oc:user-visible>
        <oc:user-assignable>true</oc:user-assignable>
        <oc:can-assign>true</oc:can-assign>
        <nc:files-assigned>42</nc:files-assigned>
        <nc:reference-fileid>924022</nc:reference-fileid>
      </d:prop>
      <d:status>HTTP/1.1 200 OK</d:status>
    </d:propstat>
  </d:response>
  <d:response>
    <d:href>/remote.php/dav/systemtags/97</d:href>
    <d:propstat>
      <d:prop>
        <oc:id>97</oc:id>
        <oc:display-name>Bear</oc:display-name>
        <oc:user-visible>true</oc:user-visible>
        <oc:user-assignable>true</oc:user-assignable>
        <oc:can-assign>true</oc:can-assign>
        <nc:files-assigned>1</nc:files-assigned>
        <nc:reference-fileid>923422</nc:reference-fileid>
      </d:prop>
      <d:status>HTTP/1.1 200 OK</d:status>
    </d:propstat>
  </d:response>
  …

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
17 months agoadjust patch 38305/head
jld3103 [Tue, 16 May 2023 10:34:16 +0000 (12:34 +0200)]
adjust patch

Signed-off-by: jld3103 <jld3103yt@gmail.com>
17 months agoadjust patch
Simon L [Tue, 16 May 2023 10:19:20 +0000 (12:19 +0200)]
adjust patch

Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: Simon L. <szaimen@e.mail.de>
17 months agoClear generated avatar caches
jld3103 [Tue, 9 May 2023 10:27:46 +0000 (12:27 +0200)]
Clear generated avatar caches

Signed-off-by: jld3103 <jld3103yt@gmail.com>
17 months agoProperly clear cached avatars
jld3103 [Tue, 9 May 2023 10:23:57 +0000 (12:23 +0200)]
Properly clear cached avatars

Signed-off-by: jld3103 <jld3103yt@gmail.com>
17 months agoMerge pull request #38276 from nextcloud/backport/38274/stable25
Joas Schilling [Tue, 16 May 2023 09:31:26 +0000 (11:31 +0200)]
Merge pull request #38276 from nextcloud/backport/38274/stable25

[stable25] fix(middleware): Also abort the request when reaching max delay in af…

17 months agoMerge pull request #38258 from nextcloud/backport/38242/stable25
Simon L [Tue, 16 May 2023 06:31:51 +0000 (08:31 +0200)]
Merge pull request #38258 from nextcloud/backport/38242/stable25

[stable25] Fix incosistent scrolling in Firefox

17 months agoMerge pull request #38269 from nextcloud/backport/38267/stable25
Joas Schilling [Tue, 16 May 2023 04:35:39 +0000 (06:35 +0200)]
Merge pull request #38269 from nextcloud/backport/38267/stable25

[stable25] fix(lostpassword): Also rate limit the setPassword endpoint

17 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 16 May 2023 02:28:43 +0000 (02:28 +0000)]
Fix(l10n): Update translations from Transifex

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