0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/test/unit
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
..
adapters Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
api 🏗 Changed internal URL storage format to use __GHOST_URL__ (#12731) 2021-03-05 13:54:01 +00:00
apps 🔒 Fixed open redirect in private site login 2021-01-26 16:42:42 +00:00
data Added staff user limit 2021-03-04 16:13:04 +00:00
helpers Updated default format for date helper to locale-based date string (#12733) 2021-03-05 13:35:31 +00:00
lib Updated mobiledoc tests for lazy loaded images (#12672) 2021-02-18 19:49:40 +00:00
models Fixed settings images (cover_image, logo, etc) having wrong URL (#12736) 2021-03-06 09:00:18 +00:00
server Moved notify out of GhostServer 2021-02-19 20:22:56 +00:00
services 🏗 Changed internal URL storage format to use __GHOST_URL__ (#12731) 2021-03-05 13:54:01 +00:00
shared/config Updated tests locations and added linting of core/shared (#11872) 2020-06-01 22:06:50 +01:00
web Pointed the v3 unit tests to the actual v3 code 2021-01-22 16:32:03 +13:00