Richard Steinmetz
3814ef6d06
Merge pull request #43340 from nextcloud/fix/43118/remove-redundant-index
...
fix(db): remove redundant index in cards
2024-02-23 10:44:49 +01:00
Christoph Wurst
dc7f2baf26
fix(dav): Rate limit calendar/subscription creation
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-23 08:52:59 +01:00
Louis Chemineau
8e95d0f3ae
Check share attributes when downloading versions
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-21 15:06:01 +01:00
Richard Steinmetz
8cce736dcb
perf: skip request without read permission
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-02-19 20:44:17 +01:00
Johannes Merkel
631f2b48ea
fix(db): remove redundant index in cards
...
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2024-02-18 20:51:43 +01:00
Anna Larch
dce69154ba
enh(sharing): enable unsharing for sharees for DAV shares (addressbooks and calendars)
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-02-15 18:01:12 +01:00
MichaIng
91127edcc8
fix(dav): fallback realm for HTTP authentication
...
By default, the name of the Nextcloud instance is an empty string, until changed by the admin. This leads to an empty realm sent with the WWW-Authenticate header, while the realm is mandatory for Basic HTTP authentication. Some clients have issues with an empty realm, e.g. Thunderbird cannot store passwords in this case.
This commit applies "Nextcloud" as fallback for the realm, in case the name of the Nextcloud instance is not set.
Solves: https://help.nextcloud.com/t/thunderbird-dont-save-caldav-password-because-of-missing-httprealm-or-formsubmiturl/93233
Signed-off-by: MichaIng <micha@dietpi.com>
2024-02-14 16:49:39 +01:00
John Molakvoæ
524ed97d62
fix: replace Account name by Login
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-13 21:08:10 +01:00
Côme Chilliet
303e2febc7
Merge pull request #43387 from nextcloud/fix/migrate-away-from-ilogger-in-jobs
2024-02-08 18:27:44 +01:00
Louis Chemineau
898df41de9
Revert "Merge branch 'master' of github.com:nextcloud/server"
...
This reverts commit d9d60238c7 , reversing
changes made to ba3fdb0cdc .
2024-02-08 15:31:19 +01:00
Côme Chilliet
166773879b
fix!: Migrate jobs away from deprecated interfaces
...
BREAKING CHANGE: Removed ILogFactory::getCustomLogger deprecated method
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-08 10:28:29 +01:00
John Molakvoæ
6cf4fe19a0
fix(files): add mount root property and adjust delete wording
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-06 17:43:35 +01:00
Thomas Citharel
2bfe67c8ab
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-02 10:46:48 +01:00
Côme Chilliet
8bcc2d352e
chore: Fix missing template parameter for IEventListener
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 10:57:15 +01:00
Joas Schilling
71add5561a
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 11:05:48 +01:00
Anna Larch
e1b957e17b
fix(userstatus): CALL status should overwrite MEETING status
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-01-24 18:23:21 +01:00
provokateurin
b64ab5fba8
refactor: Migrate IgnoreOpenAPI attributes to OpenAPI
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-18 16:14:17 +01:00
Christoph Wurst
d9d222d18a
Merge pull request #42850 from nextcloud/fix/caldav/update-acls-deletedcalendarobjectscollection
...
fix(CalDAV): set acls for DeletedCalendarObjectsCollection
2024-01-18 10:42:14 +01:00
Johannes Merkel
b454156f57
fix(CalDAV): set acls for DeletedCalendarObjectsCollection
...
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2024-01-17 17:08:31 +01:00
Joas Schilling
eda8a4169b
Merge pull request #42619 from nextcloud/bugfix/noid/caldav-status-undefined-index-0
...
fix(dav): Fix user status "Undefined array key 0 at StatusService.php…
2024-01-15 08:53:34 +01:00
Louis
14180c576f
Merge pull request #42680 from nextcloud/artonge/fix/view_only_error_message
...
Improve view only error message
2024-01-11 12:12:47 +01:00
Louis Chemineau
25274f92b7
Improve view only error message
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-10 17:04:26 +01:00
John Molakvoæ
9703b1da41
fix(quota): automatically detect chunk quota with OC-Total-Length header
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-10 13:26:25 +01:00
Joas Schilling
e981619c01
fix(dav): Fix user status "Undefined array key 0 at StatusService.php#98"
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-10 09:18:08 +01:00
John Molakvoæ
82b5a19a35
fix: public dav and files_sharing testing fixes
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-09 10:56:14 +01:00
John Molakvoæ
7b6a650b6e
feat: public dav endpoint v2
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-09 10:56:06 +01:00
jld3103
08b43021e1
fix(dav): Hide less than minute diff in calendar notification title
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-12-20 18:29:57 +01:00
Anna Larch
4c6eff975f
fix(userstatus): set user status to 'In a meeting' if calendar is busy
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-19 14:59:00 +01:00
Louis
2f647aacc5
Merge pull request #42349 from nextcloud/artonge/perf/dav_hidden_prop
...
Use FileInfo's metadata for hidden prop
2023-12-19 14:17:23 +01:00
Richard Steinmetz
fbcd5f4f00
Merge pull request #42339 from nextcloud/fix/dav/allow-multiple-organizers
...
fix(dav): allow multiple organizers if possible
2023-12-19 13:03:47 +01:00
Louis Chemineau
6948c074e9
Use FileInfo's metadata for hidden prop
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-19 10:23:28 +01:00
Louis Chemineau
6aa2d2daee
Don't query oc_properties for metadata props
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-18 13:09:20 +01:00
Anna Larch
fc4ef6133b
fix(ooo): add new ooo status with new emoji
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-18 11:35:00 +01:00
Richard Steinmetz
06aba2a5c8
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>
2023-12-17 17:46:00 +01:00
Christoph Wurst
0907cc9636
Merge pull request #42142 from nextcloud/fix/dav/ooo-event-time-zone-drift
...
fix(dav): Prevent out-of-office event time drifts
2023-12-11 18:23:23 +01:00
Christoph Wurst
9abfcad3e3
fix(dav): Prevent out-of-office event time drifts
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-11 17:51:54 +01:00
Anna
fce5fec4b2
Merge pull request #42151 from nextcloud/chore/dav/dead-server-get-sabre-server
...
chore(dav): Remove dead \OCA\DAV\Server::getSabreServer
2023-12-11 16:23:26 +01:00
Christoph Wurst
97f24302b3
chore(dav): Remove dead \OCA\DAV\Server::getSabreServer
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-11 13:16:06 +01:00
Anna Larch
3475d52741
fix(caldav): don't reuse query builder objects
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-11 11:32:32 +01:00
Joas Schilling
022577f082
Merge pull request #42001 from nextcloud/bugfix/noid/improve-logging-of-bulk-failures
...
fix(dav): Improve handling and logging of bulk upload failures
2023-12-05 15:09:21 +01:00
John Molakvoæ
f89ef392b3
fix(files): better upload error handling
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-05 12:10:39 +01:00
Joas Schilling
e4460e3bff
fix(dav): Improve handling and logging of bulk upload failures
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-05 12:03:06 +01:00
Joas Schilling
fffbb06417
Merge pull request #41962 from nextcloud/fix/dav/check-current-ooo-time
...
fix(dav): Make current ooo info time-dependent
2023-12-05 10:52:28 +01:00
Christoph Wurst
9a206c6282
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-05 08:36:50 +01:00
Varun Patil
a20556193c
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 10:46:51 +01:00
Joas Schilling
2ff3a3c4fb
fix(out-of-office)!: Remove non OCS endpoint
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 09:46:03 +01:00
Joas Schilling
6eef5c9f1b
feat(out-of-office): Add OCS endpoint to set and clear absence
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 09:15:18 +01:00
Joas Schilling
73c0f596f7
fix(copyright): Fix copyright doc blocks
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-30 11:53:47 +01:00
Christoph Wurst
f8125cbdfc
Merge pull request #41816 from nextcloud/fix/dav/single-day-ooo
...
fix(dav): Allow single-day out of office
2023-11-29 15:52:28 +01:00
Christoph Wurst
c29eaf52e3
Merge pull request #41866 from nextcloud/fix/dav/login-timezone
...
fix(dav): Prioritize timezone from core/login
2023-11-29 15:01:51 +01:00
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