0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/services
Fabien O'Carroll 23154f0739
Refactored session service (#11701)
* Refactored SessionStore to use @tryghost/errors

no-issue

* Updated tests to test exposed API

no-issue

This will make refactoring easier, as we only have the "public" contract to maintain

* Refactored session functionality to SessionService

no-issue

This splits the session logic away from the HTTP responding logic,
which will allows us to decouple session creation/modification from the
API. Eventually this can be used to create sessions based on magiclink
style tokens.

* Instantiated and exported the new SessionService

no-issue

* Refactored session middleware to take session service

no-issue

This removes duplication of code and makes the middleware more explicit
that it's just a wrapper around the session service.

* Updated to use external @tryghost/session-service

no-issue
2020-04-02 16:27:31 +02:00
..
auth Refactored session service (#11701) 2020-04-02 16:27:31 +02:00
bulk-email Captured bulk-email errors in Sentry 2020-03-04 13:44:23 +00:00
invitations Refactored authentication controller v0.1 (#10893) 2019-07-17 12:28:16 +02:00
mail Allowed localhost email for Ghost Mailer "from" address (#11476) 2020-01-13 12:58:53 +05:30
mega 🐛 Fixed missing publication icon in newsletter emails 2020-03-12 09:52:54 +05:30
members Added minified members.js file handling 2020-02-26 14:08:10 +08:00
permissions Remove External Apps 2020-03-20 10:40:22 +00:00
settings Added new brand blog setting (#11408) 2019-12-17 16:15:31 +05:30
webhooks Added member.edited webhook 2019-10-31 14:34:50 +00:00
labs.js Updated syntax in labs service 2019-11-06 14:53:53 +07:00
slack.js Added missing semicolon 2020-03-26 16:45:33 +00:00
xmlrpc.js 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00