Christoph Wurst
ba6e13d037
fix(caldav): Fix reminder timezone drift for all-day events
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-02-27 16:16:18 +01:00
blizzz
53c94353ff
Merge pull request #36413 from nextcloud/backport/36380/stable24
...
[stable24] fix(caldav): Fix wrong Psalm report for nullable calendar data
2023-02-09 12:29:04 +01:00
Christoph Wurst
befee5df6d
fix(caldav): Fix wrong Psalm report for nullable calendar data
...
> Docblock-defined type Sabre\VObject\Component\VCalendar for $vcalendar is never falsy
^ is a lie
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-02-07 18:06:03 +00:00
Côme Chilliet
7a2903ae20
Fix parameter type for EntityCollection::setReadMarker in comments app
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 17:55:48 +00:00
blizzz
7c6a41488d
Merge pull request #36386 from nextcloud/backport/36210/stable24
...
[stable24] fix(dav): check if principal has email address before accessing it
2023-02-07 18:55:03 +01:00
Joas Schilling
d17e87d75f
Do not reuse query builder objects in DAV account deletion
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-02 06:11:22 +00:00
Richard Steinmetz
6728b4b30b
fix(dav): check if principal has email address before accessing it
...
Ref https://github.com/nextcloud/calendar/issues/4811
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-01-26 13:45:46 +00:00
Vincent Petry
96de6170c0
Extend ViewOnly DAV plugin to versions endpoint
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-01-23 13:46:41 +00:00
Anna Larch
2a713e6b5a
Remove comment and guests option from Invitations UI
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-12-22 09:20:22 +00:00
Louis Chemineau
97dbec035b
Do not check quota for non Node
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-24 15:23:21 +00:00
Greta
69d59d3f66
Merge pull request #35328 from nextcloud/backport/35009/stable24
...
[stable24] Check quota on file copy
2022-11-23 10:39:04 +01:00
Côme Chilliet
d07c5c6d2d
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:56:31 +01:00
Robin Appelman
8a14131a84
fix dirname usage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-22 13:56:25 +01:00
Côme Chilliet
5aab36a3f6
Fix psalm issues
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-22 13:56:17 +01:00
Côme Chilliet
595d7add27
Check quota on file copy
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-22 13:56:10 +01:00
Côme Chilliet
eb8b008b1f
Make sure to not pass null to DateTime::createFromFormat
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-14 18:43:15 +00:00
Richard Steinmetz
af2123093d
Fix duplicate event email notifications
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-11-08 09:42:56 +01:00
Côme Chilliet
3ad3bd3039
Do not output a warning when a file is not found
...
This would spam log with warnings from Desktop client doing HEAD on
non-existing path to test them.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-15 11:50:49 +00:00
Joas Schilling
ab113291d6
Check address book URI length before creation
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-01 05:34:42 +00:00
Anna Larch
b09f4dd2cc
Check calendar URI length before creation
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-09-01 05:34:41 +00:00
Vincent Petry
15416e7305
Fix copy in view-only mode
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-26 18:04:06 +00:00
Joas Schilling
68926f5f80
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 08:53:16 +02:00
Carl Schwan
843b54ea8c
Fix backport
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-03 13:54:37 +02:00
Carl Schwan
aafaa39515
Multiple fixes
...
- Fix tests
- Use non deprecated event stuff
- Add a bit of type hinting to the new stuff
- More safe handling of instanceOfStorage (share might not be the first
wrapper)
- Fix resharing
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-03 13:24:38 +02:00
Vincent Petry
567b7cc05c
Block download when needed on direct download endpoint
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-03 13:24:20 +02:00
Vincent Petry
cc7564758b
Fix view-only code after code review comments
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-03 13:24:20 +02:00
Vincent Petry
0c468ede91
Add nc:share-attributes Webdav property
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-03 13:24:19 +02:00
Vincent Petry
cf3d92015b
Fix share attribute related tests + code style
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-03 13:24:19 +02:00
Vincent Petry
f1ab964819
Add share attributes + prevent download permission
...
Makes it possible to store download permission
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-03 13:24:13 +02:00
Vincent Petry
392327b135
Merge pull request #33132 from nextcloud/backport/33090/stable24
...
[stable24] DAV custom props: catch Exception and rollback transaction in case
2022-07-26 23:11:14 +02:00
Thomas Citharel
6d81423c35
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:26:01 +00:00
Christopher Ng
e4674d5402
Fix empty address books being exported
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-08 20:17:39 +00:00
Arthur Schiwon
b2475b606f
catch any exception for transaction control
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-07-06 16:14:09 +02:00
Arthur Schiwon
f4fd68da4c
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-06 13:10:01 +02:00
Joas Schilling
9036fc138f
Don't spam the log with fatals when maintenance mode is enabled or an upgrade has to be done
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-13 11:56:41 +02:00
blizzz
5a1185f2fd
Merge pull request #32585 from nextcloud/backport/32580/stable24
...
[stable24] Fix handling events without names in activities
2022-06-11 00:29:15 +02:00
Vincent Petry
e5540f96f4
Merge pull request #32692 from nextcloud/backport/32471/stable24
...
[stable24] Make sure activities are not created when a deleted calendar object expires
2022-06-10 15:27:45 +02:00
Carl Schwan
43e8f89a21
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:39:30 +02:00
Christopher Ng
a541f97dcc
Update calendar estimation
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-02 17:06:55 +00:00
Thomas Citharel
3820de977b
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-01 15:05:37 +00:00
Christopher Ng
eb70231f70
Update contacts estimation
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-05-31 00:19:14 +00:00
Christopher Ng
72fc8c907e
Update method name
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-05-31 00:19:13 +00:00
Côme Chilliet
4afa609ae2
Move new IMigrator method to a specific interface ISizeEstimationMigrator
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-31 00:19:13 +00:00
Côme Chilliet
dde192da4a
Implement getExportEstimatedSize in migrators
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-31 00:19:13 +00:00
Joas Schilling
33d003d032
Also trim the name
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-25 07:19:05 +00:00
Joas Schilling
d29bb5ff9d
Fix handling events without names in activities
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-25 07:19:04 +00:00
Anna Larch
afb3d38cb8
Add email validation
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-05-18 09:26:56 +00:00
Louis Chemineau
11bd644251
Use email settings in DAV search
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-05-12 15:05:10 +02:00
Louis Chemineau
55fda0b769
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-05-12 15:05:05 +02:00
Robin Appelman
b541d0b415
add logging of failed quota info
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-22 19:29:15 +00:00