0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/test/unit/models
Kevin Ansfield 28f0bc6bd2
Fixed settings images (cover_image, logo, etc) having wrong URL (#12736)
refs https://github.com/TryGhost/Team/issues/467
refs https://github.com/TryGhost/Ghost/pull/12731

- settings are mostly fetched directly from the settings cache rather than via the API so they aren't subject to the API-level output serializers that transform URLs meaning that URLs in the front-end ended up with raw `__GHOST_URL__` replacement strings
- added images to the Settings model's `parse()` method so they are transformed immediately when fetching from the database
2021-03-06 09:00:18 +00:00
..
base Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
plugins Added support for ordering Post API resources by fields coming form posts_meta table (#12226) 2020-09-24 13:32:40 +12:00
api-key_spec.js
integration_spec.js
invite_spec.js Refactored tests to destructure common lib import (#11838) 2020-05-25 09:49:38 +01:00
member_spec.js Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
permission_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
post_spec.js Skipped separate count query in .findPage() for limit="all" requests 2020-08-27 01:09:07 +01:00
session_spec.js
settings_spec.js Fixed settings images (cover_image, logo, etc) having wrong URL (#12736) 2021-03-06 09:00:18 +00:00
single-use-token_spec.js 🐛 Added multiple use grace period to tokens (#12519) 2021-01-18 17:03:41 +00:00
tag_spec.js Skipped separate count query in .findPage() for limit="all" requests 2020-08-27 01:09:07 +01:00
user_spec.js Extracted core/server/lib/security to @tryghost/security package 2020-08-11 14:06:50 +01:00