Ghost/core/server
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
..
adapters Swapped to American English spellings 2021-07-27 12:15:19 +04:00
api Removed method complexity in settings API controller 2021-09-21 23:05:57 +12:00
data fixup! Refactored migration to run faster 2021-09-17 16:33:14 +01:00
lib Blocked 0.* IP addresses when making oembed requests 2021-09-14 11:35:14 +01:00
models Added temporary database table for analytic events (#13312) 2021-09-17 11:15:21 +02:00
public Added /email/ route to robots.txt 2021-08-10 13:45:53 +04:00
services Removed method complexity in settings API controller 2021-09-21 23:05:57 +12:00
views Added new, simpler, linear boot process 2021-02-08 11:56:44 +00:00
web Added Members bulk actions endpoint 2021-08-23 16:38:21 +02:00
analytics-events.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
ghost-server.js Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
notify.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
overrides.js Moved sqlite3 override rules to db connection lib 2021-02-05 11:51:56 +00:00
run-update-check.js Added protective code to update-check job 2021-06-29 14:02:16 +04:00
update-check.js Fixed critical alerts sending to admin users 2021-07-07 11:29:18 +04:00