1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-28 16:30:59 +01:00
phorge-phorge/src/applications/settings
epriestley d68b2cc0e4 Fix construction of default settings for users with no settings at all
Summary:
Ref T11098. Users with at least one setting set correctly fall back to the defaults, but users with no settings at all currently do not.

Make them fall back to global defaults properly.

Test Plan:
  - Set global defaults to some non-default setting.
  - Completely delete a user's settings.
  - `bin/cache purge --purge-all` or `--purge-user`.
  - View settings as the user.
    - Before change: showed hard-coded defaults instead of global defaults until you save anything.
    - After change: properly shows global defaults from the start.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11098

Differential Revision: https://secure.phabricator.com/D16112
2016-06-13 15:50:12 -07:00
..
action Add semi-generic rate limiting infrastructure 2014-04-03 11:22:38 -07:00
application Redirect older "/panel/" settings URIs to modern location 2016-06-05 13:41:23 -07:00
controller Redirect older "/panel/" settings URIs to modern location 2016-06-05 13:41:23 -07:00
editor Allow users to unset "Editor", tailor short error messages properly on settings forms 2016-06-05 14:03:02 -07:00
extension Begin modularizing main menu items 2016-01-04 06:57:09 -08:00
panel Fix exception when trying to save global setting mail tags 2016-06-05 13:57:20 -07:00
panelgroup Formalize and fully modularize settings panel groups 2016-06-04 14:39:11 -07:00
phid Make Settings modular and allow them to be EditEngine'd 2016-05-31 15:32:02 -07:00
query Allow administrators to configure global default settings 2016-06-05 13:15:06 -07:00
quickmenu Fully modularize the "Quick Actions" menu 2016-06-05 10:32:01 -07:00
setting Allow users to unset "Editor", tailor short error messages properly on settings forms 2016-06-05 14:03:02 -07:00
storage Fix construction of default settings for users with no settings at all 2016-06-13 15:50:12 -07:00