1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 17:52:43 +01:00
phorge-phorge/src/applications
epriestley 6b1c27eb0e Make "public" pastes meaningfully visible to logged-out users
Summary:
  - Introduce `shouldAllowPublic()`, indicating that logged-out users are OK in a controller if the install is configured to permit public policies.
  - Make Paste views and lists allow public users.
  - Make UI do sensible things with respect to disabling links, etc.
  - Improve behavior of "you need to login" with respect to policy exceptions and Ajax requests.

Test Plan: Looked at "public" paste, saw all unavailable UI disabled, clicked it, got appropraite prompts.

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran

Maniphest Tasks: T603

Differential Revision: https://secure.phabricator.com/D3502
2012-09-30 19:44:09 -07:00
..
audit Set viewer for all handles loaded in controllers 2012-09-04 23:14:26 -07:00
auth Make "public" pastes meaningfully visible to logged-out users 2012-09-30 19:44:09 -07:00
base Make "public" pastes meaningfully visible to logged-out users 2012-09-30 19:44:09 -07:00
cache/storage Add a generic multistep Markup cache 2012-07-09 15:20:56 -07:00
calendar Set viewer for all handles loaded in controllers 2012-09-04 23:14:26 -07:00
chatlog Allow projects to be set as policies 2012-09-13 10:15:08 -07:00
conduit Fix unit test updates so a diff update has a predictable unit test status 2012-09-24 17:02:03 -07:00
countdown Set viewer for all handles loaded in controllers 2012-09-04 23:14:26 -07:00
daemon Fix a tab in the daemon console 2012-08-15 15:55:26 -07:00
differential Open editor on first modified line 2012-09-24 11:07:59 -07:00
diffusion Make a PhabricatorRemarkupControl to de-duplicate code usage around adding a Remarkup reference to a TextAreaControl. 2012-09-19 12:27:28 -07:00
directory/controller Set viewer for all handles loaded in controllers 2012-09-04 23:14:26 -07:00
diviner/application Use sprites for all the menu icons 2012-08-14 14:20:01 -07:00
draft/storage Remember action in Differential comment draft 2012-09-21 13:05:09 -07:00
drydock Set viewer for all handles loaded in controllers 2012-09-04 23:14:26 -07:00
fact Use sprites for (nearly) all application icons 2012-08-14 14:23:55 -07:00
feed Allow projects to be set as policies 2012-09-13 10:15:08 -07:00
files Check filename before reading file from cache 2012-09-21 11:23:22 -07:00
flag Allow pastes to be flagged 2012-08-24 13:19:47 -07:00
harbormaster/storage Add a generic object for unit tests 2012-07-09 10:39:14 -07:00
help/controller Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
herald Set viewer for all handles loaded in controllers 2012-09-04 23:14:26 -07:00
mailinglists Use sprites for (nearly) all application icons 2012-08-14 14:23:55 -07:00
maniphest Make a PhabricatorRemarkupControl to de-duplicate code usage around adding a Remarkup reference to a TextAreaControl. 2012-09-19 12:27:28 -07:00
meta Fix various app nav issues 2012-08-20 14:13:15 -07:00
metamta Set viewer for all handles loaded in controllers 2012-09-04 23:14:26 -07:00
notification Rename "IDPaged" to "CursorPaged", "executeWithPager" to "executeWith[Cursor|Offset]Pager" 2012-08-07 11:54:06 -07:00
oauthserver Remove all code referencing old tab navigation 2012-08-13 15:28:41 -07:00
owners Fix whitespace in Package e-mail 2012-09-27 15:07:19 -07:00
paste Make "public" pastes meaningfully visible to logged-out users 2012-09-30 19:44:09 -07:00
people Set viewer for all handles loaded in controllers 2012-09-04 23:14:26 -07:00
phame Phame - allow blogs to specify custom URIs 2012-09-30 17:10:27 -07:00
phid Allow projects to be set as policies 2012-09-13 10:15:08 -07:00
phortune Use pht() 2012-06-14 16:25:20 -07:00
phriction Make a PhabricatorRemarkupControl to de-duplicate code usage around adding a Remarkup reference to a TextAreaControl. 2012-09-19 12:27:28 -07:00
policy Fix fatal with some pastes 2012-09-27 17:16:01 -07:00
ponder Make a PhabricatorRemarkupControl to de-duplicate code usage around adding a Remarkup reference to a TextAreaControl. 2012-09-19 12:27:28 -07:00
project Allow projects to be set as policies 2012-09-13 10:15:08 -07:00
repository Merge pull request #207 from vvavrychuk/daemon 2012-09-27 12:53:54 -07:00
search Sort elasticsearch results by date created 2012-09-20 10:44:35 -07:00
settings Unuse short ternary operator 2012-09-17 13:45:49 -07:00
slowvote Set viewer for all handles loaded in controllers 2012-09-04 23:14:26 -07:00
status Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
typeahead Set viewer for all handles loaded in controllers 2012-09-04 23:14:26 -07:00
uiexample Modernize UIExamples 2012-09-11 09:56:40 -07:00
xhpastview Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
xhprof Do sampled profiling of requests 2012-09-17 10:53:45 -07:00