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
authentication.js Refactored authentication controller v0.1 (#10893) 2019-07-17 12:28:16 +02:00
clients.js
configuration.js
db.js
index.js Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
invites.js
mail.js
notifications.js
oembed.js
posts.js
redirects.js Extracted frontend code from redirects API controllers (#10798) 2019-06-21 16:50:16 +02:00
roles.js
schedules.js
settings.js Moved settings dynamicRouting to routing.settings 2019-06-21 16:34:17 +02:00
slack.js
slugs.js
subscribers.js
tags.js
themes.js 🐛 Fixed theme upload error when overriding existing 2019-07-11 15:34:15 +05:30
upload.js
users.js
utils.js Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
webhooks.js