Anna Larch
5b6a0affd0
Allow reimporting prev. deleted items by deleting trashbin item
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-02-13 15:00:23 +07:00
Côme Chilliet
c4d90f3e81
Removed catch of ValueError as we cannot know if it’s >2038 or <1970
...
Also fixed numericToString to correctly convert float to int if it fits
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:35 +07:00
Côme Chilliet
028c225d96
Fix psalm errors
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:32 +07:00
Côme Chilliet
d315bce300
Improve behavior with dates on 32bits and fix tests or skip them
...
We do not support events after 2038 on 32bits but still behave better
when date range start/end is after 2038.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:32 +07:00
Côme Chilliet
110fc79918
Silence errors of return type mismatch from Sabre for now
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:31 +07:00
Côme Chilliet
cd885b5705
Type sizes as int|float throughout the code base
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:31 +07:00
Côme Chilliet
5c1a0e0307
Allow float sizes in FileInfo for 32bits
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:31 +07:00
Anna Larch
38e9cb6a05
Use recurrence instance to build iMip email
...
instead of the main VEVENT of a repeating event
Fixes part of https://github.com/nextcloud/calendar/issues/3919
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-02-02 16:25:59 +07:00
Côme Chilliet
dde5c46a3e
Migrate to Symfony Mailer
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-02 10:30:06 +07:00
Joas Schilling
1a31ddb56d
Do not reuse query builder objects in DAV account deletion
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-01 21:49:34 +07:00
Christoph Wurst
df0bb9165d
Merge pull request #36380 from nextcloud/fix/caldav/reminder-service-nullable-calendar-data
...
fix(caldav): Fix wrong Psalm report for nullable calendar data
2023-01-27 15:43:33 +07:00
Christoph Wurst
954284f8cd
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-01-26 11:24:53 +07:00
Richard Steinmetz
bbda231e18
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-24 09:27:53 +07:00
Joas Schilling
3eda055c68
Merge pull request #36260 from nextcloud/bugfix/noid/fix-user-availability-selection
...
Fix WHERE condition when selecting user's availability for the status…
2023-01-23 15:59:39 +07:00
Christoph Wurst
83711e9267
Merge pull request #36254 from nextcloud/chore/dav/throw-json-encode-decode
...
chore(dav): Make json_encode and json_decode throw on error
2023-01-23 12:52:22 +07:00
Joas Schilling
1aba0e22ba
Fix WHERE condition when selecting user's availability for the status automation
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-20 07:21:22 +07:00
Christoph Wurst
afd1ddb0ea
chore(dav): Make json_encode and json_decode throw on error
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-19 19:19:22 +07:00
Christoph Wurst
3c9ceffa7c
chore(dav): Remove useless var tag
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-19 19:05:23 +07:00
Anna Larch
a9264b007f
fix(dav): catch MaxInstancesExceedeException for recurring events without end date
...
Ref https://github.com/nextcloud/calendar/issues/4811
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-01-18 15:40:36 +07:00
Vincent Petry
ecf6b7667b
Extend ViewOnly DAV plugin to versions endpoint
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-01-13 09:27:16 +07:00
Christopher Ng
e6f4705920
Revert "Fix sync errors for duplicate cards with the same UID for different backends"
...
This reverts commit ddcee3dbab .
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-13 02:11:09 +07:00
John Molakvoæ
c2b6922c33
Merge pull request #35973 from nextcloud/fix/hook-into-event-lifecycle
...
Hook into sabre event lifecycle for iMip Messages
2023-01-05 15:47:29 +07:00
Anna Larch
ddcee3dbab
Fix sync errors for duplicate cards with the same UID for different backends
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-01-05 12:19:51 +07:00
Anna Larch
d58ecdcfad
Hook into sabre event lifecycle for iMip Messages
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-01-05 11:55:26 +07:00
Anna Larch
05f2dc68fc
[WIP] Add logging to Scheduling Plugin
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-01-04 16:58:00 +07:00
Joas Schilling
348454cb91
Merge pull request #35876 from bennet0496/patch-mail-header
...
Adding option to set Auto-Submitted email header
2023-01-04 09:34:14 +07:00
Bennet Becker
5a1cc8de9b
update usages of AutoSubmittedValue to AutoSubmitted::VALUE_
...
Signed-off-by: Bennet Becker <dev@bennet.cc>
2023-01-03 15:28:43 +07:00
Côme Chilliet
06da8adcd3
Merge pull request #35943 from nextcloud/fix/code-fixes-from-34997
...
Code fixes from PR 34997
2023-01-03 14:32:31 +07:00
Côme Chilliet
a372564850
Fix psalm spotted errors with new requirements
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-02 15:02:28 +07:00
Julius Härtl
b8046e2ba4
Align checksum dav property with desktop client parsing
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-30 16:55:35 +07:00
Côme Chilliet
9430899f16
Fix psalm issues related to signature changes from PHP 8.0
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-29 12:36:34 +07:00
Bennet Becker
7a9f4fbbbe
Setting Auto-Submitted header for calendar events and new user mail
...
Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
2022-12-23 19:26:38 +07:00
Anna Larch
e6f23f50df
Remove comment and guests option from Invitations UI
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-12-20 16:31:06 +07:00
Côme Chilliet
1bc51a059b
Fix parameter type for EntityCollection::setReadMarker in comments app
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 11:44:27 +07:00
Côme Chilliet
cbbb0712db
Merge pull request #34807 from nextcloud/fix/compute-notification-parsed-subject
...
Compute notification parsed subject from rich subject when possible
2022-12-19 10:46:39 +07:00
Côme Chilliet
30560d3165
Merge branch 'master' into tests/fix-phpunit-warnings
...
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2022-12-05 12:03:39 +07:00
Côme Chilliet
cb0450b5c4
Improve typing on new methods
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-05 12:01:12 +07:00
Simon L
82e2a9033f
Merge pull request #34232 from nextcloud/fix/noid/refresh-filesize-on-conflict
...
compare cached filesize on download
2022-12-03 19:53:46 +07:00
Simon L
53f2519a6c
Merge pull request #34920 from ibpl/master-IB#1126265
...
Added parameter to disallow calendar subscription via link
2022-12-03 19:08:22 +07:00
Maxence Lange
cc639a8877
compare cached filesize on download
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-12-01 15:42:15 +07:00
Carl Schwan
f4adfd1ead
Merge pull request #35426 from nextcloud/cleanup/contactintegration
...
Cleanup contactsinteraction
2022-11-30 12:17:30 +07:00
Côme Chilliet
d9151ff35c
Get rid of all useless calls to setParsedSubject now that setRichSubject is able to do it
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-29 14:36:29 +07:00
Simon L
cd7cec587e
Merge pull request #35425 from nextcloud/bumpMinimumDesktopClientForWebdav
...
minimum desktop client that is supported is 2.3.0
2022-11-28 15:34:32 +07:00
Carl Schwan
e8ae4406ce
Merge pull request #34849 from nextcloud/feat/hint-about-no-access-reasons
...
Add an hint about reasons why files can't be accessed
2022-11-25 13:12:55 +07:00
Carl Schwan
6828a3b28d
Cleanup contactsinteraction
...
- Add more typing and use PHP 7.4 typed properties
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-25 11:46:18 +07:00
Matthieu Gallien
c63ff42410
minimum desktop client that is supported is 2.3.0
...
2.3.0 was release on Mar 3, 2017
added support for new chunking algorithm allowing to now deprecate the
older one
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-25 11:40:30 +07:00
Louis Chemineau
90bce5d58e
Do not check quota for non Node
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-24 11:35:02 +07:00
Carl Schwan
48ea9e1c23
Use public IAppManager instead of OC_App
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-23 17:04:22 +07:00
Côme Chilliet
feafa63afb
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-17 13:22:50 +07:00
Robin Appelman
9150082eb7
fix dirname usage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-17 13:22:50 +07:00