1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 09:42:41 +01:00
phorge-phorge/src/applications/calendar/storage
epriestley ab06a9681c Fix two issues with user Calendar event availability cache display
Summary:
Ref T11816. Two minor issues:

  - We used `$event`, not `$next_event`, as the event providing the PHID for "Busy at <event name>". This rendered "Busy at <most future event>" on the profile instead of "Busy at <next upcoming event".
  - The TTL computation used the event start, not the event end, so we could end up rebuilding the cache too often for users busy at an event.

Test Plan:
  - Attended an event in the near future and one later on.
  - Saw profile now say "busy at <near future event>" correctly.
  - In DarkConsole "Services" tab, no longer saw unnecessary cache refills while attending an event.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11816

Differential Revision: https://secure.phabricator.com/D17643
2017-04-10 08:47:27 -07:00
..
PhabricatorCalendarDAO.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorCalendarEvent.php Fix two issues with user Calendar event availability cache display 2017-04-10 08:47:27 -07:00
PhabricatorCalendarEventInvitee.php Remove empty implementations of describeAutomaticCapabilities() 2016-11-09 15:24:22 -08:00
PhabricatorCalendarEventTransaction.php Convert Calendar to Modular Transactions 2016-07-13 07:46:33 -07:00
PhabricatorCalendarEventTransactionComment.php T5464, ApplicationTransactions for calendar events 2015-04-28 06:26:48 -07:00
PhabricatorCalendarExport.php Remove empty implementations of describeAutomaticCapabilities() 2016-11-09 15:24:22 -08:00
PhabricatorCalendarExportTransaction.php Rough in most of Calendar exports 2016-10-06 04:06:35 -07:00
PhabricatorCalendarExternalInvitee.php Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
PhabricatorCalendarImport.php Remove empty implementations of describeAutomaticCapabilities() 2016-11-09 15:24:22 -08:00
PhabricatorCalendarImportLog.php Remove empty implementations of describeAutomaticCapabilities() 2016-11-09 15:24:22 -08:00
PhabricatorCalendarImportTransaction.php Prepare for event imports in Calendar 2016-10-12 10:45:31 -07:00
PhabricatorCalendarNotification.php Add a skeleton for Calendar notifications 2016-11-01 10:41:15 -07:00
PhabricatorCalendarSchemaSpec.php Create Edge tables in phabricator_calendar db. 2015-04-27 16:35:55 -07:00