Ghost/test/unit/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
..
apps Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
auth Refactored session service (#11701) 2020-04-02 16:27:31 +02:00
mail Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
permissions Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
routing Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
rss Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
settings Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
themes Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
url Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
labs_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
slack_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
xmlrpc_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00