1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 18:28:47 +02:00
phorge-phorge/src/applications/calendar
Bob Trahan b1e44239ba Fix calendar display on profile.
Summary:
...maybe anyway because I can't reproduce it live. This diff does two things that should help with bugginess though - uses $viewer rather than $user (...$user is who we are looking at...) *AND* upgrades a Conpherence util class to Calendar, and said util class has unit tests and came about from fixing a similar bug in Conpherence back in the day.

Wrote some comments in the util class because I think it has a tendency to trip people up. These comments are not partciularly good however.

Test Plan: viewed user profile - looked good. viewed conpherence - looked good. ran unit tests - they passed. (note I would also like to push this live and verify Chad's profile is fixed on secure.phabricator.com)

Reviewers: epriestley, chad

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Differential Revision: https://secure.phabricator.com/D8341
2014-02-25 13:43:31 -08:00
..
__tests__ Fix calendar display on profile. 2014-02-25 13:43:31 -08:00
application Give Calendar events a more modern view/detail page 2014-02-06 10:10:27 -08:00
constants Calendar upgrades 2014-02-24 10:04:23 -08:00
controller Calendar upgrades 2014-02-24 10:04:23 -08:00
exception Calendar upgrades 2014-02-24 10:04:23 -08:00
phid Assign PHIDs to calendar events 2014-02-06 10:10:43 -08:00
query Assign PHIDs to calendar events 2014-02-06 10:10:43 -08:00
storage Calendar upgrades 2014-02-24 10:04:23 -08:00
util Fix calendar display on profile. 2014-02-25 13:43:31 -08:00
view Add allday, multiday logic to AphrontEventView 2014-02-24 20:21:28 -08:00