Roeland Jago Douma
db3c918adb
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>
9 years ago
Lukas Reschke
3c34b8577c
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>
9 years ago
Joas Schilling
89ba394c89
Fix the Todos filter
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
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>
9 years ago
Joas Schilling
b2f46bfa04
Adjust all implementations in the server repo
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
b4d76b16b4
Add tests for the base provider
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
ad10c5c4b4
Deduplicate the provider code
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
4c0263b78a
Move event and todo parsing to new API
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
8d87e39146
Deduplicate icon assignment
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
ddc82b4ca2
Move calendar activity parsing to new API
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
a16fd3991a
Move CalDAV activity settings to new API
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
253a75e5ae
Move CalDAV activity filters to new API
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Georg Ehrke
3a8c4230be
fix PropPatch requests on calendars
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
9 years ago
Georg Ehrke
44f55fe415
BirthdayCalendar: fix issue with birthyear to high when birthday on Dec 31st
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
9 years ago
Joas Schilling
6047493b6d
Fix integration tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Roeland Jago Douma
1e6175dfcb
Fix CalendarTest
* Made sure delete from self works again (and is tested)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Roeland Jago Douma
c016d947e2
Fix plugin
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Roeland Jago Douma
6d1c0be47d
Minor fixes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Thomas Müller
c778b1bade
Update sabre dav to 3.2 ( #26115 )
* Update sabre/dav to 3.2.0
* Adjust code to work with sabre/dav 3.2.0 and it's dependencies
* Adding own CalDAV plugin to fix calendar home property
* Test if there is a user logged in when listing files home
* Update sabre version used by integration tests
* Disable unauthenticated DAV access
This is needed to make Sabre 3.2 behave like we did before.
Eventually we should integrate better with the ACL plugin which itself
should implement an auth failure when appropriate.
=====
* Fixed so cherry-pick was succesfull
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Joas Schilling
52dd27892b
Use the event dispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
d3e8463de2
Use a different type for events and todos
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
43b46bcc6a
Activities for events and todos
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
07f6747305
Move the methods into a new class
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
776622f3de
Add activities for shares
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
35ce4c772c
Fix unshare actions for author != owner
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
9a7c522cc6
Add activity for unshare from group
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
83d51afab1
Unshare user activities
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
90578327d5
Start working on calendar activities
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Thomas Müller
5cd90d4116
[9.2] Sync deathdate and anniversary to birthday calendar ( #25655 )
* Sync deathdate and anniversary to birthday calendar (which should be renamed maybe)
* Sync deathdate and anniversary to birthday calendar (which should be renamed maybe)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Joas Schilling
a4f82f13f3
Translate the personal calendar
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Thomas Citharel
6c8bcb38f1
Rename deleteAllSharesForUser() to deleteAllSharesByUser()
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
9 years ago
Thomas Citharel
da1543eef7
fix deletion of calendars
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
9 years ago
Thomas Citharel
5215833fe4
delete shares to an user
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
9 years ago
Thomas Citharel
dcc23114e9
fix annotations & copyright headers
9 years ago
Thomas Citharel
17d5dfdeb1
add in same request
9 years ago
Thomas Citharel
8360222554
fix public calendars
9 years ago
Thomas Müller
d884370844
Use true random string as uri for public calendars - as a result we can no longer return the pre-publish-url
9 years ago
Lukas Reschke
4659e3ab59
Add new constructor args
9 years ago
Thomas Citharel
3e9a346223
add calendarserver-sharing to the list of advertised features
9 years ago
Thomas Citharel
ad0eeaaf1c
use AllowedSharingModes for can-be-published & can-be-shared
9 years ago
Thomas Citharel
6378dbca7e
fix can-be-published
9 years ago
Thomas Citharel
f16ea48e96
add can-be-published property
9 years ago
Thomas Citharel
a4fe596a21
add space between calendarname and owner name
9 years ago
Thomas Citharel
8433c3ca31
fix getChild()
9 years ago
Thomas Citharel
691b3ab448
Add publicuri to oc_dav_shares table and start working with it
9 years ago
Thomas Citharel
dd248caa09
fix some bracket positions
9 years ago
Thomas Citharel
1899116509
move getPublicCalendar inside the caldav backend
9 years ago
Thomas Citharel
762726d988
fix indent once and for all
9 years ago
Thomas Citharel
3921385ed3
fix things (indentation, tests, comments, backend custom implementation
9 years ago
Thomas Müller
d0ec6b9c15
Disable OPTIONS handling - done by sabre
9 years ago