Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activities for calendars, events and todos #1733

Merged
merged 13 commits into from
Nov 3, 2016
Merged

Activities for calendars, events and todos #1733

merged 13 commits into from
Nov 3, 2016

Conversation

nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Oct 13, 2016

Supports:

  • add/update/delete/share/unshare of calendars
  • add/update/delete of events
  • add/update/delete/mark as solved/reopen of todos

Todos:

  • Dispatcher
  • Tests

Ref #745

@MorrisJobke @LukasReschke @rullzer please review :)

@mention-bot
Copy link

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

@MorrisJobke MorrisJobke mentioned this pull request Oct 13, 2016
47 tasks
@@ -357,10 +357,8 @@ public function testPublications() {
$calendar->setPublishStatus(false);
$this->assertEquals(false, $calendar->getPublishStatus());

$publicCalendarURI = md5($this->config->getSystemValue('secret', '') . $calendar->getResourceId());
Copy link
Member

Choose a reason for hiding this comment

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

👍

@MorrisJobke
Copy link
Member

Tests

cc @nickvergessen

@nickvergessen
Copy link
Member Author

Added a bunch of tests, will add the missing tests later in another PR.
Can we merge this?

@MorrisJobke
Copy link
Member

Tested and works - but only with nextcloud/activity#64

👍

@MorrisJobke
Copy link
Member

cc @rullzer - review time

@codecov-io
Copy link

Current coverage is 58.11% (diff: 22.74%)

Merging #1733 into master will increase coverage by 0.37%

@@             master      #1733   diff @@
==========================================
  Files          1088       1090      +2   
  Lines         62149      63854   +1705   
  Methods        6937       7169    +232   
  Messages          0          0           
  Branches          0          0           
==========================================
+ Hits          35886      37107   +1221   
- Misses        26263      26747    +484   
  Partials          0          0           
Diff Coverage File Path
0% apps/dav/lib/AppInfo/Application.php
0% new apps/dav/lib/CalDAV/Activity/Extension.php
0% apps/dav/lib/Command/CreateCalendar.php
0% apps/dav/appinfo/v1/caldav.php
•• 23% new apps/dav/lib/CalDAV/Activity/Backend.php
•••••••••• 100% apps/dav/lib/RootCollection.php
•••••••••• 100% apps/dav/lib/CalDAV/CalDavBackend.php

Powered by Codecov. Last update ae5eb79...7a0e003

@rullzer
Copy link
Member

rullzer commented Nov 3, 2016

LGTM

@rullzer rullzer merged commit f6ff624 into master Nov 3, 2016
@rullzer rullzer deleted the dav-events branch November 3, 2016 18:31
@nickvergessen
Copy link
Member Author

@mmluqman when you switch to Nextcloud, you can have activities for calendar and task changes already since version 11. I just saw you commented on the ownCloud feature request for it. So I thought you might be interested in it ;)

@jospoortvliet
Copy link
Member

same for @niko886 -> this allows you to get notified on calendar changes (new/modified). Not yet for when an event happens though, see discussion about that here: #1642

(one question is: how do you avoid notifications by multiple apps. I guess it just needs to be configurable...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants