Commit graph

1810 commits

Author SHA1 Message Date
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 +01: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 +01: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 +01: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 +01:00
Maxence Lange
cc639a8877 compare cached filesize on download
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-12-01 15:42:15 -01:00
Carl Schwan
f4adfd1ead
Merge pull request #35426 from nextcloud/cleanup/contactintegration
Cleanup contactsinteraction
2022-11-30 12:17:30 +01: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 +01: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 +01: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 +01: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 +01: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 +01: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 +01: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 +00:00
Robin Appelman
9150082eb7 fix dirname usage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-17 13:22:50 +00:00
Côme Chilliet
81d3a76d5d Fix psalm issues
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-17 13:22:50 +00:00
Côme Chilliet
5ed840ed23 Check quota on file copy
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-17 13:22:49 +00:00
Côme Chilliet
4893d5e746
Merge pull request #35156 from nextcloud/fix/fix-tests-for-8.2
Fix dynamic properties and other problems in tests for PHP 8.2
2022-11-15 13:04:51 +01:00
Côme Chilliet
c79a6b3f62
Fix errors from PHP 8.2 testing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-14 17:08:21 +01:00
Côme Chilliet
9ba9f9a7dc
Make sure to not pass null to DateTime::createFromFormat
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-14 16:23:50 +01:00
Julius Härtl
908b7aa70a
Attempt to fix CalendarImpl tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-09 16:37:34 +01:00
Richard Steinmetz
304b71647f
Fix duplicate event email notifications
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-11-04 16:24:57 +01:00
Christoph Wurst
3b084e5fbc
Merge pull request #34893 from nextcloud/fix/move-imip-to-separate-interface
Move iMIP to its own interface
2022-11-03 15:03:42 +01:00
Anna Larch
9dd51601c6 Switch to DisplayNameCache for CardDAV
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-11-03 10:26:34 +01:00
Anna Larch
e5c290bb7f Switch to DisplayNameCache for CalDAV
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-11-03 10:26:34 +01:00
Anna Larch
aebcc3126a Move iMIP to it's own interface
and clean up the code a bit.

Added:
- author

Removed:
- unused imports

Changed:
- moved iMIP handling to new interface
- pointed code to new implementation

Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-11-03 10:07:09 +01:00
Pawel Boguslawski
b1716b0ef0 Added parameter to disallow calendar subscription via link
Added calendar application config parameter `dav.allow_calendar_link_subscriptions` to disallow calendar
subscription via link (i.e. for internal Nextcloud setups). Use

```
occ config:app:set dav allow_calendar_link_subscriptions --value 'yes'
```

to allow (default if not set) and

```
occ config:app:set dav allow_calendar_link_subscriptions --value 'no'
```

to disallow calendar subscription via link.

Author-Change-Id: IB#1126265
Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
2022-11-02 09:36:25 +01:00
Thomas Citharel
6f15873321 Add a background job to prune outdated sync tokens
We remove all outdated sync tokens, based on their auto-incremented ID.

By default we only keep the last 10 000, but this can be configurable.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-27 20:12:13 +00:00
Carl Schwan
5f6997f6fe Add an hint about reasons why files can't be accessed
Hopefully saves some debugging time next time

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-27 14:17:56 +02:00
Christoph Wurst
232c760de4
Merge pull request #34626 from nextcloud/enhancement/rename-personal-groupware-settings-section-availability
Rename personal Groupware settings section to "Availability"
2022-10-24 10:13:37 +02:00
Vincent Petry
56fe33ffca
Merge pull request #34508 from starypatyk/dav_displayname
WebDAV - use file/folder name for dav:displayname
2022-10-21 15:42:27 +02:00
Christoph Wurst
e12df7941e
Merge pull request #34565 from nextcloud/debt/noid/fakelocker-too-many-arguments
Fix TooManyArguments for FakeLockerPlugin
2022-10-17 13:26:32 +02:00
Christoph Wurst
0799b8988b
Rename personal Groupware settings section to "Availability"
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-10-17 09:30:13 +02:00
Daniel Kesselberg
934e75384c
Fix TooManyArguments for FakeLockerPlugin
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-10-14 15:06:38 +02:00
Dariusz Olszewski
2b4a11598d WebDAV - use file/folder name for dav:displayname
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-10-10 21:20:07 +02:00
Dariusz Olszewski
c0bd7484c6 Review comment - remove redundant empty() call
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-10-10 21:03:28 +02:00
Dariusz Olszewski
255d1dd686 Read notes from share already loaded into memory
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-10-07 23:24:12 +02:00
Christoph Wurst
2f4b7c9057
Merge pull request #34415 from nextcloud/fix/caldav-backend-causal-reads
Fix causal reads in CalDAV backend
2022-10-06 10:58:58 +02:00
blizzz
23df942454
Merge pull request #34378 from nextcloud/add-isDeleted-to-icalendar
Add isDeleted to OCP\Calendar\ICalendar
2022-10-04 15:37:56 +02:00
Christoph Wurst
e6d8da4cdc Fix causal reads in CalDAV backend
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-10-03 20:03:29 +02:00
Thomas Citharel
d084e7656b
Add isDeleted property to OCP\Calendar\ICalendar
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-03 18:56:02 +02:00
Christoph Wurst
19b7dad3dc Wrap address book creation write-read in a transaction
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-10-03 17:48:52 +02:00
Anna
9c516c2009
Merge pull request #34388 from sylvainmetayer/feat_2464_exclude_contact_from_birthday_calendar
feat(contacts): exclude contact from birthday calendar
2022-10-03 14:15:36 +02:00
blizzz
f055328094
Merge pull request #33608 from nextcloud/perf/improve-getCalendarsForUsers
Remove the loop of calendars when only one is needed
2022-10-03 10:59:25 +02:00
Thomas Citharel
98030e97d3
Add typings to OCP\Calendar\ICalendar and implementation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-03 08:35:42 +02:00
Sylvain
5b8d8271a2 fix: define exclusion key as constant
Signed-off-by: Sylvain <git@sylvain.dev>
2022-10-02 18:30:13 +02:00
Sylvain
e3d50f99c9 feat(contacts): exclude contact from birthday calendar
Signed-off-by: Sylvain <git@sylvain.dev>
2022-10-02 17:55:11 +02:00
Anna Larch
3a8c7b6bf3 Remove the loop of calendars when only one is needed
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-10-01 22:17:40 +02:00
blizzz
e714524267
Merge pull request #33104 from nextcloud/enhancement/add-logging-federation
Federation - add logging, update the server status if sync fails
2022-10-01 21:53:55 +02:00
blizzz
132f842f80
Merge pull request #33450 from sazanof/bug/base64-card-dav-search
Fix photo url generation (add URI type to VCard2Array)
2022-10-01 21:50:14 +02:00
Vincent Petry
ec75b7c571
Merge pull request #33964 from nextcloud/search-limit-operators
add a limit to the amount of operators a client can add to a search query
2022-09-15 14:07:40 +02:00