Commit graph

65631 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
17df2275fc
Merge pull request #38315 from nextcloud/release/25.0.7_rc1
25.0.7 RC1
2023-05-17 19:30:29 +02: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
4f4231275c
Merge pull request #38090 from nextcloud/backport/35092/stable25
[stable25] Check return value and improve error handling on certificate manager
2023-05-17 18:58:27 +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
Git'Fellow
4941f32d5c
Merge pull request #38132 from nextcloud/backport/36895/stable25
[stable25] Fix json_decode expecting a string
2023-05-17 13:24:17 +02:00
Arthur Schiwon
66b8c94cfb
Merge pull request #37850 from nextcloud/backport/37834/stable25
[stable25] Fix TypeError in Profiler
2023-05-17 13:15:04 +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
3f19545c7e
Merge pull request #38325 from nextcloud/backport/38303/stable25
[stable25] fix(search): fix load more
2023-05-16 23:34:06 +02: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
Simon L
88f588f502
Merge pull request #38305 from nextcloud/backport/38143/stable25
[stable25] Fix generated avatars cache
2023-05-16 21:58:12 +02:00
John Molakvoæ
075bb5f6c5 fix(search): fix load more
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-16 19:47:36 +00:00
Arthur Schiwon
db7caa816d
25.0.7 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-16 18:05:14 +02: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
0612ad250e
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>
2023-05-16 12:59: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
jld3103
dc3221d4d3
adjust patch
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-16 12:34:16 +02:00
Simon L
24a50a1cde
adjust patch
Signed-off-by: Simon L <szaimen@e.mail.de>

Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-05-16 12:19:20 +02:00
jld3103
0735020a05 Clear generated avatar caches
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-16 10:17:35 +00:00
jld3103
b8286d2ead Properly clear cached avatars
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-16 10:17:34 +00:00
Joas Schilling
44d7dbb33d
Merge pull request #38276 from nextcloud/backport/38274/stable25
[stable25] fix(middleware): Also abort the request when reaching max delay in af…
2023-05-16 11:31:26 +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
Joas Schilling
171a9bb876
Merge pull request #38269 from nextcloud/backport/38267/stable25
[stable25] fix(lostpassword): Also rate limit the setPassword endpoint
2023-05-16 06:35:39 +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
Robin Appelman
bb026421a0
Merge pull request #38282 from nextcloud/session-auth-check-username-25
[25] check the username when doing external storage session auth
2023-05-15 23:48:58 +02: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
Joas Schilling
1131e6fabd
fix(middleware): Also abort the request when reaching max delay in afterController
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-15 16:25:39 +02:00
Joas Schilling
156d53f010
fix(tests): Adjust unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-15 16:13:58 +02:00
Joas Schilling
e42235a3e4
fix(lostpassword): Also rate limit the setPassword endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-15 15:59:51 +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
Côme Chilliet
4e05c6fa79
Merge pull request #38236 from nextcloud/automated/noid/stable25-update-psalm-baseline
[stable25] Update psalm-baseline.xml
2023-05-15 11:25:45 +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
Julius Härtl
aa86a3d2b3
Merge pull request #38239 from nextcloud/backport/37709/stable25 2023-05-15 08:42:31 +02:00
nextcloud-command
3fda5153b9 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-05-15 02:37:05 +00: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