1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 09:48:47 +02:00
phorge-phorge/src/applications/people
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
..
application Update tasks/commits, remove diffs from Profile 2017-03-06 10:13:51 -08:00
cache Add Badges to UserCache 2017-03-17 10:38:17 -07:00
capability People - refine permissions on creating new users 2015-02-05 16:47:09 -08:00
conduit Mark "v3" API methods as stable; mark obsoleted methods as "Frozen" 2017-01-09 07:16:27 -08:00
config Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
controller Fix 4 typos in code 2017-04-07 04:09:56 -07:00
customfield Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
editor Use new modular temporary auth token constants in one-time login and password reset flows 2016-03-16 09:33:24 -07:00
engine Update tasks/commits, remove diffs from Profile 2017-03-06 10:13:51 -08:00
engineextension Update people hovercard UI 2017-02-21 14:41:10 -08:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
guidance Add a bunch of Phacility-specific code to the upstream, thinly veiled as generic code 2016-11-15 09:11:22 -08:00
icon Add additional icons for User Profiles 2016-01-31 20:09:06 +00:00
lipsum Make bin/lipsum generate hanldle generator keys and arguments more clearly 2017-02-27 09:09:28 -08:00
management Auto-generate profile images for sad psyducks 2017-03-05 08:25:02 -08:00
markup Make the new "Unverified Email" behavior more clear to other users 2017-02-17 10:28:44 -08:00
menuitem Update tasks/commits, remove diffs from Profile 2017-03-06 10:13:51 -08:00
phid Make the new "Unverified Email" behavior more clear to other users 2017-02-17 10:28:44 -08:00
policyrule Move some files around 2015-11-17 06:26:13 +11:00
query Fix two issues with user Calendar event availability cache display 2017-04-10 08:47:27 -07:00
search Convert all "DocumentIndexers" into "FulltextEngines" 2015-12-21 17:25:23 -08:00
searchfield Add basic typechecking support to Conduit 2015-12-14 04:21:39 -08:00
storage Fix two issues with user Calendar event availability cache display 2017-04-10 08:47:27 -07:00
typeahead Separate sever-side typeahead queries into "prefix" and "content" phases 2016-11-10 08:54:59 -08:00
view Fix project hovercard tag alignment 2017-03-11 09:41:39 -08:00