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

move some calendarService calls into Calendar and subscription model #209

Merged

Conversation

georgehrke
Copy link
Member

@georgehrke georgehrke commented Nov 30, 2016

move update, delete, share, unshare, publish and unpublish straight into the calendar respectively the webcal object to use these functions without having the CalendarService as dependency everywhere

this will come very handy at implementing:

@georgehrke georgehrke added the 2. developing Work in progress label Nov 30, 2016
@mention-bot
Copy link

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

@georgehrke georgehrke force-pushed the feature/noid/calendarservice_in_calendar_and_subscription branch from bd23022 to 1b14243 Compare November 30, 2016 20:42
@@ -415,11 +419,20 @@ app.service('CalendarService', function(DavClient, StringUtility, XMLUtility, Ca
};

/**
* get properties for a calendar without instantiate a new calendar/webcal object
Copy link
Member Author

Choose a reason for hiding this comment

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

typo -> instantiating

@@ -285,27 +285,29 @@ app.service('CalendarFactory', function($window, DavClient, Calendar, WebCal) {

/**
* get a calendar object from raw xml data
* @param {CalendarService} CalendarService
Copy link
Member Author

Choose a reason for hiding this comment

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

this is not the CalendarService, but its private API
add proper jsdoc

@georgehrke georgehrke force-pushed the feature/noid/calendarservice_in_calendar_and_subscription branch from 1b14243 to 6c7fb2f Compare December 1, 2016 12:30
@georgehrke georgehrke force-pushed the feature/noid/calendarservice_in_calendar_and_subscription branch from 6c7fb2f to 3179f20 Compare December 1, 2016 12:31
@georgehrke
Copy link
Member Author

please review @tcitworld

@tcitworld
Copy link
Member

Will give a try this afternoon.

@tcitworld
Copy link
Member

👍

@georgehrke georgehrke merged commit 5d86114 into master Dec 5, 2016
@georgehrke georgehrke deleted the feature/noid/calendarservice_in_calendar_and_subscription branch December 5, 2016 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants