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

Extended schedules #720

Merged
merged 5 commits into from
Jun 11, 2018
Merged

Extended schedules #720

merged 5 commits into from
Jun 11, 2018

Conversation

bjoernricks
Copy link
Contributor

First PR for the extended schedules feature.

  • Add ical.js for parsing icalendar data
  • Parse Schedule details from icalendar data

Schedules contain ical data now. We are going to use ical.js for pasing
and creating these ical data.
Parse schedule from ical data now. Currently start date, next date,
recurrencies and durations are evaluated. Remove old properties from the
Schedule model which got replaced by the new ones from the ical data.
Use the new ical based Schedule properties to display the Schedule
details.
The timezone is displayed as an extra value at the Schedule details.
Therefore it is not necessary to include it when displaying the start
and next run dates.

long_date and datetime only differ in datetime not displaying the
timezone info.
@bjoernricks bjoernricks requested a review from a team June 11, 2018 12:58
@codecov
Copy link

codecov bot commented Jun 11, 2018

Codecov Report

Merging #720 into master will decrease coverage by <.01%.
The diff coverage is 2%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #720      +/-   ##
=========================================
- Coverage    5.62%   5.61%   -0.01%     
=========================================
  Files         782     782              
  Lines       25238   25304      +66     
  Branches     5655    5687      +32     
=========================================
+ Hits         1419    1421       +2     
- Misses      21410   21459      +49     
- Partials     2409    2424      +15
Impacted Files Coverage Δ
ng/src/gmp/locale/date.js 10.71% <ø> (ø) ⬆️
ng/src/web/pages/schedules/row.js 0% <0%> (ø) ⬆️
ng/src/web/pages/schedules/render.js 0% <0%> (ø) ⬆️
ng/src/web/pages/schedules/details.js 0% <0%> (ø) ⬆️
ng/src/gmp/models/schedule.js 4.54% <5%> (+4.54%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c877c21...757c8ab. Read the comment docs.

@swaterkamp swaterkamp merged commit 6d252d1 into greenbone:master Jun 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants