oncall-engine/engine/apps/schedules
Kevin d7ce341b34
Minor Fix to Format of REFRESH-INTERVAL in ical_utils.py (#3732)
# What this PR does
Minor formatting change to the suggested REFRESH-INTERVAL of iCal
exports. DURATION units less than 1d must be prefixed by "T". Fixes
issue with Atlassian Confluence failing to subscribe to iCal URLs from
Grafana OnCall

RFC 2445 explains this a bit more clearly in section 4.3.6 on DURATION. 
https://www.ietf.org/rfc/rfc2445.txt

Obviously I wish Atlassian could just be a little more forgiving in
their digestion of the iCal data since clearly Gmail and others have no
problem with it, but I doubt I'm going to get much traction with them
(we do have a case open though).

## Which issue(s) this PR fixes
I haven't logged one yet but I can if you want. Again, my main issue was
with Atlassian Confluence. Kept throwing errors of "The uploaded data
does not seem to be iCalendar content" as long as the REFRESH-INTERVAL
DURATION was less than 1 day and lacking the "T" character.

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required)
- [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2024-01-23 11:14:59 -03:00
..
ical_events Upgrade to django 4.2.6 and other deps updates (#3176) 2023-10-27 18:45:00 +00:00
migrations add missing db migrations + add additional backend db migration check to CI (#3234) 2023-10-31 16:00:55 -04:00
models Revert "upgrade to Python 3.12 (#3456)" and "bump uwsgi version to latest #3466" (#3483) 2023-12-01 09:56:26 -05:00
tasks Update schedule on-call cache on scheduled refresh tasks (#3699) 2024-01-17 16:30:11 +00:00
tests Update schedule on-call cache on scheduled refresh tasks (#3699) 2024-01-17 16:30:11 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
constants.py Update schedule on-call cache on scheduled refresh tasks (#3699) 2024-01-17 16:30:11 +00:00
exceptions.py shift swap requests model + CRUD endpoints (#2597) 2023-07-21 19:35:19 +00:00
ical_utils.py Minor Fix to Format of REFRESH-INTERVAL in ical_utils.py (#3732) 2024-01-23 11:14:59 -03:00