0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/server
Katharina Irrgang 2447335ab1 🐛 Fixed post scheduling on restart (#10726)
no issue

- case: restart Ghost and while having a scheduled post 
- caused by 4acc375fb6 (diff-4726ce3c4d18d41afad4b46cb0aa7dd3)
  - the bug exists since 2.12
  - Bookshelf added support (or better said fixed a bug) for accessing previous attributes
  - `object.updated('published_at')` always returned "undefined", because the self-implementation < 2.12 only remembered previous attributes after update (see https://github.com/TryGhost/Ghost/blob/2.11.0/core/server/models/base/index.js#L234)
  - but `object.previous('published_at')` returns the current value (object.get('published_at') === object.previous('published_at') -> and that's why rescheduling on bootstrap never worked
- might fix https://forum.ghost.org/t/scheduled-posts-never-publish/6873/10
- reduced timeouts on scheduling unit tests
2019-05-06 11:11:43 +02:00
..
adapters 🐛 Fixed post scheduling on restart (#10726) 2019-05-06 11:11:43 +02:00
api Improved error context usage 2019-04-23 09:45:11 +02:00
apps 🐛 Changed subscribed page title from hardcoded to site title (#10589) 2019-03-11 14:07:37 +08:00
config Removed support for apps from getContentPath 2019-04-16 11:05:33 +02:00
data Removed 2.16 member permission migration 2019-05-02 17:31:38 +02:00
helpers Updated ghost_head to include the members scripts 2019-04-24 12:46:00 +02:00
lib Added caption support to code card renderer (#10719) 2019-05-01 17:10:24 +02:00
models Updated theme layer to use members-ssr (#10676) 2019-04-16 16:50:25 +02:00
public Added members-theme-bindings library to public 2019-04-24 12:46:00 +02:00
services Added temp file cleanup for invalid themes 2019-05-02 17:59:29 +02:00
translations 🐛 Disallowed locked/suspended users from being made owner via the API (#10647) 2019-04-16 10:30:29 +01:00
views
web replace deprecated del() with delete() call 2019-04-29 09:09:55 +02:00
analytics-events.js Added event to integrations when created (#10588) 2019-03-11 15:28:17 +01:00
ghost-server.js
index.js
overrides.js
update-check.js Removed lts update check flag 2019-05-01 16:00:53 +02:00