Ghost/core/server/api/v0.1
Naz Gargol 46706646e3
Refactored authentication controller v0.1 (#10893)
refs #10060

- Modules extractions done here are meant to make upcoming migration of authentication controller to v2 more manageable and reduce code repetition
- There were couple modules extracted for different areas that controller touches: passwordrest, accept (for invitation), setup 
- The aim was to keep changes to the minimum while making small readability improvements to new functions through async/await syntax
- The biggest barrier to make more encapsulated functions was the fact that we mutate options parameter on multiple levels in the controller. e.g mutations of options.data during validation on the password reset ties it up to the implementation of doReset function
2019-07-17 12:28:16 +02:00
..
decorators Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
authentication.js Refactored authentication controller v0.1 (#10893) 2019-07-17 12:28:16 +02:00
clients.js Moved api controllers into api/v0.1 (#9918) 2018-09-27 16:06:57 +02:00
configuration.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
db.js Moved api controllers into api/v0.1 (#9918) 2018-09-27 16:06:57 +02:00
index.js Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
invites.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
mail.js Updated docs links to best equivalents (#10386) 2019-01-17 06:57:37 +00:00
notifications.js Moved api controllers into api/v0.1 (#9918) 2018-09-27 16:06:57 +02:00
oembed.js Add url as context to oembed unknownProvider error 2019-06-13 12:57:02 +01:00
posts.js Bumped knex & bookshelf dependencies (#10404) 2019-01-21 21:53:11 +01:00
redirects.js Extracted frontend code from redirects API controllers (#10798) 2019-06-21 16:50:16 +02:00
roles.js Moved api controllers into api/v0.1 (#9918) 2018-09-27 16:06:57 +02:00
schedules.js Moved api controllers into api/v0.1 (#9918) 2018-09-27 16:06:57 +02:00
settings.js Moved settings dynamicRouting to routing.settings 2019-06-21 16:34:17 +02:00
slack.js Moved api controllers into api/v0.1 (#9918) 2018-09-27 16:06:57 +02:00
slugs.js Moved api controllers into api/v0.1 (#9918) 2018-09-27 16:06:57 +02:00
subscribers.js Moved api controllers into api/v0.1 (#9918) 2018-09-27 16:06:57 +02:00
tags.js 🐛 Fixed 'url' attribute miscalculation when when requested as the only part of fields filter (#9969) 2018-10-15 14:47:56 +02:00
themes.js 🐛 Fixed theme upload error when overriding existing 2019-07-11 15:34:15 +05:30
upload.js Moved api controllers into api/v0.1 (#9918) 2018-09-27 16:06:57 +02:00
users.js Added some deprecation notes for x_by fields 2019-01-03 17:14:52 +01:00
utils.js Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
webhooks.js Added new site.changed event and webhook trigger service (#10019) 2018-10-19 00:01:30 +05:30