Christoph Wurst
84cfbe6b19
fix(dav): Allow single-day out of office
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-29 14:25:00 +01:00
Christoph Wurst
8b38d49437
fix(dav): Prioritize timezone from core/login
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-29 12:17:30 +01:00
Christoph Wurst
f1a18bbe0c
fix(dav): Timezone drift of OOO event
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-29 11:45:16 +01:00
Joas Schilling
aaaf0406b0
fix(OOO): Make the returned data more explicit
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-29 09:14:05 +01:00
Richard Steinmetz
26248d0fed
fix(dav): don't schedule out-of-office jobs for dates in the past
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-28 15:21:06 +01:00
Anna Larch
f19645adab
enh(userstatus): add OOO automation and remove calendar automation
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-28 10:28:06 +01:00
Benjamin Gaussorgues
2a4465dc1b
feat(dav): hide search providers if their respective app is not activated
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-27 09:38:22 +01:00
Christoph Wurst
096537eae5
fix(dav): Avoid date diffing if PHP is buggy
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-24 09:45:56 +01:00
Richard Steinmetz
8191295f66
feat(dav): dispatch out-of-office started and ended events
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-23 17:18:49 +01:00
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +01:00
Maxence Lange
ee787cd1c6
Merge pull request #41459 from nextcloud/enh/noid/search-metadata-null
...
implements search on null/notnull metadata
2023-11-23 07:52:27 -01:00
rakekniven
5c26bd3447
Merge pull request #41666 from nextcloud/Valdnet-patch-2
...
Add quotation marks
2023-11-23 07:13:23 +01:00
Daniel Kesselberg
7b74b07046
fix: lower threshold for system address book sync
...
- Switch back to countUsers to have the actual value. countSeenUsers is bad if Nextcloud is connected to a larger directory, but only a part is using Nextcloud and therefore the seen count is much lower because the sync is done for all users.
- Lower the threshold to 100 for smaller installations.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-22 14:59:02 +01:00
Valdnet
54197bc2d0
Add quotation marks
...
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-22 14:55:23 +01:00
Louis Chemineau
a93af13c12
Fix is-define operator
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-22 12:43:27 -01:00
Louis Chemineau
33ac1c0433
Fix param name after Sabre\CalDAV update
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-22 12:43:27 -01:00
Maxence Lange
7467422f57
implements search on null/notnull metadata
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-22 12:43:27 -01:00
Christoph Wurst
33e07121d2
Merge pull request #41501 from nextcloud/feat/dav/show-ooo-ui-by-default
...
feat(dav): Enable OOO UI and expose enabled via OCP
2023-11-15 18:26:27 +01:00
Christoph Wurst
45541eb685
feat(dav): Enable OOO UI and expose enabled via OCP
...
Makes the feature opt-out now that we have meaningful integrations based
on OOO data. Allows instances still to turn the feature off.
For apps like Mail that build on top of this feature we need to know if
the instance has the feature turned on or off. This is exposed as OCP
API, too.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-15 15:53:38 +01:00
Christoph Wurst
5cdbd10327
refactor(caldav): Use even earlier return and SQL's WHERE IN
...
* Early return can operate on the input array
* SQL can check be used to check for address book ID inclusion
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-15 14:48:55 +01:00
Arthur Schiwon
138ce5303a
Merge pull request #41457 from nextcloud/feat/contacts/advanced-search
...
feat(search): allow contacts person search
2023-11-14 20:47:00 +01:00
hamza221
26ee5a531b
feat(search): allow contacts person search
...
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-14 18:29:42 +01:00
Andy Scherzinger
93ea634de6
Merge pull request #41390 from nextcloud/enh/noid/limit-proppatch-metadata
...
Metadata must be set a editable for PROPPATCH
2023-11-14 17:17:17 +01:00
Maxence Lange
847c687a06
metadata must be set as editable for PROPPATCH
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-14 14:38:53 +01:00
Christoph Wurst
5b7a5474b9
feat(caldav): Create personal event for out-of-office messages
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-14 13:57:12 +01:00
Maxence Lange
380b81315a
moving metadataquery
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-13 22:25:37 -01:00
Christoph Wurst
9b8cb5c819
feat(search): Seach for persons as event attendees and organizers
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-10 18:56:43 +01:00
Benjamin Gaussorgues
fa761b51cc
Merge pull request #40618 from nextcloud/feat/39162/advanced_search
...
Advanced search: backend allows multiples terms to search
2023-11-10 10:42:20 +01:00
Julius Härtl
a66dbcdfc1
Merge pull request #41354 from nextcloud/bugfix/noid/chunking-v2-distributed-cache
2023-11-10 09:23:32 +01:00
Benjamin Gaussorgues
ddb8b68b55
feat(carddav): Allow advanced search for contacts
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +01:00
Benjamin Gaussorgues
3545a1c613
feat(caldav): Allow advanced search for events/tasks
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +01:00
Louis Chemineau
1c84139fa6
Hide .mov for live photos
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-09 22:39:52 +01:00
Christoph Wurst
7248d9b091
Merge pull request #40615 from nextcloud/enh/automate-calendar-event-user-status
...
feat(user status): automate user status for events
2023-11-09 19:56:39 +01:00
Anna Larch
f14a4f8fd7
feat(user status): automate user status for events
...
and automatically set a user status to free or busy depending on their calendar
transparency, event status and availability settings
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-09 16:20:19 +01:00
Julius Härtl
0033ae52b8
fix: Validate that we have a proper distributed cache configured
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-09 11:08:11 +01:00
Christoph Wurst
ab1a1d688d
feat: Add out-of-office message API
...
[skipci]
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-09 10:36:11 +01:00
Robin Appelman
1acc7c0468
Merge pull request #41054 from nextcloud/systemtag-children
...
get children from dav node when preloading system tags
2023-11-08 18:00:41 +01:00
Louis Chemineau
d3a313f192
Support getting and setting metadata in DAV requests
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-08 16:23:53 +01:00
Robin Appelman
4a049c2094
get children from dav node when preloading system tags
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-08 15:33:32 +01:00
Christoph Wurst
1d568a89a4
Merge pull request #40767 from nextcloud/feat/dav/absence
...
feat(dav): implement personal absence settings
2023-11-08 05:51:29 +01:00
Maxence Lange
d9c24f6c7b
Merge pull request #40761 from nextcloud/enh/noid/files-metadata
...
IFilesMetadata
2023-11-07 15:55:24 -01:00
Richard Steinmetz
425e770c04
feat(dav): implement personal absence settings
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-07 17:27:10 +01:00
Côme Chilliet
273f628c3d
Merge pull request #41083 from nextcloud/feat/improve-setup-checks-wording
...
Improve setup checks naming and improve database version check
2023-11-07 10:02:30 +01:00
Maxence Lange
e62e9e3dbf
IFilesMetadata
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 00:21:38 -01:00
Anna Larch
a75173a9a2
fix(scheduling): don't send iMIP emails to rooms / resources
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-06 21:01:18 +01:00
Christoph Wurst
91b31bfb15
fix(dav): Reduce CalDAV backend memory footprint
...
fetchAll inflates memory. Fetching in a loop allows GC to run earlier
and more often.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-02 11:12:34 +01:00
Akhil
439de119c7
add index for classification
...
Signed-off-by: Akhil <akhil@e.email>
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-10-31 10:41:32 +01:00
Richard Steinmetz
45ed9b10d5
feat(dav): implement personal absence settings backend
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-10-29 00:08:44 +02:00
Christopher Ng
5281623329
fix(dav): Remove usage of indirect thecodingmachine/safe dependency
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-24 11:25:42 -07:00
Côme Chilliet
6b7d4b67d1
Improve setup checks naming and improve database version check
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-24 11:40:03 +02:00
Côme Chilliet
2e4d1549a4
Change SetupResult API to named constructors
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:03 +02:00
Côme Chilliet
6aa6f26427
Move NeedsSystemAddressBookSync to dav application where it’s registered
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Côme Chilliet
8bfa0935b4
Migrate NeedsSystemAddressBookSync to new ISetupCheck API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +02:00
Ferdinand Thiessen
154a9989a7
Merge pull request #39852 from nextcloud/pragmaHeader
...
Stop sending deprecated Pragma header
2023-10-18 03:30:21 +02:00
Hamid Dehnavi
d64bbc8bd3
Convert isset ternary to null coalescing operator
...
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-28 12:18:41 +03:30
Richard Steinmetz
ace08819f9
fix(dav): expand recurrences when searching
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-09-21 23:28:35 +02:00
Faraz Samapoor
d13874fdf4
Refactors dav app commands.
...
To improve code readability.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-20 15:43:15 +03:30
John Molakvoæ (skjnldsv)
2845319187
feat(files): add systemtags view
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-18 15:33:21 +02:00
John Molakvoæ
63da44bb0e
fix(dav): report status
...
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-09-18 11:29:15 +02:00
Christoph Wurst
9627176a23
Merge pull request #38610 from fsamapoor/replace_strpos_calls_in_dav_app
...
Refactors "strpos" calls in /apps/dav
2023-09-17 10:14:20 +02:00
Daniel Kesselberg
108916cf5e
fix: use faster method to fetch user count
...
countUsers: the actual user count reported by the backend.
countSeenUsers: count every user who was logged in once.
1: We should avoid expensive operations (like asking every backend for it's user count) in migrations.
2: The current check is wrong because countUsers returns an array. var_dump([] > 1000) => true ;)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-14 12:19:22 +02:00
Daniel Kesselberg
457f4a530e
fix(caldav): add webroot to objectid for activities
...
A calendar uri includes the webroot: example.com/cloud/remote.php/dav/calendars/alice/personal/
The calendar app uses base64(calendar uri) as identifier for calendar objects.
Without this patch the links from activity app to calendar app don't work for installations in a subdirectory.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-13 20:33:23 +02:00
hamza221
823908b017
Enable caldav push notifications by default
...
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
2023-09-12 13:58:40 +02:00
Anna Larch
7eee1de65b
fix(CalDAV): check birthday calendar owner
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-06 16:57:02 +02:00
Robin Appelman
8966f7fbf2
reuse l10n and request in dav folder listing
...
instead of having to query those once for every node
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 14:06:54 +02:00
Anna Larch
7051f1b577
fix(CardDAV): allow disabling of the system address book via config option
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-01 17:38:20 +02:00
Joas Schilling
25309bcb45
techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-28 15:50:45 +02:00
Git'Fellow
066f6ef16c
Stop sending deprecated Pragma header
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-08-28 15:11:22 +02:00
Anna Larch
7f11ee8c4a
fix(CardDAV): only run upgrade sync if 1000 users or less
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-26 17:21:50 +02:00
Robin Appelman
b6c3507aa0
only determine quota_include_external_storage once for quota wrapper
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 14:25:28 +02:00
Robin Appelman
f0b70e539b
only get logger when needed in sabre/directory
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 11:14:52 +02:00
Robin Appelman
c7035eec05
Merge pull request #39903 from nextcloud/no-dav-acl-files
...
don't bother checking dav acl's in files
2023-08-18 09:52:42 +02:00
Robin Appelman
6f6e24431a
Merge pull request #39860 from nextcloud/metadata-dont-preload-subfolders
...
don't preload metadata for the sub-childen
2023-08-16 17:14:07 +02:00
Robin Appelman
1a9dcc5725
don't bother checking dav acl's in files
...
any permissions for files is handled in the filesystem layer anyway
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-16 12:13:04 +02:00
Anna Larch
6bd78917d3
fix(CardDAV): set owner-principal, displayname properties for SAB
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-16 09:11:01 +02:00
Robin Appelman
76acc3ada7
only triger metadata preload logic when at least one metadata is requested
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-14 13:01:14 +02:00
Robin Appelman
fce1a164a0
don't preload metadata for the sub-childen
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-14 12:58:46 +02:00
Robin Appelman
30e9f520f3
Merge pull request #39568 from nextcloud/caldav-share-preload
...
Calendar optimizations
2023-08-14 10:27:35 +02:00
Daniel Kesselberg
378a0f9837
fix: close cursor after reading the invitation
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-10 21:45:57 +02:00
Christoph Wurst
42d1568b6b
Merge pull request #39741 from jmcclelland/optimize-cal-query
...
optimize calendar search query
2023-08-09 18:17:04 +02:00
Richard Steinmetz
2ac24d525c
feat(caldav): linkify location in scheduling mails
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-08-09 10:50:35 +02:00
Robin Appelman
bbd0deb80a
Merge pull request #39694 from nextcloud/gps
...
expose gps data via webdav
2023-08-08 14:36:01 +02:00
Jamie McClelland
4a98bb9972
ensure outerquery ->where() function doesn't clobber earier ->andWhere()
...
Signed-off-by: Jamie McClelland <jm@mayfirst.org>
2023-08-07 14:43:23 -04:00
Jamie McClelland
ece685d6f5
optimize calendar search query
...
see https://github.com/nextcloud/calendar/issues/4758
Signed-off-by: Jamie McClelland <jm@mayfirst.org>
2023-08-07 14:43:23 -04:00
Robin Appelman
65c2d13f4c
preload all requested metadata
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-07 13:40:01 +02:00
Joas Schilling
44b4c16a09
Merge pull request #39605 from nextcloud/bugfix/noid/final-events-cleanup
...
fix!: Final round of moving to IEventDispatcher
2023-08-04 10:39:57 +02:00
tobiasKaminsky
b8b4a0e6ce
expose gps data via webdav
2023-08-04 10:32:08 +02:00
Max
2124fb9ff2
fix(dav): use quota of destination in s3 chunk upload
...
Resolves : #39228 .
Check the free space on the destination.
Before it was checking the free space on `$storage`
which is the upload storage of the user who triggered the upload.
This led to user quota being applied
even when uploading to a share with unlimited space.
Signed-off-by: Max <max@nextcloud.com>
2023-08-02 10:09:13 +02:00
Joas Schilling
68fc9b48c2
feat!: Migrate AccountManager event to typed event
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:19 +02:00
Joas Schilling
dac31ad101
fix!: Remove legacy event dispatching Symfony's GenericEvent from 2FA Manager
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:52 +02:00
Robin Appelman
7c02eedabb
cache calendar objects from calendarQuery
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-26 14:36:39 +02:00
Robin Appelman
31c483b759
preload shares for calendars when listing calendars
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-26 14:36:37 +02:00
Joas Schilling
77bc6c32d8
fix(dispatcher): Move remaining simple cases in apps/ folder to IEventDispatcher
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-25 11:19:26 +02:00
Robin Appelman
6cf3e4b82c
Merge pull request #38930 from nextcloud/chunk-clean-failed
...
clean failed upload chunks
2023-07-20 19:29:42 +02:00
Matthieu Gallien
906a6612e4
when reading an empty file getting EOF is not an error
...
will allow uploading empty files via bulk upload
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-07-20 13:41:47 +02:00
Joas Schilling
489b4807db
Merge pull request #39304 from nextcloud/bugfix/noid/typed-event-comments-entity
...
fix(comments): Emit CommentsEntityEvent as typed event
2023-07-19 17:25:57 +02:00
Daniel
aa5dcb0952
Merge pull request #38397 from nextcloud/enh/contacts/hide-adressbook-option
...
enh(contacts): show/hide addressbooks for all
2023-07-18 17:05:12 +02:00
Joas Schilling
c3bc575d99
fix(comments): Emit CommentsEntityEvent as typed event
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-18 16:19:01 +02:00
Joas Schilling
8e90cc056b
Merge pull request #39305 from nextcloud/bugfix/noid/sabre-plugin-events
...
feat(dav): Emit a typed event to deprecate OCA\DAV\Connector\Sabre::addPlugin
2023-07-18 15:30:30 +02:00
Joas Schilling
72667a667d
feat(dav): Emit a typed event to deprecate OCA\DAV\Connector\Sabre::addPlugin
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-17 16:06:15 +02:00
Daniel Kesselberg
9e50f149a3
fix: check that object store backend supports multi part uploads
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-17 14:09:23 +02:00
Anna
49b6541498
Merge branch 'master' into fix/correct-exceptions-for-SAB
2023-07-14 14:08:57 +02:00
Joas Schilling
e9ac0287f2
Merge pull request #39297 from nextcloud/fix/dav/close-cursor
...
fix(dav): close cursor when fetching max id
2023-07-12 20:35:54 +02:00
jld3103
cbe3c578e1
dav: Add OpenAPI spec
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-11 16:37:40 +02:00
Joas Schilling
e285d72c10
Merge pull request #38561 from nextcloud/feat/noid/allow-to-match-client-versions-with-regex
...
feat(request): Allow to match the client version with the IRequest::U…
2023-07-11 11:36:54 +02:00
John Molakvoæ
2dfd9ee3c9
Merge pull request #39190 from nextcloud/bugfix/noid/move-dav-app-to-non-deprecated-dispatcher
2023-07-11 08:27:30 +02:00
Richard Steinmetz
9206c0f473
fix(dav): close cursor when fetching max id
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-11 08:05:34 +02:00
Joas Schilling
308fc8d8ed
fix(dav): Use IRequest constant to match version
...
The pattern matches since a 10 year old client version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-11 07:35:50 +02:00
Johannes Merkel
bb802956a2
enh(contacts): show/hide addressbooks for all
...
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-07-10 13:39:15 +02:00
Robin Appelman
95c3b8131a
preload custom properties when propfinding folders
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-09 02:55:57 +02:00
Anna
42aabd2d8b
Merge branch 'master' into fix/correct-exceptions-for-SAB
2023-07-07 12:45:31 +02:00
Joas Schilling
e1d4b82111
fix(CI): Fix type confusion with Psalm
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-07 10:55:17 +02:00
Joas Schilling
2bf339e2a7
fix(dav): Remove listener for events that never existed anywhere
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-07 10:53:20 +02:00
Joas Schilling
80ee81faa1
fix(dav): Move listener to actually existing event
...
The legacy event was removed in 4bb31c021e
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-07 10:53:20 +02:00
Joas Schilling
f59c74062a
fix(dav): Move DAV app to non deprecated event dispatcher
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-07 10:53:19 +02:00
Arthur Schiwon
5596af2b96
docs(dav): remove outdated comment
...
The method was added actually to PHP API in 28 and the mentioned check
is not in place anymore.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 21:57:08 +02:00
Anna Larch
558e386e46
fix(CardDAV): catch right exception when checking for federated app classes
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-07-06 13:07:14 +02:00
Joas Schilling
abc8ff38cb
fix: Cleanup unused imports and some type deprecations
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-06 10:37:40 +02:00
Joas Schilling
eb09053897
feat(admin_audit): Migrate to non-deprecated IEventDispatcher
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-04 12:36:30 +02:00
Johannes Merkel
eda3824d91
enh(sab): Add profileUrl to SAB
...
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-07-03 17:55:18 +02:00
Christoph Wurst
f43c24b0b1
Merge pull request #31790 from nextcloud/fix-events-with-old-lastoccurence
...
Fix creating events with old (< unix time) lastoccurence
2023-06-29 09:42:55 +02:00
Julius Härtl
eddb64f8c3
Merge pull request #37969 from nextcloud/poc/noid/systemtags-perf-tag-endpoint
2023-06-28 07:53:35 +02:00
Arthur Schiwon
d9487103c9
fix: cannot apply limit+offset on multi-tag-search
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-27 23:06:39 +02:00
Faraz Samapoor
bbfe2fb821
Merge branch 'master' into replace_strpos_calls_in_dav_app
...
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-27 19:07:09 +03:30
Thomas Citharel
1e390e1982
style(caldav): improve getDenormalizedData method
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-06-27 11:16:47 +00:00
Thomas Citharel
3886b00a33
Fix creating events with old (< unix time) lastoccurence
...
Closes #20804
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-06-27 11:16:47 +00:00
Christoph Wurst
92c18b252c
fix(dav): Catch SAB sync errors during upgrade
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-26 10:52:07 +02:00
Johannes
199b9788e6
Merge pull request #38856 from nextcloud/fix/contacts/3404/put-location-in-proper-place
...
fix(sab): put location in proper address field
2023-06-22 11:51:33 +02:00
Joas Schilling
e9d8dbf53c
Merge pull request #38747 from nextcloud/perf/early-exit-mkcol
...
perf: skip request without write permission
2023-06-22 09:02:55 +02:00
Arthur Schiwon
00b396a674
refactor: save unnecessary method_exists
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:35:41 +02:00
Arthur Schiwon
a0b683477f
fix: use array_unitersect against objects
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:02 +02:00
Arthur Schiwon
27f6f86d75
fix: obey offset and limit for results from favs and circles
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:01 +02:00
Arthur Schiwon
a0f9556f7c
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-06-21 20:28:01 +02:00
Arthur Schiwon
49db546f78
fix: include invisible tags for admins
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:01 +02:00
Arthur Schiwon
29f59a54b4
fix: search with more than one search tags
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:00 +02:00
Arthur Schiwon
30028bb9ac
fix: no search when LazyFolder was provided
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:09 +02:00
Arthur Schiwon
ddb65be58f
chore: cleanup unused code
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:09 +02:00
Arthur Schiwon
be50bd1b0f
fix: ensure searchBySystemTag() is available
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:08 +02:00
Arthur Schiwon
783e32a64d
fix: favorites view and universal search against tags
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:08 +02:00
Arthur Schiwon
58f7fd2370
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-06-21 18:19:08 +02:00
Robin Appelman
58a4a222d0
clean failed upload chunks
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-21 15:32:27 +02:00
Simon L
56c16b306f
Merge pull request #38639 from charno/bugfix/36644-pruneOutdatedSyncTokens-deletes-all-entries
...
Bugfix/36644 pruneOutdatedSyncTokens deletes all entries
2023-06-20 16:36:28 +02:00
Johannes Merkel
3cb8968808
fix(sab): put location in proper address field
...
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-06-20 16:18:09 +02:00
Carl Schwan
9725d00329
Cleanup comments code
...
- Fix various psalm issues
- Add as much typing as possible while preserving stable API
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-06-20 10:55:20 +02:00
Daniel Kesselberg
debd03f30d
perf: skip request without write permission
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-19 13:42:13 +00:00
Christoph Wurst
62c41967e8
fix(carddav): Make SystemAddressBook::__construct $groupManager argument nullable
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-12 18:44:25 +02:00
Christof Arnosti
73fb2997f4
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-12 08:35:35 +00:00
Faraz Samapoor
8c64ccae01
Fixes "PossiblyNullArgument" Psalm warnings.
...
Co-authored-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-12 09:46:07 +02:00
Faraz Samapoor
0bae21b1d1
Refactors "strpos" calls in /apps/dav to improve code readability.
...
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-12 09:46:07 +02:00
Christoph Wurst
a213650b71
fix(caldav): Cast calendar objects id to int when building index
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-06 09:45:39 +02:00