0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/services
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
..
apps Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
auth Refactored authentication controller v0.1 (#10893) 2019-07-17 12:28:16 +02:00
invitations Refactored authentication controller v0.1 (#10893) 2019-07-17 12:28:16 +02:00
mail Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
members Moved members static pages to members api URL (#10887) 2019-07-09 19:02:44 +08:00
permissions Added v2 actions endpoint 2019-02-06 21:36:09 +01:00
settings Extracted settings service part manipulating routes.yaml (#10800) 2019-06-25 18:33:56 +02:00
webhooks Update dependency got to v9 (#10861) 2019-07-04 10:36:51 +02:00
labs.js 🐛 Fixed error message when get helper doesn't have API access (#10892) 2019-07-15 14:18:58 +08:00
slack.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
xmlrpc.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00