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
Arthur Schiwon
eba105b9a8
Merge pull request #39153 from nextcloud/backport/39115/stable25
...
[stable25] fix(sse): don't update uncached files
2023-07-06 18:43:25 +02:00
Arthur Schiwon
9eb787e3ea
Merge pull request #39195 from nextcloud/fix/stable25/tag-search-short-circuit-master
...
[stable25] fix(TagSearchProvider): Short circuit if no tag matches the query
2023-07-06 18:39:37 +02:00
Marcel Klehr
656d54f51f
Fix psalm error
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-06 14:58:16 +02:00
Marcel Klehr
38bd09c96f
fix(TagSearchProvider): Short circuit if no tag matches the query
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-06 14:58:11 +02:00
Arthur Schiwon
48a7a20ab6
Merge pull request #39154 from nextcloud/backport/38625/stable25
...
[stable25] fix: expect interface, not a specific implementation
2023-07-06 13:36:58 +02:00
Nextcloud bot
63adbbc289
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-06 00:31:04 +00:00
Christoph Wurst
54885eaeb3
Merge pull request #38959 from nextcloud/fix/oc-image-bmp-no-color
...
[stable25] fix: BMP image without color info causes array access on `false`
2023-07-05 10:54:09 +02:00
Nextcloud bot
8c3ecd2573
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-05 00:27:12 +00:00
Arthur Schiwon
1eb9f1874d
fix: adjust to PHP level and codebase
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-04 23:36:06 +02:00
Arthur Schiwon
2930f890d6
ci: adjust return annotation to older psalm version
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-04 23:14:56 +02:00
Arthur Schiwon
5ca35c9007
docs: adjust @since version to backport
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-04 23:14:39 +02:00
Arthur Schiwon
c2fdee7f6e
ci: pro forma check of existence of internal method
...
createNode() is protected and used by Folder, but being an internal-only
method it shall not be exposed in the Folder or IRootFolder interface.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-04 23:12:58 +02:00
Arthur Schiwon
481cbafae3
refactor: declare getMount() and getMountsIn() at IRootFolder
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-04 23:10:33 +02:00
Arthur Schiwon
d5b69c1698
chore: ugly type juggling
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-04 23:10:25 +02:00
Arthur Schiwon
e5e9df2948
fix: add typehine for IRootFolder
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-04 23:10:03 +02:00
Arthur Schiwon
5640339d1d
fix: expect interface, not a specific implementation
...
- fixes a regression when deleting folders while music app was enabled,
for a LazyRoot was passed to this method.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-04 23:06:28 +02:00
Richard Steinmetz
848b8eb477
fix(sse): don't update uncached files
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-04 20:30:09 +00:00
Nextcloud bot
0195ea4c20
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-04 00:29:43 +00:00
Nextcloud bot
2c862f172d
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-03 00:31:04 +00:00
Nextcloud bot
7e428aff52
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-02 00:31:26 +00:00
Nextcloud bot
39a7166db7
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-01 00:25:40 +00:00
Arthur Schiwon
2027372cec
Merge pull request #38962 from nextcloud/fix/missing-systemtags-index-stable25
...
[stable25] fix(systemtags): Add missing systemtags index
2023-06-30 17:37:55 +02:00
Marcel Klehr
1448063ffd
fix(systemtags): Keep non-existing index
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-06-30 14:55:36 +02:00
Marcel Klehr
8c11c9055a
fix(systemtags): Move index creation from new migration to existing original migration
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-06-30 14:55:36 +02:00
Marcel Klehr
ddf296f76f
fix(systemtags): Add missing systemtags index
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-06-30 14:55:36 +02:00
Nextcloud bot
4fb908bb9f
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-30 00:30:11 +00:00
Nextcloud bot
94ca139d74
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-28 00:31:08 +00:00
Nextcloud bot
8af6bb49ec
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-27 00:32:33 +00:00
Simon L
67e2d4b7be
Merge pull request #39016 from nextcloud/backport/39014/stable25
...
[stable25] fix setup-check test
2023-06-26 16:39:09 +02:00
Simon L
8c3b3a6e3b
fix setup-check test
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-26 14:04:16 +00:00
Nextcloud bot
d9d6fbd5c7
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-26 00:28:20 +00:00
Nextcloud bot
db1aca3631
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-25 00:31:55 +00:00
Nextcloud bot
9b791f55d0
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-24 00:26:38 +00:00
Christoph Wurst
7479f8f525
fix: BMP image without color info causes array access on false
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-23 11:06:53 +02:00
Julien Veyssier
5738ce5cd7
Merge pull request #38899 from nextcloud/backport/38773/stable25
...
[stable25] Add bruteforce protection in OauthApiController
2023-06-22 17:14:56 +02:00
Julien Veyssier
92455340f6
add bruteforce protection in OauthApiController
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-22 14:11:13 +02:00