Commit graph

65847 commits

Author SHA1 Message Date
Joas Schilling
e09d79882b
chore(CI): Sign .drone.yml file
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-13 11:51:51 +02:00
Nextcloud bot
8803a26624
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-13 00:30:00 +00:00
Arthur Schiwon
5161fc8f0f
Merge pull request #39259 from nextcloud/backports/39146/stable25
[stable25] fix(files_sharing): hide download permission for circle shares
2023-07-12 23:18:13 +02:00
Arthur Schiwon
59b26553a4
style(php): satisfy style checker
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-12 20:26:57 +02:00
Arthur Schiwon
09d4260889
Merge pull request #39061 from nextcloud/backport/31790/stable25
[stable25] Fix creating events with old (< unix time) lastoccurence
2023-07-12 20:06:48 +02:00
Nextcloud bot
29e5984fad
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-12 00:22:28 +00:00
Arthur Schiwon
5053cc556f
Merge pull request #39294 from nextcloud/backport/39248/stable25
[stable25] preload custom properties when propfinding folders
2023-07-12 01:10:30 +02:00
Arthur Schiwon
6715bbade1
Merge pull request #39101 from nextcloud/backport/39093/stable25
[stable25] Silent `imagecreatefromstring()` errors
2023-07-12 00:44:59 +02:00
Simon L
2febf7ed88
Merge pull request #38982 from nextcloud/automated/noid/stable25-fix-npm-audit
[stable25] Fix npm audit
2023-07-11 23:31:44 +02:00
nextcloud-command
b1c2f6a720 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-07-11 16:06:53 +00:00
Arthur Schiwon
59466b3424
Merge pull request #39233 from nextcloud/backport/39202/stable25
[stable25] use more efficient tag retrieval on DAV report request
2023-07-11 14:22:44 +02:00
Joas Schilling
99ff886d5d
Merge pull request #38973 from nextcloud/backport/38747/stable25
[stable25] perf: skip request without write permission
2023-07-11 07:18:30 +02:00
Nextcloud bot
983f443f4c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-11 00:32:48 +00:00
Robin Appelman
f3d924db11 preload custom properties when propfinding folders
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-10 20:29:42 +00:00
Joas Schilling
cdc51554b2
Merge pull request #39253 from nextcloud/backport/38046/stable25
[stable25] fix(dav): Abort requests with 429 instead of waiting
2023-07-10 20:53:15 +02:00
Julius Härtl
f19fdc5325 chore(psalm): Make psalm aware of sabre/uri
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-10 18:01:22 +02:00
Daniel Kesselberg
5dfd8f6549 perf: skip request without write permission
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-10 18:01:22 +02:00
Arthur Schiwon
6b79c81b34
Merge pull request #39032 from nextcloud/backport/38917/stable25
[stable25] fix(l10n): Fix plural issue with different locale and language
2023-07-10 17:27:46 +02:00
Arthur Schiwon
b937542740
Merge pull request #39144 from nextcloud/fix/password-confirmation-25
[stable25] Fix password confirmation
2023-07-10 17:23:38 +02:00
Arthur Schiwon
a4b7bb7c78
Merge pull request #37744 from nextcloud/backport/36690/stable25
[stable25] fix: Make sure that rollback hook is triggered on all version backends
2023-07-10 17:16:04 +02:00
Daniel Kesselberg
ae691e0986
chore: fix codestyle for \OC\Files\Node\Folder
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-10 14:54:02 +02:00
Daniel Kesselberg
b2776bf586
fix: use handleLoginFailed for invalid email address
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-10 14:28:19 +02:00
Julius Härtl
2ec0a9f81e
Merge pull request #39081 from nextcloud/backport/39025/stable25 2023-07-10 13:03:40 +02:00
Arthur Schiwon
2ca8c7102b
fix: PHP 7.4 compatibility
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-10 12:42:30 +02:00
Richard Steinmetz
fd5dbc504f
fix(files_sharing): hide download permission for circle shares
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-10 09:45:46 +02:00
Joas Schilling
446ebd35a9
fix(dav): Abort requests with 429 instead of waiting
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-10 06:35:25 +02:00
Nextcloud bot
9c31710acd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-10 00:29:12 +00:00
Nextcloud bot
d8441009de
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-09 00:35:50 +00:00
Nextcloud bot
3d54c2ebb4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-08 00:30:37 +00:00
Arthur Schiwon
5121ccaa3a
style: satisfy code style checker
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 18:30:17 +02:00
Robin Appelman
92c7367013
properly register test mount for user
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-07 18:26:55 +02:00
Julius Härtl
5b77597c52
fix: Check return type on rollback
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-07 18:26:55 +02:00
Robin Appelman
69998422d5
don't re-get fileinfo for versioned file if it's not shared
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-07 18:26:54 +02:00
Julius Härtl
2741810c72
tests(files_versions): Tear down fs to clear mount cache before testing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-07 18:26:54 +02:00
Julius Härtl
aaaf9c7e8c
fix: Make sure that rollback hook is triggered on all version backends
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-07 18:26:53 +02:00
Arthur Schiwon
33b9ba5cd9
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 17:56:54 +02:00
Arthur Schiwon
6256da1ade
fix: cannot apply limit+offset on multi-tag-search
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 17:56:10 +02:00
Arthur Schiwon
5cd984b76b
refactor: save unnecessary method_exists
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 17:56:05 +02:00
Arthur Schiwon
2c162694f2
fix: use array_unitersect against objects
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 17:56:01 +02:00
Arthur Schiwon
9f549013b0
fix: obey offset and limit for results from favs and circles
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 17:55:55 +02:00
Arthur Schiwon
1ffae9d110
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 17:55:50 +02:00
Arthur Schiwon
d21b251a85
fix: include invisible tags for admins
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 17:55:45 +02:00
Arthur Schiwon
5c0a1a4b09
fix: search with more than one search tags
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 17:55:31 +02:00
Arthur Schiwon
8d25273192
fix: no search when LazyFolder was provided
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 17:44:04 +02:00
Arthur Schiwon
2b513e9d12
chore: cleanup unused code
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 17:43:58 +02:00
Arthur Schiwon
03590e86e7
fix: ensure searchBySystemTag() is available
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 17:43:52 +02:00
Arthur Schiwon
837fd9f8da
fix: favorites view and universal search against tags
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 17:43:46 +02:00
Arthur Schiwon
5086dff563
fix: change if with conditionless else to switch; and a parameter value
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 17:43:40 +02:00
Arthur Schiwon
7e2ad76505
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 17:43:34 +02:00
Nextcloud bot
8a73ef80de
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-07 00:27:56 +00:00