1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-01 03:02:43 +01:00
phorge-phorge/src/applications/calendar/query
epriestley d3fc1800f8 Migrate Calendar away from stored-epoch fields
Summary:
Ref T10747. This deprecates "dateFrom", "dateTo", "allDayDateFrom", "allDayDateTo", and "recurrenceEndDate".

They are replaced with "utc*Epoch" fields (for querying) and CalendarDateTime objects (for start, end, until). These objects can represent the full range of dates and times expressible in ICS format, allowing us to import a wider range of ICS events.

Test Plan:
Ran migrations, viewed/edited Calendar, didn't catch anything catastrophcially broken.

This likely needs some followups, I'll keep it local for a bit until I'm confident I didn't break anything too catastrophically. I'm retaining the old data for now so we can likely fix things if it turns out there is some sort of issue.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10747

Differential Revision: https://secure.phabricator.com/D16664
2016-10-06 03:55:59 -07:00
..
PhabricatorCalendarEventInviteeQuery.php Fixing strictly null checks in CalendarInviteeQuery 2015-04-29 13:56:26 -07:00
PhabricatorCalendarEventQuery.php Migrate Calendar away from stored-epoch fields 2016-10-06 03:55:59 -07:00
PhabricatorCalendarEventSearchEngine.php Remove "viewerDateFrom" / "viewerDateTo" in favor of CalendarDateTime methods 2016-10-06 03:52:30 -07:00
PhabricatorCalendarEventTransactionQuery.php T5464, ApplicationTransactions for calendar events 2015-04-28 06:26:48 -07:00