0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/services
Simon Backx a30e42404b
Added getLazyRelation model helper method (#14943)
closes https://github.com/TryGhost/Team/issues/1626

- getLazyRelation is a safer shorthand for `model.related('relationName').fetch()`
- prevents doing a `fetch` operation on a relation that is already loaded, which can cause issues when `formatOnWrite` has a custom implementation
- uses the already loaded relation if it exists, or loads the relation
- doesn't reload if already loaded
- reload is forceable using the forceRefresh option
2022-05-31 13:21:53 +02:00
..
adapter-manager
api-version-compatibility Renamed settings index.js to settings-service.js 2022-05-10 20:55:31 +01:00
auth Swapped setup to use tiers API endpoint 2022-05-12 19:48:27 +01:00
bulk-email Added getLazyRelation model helper method (#14943) 2022-05-31 13:21:53 +02:00
email-analytics 🐛 Fixed email analytics crashing when processing unsubscribe/complaint events (#14883) 2022-05-24 12:38:42 +01:00
frontend-data-service Added frontend key to ghost_head for portal (#14782) 2022-05-11 17:34:31 +01:00
integrations
invitations
invites Added inviting user's email address as the reply-to address for staff invites 2022-05-27 13:05:29 +01:00
jobs
mail Extracted email-content-generator into a package 2022-05-04 17:28:09 +08:00
mega Added getLazyRelation model helper method (#14943) 2022-05-31 13:21:53 +02:00
members Removed GA feature flags (#14915) 2022-05-26 09:54:30 +02:00
newsletters Fixed error in newsletter editing limit checks (#14817) 2022-05-13 10:15:35 +02:00
notifications
offers
permissions
posts Renamed newsletter_id and email_recipient_filter options (#14798) 2022-05-16 10:18:04 +02:00
public-config Removed oauth experiment 2022-05-16 17:37:13 +01:00
redirects
route-settings Removed sync method from route settings loader 2022-04-28 15:37:09 +01:00
settings Updated settings API to return all settings in edit endpoint (#14889) 2022-05-24 16:42:15 +02:00
stats
stripe
themes Switched gscan to validate against v5 set of rules 2022-05-02 20:56:25 +08:00
url Fixed comment 2022-05-17 17:21:38 +08:00
webhooks Fixed typo 2022-05-26 10:59:29 +08:00
custom-theme-settings.js
limits.js Fixed incorrect usage of limit config causing Ghost not to boot 2022-05-10 15:47:45 -04:00
nft-oembed.js
oembed.js
slack.js
twitter-embed.js
users.js Renamed destroyByAuthor to reassignByAuthor 2022-04-28 15:37:13 +01:00
xmlrpc.js