Commit graph

1630 commits

Author SHA1 Message Date
Hamza
bdbf97b6e9 fix: add ACLs for calender delegation
Signed-off-by: Hamza <hamzamahjoubi221@gmail.com>
2026-04-28 17:02:36 +02:00
Joas Schilling
85894935a5
fix(comments): Check comment object
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-12-11 09:01:43 +01:00
Côme Chilliet
a4473ce8c0
chore(dav): Remove short function closure syntax not supported in PHP 7.3
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-21 14:38:10 +01:00
Côme Chilliet
b4a166e1cc
chore: Remove typed properties to support 7.3
23 still supports PHP 7.3

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-19 16:11:30 +01:00
Côme Chilliet
a5ac6d9db3 chore: Remove PHP8 constructor property promotions
25 supports 7.4

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-19 14:58:07 +00:00
Côme Chilliet
b57486182f fix(dav): Add missing use for OCP\Constants
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-19 14:58:07 +00:00
Côme Chilliet
1013d8b42f chore: Break closure call on two lines to make it readable
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-19 14:58:07 +00:00
Côme Chilliet
fafcac9b94 fix(systemtags): Forbid tagging of readonly files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-19 14:58:07 +00:00
Christoph Wurst
76ebc468b7
fix(dav): Rate limit calendar/subscription creation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-28 11:42:30 +01:00
Johannes Merkel
dbfe66c978
fix(CalDAV): set acls for DeletedCalendarObjectsCollection
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2024-01-18 08:42:42 +01:00
Matthieu Gallien
b7324d172d 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-11-09 13:21:32 +01:00
Anna Larch
eca4fe42ae fix(CalDAV): check birthday calendar owner
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-07 08:42:27 +02:00
Joas Schilling
9d6a7399a8
fix(dav): Abort requests with 429 instead of waiting
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-10 06:43:42 +02:00
Christoph Wurst
f143d8d666
fix(carddav): Mark system address book as read-only
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-15 10:56:32 +02:00
Joas Schilling
0e81490453 Do not reuse query builder objects in DAV account deletion
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-02 06:21:41 +00:00
Anna Larch
3402f4ae87 Remove comment and guests option from Invitations UI
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-12-22 09:43:50 +00:00
Louis Chemineau
774bb42770 Do not check quota for non Node
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-24 15:31:44 +00:00
blizzz
dd4c3ddbd9
Merge pull request #35329 from nextcloud/backport/35232/stable23
[stable23] Check quota on file copy
2022-11-23 21:08:41 +01:00
blizzz
81dbe70834
Merge pull request #35020 from nextcloud/backport/34909/stable23
[stable23] Fix duplicate event email notifications
2022-11-23 18:02:48 +01:00
Côme Chilliet
fe92aec4ca Apply the same fix as on beforeCopy on beforeMove
Let’s be safe

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-22 13:22:33 +00:00
Robin Appelman
ca6ee2dad3 fix dirname usage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-22 13:22:22 +00:00
Côme Chilliet
9dade992ad Fix psalm issues
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-22 13:22:16 +00:00
Côme Chilliet
6638b5411e Check quota on file copy
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-22 13:22:13 +00:00
Richard Steinmetz
bc639175d5
Fix duplicate event email notifications
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-11-15 10:27:14 +01:00
Côme Chilliet
7514a33f4f Make sure to not pass null to DateTime::createFromFormat
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-14 18:48:34 +00:00
Joas Schilling
992e05ecba Check address book URI length before creation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-15 13:59:15 +02:00
Anna Larch
ad0fca4abd Check calendar URI length before creation
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-09-15 13:59:15 +02:00
Joas Schilling
2666155994 Fix carddav activities
The settings where combined last minute but at the same time the activities
where not adjusted to map an existing setting so the filter was not possible
to even limit it to the types that the activities had.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-23 18:45:24 +00:00
blizzz
1ee77607ba
Merge pull request #33408 from nextcloud/backport/33090/stable23
[stable23] DAV custom props: catch Exception and rollback transaction in case
2022-08-02 12:31:44 +02:00
blizzz
8ac46a6645
Merge pull request #33103 from nextcloud/enhancement/add-logging-lo-federation
[Stable23] Logging, updating status for general error in federation
2022-08-01 15:17:45 +02:00
Arthur Schiwon
9dfd2966ab
catch any exception for transaction control
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-07-29 22:12:30 +02:00
Arthur Schiwon
efdc3a4cd9
DAV custom props: catch Exception and rollback transaction in case
- before exceptions were not caught, a started transaction might not have
  been finished
- also resolve depractions and use IQueryBuilder

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-07-29 22:12:13 +02:00
Thomas Citharel
84e764bf5a Don't try to purge objects from the birthday calendar when it doesn't exist
Doesn't matter much as it's been recreated afterwards with (ensureCalendarExists).

Closes #29617

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-07-26 17:29:17 +00:00
Anna Larch
11089f7d33 Add logging to federation sync
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-07-11 12:43:36 +02:00
Louis
6644b17527
Merge pull request #32322 from nextcloud/backport/stable22/share_search_tweaks
[stable23] Add share search tweaks
2022-06-23 17:35:14 +02:00
blizzz
520bb6e3ac
Merge pull request #31788 from nextcloud/backport/30438/stable23
[stable23] Fix column/property types in CalDAV
2022-06-11 00:08:58 +02:00
Vincent Petry
b2cd92cc14
Merge pull request #32693 from nextcloud/backport/32471/stable23
[stable23] Make sure activities are not created when a deleted calendar object expires
2022-06-10 15:28:10 +02:00
Carl Schwan
64288ae84c Make X-HAS-{MD5/SHA256} opt-in
This is not always needed and slow down the upload

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit 1b426eda44)
2022-06-08 13:40:26 +02:00
Louis Chemineau
cb66d11a40 Use email settings in DAV search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-07 11:37:26 +00:00
Louis Chemineau
77f7855892 Use share setting in DAV search
shareapi_restrict_user_enumeration_full_match_ignore_second_display_name was introduced to ignore second display name during search from the share panel. But this setting was not respected by search from the calendar application. This fix it.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-07 11:37:25 +00:00
Thomas Citharel
1c9b50a226
Make sure activities are not created when a deleted calendar object expires
Closes https://github.com/nextcloud/activity/issues/784

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-06-07 10:25:04 +02:00
Anna Larch
0fde0a8ad7 Add email validation
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-05-18 09:41:13 +00:00
blizzz
64a912ea7b
Merge pull request #31976 from nextcloud/backport/31886/stable23
[stable23] Principal search by display name case insensitive
2022-05-16 12:20:05 +02:00
blizzz
24aae72e7e
Merge pull request #31641 from nextcloud/backport/31193/stable23
[stable23] Add optional WebDav propfind properties to count sub elements
2022-04-14 22:08:23 +02:00
Vincent Petry
0aa70b3d88 Principal search by display name case insensitive
Adjust principal search to be case insensitive even with exact match.
This aligns the behavior to how the search also works in
Collaborators/UserPlugin

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-04-14 13:11:04 +00:00
blizzz
ee9ac5bcfb
Merge pull request #31836 from nextcloud/backport/31734/stable23
[stable23] dont re-query fileinfo when getting dav quota
2022-04-14 13:39:47 +02:00
Christoph Wurst
337a3238bd
Fix CalDAV subscriptions calendarorder column/prop type
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-04-14 13:32:39 +02:00
Christoph Wurst
12db5e1a67
Fix column/property type of the calendar order
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-04-14 13:32:39 +02:00
Christoph Wurst
124c63dd6b
Fix column/property type of the CalDAV deleted_at time stamp
The timestamp is an int, but we treated it as string. With this patch
the property map is enriched with types and settype casts the value if
necessary.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-04-14 13:32:39 +02:00
Julien Veyssier
6b1fbb4fb1
add optional WebDav propfind properties to show number of folders/files inside a folder
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-04-14 13:23:50 +02:00