0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/services/routing
kirrg001 af58de0490 🐛 Fixed dated urls when timezone changes
no issue

- discovered while testing (issue doesn't exist)
- with dynamic routing we have introduced a bug
- we pre-generate urls and if your permalink contains a date (dated permalink),
  we have to regenerate the urls, otherwise the dated urls do not respect your blog timezone
- collection router has to subscribe to the timezone event
- collection router must trigger an update on it's url generator if the timezone changes and the it's permalink is dated
- ensure we also update the urls on import
2018-06-26 18:18:11 +02:00
..
assets Dynamic Routing Beta: Added resource config 2018-06-24 02:06:58 +02:00
controllers Dynamic Routing Beta: Refactor res.routerOptions (#9705) 2018-06-26 01:12:50 +02:00
helpers Dynamic Routing Beta: Added ability to disable+override rss (#9693) 2018-06-26 01:33:29 +02:00
middlewares
bootstrap.js Dynamic Routing Beta: Reordered router hierarchy 2018-06-24 02:06:58 +02:00
CollectionRouter.js 🐛 Fixed dated urls when timezone changes 2018-06-26 18:18:11 +02:00
index.js
ParentRouter.js Dynamic Routing Beta: Refactor res.routerOptions (#9705) 2018-06-26 01:12:50 +02:00
PreviewRouter.js Dynamic Routing Beta: Refactor res.routerOptions (#9705) 2018-06-26 01:12:50 +02:00
registry.js Dynamic Routing Beta: collection name behaviour 2018-06-21 20:59:43 +02:00
RSSRouter.js
StaticPagesRouter.js Dynamic Routing Beta: Refactor res.routerOptions (#9705) 2018-06-26 01:12:50 +02:00
StaticRoutesRouter.js Dynamic Routing Beta: Added ability to disable+override rss (#9693) 2018-06-26 01:33:29 +02:00
TaxonomyRouter.js Dynamic Routing Beta: Refactor res.routerOptions (#9705) 2018-06-26 01:12:50 +02:00