Skip to content

Change CALDAV to allow calendars be shared with circles. - #6512

Merged
MorrisJobke merged 10 commits into
nextcloud:masterfrom
coletivoEITA:add_circles_sharing_to_caldav
Mar 12, 2019
Merged

Change CALDAV to allow calendars be shared with circles.#6512
MorrisJobke merged 10 commits into
nextcloud:masterfrom
coletivoEITA:add_circles_sharing_to_caldav

Conversation

@viniciuscb

@viniciuscbviniciuscb commented Sep 14, 2017

Copy link
Copy Markdown
Member

We've developed a change in the CALENDAR app to allow sharing calendars with circles.

This proposed modification allows that a user can see calendars shared with circles that s/he belongs to.

The modifications in CALENDAR are in the pr:
nextcloud/calendar#602

@mention-bot

Copy link
Copy Markdown

@viniciuscb, thanks for your PR! By analyzing the history of the files in this pull request, we identified @DeepDiver1975, @nickvergessen and @georgehrke to be potential reviewers.

@MariusBluem

Copy link
Copy Markdown
Member

@daita

@tcitworld

Copy link
Copy Markdown
Member

See #5638

@ArtificialOwl

Copy link
Copy Markdown
Member

Thanks for the link @tcitworld :)

@viniciuscb Unfortunately, my current work does not take full profit of Circles, as it is only working locally and not using the federated link; meaning you can't share to a remote nextcloud.

If you want to dive into that work, we should arrange a talk somewhere (IRC, telegram, keybase)

@viniciuscb

Copy link
Copy Markdown
MemberAuthor

Hi @daita my implementation also does not take care of federated circles :-(
We will not use federated circles, at least not at this moment. Is only this that is needed to your PR to enter in master?

Your implementation in #5638 is more complete. We didn't have to change caldav to create a share, only to display a share. Modifications in the calendar app (javascript) were enough to create a 'share to circle' in calendar.

@viniciuscb

Copy link
Copy Markdown
MemberAuthor

@dtygel

@ArtificialOwlArtificialOwl added this to the Nextcloud 13 milestone Oct 18, 2017
@ArtificialOwl

Copy link
Copy Markdown
Member

I will work on a calendar federated share 'later'. This works fine for local share.

@viniciuscb

Copy link
Copy Markdown
MemberAuthor

@daita please inform me if you need some help before the feature freeze on friday.

@MorrisJobke

Copy link
Copy Markdown
Member

Moved to 14.

@MorrisJobkeMorrisJobke added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Mar 6, 2018
@MorrisJobke

Copy link
Copy Markdown
Member

@daita Please have a look at this

@GoetheG

Copy link
Copy Markdown

Hey @daita, @viniciuscb,

is this feature definitely coming in Nextcloud 14 or should we expect it earlier?

Thank you very much for your contribution, guys!

Yours

@MorrisJobkeMorrisJobke added the stale Ticket or PR with no recent activity label Jun 19, 2018
@MorrisJobke

Copy link
Copy Markdown
Member

@danxuliu@daita@georgehrke What about this one? It's laying around for quite long already :/

@nextcloud-botnextcloud-bot removed the stale Ticket or PR with no recent activity label Jun 29, 2018
@ArtificialOwl

Copy link
Copy Markdown
Member

let's close this,

@MorrisJobkeMorrisJobke removed this from the Nextcloud 15 milestone Jun 29, 2018
@georgehrke

Copy link
Copy Markdown
Member

Why close this?

Shouldn't we implement this feature? Even if it's only for Nextcloud 15?

Comment threadapps/dav/lib/Connector/Sabre/Principal.php Outdated
viniciuscband others added 3 commits March 1, 2019 17:04
This works with nextcloud/circles#260
Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
@georgehrke

Copy link
Copy Markdown
Member

This is good to get in imho:

to test:

  • just create a circle.
  • for now, check the circle_id in oc_circles_members
  • share it:
    curl 'http://nextcloud.local/remote.php/dav/calendars/admin/new-calendar/' -u admin:admin -H 'Content-Type: application/xml; charset=UTF-8' -H 'Accept: */*' -H 'Depth: 0' --data-binary '<x3:share xmlns:x3="http://owncloud.org/ns"><x3:set><x0:href xmlns:x0="DAV:">principal:principals/circles/*circleId*</x0:href></x3:set></x3:share>' --compressed
  • make sure it shows up as a calendar for members of the circle.

@MorrisJobkeMorrisJobke mentioned this pull request Mar 4, 2019
45 tasks
@MorrisJobke

This comment has been minimized.

@MorrisJobke

Copy link
Copy Markdown
Member

Let me fix the phan failures here.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@MorrisJobke

Copy link
Copy Markdown
Member

Let me also fix the dependency injection for the app manager into the Principal. Then I will review this one here.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@MorrisJobkeMorrisJobke added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Mar 5, 2019

@MorrisJobkeMorrisJobke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works 👍

@MorrisJobkeMorrisJobke mentioned this pull request Mar 6, 2019
9 tasks
@MorrisJobke

This comment has been minimized.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@MorrisJobke

Copy link
Copy Markdown
Member

CI fails 🙈

I fixed them in the latest commit. Let's see what CI says.

@MorrisJobkeMorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 12, 2019
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@MorrisJobke
MorrisJobke merged commit f0c85a0 into nextcloud:masterMar 12, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishenhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@viniciuscb@mention-bot@MariusBluem@tcitworld@ArtificialOwl@MorrisJobke@GoetheG@georgehrke@ChristophWurst@nextcloud-bot