Georg Ehrke
bc67585f3e
fix bug with shared_by for own calendars if shared
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2017-04-11 12:24:29 +02:00
Lukas Reschke
c576b5e2c3
Add missing maintenance plugin to new DAV endpoint
...
The `/remote.php/dav/` endpoint was not implementing the MaintenancePlugin. Thus when the instance was put into maintenance mode the endpoints were still accessible and delivered empty content. Sync clients really do love this.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-04-11 01:00:12 +02:00
Georg Ehrke
f54a3d9552
don't remove owner property for public calendars
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2017-04-10 10:45:14 +02:00
Joas Schilling
abc9e706c5
Directly fix the values
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-04-06 10:03:56 +02:00
Lukas Reschke
022768387c
Don't list on public calendar endpoints
...
There is no need to allow listing here.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-04-05 23:18:13 +02:00
Joas Schilling
21b413b08b
Make sure transparency is an integer when saving a calendar
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-03-30 18:01:21 +02:00
Bjoern Schiessle
d44913eeb5
fix tests
...
calling getAbsoluteBundlePath() in the constructor makes other tests fail
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2017-03-24 14:36:40 +01:00
Joas Schilling
338636fb3f
Load cert file before syncing addressbooks and contacts
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-03-24 14:36:28 +01:00
Bjoern Schiessle
55b10e777e
use right format for avatars
...
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2017-03-24 14:36:16 +01:00
Bjoern Schiessle
3dabb256c0
don't add empty values to the vcard
...
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2017-03-24 14:35:59 +01:00
Bjoern Schiessle
4de5947c07
fix the way we create a new vcard to avoid to have multiple UIDs
...
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2017-03-24 14:35:36 +01:00
Joas Schilling
12ac777bfd
Set a status code when setting a body
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-03-08 09:30:56 +01:00
Joas Schilling
f7f59ec145
Add new user agent of windows 10 dav backend
...
Thanks Microsoft
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-03-08 09:30:43 +01:00
Joas Schilling
d9beea9428
Make sure shares use read-write when available
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-03-06 09:49:18 +01:00
Joas Schilling
ba30fa0e10
Don't waste energy unless necessary
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-03-06 09:48:57 +01:00
Joas Schilling
664f802b92
Use the correct principal for shared addressbooks
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-02-24 10:05:17 +01:00
John Molakvoæ (skjnldsv)
6923821964
Address book data lost when any user receiving a share is deleted backport
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-02-15 16:09:00 +01:00
Lukas Reschke
9ba080f5f8
Merge pull request #3445 from nextcloud/stable11-add-integration-tests-for-dav
...
[stable11] Add integration tests for legacy DAV endpoints
2017-02-13 10:11:28 +01:00
Lukas Reschke
886938718d
Add integration tests for legacy DAV endpoints
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-02-10 16:19:45 +01:00
Joas Schilling
76a2bf72e6
Fix detection of the new iOS app
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-02-10 10:13:33 +01:00
Georg Ehrke
d398de5c6a
fix shared-as-busy events for owner
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2017-02-03 11:08:13 +01:00
Joas Schilling
73e93d11c2
Make sure the used event type and the setting/filter are the same
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-01-10 12:34:13 +01:00
Lukas Reschke
adef282c44
Don't set Content-Disposition header if one already exists
...
If a Content-Disposition header is already set by another plugin we don't need to set another one as this breaks clients.
Fixes https://github.com/nextcloud/server/issues/1992
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-01-05 12:22:27 +01:00
Roeland Jago Douma
3649d86b65
Add DAV repair step to fix calendar data
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-12-21 20:30:27 +01:00
Joas Schilling
a1210fe5b0
Fix the Todos filter
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-12-19 09:47:11 +01:00
Roeland Jago Douma
b452e250e0
Fix legacy caldav endpoints
...
* CaldavBackend is now endpoint aware (use old style principals on old
endpoint and new onces on new).
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-12-15 20:12:10 +01:00
Lukas Reschke
69f0977686
Add test execution against legacy DAV backend
...
Since the tests to quite hugely rely on sync tokens being present I also included those in the legacy backend.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-12-15 11:19:59 +01:00
Joas Schilling
474720ff1c
Overwrite the schedule target calendar with the personal one and create it if missing
...
Otherwise this leads to problems like events being added to the birthday calendar,
if that one is the first calendar which was created for the user. See:
https://github.com/nextcloud/server/pull/2274
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-12-09 09:34:25 +01:00
Morris Jobke
8fdfb41b93
Merge pull request #1934 from nextcloud/move-latly-used-tags-to-the-top
...
Move lately used tags to the top
2016-12-05 16:10:33 +01:00
Lukas Reschke
bd2a8e768e
Merge pull request #2471 from nextcloud/harden_files_drop
...
Harden files drop
2016-12-02 17:43:04 +01:00
Roeland Jago Douma
363963577c
Harden files drop
...
* Fail on MKCOL
* Only take filename ignore directories
* No need to parse query parameters
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-12-02 13:03:56 +01:00
Morris Jobke
ac1bf3c2b7
Merge pull request #2432 from nextcloud/activity-mail-language
...
Make sure the activity emails can be sent in the users language
2016-12-01 23:01:00 +01:00
Lukas Reschke
a87638c6ab
Merge pull request #2371 from nextcloud/issue-2369-add-share-indicator-for-mail-shares
...
Add share indicator for mail shares
2016-12-01 12:17:56 +01:00
Joas Schilling
b2f46bfa04
Adjust all implementations in the server repo
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-12-01 11:35:23 +01:00
Joas Schilling
b4d76b16b4
Add tests for the base provider
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-30 12:04:19 +01:00
Joas Schilling
ad10c5c4b4
Deduplicate the provider code
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-30 11:39:38 +01:00
Joas Schilling
1aa874e4e3
Also get infos about email shares
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-30 09:21:58 +01:00
Joas Schilling
4c0263b78a
Move event and todo parsing to new API
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-29 16:27:12 +01:00
Joas Schilling
8d87e39146
Deduplicate icon assignment
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-29 16:08:58 +01:00
Joas Schilling
ddc82b4ca2
Move calendar activity parsing to new API
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-29 15:47:43 +01:00
Joas Schilling
a16fd3991a
Move CalDAV activity settings to new API
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-29 15:06:54 +01:00
Joas Schilling
253a75e5ae
Move CalDAV activity filters to new API
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-29 15:04:08 +01:00
Roeland Jago Douma
e9f98fd5a9
VCARDS don't hold binary data
...
* We need to base64 encode the avatar!
* Switched to vcard v4
* User proper data uri
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-23 13:30:32 +01:00
Thomas Müller
181af830fd
Remove 9.1 migration steps in app dav ( #25654 )
2016-11-22 20:17:05 +01:00
Lukas Reschke
d0c3c5cee3
Merge pull request #2225 from nextcloud/fix_caldav_proppatch_requests
...
fix PropPatch requests on calendars
2016-11-21 22:54:17 +01:00
Georg Ehrke
3a8c4230be
fix PropPatch requests on calendars
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2016-11-21 22:10:51 +01:00
Lukas Reschke
ccf3e4255a
Remove debug code
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-11-21 11:30:02 +01:00
Bjoern Schiessle
8f33d9d1c0
update system address book if the user change the personal settings
...
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2016-11-21 11:29:57 +01:00
Georg Ehrke
44f55fe415
BirthdayCalendar: fix issue with birthyear to high when birthday on Dec 31st
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2016-11-17 15:28:15 +01:00
Robin Appelman
b56f2c9ed0
basic lockdown logic
...
Signed-off-by: Robin Appelman <icewind@owncloud.com>
2016-11-16 15:24:23 +01:00