0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server/services
Hannah Wolfe 6dc3f1bf56
Removed versioning from api-key/admin auth
refs: https://github.com/TryGhost/Toolbox/issues/229

- our api-key audience handling code is still relying on internal api version config
- the regex used is also buggy (it expects 3 parts, which isn't true without versions) and doesn't always match, in which case it can cause the tests to hang
- we already had some very similar code in the version-rewrite middleware which is also validates exact values for version and api type
- moved this code into a util inside api-version-compatibility-service
- using this code, all the tests still pass as is, but when I start to adjust them to cover more cases, none hang (test changes coming in a separate commit)
2022-05-06 08:09:54 +01:00
..
adapter-manager
api-version-compatibility Removed versioning from api-key/admin auth 2022-05-06 08:09:54 +01:00
auth Removed versioning from api-key/admin auth 2022-05-06 08:09:54 +01:00
bulk-email Added newsletter info to email unsubscribe url (#14693) 2022-05-05 11:00:24 +05:30
email-analytics Prevent an event-processing error if there is no timezone setting 2022-03-02 13:58:26 +01:00
integrations
invitations
invites
jobs
mail Extracted email-content-generator into a package 2022-05-04 17:28:09 +08:00
mega Added newsletter info to email unsubscribe url (#14693) 2022-05-05 11:00:24 +05:30
members Update dependency @tryghost/url-utils to v3 (#14705) 2022-05-05 16:10:18 +01:00
newsletters Fixed newsletter includes when adding or editing (#14696) 2022-05-05 11:20:15 +02:00
notifications
offers Fixed same redirectManager used in offer service between tests (#14340) 2022-03-24 10:18:52 +01:00
permissions
posts 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00
public-config
redirects
route-settings Removed sync method from route settings loader 2022-04-28 15:37:09 +01:00
settings Added settingsCache handling to e2e-framework 2022-02-11 16:24:24 +00:00
stats Replaced stats service with @tryghost/stats-service (#14527) 2022-04-21 14:57:07 +01:00
stripe Cleaned up output errors during tests 2022-04-05 18:17:47 +08:00
themes Switched gscan to validate against v5 set of rules 2022-05-02 20:56:25 +08:00
url Removed versioned confg from URL Service 2022-04-28 15:35:28 +01:00
webhooks Fixed undefined error when serializing webhooks 2022-05-03 11:40:59 +01:00
custom-theme-settings.js
limits.js
nft-oembed.js
oembed.js Added missing message string 2022-03-21 09:07:54 +00:00
slack.js Replaced schema.isPost in slack service /w custom fn 2022-04-05 14:24:42 +01:00
twitter-embed.js
users.js Renamed destroyByAuthor to reassignByAuthor 2022-04-28 15:37:13 +01:00
xmlrpc.js