0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-25 02:31:59 -05:00
ghost/test/unit/server/services
Naz 98c27b5555 Added multiple adapters capability to adapter manager
refs https://linear.app/tryghost/issue/CORE-1/multiple-adapters-per-type

- There's a need to support multiple adapter variations per given adapter type (storage, sso, etc.)
- With the introduced changes we can specify a version of an adapter that should be fetched based on `:feature` postfix. For example:

`adapterManager.getAdapter('storage')` -  would return the default adapter listed under "active" configuration
`adapterManager.getAdapter('storage:videos') - would return an adapter configured for videos *feature*

- Here's an example configuration for a custom video storage:
```
"storage": {
    "active": "LocalFileStorage",
    "videos": "ghost-storage-custom-video",
    "ghost-storage-custom-video": {
        "custom": "configHere"
    }
}
```
2021-10-21 20:22:45 +13:00
..
adapter-manager Added multiple adapters capability to adapter manager 2021-10-21 20:22:45 +13:00
auth Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
mail Removed remaining usage of i18n & translation file 2021-10-15 11:39:07 +01:00
mega Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
members Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
notifications Simplified Notification's service constructor 2021-10-11 16:04:48 +02:00
permissions Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
posts Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
redirects Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
settings Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
stripe Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
themes Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
labs.test.js Promoted email-only feature to general availability 2021-10-07 12:08:56 +02:00
slack.test.js Moved URL service to backend 2021-10-19 07:29:09 +13:00
xmlrpc.test.js Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00