0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core
Naz 85ee721157 Removed method complexity in settings API controller
refs https://github.com/TryGhost/Team/issues/694
refs https://linear.app/tryghost/issue/CORE-13

- The controller code is not meant to contain complex business logic.
Reduced complexity in the settings.read method
- Broke the usual "xxxService" naming pattern here in favor of "xxxBREADService" pattern that members package has been experimenting with recently (0469707f2e/packages/members-api/lib/services/member-bread.js (L25)). This naming choice was made because we already had a "SettingsService" and it would've become quite convoluted distinguishing the naming or doing renames for the sake of having a new temporary location for read/edit/add methods
- Also duplicated `hideValueIfSecret` method code with an intention to move it fully into the BREAD service once the refactoring is completed
2021-09-21 23:05:57 +12:00
..
client@2a06f299a8 Updated Admin to v4.15.0 2021-09-17 16:58:45 +01:00
frontend Added new ghost analytics meta tag behind activity alpha flag 2021-09-20 13:55:37 +05:30
server Removed method complexity in settings API controller 2021-09-21 23:05:57 +12:00
shared Added membersActivity alpha labs flag 2021-09-16 11:53:27 +05:30
app.js
boot.js Added email unfreeze for verified email config 2021-07-29 20:30:30 +12:00
bridge.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00