Commit graph

67115 commits

Author SHA1 Message Date
Nextcloud bot
cd1527effa
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-12 00:22:21 +00:00
Arthur Schiwon
23c2fdc296
Merge pull request #38920 from nextcloud/backport/38639/stable26
[stable26] pruneOutdatedSyncTokens deletes all entries
2023-07-12 00:58:47 +02:00
Julia Kirschenheuter
6541d7ef7c
Merge pull request #39285 from nextcloud/orphan-share-command-stable26
[26] add command do delete orphan shares
2023-07-11 11:02:23 +02:00
Andy Scherzinger
4dc0869831
Merge pull request #39293 from nextcloud/backport/39248/stable26
[stable26] preload custom properties when propfinding folders
2023-07-11 10:44:11 +02:00
Richard Steinmetz
491eda93cc fix(dav): close cursor when fetching max id
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-11 07:58:46 +02:00
Joas Schilling
c954378178
Merge pull request #37737 from nextcloud/backport/36351/stable26
[stable26] Move encrypt-all password email to EmailTemplate
2023-07-11 07:24:32 +02:00
Nextcloud bot
b4b72332a5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-11 00:32:41 +00:00
Robin Appelman
f8eceb40d4 preload custom properties when propfinding folders
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-10 20:24:32 +00:00
Joas Schilling
68bd04e173 Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-10 20:39:04 +02:00
Joas Schilling
77697ff3ed Move encrypt-all password email to EmailTemplate
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-10 20:39:04 +02:00
Julius Härtl
c7a8c3b427
Merge pull request #39232 from nextcloud/backport/39202/stable26 2023-07-10 18:08:23 +02:00
Arthur Schiwon
ce036dcced
Merge pull request #39260 from nextcloud/backports/39146/stable26
[stable26] fix(files_sharing): hide download permission for circle shares
2023-07-10 18:06:07 +02:00
Arthur Schiwon
1c59a7a5db
Merge pull request #39031 from nextcloud/backport/38917/stable26
[stable26] fix(l10n): Fix plural issue with different locale and language
2023-07-10 18:05:48 +02:00
Arthur Schiwon
61835be271
Merge pull request #39155 from nextcloud/automated/noid/stable26-update-psalm-baseline
[stable26] Update psalm-baseline.xml
2023-07-10 18:02:26 +02:00
Arthur Schiwon
fa388d262a
Merge pull request #39143 from nextcloud/fix/password-confirmation-26
[stable26] Fix password confirmation
2023-07-10 18:01:43 +02:00
Arthur Schiwon
91a44763bd
Merge pull request #39100 from nextcloud/backport/39093/stable26
[stable26] Silent `imagecreatefromstring()` errors
2023-07-10 17:59:29 +02:00
Arthur Schiwon
f4f6a95b02
Merge pull request #38972 from nextcloud/backport/38747/stable26
[stable26] perf: skip request without write permission
2023-07-10 17:57:55 +02:00
Arthur Schiwon
48f27a90bd
Merge pull request #39270 from nextcloud/backport/35915/35915-stable26
[stable26] display displayname on federated shares
2023-07-10 17:49:34 +02:00
Robin Appelman
a1244e0584
add command do delete orphan shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-10 17:09:07 +02:00
Joas Schilling
a87a931675
Merge pull request #39252 from nextcloud/backport/38046/stable26
[stable26] fix(dav): Abort requests with 429 instead of waiting
2023-07-10 14:30:25 +02:00
Maxence Lange
b9a25ce4d5 display displayname on federated shares
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-07-10 10:57:26 -01:00
Richard Steinmetz
0c09c34034
fix(files_sharing): hide download permission for circle shares
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-10 09:45:34 +02:00
Joas Schilling
ddff2e692d
fix(dav): Abort requests with 429 instead of waiting
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-10 06:32:01 +02:00
nextcloud-command
8c7e4c5ad0 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-07-10 02:42:26 +00:00
Nextcloud bot
396a80a39b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-10 00:29:04 +00:00
Nextcloud bot
d211eccb4c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-09 00:35:41 +00:00
Nextcloud bot
6e3421bd4a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-08 00:30:30 +00:00
Arthur Schiwon
fc9fd0d7f2
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>
2023-07-07 16:58:07 +02:00
Arthur Schiwon
db1306b955 fix: cannot apply limit+offset on multi-tag-search
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:57 +00:00
Arthur Schiwon
dfbedda0a2 refactor: save unnecessary method_exists
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:57 +00:00
Arthur Schiwon
22c417d70b fix: use array_unitersect against objects
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:57 +00:00
Arthur Schiwon
eeb76461da fix: obey offset and limit for results from favs and circles
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:57 +00:00
Arthur Schiwon
749efc1ba1 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>
2023-07-07 14:54:56 +00:00
Arthur Schiwon
0b4db60d3b fix: include invisible tags for admins
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:56 +00:00
Arthur Schiwon
bb165d3d05 fix: search with more than one search tags
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:56 +00:00
Arthur Schiwon
3ed878a368 fix: no search when LazyFolder was provided
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:56 +00:00
Arthur Schiwon
b0ec34fc22 chore: cleanup unused code
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:56 +00:00
Arthur Schiwon
6d249b56bd fix: ensure searchBySystemTag() is available
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:56 +00:00
Arthur Schiwon
48c92ade85 fix: favorites view and universal search against tags
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:56 +00:00
Arthur Schiwon
c33f728249 fix: change if with conditionless else to switch; and a parameter value
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 14:54:55 +00:00
Arthur Schiwon
b172df69d6 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>
2023-07-07 14:54:55 +00:00
John Molakvoæ
54fb0569cf
Merge pull request #39206 from nextcloud/backport/39203/stable26 2023-07-07 09:20:43 +02:00
Nextcloud bot
45848c0ca2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-07 00:27:49 +00:00
John Molakvoæ
2fc2a0d613 fix(cypress): revert only toggle
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-06 20:46:49 +00:00
Arthur Schiwon
e4e608caac
Merge pull request #39152 from nextcloud/backport/39115/stable26
[stable26] fix(sse): don't update uncached files
2023-07-06 18:42:59 +02:00
Arthur Schiwon
ddfe6cc49c
Merge pull request #39194 from nextcloud/fix/stable26/tag-search-short-circuit-master
[stable26] fix(TagSearchProvider): Short circuit if no tag matches the query
2023-07-06 18:38:53 +02:00
Marcel Klehr
1b83c6302a Fix psalm error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-06 14:56:18 +02:00
Marcel Klehr
cfe21648d6 fix(TagSearchProvider): Short circuit if no tag matches the query
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-06 14:56:12 +02:00
Nextcloud bot
51fda57d59
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-06 00:30:56 +00:00
Christoph Wurst
e1af3b9dd4
Merge pull request #39159 from nextcloud/backport/39043/stable26
[stable26] fix(ocp): Fix reference of dashboard IAPIWidget::getItems from WidgetItem
2023-07-05 20:01:04 +02:00