Commit graph

27804 commits

Author SHA1 Message Date
Nextcloud bot
ffbf6451b0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-18 18:46:47 +00:00
Nextcloud bot
7d1c6d46ee
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-18 00:18:05 +00:00
Arthur Schiwon
cf2b8e9866
Merge pull request #38309 from nextcloud/backport/37961/stable25
[stable25] SystemTags endpoint to return tags used by a user with meta data
2023-05-17 18:58:59 +02:00
Arthur Schiwon
bf716861a7
Merge pull request #37769 from nextcloud/backport/36217/stable25
[stable25] Handle reminders where calendar name is null
2023-05-17 15:56:11 +02:00
Arthur Schiwon
f8058a0d09
Merge pull request #38074 from nextcloud/stable25-fix-a11y-files-settings
[stable25] Add required accessibility attributes to legacy files navigation
2023-05-17 13:30:26 +02:00
Arthur Schiwon
5ecca4a88d
Merge pull request #37832 from nextcloud/backport/37807/stable25
[stable25] Fix background color of external devices with errors on dark color theme
2023-05-17 13:14:15 +02:00
Christoph Wurst
b6911ba850
Merge pull request #38249 from nextcloud/fix/read-only-system-addres-book-acls-stable25
[stable25] fix(carddav): Mark system address book as read-only
2023-05-17 13:13:16 +02:00
Arthur Schiwon
b4f562bc2f
Merge pull request #37702 from nextcloud/backport/37617/stable25
[stable25] handle not being able to write file for notify self-test
2023-05-17 13:10:22 +02:00
Arthur Schiwon
d52917c9ce
Merge pull request #37569 from nextcloud/backport/34375/stable25
[stable25] fix(dav) Handle Calendar trashbin UID conflicts by removing the deleted calendar object
2023-05-17 13:07:43 +02:00
Arthur Schiwon
bd9f1e18bf
Merge pull request #37307 from nextcloud/backport/37006/stable25
[stable25] also unmark deleted ldap user when checking the ldap entry
2023-05-17 13:06:28 +02:00
Joas Schilling
fc66ebd8e7
Merge pull request #37720 from nextcloud/backport/37697/stable25
[stable25] Fix button text
2023-05-17 07:14:04 +02:00
Nextcloud bot
cf067e5975
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-17 00:17:51 +00:00
Christopher Ng
3128f246e3 Fix button text
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 3b94da9c1d)
2023-05-16 16:10:31 -07:00
Simon L
b4d7f56b7a fix backport
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-16 20:17:58 +00:00
Arthur Schiwon
2368546883
fix: PHP 7.4 compat
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-16 13:12:10 +02:00
Arthur Schiwon
1e5de8aff4
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>
2023-05-16 12:59:04 +02:00
Arthur Schiwon
f42cae2bdb
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>
2023-05-16 12:58:59 +02:00
Arthur Schiwon
2c9377c66a
fix: improve naming of new systemtags endpoint to systemtags-assigned
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-16 12:58:54 +02:00
Arthur Schiwon
de008e1109
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>
2023-05-16 12:58:47 +02:00
Arthur Schiwon
8ec4760645
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>
2023-05-16 12:58:42 +02:00
Simon L
2812b98957
Merge pull request #38258 from nextcloud/backport/38242/stable25
[stable25] Fix incosistent scrolling in Firefox
2023-05-16 08:31:51 +02:00
Nextcloud bot
87da3fe7de
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-16 02:28:43 +00:00
Simon L
38d1d5796e Fix incosistent scrolling in Firefox
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-15 16:21:09 +00:00
Robin Appelman
da9e310691
check the username when doing external storage session auth
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-15 17:04:32 +02:00
Ferdinand Thiessen
8f2f886411 Add required accessibility attributes to legacy files navigation
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-15 14:10:22 +02:00
Côme Chilliet
dee180409b
Merge pull request #38203 from nextcloud/backport/36893/stable25
[stable25] Make sure to never trigger files hooks on a null path
2023-05-15 11:26:33 +02:00
Christoph Wurst
d0f42b36a1
fix(carddav): Mark system address book as read-only
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-15 10:35:08 +02:00
Nextcloud bot
b697c8e54b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-15 02:28:39 +00:00
Nextcloud bot
1ffa649a8d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-14 02:27:54 +00:00
Nextcloud bot
0736d43501
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-13 02:28:14 +00:00
Nextcloud bot
f1d645a934
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-12 02:28:30 +00:00
Côme Chilliet
8faf854a03 Make sure to never trigger files hooks on a null path
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-11 14:43:04 +00:00
Julius Härtl
9e039663c0
Merge pull request #38129 from nextcloud/backport/36774/stable25 2023-05-10 07:56:18 +02:00
Nextcloud bot
41213d052c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-10 02:31:42 +00:00
Julius Härtl
2e09f075ee
tests: Adapt node related unit tests mocks to required root view
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-09 13:00:23 +02:00
Julius Härtl
46e924aa7b
fix: Use proper path when creating node instances
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-09 13:00:04 +02:00
Nextcloud bot
ff6b4c659b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-09 02:20:06 +00:00
Nextcloud bot
01abf6e5fb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-08 02:28:26 +00:00
Nextcloud bot
29f8f3648c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-07 02:28:33 +00:00
Nextcloud bot
710180aab4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-06 02:27:58 +00:00
Nextcloud bot
3e8acc047b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-05 02:28:25 +00:00
Julius Härtl
f47dcbc36e
Merge pull request #38044 from nextcloud/backport/37787/stable25 2023-05-04 11:00:12 +02:00
Max
7f2de58e4c
fix: catch ManuallyLockedException and use app context
The files_lock app may throw ManuallyLockedExceptions
when attempting to revert a file that is currently opened.
This would prevent the user from rolling back a opened file.

Text and Richdocuments handle changes of the file while editing.
Allow reverting files even when they are locked by these apps
and let the apps handle the conflict.

Signed-off-by: Max <max@nextcloud.com>
2023-05-04 09:41:27 +02:00
Nextcloud bot
709a33becd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-04 02:28:23 +00:00
Nextcloud bot
f133f0e363
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-03 02:28:14 +00:00
Robin Appelman
1e6f396f6f
Merge pull request #38006 from nextcloud/backport/37525/stable25
[stable25] add command for getting fileinfo for debugging
2023-05-02 16:43:25 +02:00
Nextcloud bot
3defcf0495
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-02 02:28:01 +00:00
Robin Appelman
c8824825db add command for getting fileinfo for debugging
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-01 14:03:20 +00:00
Nextcloud bot
7531d0415f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-01 02:29:40 +00:00
Nextcloud bot
16dcf84223
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-30 02:29:33 +00:00