Robin Appelman
1de0b10751
add test for trying to fopen a file which no longer exists on disk
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 year ago
Robin Appelman
3236a8e2af
add test for search operator limit
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 year ago
luz paz
9d26671f05
Fix typos in apps/ subdirectory
Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/`
Signed-off-by: luz paz <luzpaz@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
1 year ago
Côme Chilliet
9874557e43
Fix Capabilities tests for dav application
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Anna Larch
4ca4b02793
Support iMIP invitations from Mail
Signed-off-by: Anna Larch <anna@nextcloud.com>
1 year ago
Joas Schilling
eab5189abb
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>
1 year ago
Joas Schilling
7e11778190
Use user name cache in activity providers
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 year ago
Côme Chilliet
cb271b759e
Fix dynamic property creations in test files
This fixes warnings in PHP 8.2
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Carl Schwan
7b723813ce
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>
1 year ago
Vincent Petry
2ee659e547
Fix view-only code after code review comments
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years ago
Vincent Petry
92e60e3858
Add nc:share-attributes Webdav property
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years ago
Vincent Petry
a95c19e14b
Add share attributes + prevent download permission
Makes it possible to store download permission
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years ago
luz paz
d4637ef4d8
Fix typos in apps/dav subdirectory
Found via `codespell -q 3 -S l10n -L jus ./apps/dav`
Signed-off-by: luz paz <luzpaz@github.com>
1 year ago
Cédric Neukom
483549d22a
Respect user settings when generating alerts for birthday calendar
Signed-off-by: Cédric Neukom <github@webguy.ch>
1 year ago
Carl Schwan
3598ec4028
Add typing to Sharing Backend
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 year ago
Vitor Mattos
d7e7a4d333
Fix test to check the expire date
Signed-off-by: Vitor Mattos <vitor@php.rio>
1 year ago
Thomas Citharel
4129089f87
Avoid calendar & addressbook activities being created on user being deleted
Addressbooks and Calendar data are destroyed through hook OC_User::pre_deleteUser, which when it reaches the backends sends AddressBookDeletedEvent/CalendarDeletedEvent typed events, which in turns generates activities that aren't deleted until they expire.
This can probably lead to old activities being visible for a new user created with the same uid.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
1 year ago
Thomas Citharel
9a60bbebf3
Add tests for OCA\DAV\CardDAV\Activity\Backend (adapted from CalDAV)
And test that the system addressbook will never generate activity events
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2 years ago
Joas Schilling
8e3b30f388
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>
2 years ago
Christoph Wurst
58f7a150ed
Debug log what happens during reminders processing
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years ago
Thomas Citharel
cf8b98bf5f
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>
2 years ago
Anna Larch
440f69bd69
Add email validation
Signed-off-by: Anna Larch <anna@nextcloud.com>
2 years ago
Thomas Citharel
741c44385f
Increase loglevel of Webcal parsing errors and modernize code
Closes #31612
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2 years ago
Thomas Citharel
190a71ecf9
Expose additional emails in {DAV:}alternate-URI-set
This allows iMip invitations to be send with an alternative email as
"Reply-To" field.
Closes #27201
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2 years ago
Thomas Citharel
4bb31c021e
Remove all legacy event dispatchers from CalDAV & CardDAV backends
Move them to proper EventListeners and test them
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2 years ago
Carl Schwan
f7be76125f
Fix more psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Thomas Citharel
a7b2e8a593
Refactor CalDAV\Schedule\PluginTest for depreciated phpunit methods
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2 years ago
Thomas Citharel
8d7154318f
Put calendar invites into the user's first available calendar
If there's no default calendar and we can't find anything with URI
'personal', instead of creating a new one, start by using the first
"real personal calendar" available.
If not, then we create the default one.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2 years ago
Côme Chilliet
e2531f8503
Migrate dav application from ILogger to LoggerInterface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Côme Chilliet
49b650c4a4
Fix namespace of RefreshWebcalServiceTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Côme Chilliet
1a55ba5e3b
Fix PublishingTest class name
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Côme Chilliet
1d5191b94d
Remove use of mixed type which is not available in PHP 7.4
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Louis Chemineau
e8ab298d2c
Use email settings in DAV search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years ago
Robin Appelman
ae7205f550
use existing node in SharesPlugin
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years ago
Christopher Ng
e3d967f732
Test metadata equality
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago
Christopher Ng
1a34c7f240
Integration tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago
Christopher Ng
568393292a
Move calendar test asset files
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago
Joas Schilling
e1e003f569
Also comment out in test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Robin Appelman
5ae6cefd57
dont re-query fileinfo when getting dav quota
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years ago
Côme Chilliet
6d354595f7
Prepare for ILogger drop in RootCollectionTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Côme Chilliet
3546cfba1c
Fix more ILogger related problems from tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Daniel Teichmann
f4148820ff
Add JS Unit tests for new 'sendEventRemindersToSharedGroupMembers' setting.
Signed-off-by: Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
2 years ago
Daniel Teichmann
73a7ced1fd
Fix #31303: Make reminder notification behaviour selectable.
Signed-off-by: Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
2 years ago
Thomas Citharel
9c07e47c78
Fix link to calendar user docs in groupware settings
Closes #31617
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years ago
Anna Larch
0745fc5012
Move calendar objects between calendars instead of deleting and recreating them
Signed-off-by: Anna Larch <anna@nextcloud.com>
2 years ago
Christopher Ng
e97701c6b0
Improve error handling and output messages
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago
Robin Appelman
1c468129af
adjust tests to new fs setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years ago
Christopher Ng
aafb305fed
Minor updates
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago
Christopher Ng
302a67f685
Integrate migrator
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago
Christopher Ng
4c3d68381b
Integration tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago