Ghost/ghost/core
Chris Raible 06262ecf33
Added logic for saving revisions on explicit saves (#16688)
refs @TryGhost/Team#3076

- added `save_revision` option to edit post endpoint
- this change covers the following cases:
1. we will not save a `post_revision` on every background autosave that
occurs after 3 seconds of inactivity in the editor
2. we will save a `post_revision` when the user hits `cmd+s` in the
editor to explicitly save
3. we will save a `post_revision` when the user navigates away from the
editor (e.g. by clicking the 'Posts' breadcrumb in the editor)
4. we will save a `post_revision` when the user publishes a post
5. we will save a `post_revision` when a user updates an already
published post
2023-04-21 10:04:05 +01:00
..
content 🎨 Updated Casper to v5.4.9 2023-04-12 11:38:08 +01:00
core Added logic for saving revisions on explicit saves (#16688) 2023-04-21 10:04:05 +01:00
test Added logic for saving revisions on explicit saves (#16688) 2023-04-21 10:04:05 +01:00
.c8rc.e2e.json Reduced coverage to accommodate Node 18 discrepancies 2023-03-22 09:59:55 +01:00
.c8rc.json Removed service.js files from unit test coverage 2023-03-13 17:26:03 +07:00
.eslintignore Updated .eslintignore list for core 2022-10-10 15:12:52 +07:00
.eslintrc.js Updated Eslint ECMAScript compatibility to 2022 2022-08-09 15:51:40 +02:00
.npmignore Updated .npmignore with new files 2022-11-30 12:40:47 +07:00
config.development.json Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
ghost.js Added browser-based testing framework 2022-11-22 14:12:34 +00:00
index.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
jsconfig.json Deleted reference to core/admin 2022-08-03 16:28:41 +02:00
loggingrc.js Added version information to log lines 2023-01-20 13:18:44 +01:00
MigratorConfig.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
package.json Bumped lexical packages 2023-04-20 10:54:16 +01:00
playwright.config.js Separated admin and portal tests to different projects 2023-03-16 18:35:09 +04:00