Thomas Citharel
020c2960b8
fix(caldav): only call getTimestamp() on actual DateTime data
...
For some reason the value of $component['DTSTART'][0] may not be a DateTimeImmutable
Closes #42464
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-03 14:24:09 +01:00
Joas Schilling
aa24c671dc
fix(userstatus): Also set the user status when the user has no status at all
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-25 10:10:41 +00:00
Anna Larch
a3095303d5
fix(userstatus): CALL status should overwrite MEETING status
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-01-25 10:10:41 +00:00
provokateurin
98d64ea05d
refactor: Migrate IgnoreOpenAPI attributes to OpenAPI
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-19 09:12:34 +01:00
Johannes Merkel
a509c85662
fix(CalDAV): set acls for DeletedCalendarObjectsCollection
...
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2024-01-18 08:39:24 +01:00
John Molakvoæ
e5f4eb487d
fix(files): better upload error handling
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-16 10:27:38 +01:00
Joas Schilling
ac3f3a0629
fix(dav): Fix user status "Undefined array key 0 at StatusService.php#98"
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-15 09:15:25 +01:00
Richard Steinmetz
f38ce5c1d5
fix(dav): allow multiple organizers if possible
...
This is very hacky! However, we want to allow saving events with multiple
organizers. Those events are not RFC compliant, but sometimes imported from major
external calendar services (e.g. Google). If the current user is not an organizer of
the event we ignore the exception as no scheduling messages will be sent anyway.
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-01-02 11:54:08 +01:00
jld3103
4da91f56e4
fix(dav): Hide less than minute diff in calendar notification title
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-12-20 21:22:55 +00:00
Anna Larch
5fd10dc398
fix(userstatus): set user status to 'In a meeting' if calendar is busy
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-19 15:47:29 +00:00
Louis Chemineau
8cb5d47341
Use FileInfo's metadata for hidden prop
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-19 13:31:46 +00:00
Joas Schilling
1a45dd0b8c
Merge pull request #42351 from nextcloud/backport/42304/stable28
...
[stable28] fix(ooo): add new ooo status with new emoji
2023-12-19 09:05:33 +01:00
Louis Chemineau
112063bb5e
Don't query oc_properties for metadata props
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-18 15:20:49 +00:00
Anna Larch
deb4bef923
fix(ooo): add new ooo status with new emoji
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-18 12:06:57 +00:00
Joas Schilling
261de22ce9
Merge pull request #42152 from nextcloud/backport/42144/stable28
...
[stable28] fix(caldav): don't reuse query builder objects
2023-12-15 15:11:59 +01:00
Christoph Wurst
e622692802
fix(dav): Prevent out-of-office event time drifts
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-13 21:17:01 +01:00
Arthur Schiwon
a33ffeb496
Revert "[stable28] fix(dav): Prevent out-of-office event time drifts"
2023-12-11 21:20:23 +01:00
Christoph Wurst
4757d3ed7d
fix(dav): Prevent out-of-office event time drifts
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-11 17:28:42 +00:00
Anna Larch
043a2528a4
fix(caldav): don't reuse query builder objects
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-11 12:50:21 +00:00
Joas Schilling
e8492bc8e1
fix(dav): Improve handling and logging of bulk upload failures
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-07 08:56:14 +01:00
Christoph Wurst
df4a76a4e6
fix(dav): Make current ooo info time-dependent
...
* If there is an out of office absence info and it happens now -> return
data
* Else: return no data
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-06 00:15:59 +01:00
Varun Patil
a7586ccf47
fix(files): allow any throwable in logException
...
If a TypeError is passed here, it in turn causes a TypeError which
kills the rendering of the error page.
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-12-04 16:26:37 +00:00
Joas Schilling
bdf3b46daf
fix(out-of-office)!: Remove non OCS endpoint
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 11:00:35 +01:00
Joas Schilling
7bfeeaedee
feat(out-of-office): Add OCS endpoint to set and clear absence
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 10:57:40 +01:00
Joas Schilling
f65eba52eb
fix(copyright): Fix copyright doc blocks
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 07:20:23 +00:00
Arthur Schiwon
7407afb469
Merge pull request #41811 from nextcloud/backport/41778/stable28
...
[stable28] fix(dav): don't schedule out-of-office jobs for dates in the past
2023-11-29 21:56:17 +01:00
Christoph Wurst
b11da9c004
fix(dav): Timezone drift of OOO event
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-29 19:49:42 +01:00
Christoph Wurst
1b8e30ddb2
Merge pull request #41886 from nextcloud/backport/41866/stable28
...
[stable28] fix(dav): Prioritize timezone from core/login
2023-11-29 17:49:17 +01:00
Andy Scherzinger
ec962bb7c8
Merge pull request #41845 from nextcloud/backport/41818/stable28
...
[stable28] fix(OOO): Make the returned data more explicit
2023-11-29 15:20:31 +01:00
Christoph Wurst
00ba78fed0
fix(dav): Prioritize timezone from core/login
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-29 14:12:43 +00:00
Joas Schilling
3c3b5d87a1
fix(OOO): Make the returned data more explicit
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-29 10:10:53 +00:00
Benjamin Gaussorgues
761b042e84
feat(dav): hide search providers if their respective app is not activated
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-29 09:28:00 +00:00
Richard Steinmetz
ba72471dd6
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 18:47:46 +00:00
Anna Larch
e8481e428a
[stable28] enh(userstatus): add OOO automation and remove calendar automation
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-28 15:44:23 +01:00
Christoph Wurst
777701e7d1
fix(dav): Avoid date diffing if PHP is buggy
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-24 10:30:39 +00:00
Richard Steinmetz
d593206a30
feat(dav): dispatch out-of-office started and ended events
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-23 17:54:10 +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