Ghost/test/unit/server/models
Hannah Wolfe 409dc3b534
Added frontend key to ghost_head for portal (#14782)
refs: https://github.com/TryGhost/Team/issues/1599
refs: f3d5d9cf6b

- this commit adds the concept of a frontend data service, intended for passing data to the frontend from the server in a clean way. This is the start of a new & improved pattern, to hopefully reduce coupling
- the newly added internal frontend key is then exposed through this pattern so that the frontend can make use of it
- the first use case is so that portal can use it to talk to the content API instead of having weird endpoints for portal
- this key will also be used by other internal scripts in future, it's public and therefore safe to expose, but it's meant for internal use only and therefore is not exposed in a generic way e.g. as a helper
2022-05-11 17:34:31 +01:00
..
base Added support for 'FOR UPDATE' lock (#14433) 2022-04-08 12:52:33 +01:00
api-key.test.js Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
custom-theme-setting.test.js Added image as an allowed custom theme setting type 2021-10-14 18:41:54 +01:00
integration.test.js Added frontend key to ghost_head for portal (#14782) 2022-05-11 17:34:31 +01:00
invite.test.js Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
member.test.js Added gravatar URL to config to make it configurable (#14490) 2022-05-09 12:44:04 +01:00
newsletter.test.js Updated newsletter sender name column as nullable (#14476) 2022-04-14 17:42:20 +05:30
permission.test.js Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
post.test.js Removed permissions handling of "author_id" 2022-05-09 20:34:06 +08:00
session.test.js Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
settings.test.js Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
single-use-token.test.js Updated SingleUseToken grace period to 10 minutes (#13926) 2022-01-03 17:55:53 +02:00
tag.test.js Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
user.test.js Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00