Commit graph

1526 commits

Author SHA1 Message Date
szaimen
fbf59c6ade
Merge pull request #28716 from nextcloud/add-orphan-subscriptions-repair-task
Add repair job to delete calendar subscriptions that were orphaned when deleting an user
2021-09-13 15:20:50 +02:00
Arthur Schiwon
27865d03c0
use specific email getter where necessary
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 19:23:05 +02:00
kesselb
fa8083ac12
Merge pull request #28692 from nextcloud/enh/send-invitation-to-req-participants
Send attendence links to required and optinal attendees of an event without an RSVP
2021-09-07 16:03:08 +02:00
Thomas Citharel
45d5a797e7
Add repair job to delete calendar subscriptions that were orphaned when
deleteding an user

Follow-up to https://github.com/nextcloud/server/pull/28419

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-04 20:55:12 +02:00
Anna Larch
56cc01c45c Send Invitation to Attendees with ROLE=REQ-PARTICIPANT
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-09-03 14:48:46 +02:00
Christoph Wurst
613798a54b
Merge pull request #28419 from nextcloud/bug/28419/delete-calendar-subscriptions-when-deleting-user
Delete calendar subscriptions as well when deleting user
2021-08-31 08:59:50 +02:00
Robin Appelman
a334eb7ab1
always allow dav move for movable mount root
the root of a movable mountpoint can be moved even if it doesn't have update permissions

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-27 16:02:45 +02:00
acsfer
2132cde6e3
Remove error suppression
This seems no longer needed as per https://bugs.php.net/bug.php?id=50688
2021-08-24 00:57:39 +02:00
Thomas Citharel
a7b9b398a3
Expose user language through DAV
Introduces the '{http://nextcloud.com/ns}language' prop that gives the
user's language

Closes #28449

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-16 19:03:00 +02:00
Thomas Citharel
57e2f2a903
Delete calendar subscriptions as well when deleting user
Closes #28418

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-13 14:19:03 +02:00
Anna Larch
904a762de7
Extend caldav resource search
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-07-30 17:14:28 +02:00
John Molakvoæ
97976746b8
Merge pull request #28084 from nextcloud/bugfix/noid/dav-user-id
Make sure that the dav propfind plugins always use the proper user id
2021-07-23 08:31:41 +02:00
Julius Härtl
6909ce6641
Make sure that the dav propfind plugins always use the proper user id
For old android versions it could happen that the requests are performed
with a login name instead of the actual user id, so before this change
the property methods used the wrong value for fetching their information

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-22 12:28:00 +02:00
Daniel Kesselberg
dedf51b6e6
QuotaPlugin expect 1 parameter
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-07-21 17:06:03 +02:00
J0WI
3b656446af Introduce ISecureRandom::CHAR_ALPHANUMERIC
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-07-08 15:11:31 +02:00
Joas Schilling
8ebbd91909
Merge pull request #17148 from nextcloud/always-provide-color-to-default-personal-calendar
Always provide theme color for default personal calendar
2021-07-02 16:29:18 +02:00
Julius Härtl
d1b0ccb715
Merge pull request #27488 from msrn/win10cal-useragent
Add regex to match Windows 10 calendar user-agent
2021-06-29 18:36:51 +02:00
Thomas Citharel
fc49b2600b
Add indications for the translators
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-25 17:27:45 +02:00
Paweł Lechowicz
f33eea69ce
Subjects for Invitation, Invitation cancellation and Invitation replies are now localizable.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-25 17:23:00 +02:00
Thomas Citharel
8927205d8a
Make default calendar only contain VEVENTS
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-25 14:26:18 +02:00
Thomas Citharel
f73478654d
Always provide theme color for default personal calendar
Before this calendar-color wasn't defined for default calendar

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-25 14:15:10 +02:00
Christoph Wurst
d87248fe40
Merge pull request #27632 from nextcloud/chore/caldav-trashbin-iso-timestamps
Use ISO8601 timestamps for the CalDAV trashbin
2021-06-23 21:34:34 +02:00
Pytal
9ed379da22
Merge pull request #27635 from nextcloud/fix/datetime-constants
Fix usage of DateTime constants
2021-06-23 09:56:28 -07:00
Christoph Wurst
3a690b1cb5
Use ISO8601 timestamps for the CalDAV trashbin
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-23 16:28:16 +02:00
Christoph Wurst
6d5cfe0c66
Move DateTime::RFC2822 to DateTimeInterface::2822
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-23 15:30:43 +02:00
Christoph Wurst
770881d5d6
Move DateTime::ATOM to DateTimeInterface::ATOM
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-23 15:28:07 +02:00
blizzz
6c65c9c44d
Merge pull request #27561 from nextcloud/dav-search-offset
allow setting offset for dav search queries not limited to the users home storage
2021-06-23 11:27:41 +02:00
Mikael Saarinen
14c33bb2e9 Add regex to match Windows 10 calendar user-agent
* Match first part of the Windows 10 calendar user-agent
* Exposes subscribed calendars for Windows 10 calendar
* Update unit test

Signed-off-by: Mikael Saarinen <mikaels@iki.fi>
2021-06-23 09:50:45 +03:00
Robin Appelman
a317f0ff02
allow setting offset for queries not limited to the users home storage
multi-storage offset is cheap (enough) now

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-22 20:38:14 +02:00
Lukas Reschke
d6a2f00bef Throttle on public DAV endpoint
We should throttle whenever an invalid request is sent to the public WebDAV endpoint.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-22 19:54:13 +02:00
Valdnet
52e0c65036 l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-06-21 22:45:54 +00:00
Valdnet
64ad2eb83d l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-06-21 22:44:56 +00:00
Valdnet
898e87ac64 l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-06-21 22:44:56 +00:00
Richard Steinmetz
09ad1c4e2b
Skip deleted calendar objects of deleted calendars
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-06-15 11:36:59 +02:00
Christoph Wurst
dfbac05f7b
Merge pull request #26421 from mattian/enh/25771/occ-delete-calendar
OCC command to delete calendars
2021-06-14 10:03:44 +02:00
Mattia Narducci
4850dae1df occ: new command dav:delete-calendar
Add occ command 'dav:delete-calendar' to delete a user's calendar.

Signed-off-by: Mattia Narducci <mattianarducci1@gmail.com>
2021-06-13 23:08:15 +02:00
Morris Jobke
84c050c612
Merge pull request #27444 from nextcloud/header-colon
Header must contain a colon
2021-06-10 10:18:35 +02:00
Christoph Wurst
2d1d9393f7
Merge pull request #27426 from nextcloud/fix/dav-custom-props-no-scope
Allow certain custom DAV props to be readable by everyone
2021-06-10 08:00:32 +02:00
acsfer
ae77289511
Header must contain a colon 2021-06-09 16:20:55 +02:00
Joas Schilling
b1031f3985
Allow apps to get photos of VObjects
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-09 11:57:49 +02:00
Christoph Wurst
baf4ad1774
Allow certain custom DAV props to be readable by everyone
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-08 13:57:00 +02:00
John Molakvoæ
b211d02e9c
Merge pull request #27008 from francoisfreitag/no-jq-app-calendar 2021-06-05 12:36:30 +02:00
François Freitag
70edda0342 Port dav calendar settings page to Vue.js
- Drop reliance on deprecated global jQuery object.
- Allow testing user interactions.
- Use newer technology stack.

---

Test user interactions with the groupware dav settings

Add infrastructure to test Vue components:

- Use recommended libraries:

    - https://vuejs.org/v2/guide/testing.html#Recommendations
    - Use jest-dom for robust assertions on the DOM state
    - Use user-event to be more representative of user actions

- Code is transpiled by Jest, with the help of vue-jest.

Ignore test files for no-unpublished-import. Prevent ESLint from
flagging:

```
/home/runner/work/server/server/apps/dav/src/views/CalDavSettings.spec.js
Error:   1:24  error  "@testing-library/vue" is not published         node/no-unpublished-import
Error:   2:23  error  "@testing-library/user-event" is not published  node/no-unpublished-import
```

Signed-off-by: François Freitag <mail@franek.fr>
2021-06-05 11:22:25 +02:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +02:00
Christoph Wurst
188bc07869
Merge pull request #27348 from nextcloud/enhancement/calendar-trashbin-retention-prop
Export the CalDAV trash bin retention duration as property
2021-06-03 10:48:35 +02:00
Christoph Wurst
f1444eac5d
Export the CalDAV trash bin retention duration as property
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-02 18:10:07 +02:00
Christoph Wurst
fc8daf58ee
Add missing ACLs for deleted calendar objects to fix deletion
Due to a bug in Sabre it's necessary for calendar objects to implement
ACLs. Otherwise the scheduling plugin will throw an error when it tries
to fetch the owner of a calendar object that is being deleted.

Ref https://github.com/sabre-io/dav/issues/1345

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-02 15:41:51 +02:00
Christoph Wurst
b29c3aa03f
Merge pull request #25658 from nextcloud/dav-respect-disallow-sharing-with-groups
Dav respect disallow sharing with groups
2021-06-01 12:07:29 +02:00
Christoph Wurst
ff2a730aac
Fix loading of delete caldav objet URIs
Regression of 462962197d

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-31 21:01:54 +02:00
Christoph Wurst
462962197d
Expose calendar-uri as property of deleted caldav events
The trashbin is one report across all calendars of a user. In order to
refresh the data of a single calendar when one of its events is
restored, we need to know what calendar the event belongs to. There
doesn't seem to be a standard property for a URI, so this adds a custom
Nextcloud prop for the calendar-uri.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-31 18:57:40 +02:00