0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00
ghost/core/server
Rishabh Garg e91beb72e8
Replaced offer serializer with mapper (#15028)
closes https://github.com/TryGhost/Team/issues/1623

The offers API endpoint had it's own custom serializer pattern, which didn't fit well with how the API is meant to work.

- refactored the offer data format returned by internal api controller to match other controllers
- removed custom serializer for offers, instead adds a mapper to follow consistent pattern for all apis
- adds explicit allowlist for offers content API data
2022-07-14 21:40:33 +05:30
..
adapters 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00
api Replaced offer serializer with mapper (#15028) 2022-07-14 21:40:33 +05:30
data Added comment CRUD+Moderate permissions 2022-07-08 15:46:11 +02:00
lib 🎨 Reduced favicon requirements and added image formatting (#14918) 2022-05-27 16:36:53 +02:00
models Added support for blockquote in comments 2022-07-12 10:24:02 +02:00
services 🐛 Fixed missing authors in webhook payload 2022-07-13 23:05:27 +12:00
views Updated unsubscribe page 2022-03-10 10:39:20 +00:00
web Added access-control-max-age to content API preflight requests (#15026) 2022-07-14 09:09:53 +02:00
analytics-events.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
ghost-server.js Removed config and bluebird from ghost-server 2022-04-28 15:37:10 +01:00
notify.js Removed unused import 2021-12-06 08:17:07 +00:00
overrides.js Set global Luxon timezone override to UTC 2021-10-20 09:19:29 +02:00
run-update-check.js Renamed settings index.js to settings-service.js 2022-05-10 20:55:31 +01:00
update-check.js 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00