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 fd4a011995
🐛 Fixed settings cache being out of sync after migrations (#11987)
refs https://github.com/TryGhost/Ghost/issues/10318

- re-initialize settings cache after migrations by shutting down to clean up event listeners then and calling `init` again
- important to ensure `db.ready` event is not emitted until settings have finished re-initializing to avoid problems with background processes using the db connection which is disconnected/re-connected or being kicked off with out-of-date settings
2020-07-01 17:16:57 +01:00
..
adapters Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00
api 🐛 Fixed facebook/twitter images having relative URLS in API output 2020-06-30 16:40:34 +01:00
apps 🐛 Fixed private blogging exposing 404 and robots (#11922) 2020-06-16 11:42:32 +01:00
data Cleaned up members & stripe settings (#11957) 2020-06-29 16:22:42 +02:00
helpers Updated head to only output custom favicons (#11949) 2020-06-30 15:07:08 +01:00
lib Un-skipped populateImageSizes subdir test 2020-06-23 15:54:58 +01:00
models Updated serializers/model layer validation using settings type 2020-06-30 17:38:36 +05:30
services 🐛 Fixed settings cache being out of sync after migrations (#11987) 2020-07-01 17:16:57 +01:00
shared/config Updated tests locations and added linting of core/shared (#11872) 2020-06-01 22:06:50 +01:00
web Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00