1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 17:22:42 +01:00
phorge-phorge/src/infrastructure
epriestley 0fa411083f Show an "approval queue" item on the home page for admins, and sort out menu item visibility
Summary:
  - If you're an administrator and there are users waiting for approval, show a count on the home page.
  - Sort out the `isUserActivated()` access check.
  - Hide all the menu widgets except "Logout" for disabled and unapproved users.
  - Add a "Log In" item.
  - Add a bunch of unit tests.

Test Plan: Ran unit tests, clicked around as unapproved/approved/logged-in/logged-out users.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, chad

Differential Revision: https://secure.phabricator.com/D7574
2013-11-13 11:24:38 -08:00
..
__tests__ In unit test environments, install all applications 2013-05-16 12:25:26 -07:00
celerity Replace some hsprintf() with phutil_tag() and phutil_tag_div() Depends on D7545. 2013-11-09 10:48:19 -08:00
customfield PHUIPropertyListView 2013-10-11 07:53:56 -07:00
daemon Remove PhabricatorRepository::loadAllByPHIDOrCallsign() 2013-09-26 12:36:24 -07:00
diff Replace some hsprintf() with phutil_tag() and phutil_tag_div() Depends on D7545. 2013-11-09 10:48:19 -08:00
edges Allow projects to review revisions 2013-10-05 14:10:46 -07:00
env Fix controller-level access rules 2013-10-03 19:05:47 -07:00
events Make event-triggered actions more aware of application access 2013-10-21 17:00:50 -07:00
internationalization Show an "approval queue" item on the home page for admins, and sort out menu item visibility 2013-11-13 11:24:38 -08:00
javelin Decentralize phtize 2013-11-04 11:38:28 -08:00
lint Remove deprecated javelin_render_tag() and phabricator_render_form() 2013-07-18 13:30:25 -07:00
markup Replace some hsprintf() with phutil_tag() and phutil_tag_div() Depends on D7545. 2013-11-09 10:48:19 -08:00
query Lock policy queries to their applications 2013-10-21 17:20:27 -07:00
ssh Support serving SVN repositories over SSH 2013-11-11 12:19:06 -08:00
storage Improve handling of email verification and "activated" accounts 2013-11-12 14:37:04 -08:00
testing Improve handling of email verification and "activated" accounts 2013-11-12 14:37:04 -08:00
time Consolidate some datetime code and add unit tests 2013-06-03 12:58:11 -07:00
util Implementation of VCS passwords against user. 2013-11-01 08:34:11 -07:00
PhabricatorAccessLog.php Fail quietly when failing to write access log 2013-05-09 16:08:26 -07:00
PhabricatorEditor.php Use ManiphestTaskQuery in nearly all interfaces 2013-09-25 13:44:14 -07:00