Arthur Schiwon
592aeec17e
Merge pull request #38919 from nextcloud/backport/38639/stable27
...
[stable27] pruneOutdatedSyncTokens deletes all entries
2023-07-12 19:50:40 +02:00
Arthur Schiwon
0f359f385a
Merge pull request #39292 from nextcloud/backport/39248/stable27
...
[stable27] preload custom properties when propfinding folders
2023-07-12 01:06:34 +02:00
Arthur Schiwon
421fec8f5f
Merge pull request #38572 from nextcloud/backport/38301/stable27
...
[stable27] fix(caldav): Ignore invalid events for reminder generation
2023-07-12 01:01:40 +02:00
Arthur Schiwon
8adad15e77
Merge pull request #38475 from nextcloud/backport/38454/stable27
...
[stable27] fix(carddav): Make system contact phone number RFC compliant
2023-07-12 01:00:12 +02:00
Richard Steinmetz
f2e9044494
fix(dav): close cursor when fetching max id
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-11 08:02:45 +02:00
Robin Appelman
eb44900d35
preload custom properties when propfinding folders
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-10 20:19:22 +00:00
Arthur Schiwon
ff86e8c411
Merge pull request #38968 from nextcloud/backport/38747/stable27
...
[stable27] perf: skip request without write permission
2023-07-10 18:30:41 +02:00
Arthur Schiwon
1b422df12a
Merge pull request #38792 from nextcloud/backport/38777/stable27
...
[stable27] fix(carddav): Make SystemAddressBook::__construct $groupManager argument nullable
2023-07-10 18:28:02 +02:00
Arthur Schiwon
7073c21e2d
Merge pull request #38659 from nextcloud/backport/38649/stable27
...
[stable27] fix(caldav): Close DB cursor in reminder index background job
2023-07-10 18:25:24 +02:00
Christoph Wurst
1bbeffa4a5
fix(caldav): Ignore invalid events for reminder generation
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-10 18:24:05 +02:00
greta
e44cd0f080
fix(carddav): Make system contact phone number RFC compliant
...
Signed-off-by: greta <gretadoci@gmail.com>
2023-07-10 18:21:33 +02:00
Johannes
05de066ee7
Merge pull request #38947 from nextcloud/fix/contacts/3404/put-location-in-proper-place-stable27
...
[stable27] Manuel backport: fix(sab): put location in proper address field
2023-07-07 18:02:56 +02:00
Johannes Merkel
db8da6a571
fix(sab): put location in proper address field
...
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-07 15:16:58 +00:00
Arthur Schiwon
a7b4f502aa
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 12:25:04 +02:00
Arthur Schiwon
35de0b5504
fix: cannot apply limit+offset on multi-tag-search
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 21:52:53 +02:00
Arthur Schiwon
d05d185862
refactor: save unnecessary method_exists
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 21:52:52 +02:00
Arthur Schiwon
653812d583
fix: use array_unitersect against objects
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 21:52:52 +02:00
Arthur Schiwon
a5a134567b
fix: obey offset and limit for results from favs and circles
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 21:52:52 +02:00
Arthur Schiwon
b55be6fd8f
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-06 21:52:52 +02:00
Arthur Schiwon
66a7064db3
fix: include invisible tags for admins
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 21:52:51 +02:00
Arthur Schiwon
4ac77f0f7a
fix: search with more than one search tags
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 21:52:51 +02:00
Arthur Schiwon
4e5c3bd166
fix: no search when LazyFolder was provided
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 17:29:13 +00:00
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
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
Daniel Kesselberg
8e00afbb47
perf: skip request without write permission
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-04 10:32:26 +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
Christof Arnosti
8457a227e3
Issue #36644 : Fix pruneOutdatedSyncTokens for CalDAV
...
pruneOutdatedSyncTokens accidentally deletes all entries of the calendarchanges table
instead of leaving $limit elements in the table
Signed-off-by: Christof Arnosti <charno@charno.ch>
2023-06-21 08:12:52 +02:00
Christoph Wurst
270d661fda
fix(carddav): Make SystemAddressBook::__construct $groupManager argument nullable
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-13 10:48:29 +00:00
Christoph Wurst
1196299b61
fix(caldav): Close DB cursor in reminder index background job
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-06 07:22:40 +00:00
Joas Schilling
297ba1cd3a
Merge pull request #38416 from nextcloud/backport/38308/stable27
...
[stable27] fix(carddav): Check if SERVER variables are set before accessing them
2023-05-30 12:12:53 +02:00
Joas Schilling
bbb9437116
fix(dav): Fix avatar size in system address book
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-26 10:28:59 +00:00
Christoph Wurst
67d8c36537
fix(carddav): Don't show system address book cards to guests
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-25 18:21:06 +02:00
Christoph Wurst
11d21994f9
fix(carddav): Check enumeration settings for all SAB methods
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-25 08:26:57 +00:00
Johannes Merkel
d96200baed
fix(SAB): Save avatar to SAB
...
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-05-23 14:08:35 +00:00
Anna Larch
c1ac314ff1
fix(carddav): Check if SERVER variables are set before accessing them
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-05-23 12:41:15 +00:00
Thomas Citharel
13a3ebd4cc
feat(CardDAV): Add Sabre\DAV\IMoveTarget support to OCA\DAV\CardDAV\AddressBook
...
This allows to just UPDATE the card row instead of deleting it and reinsert it. It's very similar to https://github.com/nextcloud/server/pull/30120 for calendars.
As we need the addressbookid exposed, this introduces OCA\DAV\CardDAV\Card that extends Sabre's.
I chose specifically NOT to auto-inject LoggerInterface in Addressbook like in #30120 because the chain of DI is huge just for ONE simple call and it would break an existing dirty call (OCA\Contacts calling OCA\DAV) of ContactsManager in Contacts: https://github.com/nextcloud/contacts/pull/1722 (in SocialApiService), but this is debatable.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-05-16 11:38:57 +02:00
Simon L
25dd264965
Merge pull request #37965 from nextcloud/fix/transactional-system-addressbook-sync
...
fix(dav): Run system address book create-if-not-exists in transaction
2023-05-16 11:33:09 +02:00
Christoph Wurst
5d038a2dc1
fix(carddav): Mark system address book as read-only
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-15 10:27:53 +02:00
Christoph Wurst
2cc672d26b
fix(dav): Run system address book create-if-not-exists in transaction
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-12 14:15:02 +02:00
Christoph Wurst
1381c4c157
feat(users): Store and load a user's manager
...
Co-Authored-By: hamza221 <hamzamahjoubi221@gmail.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-12 13:56:48 +02:00
Anna Larch
5c2eb732f1
fix(carddav): expose system address book
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-05-11 18:59:30 +02:00
Arthur Schiwon
b6c034ac57
Merge pull request #37961 from nextcloud/poc/noid/systemtags-perf
...
SystemTags endpoint to return tags used by a user with meta data
2023-05-11 10:16:03 +02:00
Arthur Schiwon
2d41f0c064
Merge pull request #38067 from nextcloud/fix/noid/sortTags
...
fix: sort tags by name
2023-05-11 09:54:15 +02:00
Arthur Schiwon
e20e18f45f
fix: use interface instead of implementation as type hint
...
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-10 19:06:29 +02:00
Anna
9e53934498
Merge pull request #36118 from nextcloud/fix/caldav/invitation-outlook-compatibilty
...
Fix calendar emails to be outlook compatible
2023-05-10 12:10:42 +02:00
Christoph Wurst
1fd8f41e33
Merge pull request #38048 from nextcloud/enh/add-x-nc-scope-property
...
feat(dav): store scopes for properties and filter locally scoped properties for federated address book sync
2023-05-10 11:05:41 +02:00
Julius Härtl
b935725b70
Merge pull request #38100 from tanganellilore/fix_delete_ChunkingV2Plugin
2023-05-10 08:34:25 +02:00
Arthur Schiwon
dbfd2f936a
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-09 23:51:52 +02:00