1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-26 15:30:58 +01:00
phorge-phorge/src/applications/calendar
epriestley 7711ea9855 Move handle fetching into tokenizer Datasources
Summary:
Ref T7689. This serves two goals:

  - I want to remove Controller->loadViewerHandles(). A nontrivial number of these callsites are loading handles to pass to tokenizers. Since tokenizers need to take strings eventually anyway, we can do less work by letting them take PHIDs now.
  - A few changes out, I want tokenizers to accept parameterized tokens (like `viewer()`, `members(differential)`, etc.), so the `setValues()` signature needs to change eventually anyway.

I made this work and converted a handful of callsites as an example; upcoming changes will convert more.

Test Plan:
- Viewed Almanac binding editor; used "Interface".
- Edited Almanac services; used "Projects".
- Edited Almanac devices; used "Projects".
- Searched for commits; used "Auditors"; "Commit Authors", "Repositories".
- Searched for calendar events; used "Created By"; used "Invited".

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7689

Differential Revision: https://secure.phabricator.com/D12218
2015-03-31 14:10:32 -07:00
..
__tests__ Minor formatting changes 2014-10-08 08:39:49 +11:00
application Remove getIconName from all applications 2015-01-30 12:11:21 -08:00
constants Remove @group annotations 2014-07-10 08:12:48 +10:00
controller Calendar - error better with invalid time values 2015-03-26 13:02:49 -07:00
exception Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
phid Rename PHIDType classes 2014-07-24 08:05:46 +10:00
query Move handle fetching into tokenizer Datasources 2015-03-31 14:10:32 -07:00
storage Fix visiblity of LiskDAO::getConfiguration() 2015-01-14 06:54:13 +11:00
util Minor formatting changes 2014-10-08 08:39:49 +11:00
view Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00