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 +07: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 +07:00
Anna Larch
904a762de7
Extend caldav resource search
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-07-30 17:14:28 +07: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 +07: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 +07:00
Daniel Kesselberg
dedf51b6e6
QuotaPlugin expect 1 parameter
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-07-21 17:06:03 +07:00
J0WI
3b656446af
Introduce ISecureRandom::CHAR_ALPHANUMERIC
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-07-08 15:11:31 +07: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 +07: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 +07:00
Thomas Citharel
fc49b2600b
Add indications for the translators
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-25 17:27:45 +07: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 +07:00
Thomas Citharel
8927205d8a
Make default calendar only contain VEVENTS
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-25 14:26:18 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Valdnet
52e0c65036
l10n: Spelling unification
...
Spelling unification in Transifex.
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-06-21 22:45:54 +07:00
Valdnet
64ad2eb83d
l10n: Spelling unification
...
Spelling unification in Transifex.
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-06-21 22:44:56 +07:00
Valdnet
898e87ac64
l10n: Spelling unification
...
Spelling unification in Transifex.
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-06-21 22:44:56 +07: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 +07: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 +07: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 +07:00
Morris Jobke
84c050c612
Merge pull request #27444 from nextcloud/header-colon
...
Header must contain a colon
2021-06-10 10:18:35 +07: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 +07:00
acsfer
ae77289511
Header must contain a colon
2021-06-09 16:20:55 +07: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 +07: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 +07:00
John Molakvoæ
b211d02e9c
Merge pull request #27008 from francoisfreitag/no-jq-app-calendar
2021-06-05 12:36:30 +07: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 +07:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Christoph Wurst
b908db7ac8
Merge pull request #27298 from nextcloud/fix/caldav-deleted-objects-expose-timestamp
...
Expose deletion timestamp for deleted CalDAV objects
2021-05-31 18:24:30 +07:00
Joas Schilling
773e28d8e4
Merge pull request #27275 from nextcloud/bugfix/noid/circles-22-in-dav
...
Fixing invalid classes and methods for circles 22
2021-05-31 13:03:07 +07:00
Christoph Wurst
fe31373a93
Expose deletion timestamp for deleted CalDAV objects
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-31 10:47:07 +07:00
Thomas Citharel
8a73b180e7
Get componenttype from the db as well when restoring a calendarobject
...
It's needed in ReminderService::onCalendarObjectCreate()
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-31 07:49:19 +07:00
Christoph Wurst
d6d8e9215c
Add a trashbin for calendars and calendar objects
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-31 07:49:19 +07:00
Maxence Lange
11ad88e987
migration to Circles 22
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-05-29 10:04:26 +07:00
Thomas Citharel
1c0d975654
Make dav respect disallowing sharing with groups
...
Closes #25390
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-26 11:19:59 +07:00
Joas Schilling
2a2ca4dba5
Remove since from implementations and fix some more style
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-25 09:28:18 +07:00