Commit graph

67922 commits

Author SHA1 Message Date
Arthur Schiwon
f87286754e chore: cleanup unused code
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 17:29:13 +00:00
Arthur Schiwon
36a0d1486e fix: ensure searchBySystemTag() is available
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 17:29:13 +00:00
Arthur Schiwon
99442b60d5 fix: favorites view and universal search against tags
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 17:29:12 +00:00
Arthur Schiwon
7d8d586983 fix: change if with conditionless else to switch; and a parameter value
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 17:29:12 +00:00
Arthur Schiwon
7bfe6f2cc0 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-06 17:29:11 +00:00
Arthur Schiwon
d2be510ff1
Merge pull request #39151 from nextcloud/backport/39115/stable27
[stable27] fix(sse): don't update uncached files
2023-07-06 18:42:29 +02:00
Arthur Schiwon
1bdbb39ecc
Merge pull request #39193 from nextcloud/fix/stable27/tag-search-short-circuit-master
[stable27] fix(TagSearchProvider): Short circuit if no tag matches the query
2023-07-06 18:09:12 +02:00
Marcel Klehr
789832698f Fix psalm error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-06 14:53:01 +02:00
Marcel Klehr
470f2ec937 fix(TagSearchProvider): Short circuit if no tag matches the query
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-06 14:52:49 +02:00
Nextcloud bot
0e0b468c10
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-06 00:30:47 +00:00
Christoph Wurst
82c5f41dde
Merge pull request #39157 from nextcloud/backport/39043/stable27
[stable27] fix(ocp): Fix reference of dashboard IAPIWidget::getItems from WidgetItem
2023-07-05 20:00:46 +02:00
Christoph Wurst
6efaf84ceb fix(ocp): Fix reference of dashboard IAPIWidget::getItems from WidgetItem
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-05 10:23:38 +00:00
Louis
d119cb132a
Merge pull request #39119 from nextcloud/artonge/backport/stable27/38905
[stable27] Reduce load of files versions preview loading
2023-07-05 08:53:27 +02:00
Nextcloud bot
27e86ab470
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-05 00:26:55 +00:00
Richard Steinmetz
aaa7b41a33 fix(sse): don't update uncached files
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-04 20:18:17 +00:00
Arthur Schiwon
dd2dfc89fd
Merge pull request #38976 from nextcloud/backport/38625/stable27
[stable27] fix: expect interface, not a specific implementation
2023-07-04 22:07:29 +02:00
Robin Appelman
bab5a54aed
Merge pull request #38731 from nextcloud/backport/38226/stable27
[stable27] add utility command for object store objects
2023-07-04 21:06:48 +02:00
Robin Appelman
0ff32cadf3 add utility command for object store objects
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-04 17:59:21 +02:00
Nextcloud bot
61f8314f83
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-04 00:29:28 +00:00
Maksim Sukharev
8cad04dcd0
Merge pull request #39055 from nextcloud/backport/38832/stable27
[stable27] Adjust saving of status messages
2023-07-03 18:06:36 +02:00
Maksim Sukharev
d8141c6ad7 wrap user status message input and buttons with native form
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>

(cherry picked from commit bcb074a90d)
2023-07-03 15:34:25 +02:00
Louis Chemineau
859552b887 Base versions' has-preview on mimetype
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-07-03 11:11:47 +02:00
Louis Chemineau
97a72b1d78 Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-07-03 11:08:52 +02:00
Louis Chemineau
2e7d7042a7 Do not load preview if version tab is not active
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-07-03 11:04:57 +02:00
Louis Chemineau
b164af46c7 Provide hasPreview in files_versions DAV API
This allow to no request non existing previews
I also set some properties to the img element to reduce preview loading to what the browser think is necessary

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-07-03 11:04:57 +02:00
Nextcloud bot
5fd29c6f50
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-03 00:30:49 +00:00
Nextcloud bot
7b5375b671
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-02 00:31:11 +00:00
Nextcloud bot
eb537ad664
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-01 00:25:24 +00:00
Julius Härtl
968622098f
Merge pull request #39078 from nextcloud/backport/39025/stable27 2023-06-30 11:40:13 +02:00
Julius Härtl
e37ca5694b fix(files): Only render the menu if there are actions to show
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-30 08:21:56 +00:00
Nextcloud bot
96348bf75d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-30 00:29:54 +00:00
John Molakvoæ
de6d5b6d62
Merge pull request #39067 from nextcloud/fix/cypress-ref/stable27 2023-06-29 18:39:11 +02:00
John Molakvoæ
16c7c078d6
chore: update cypress workflow from templates
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-29 18:19:11 +02:00
John Molakvoæ
772aa81269
fix(cypress): branch definition
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-29 17:23:49 +02:00
Simon L
297cc0e512
Merge pull request #38994 from nextcloud/backport/38988/stable27
[stable27] fix: restore AppsSlideToggle feature
2023-06-28 19:14:11 +02:00
John Molakvoæ
bbeed21430 fix: restore AppsSlideToggle feature
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-28 15:00:19 +00:00
Robin Appelman
fdb62dbdf4
Merge pull request #39019 from nextcloud/backport/38858/stable27
[stable27] file scanner performance improvements
2023-06-28 14:23:10 +02:00
Nextcloud bot
5aa23c26cb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-28 00:30:52 +00:00
Simon L
50f1fc0b74
Merge pull request #39028 from nextcloud/backport/39005/stable27
[stable27] fix(dav): Catch SAB sync errors during upgrade
2023-06-27 14:34:17 +02:00
Christoph Wurst
0fd478b9e3 fix(dav): Catch SAB sync errors during upgrade
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-27 11:08:39 +00:00
Louis
ff04de6fbc
Merge pull request #38970 from nextcloud/backport/38800/stable27
[stable27] fix: Avoid failing to update the current version entry if there is none
2023-06-27 09:36:22 +02:00
Nextcloud bot
cd1ec4aa17
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-27 00:32:18 +00:00
Louis Chemineau
af0f1149ed Do not create a new version if previousNode has the same mtime
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-26 17:57:38 +02:00
Julius Härtl
9d348950c0 fix: Add logging statement for cases when updating the version fails
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-26 17:57:38 +02:00
Louis Chemineau
e8a2847bad Handle previousNode size === 0 on version creation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-26 17:57:38 +02:00
Julius Härtl
ea30d1165b fix: Avoid failing to update the current version entry if there is none
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-26 17:57:38 +02:00
Robin Appelman
b219a17cc6 file scanner performance improvements
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-26 15:44:16 +00:00
Arthur Schiwon
5ba5c2d88e
docs: adjust @since version to backport
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-26 17:40:21 +02:00
Simon L
3190dfb5ae
Merge pull request #39004 from nextcloud/backport/38958/stable27
[stable27] use getsystemvalue-functions in Mailer.php
2023-06-26 11:45:05 +02:00
Simon L
9c2bd71ad4 try to fix tests
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-26 08:32:52 +00:00