1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-11 15:21:03 +01:00
phorge-phorge/webroot/rsrc/css/application
epriestley 698ec68327 General Herald refactoring pass
Summary:
**Who can delete global rules?**: I discussed this with @jungejason. The current behavior is that the rule author or any administrator can delete a global rule, but this
isn't consistent with who can edit a rule (anyone) and doesn't really make much sense (it's an artifact of the global/personal split). I proposed that anyone can delete a
rule but we don't actually delete them, and log the deletion. However, when it came time to actually write the code for this I backed off a bit and continued actually
deleting the rules -- I think this does a reasonable job of balancing accountability with complexity. So the new impelmentation is:

  - Personal rules can be deleted only by their owners.
  - Global rules can be deleted by any user.
  - All deletes are logged.
  - Logs are more detailed.
  - All logged actions can be viewed in aggregate.

**Minor Cleanup**

  - Merged `HomeController` and `AllController`.
  - Moved most queries to Query classes.
  - Use AphrontFormSelectControl::renderSelectTag() where appropriate (this is a fairly recent addition).
  - Use an AphrontErrorView to render the dry run notice (this didn't exist when I ported).
  - Reenable some transaction code (this works again now).
  - Removed the ability for admins to change rule authors (this was a little buggy, messy, and doesn't make tons of sense after the personal/global rule split).
  - Rules which depend on other rules now display the right options (all global rules, all your personal rules for personal rules).
  - Fix a bug in AphrontTableView where the "no data" cell would be rendered too wide if some columns are not visible.
  - Allow selectFilter() in AphrontNavFilterView to be called without a 'default' argument.

Test Plan:
  - Browsed, created, edited, deleted personal and gules.
  - Verified generated logs.
  - Did some dry runs.
  - Verified transcript list and transcript details.
  - Created/edited all/any rules; created/edited once/every time rules.
  - Filtered admin views by users.

Reviewers: jungejason, btrahan

Reviewed By: btrahan

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D2040
2012-03-30 10:49:55 -07:00
..
base Minor, further derps. 2012-03-26 09:43:17 -07:00
chatlog Add a basic chatlog 2012-02-17 10:21:38 -08:00
contentsource Use text, not icons, to indicate content sources 2011-09-01 10:07:16 -07:00
countdown Countdown tweaks 2011-06-13 18:53:43 -07:00
diff Separate the inline comment summary element into a separate view 2012-03-19 19:45:16 -07:00
differential Improve inline comment previews 2012-03-28 10:11:41 -07:00
diffusion Improve Diffusion behavior for externals 2012-03-21 14:01:20 -07:00
directory Show commits in /audit/ 2012-02-28 21:10:39 -08:00
feed Add a "feed" filter to the home page; align things; allow browsing older stories 2012-02-15 17:48:14 -08:00
files Streamline Files interfaces 2011-07-29 17:56:49 -07:00
flag Add "Flags" to allow users to collect the things they love 2012-03-27 16:22:40 -07:00
herald General Herald refactoring pass 2012-03-30 10:49:55 -07:00
maniphest Maniphest CSS changes 2012-03-05 13:51:35 -08:00
objectselector Increase the click target area for the object selector 2012-03-19 19:20:49 -07:00
owners Some owners read workflows. 2011-04-03 19:20:47 -07:00
phriction Phriction - kill tabs 2011-12-15 14:35:38 -08:00
profile Add a Join / Leave button to Projects 2012-01-25 11:51:20 -08:00
projects Allow administrative editing of project resources 2011-07-21 16:46:28 -07:00
search Improve search result listing 2011-06-29 13:25:38 -07:00
slowvote Render slowvote respondents as a facepile instead of smushed-together names 2011-07-09 10:55:09 -07:00
uiexample AphrontPagerView and UIExamples. 2011-03-31 17:06:33 -07:00