Ghost/ghost/core/test
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
..
e2e-api Added logic for saving revisions on explicit saves (#16688) 2023-04-21 10:04:05 +01:00
e2e-browser Fixing error in browser test (#16583) 2023-04-07 01:11:37 -07:00
e2e-frontend Added show_latest_posts column to newsletter table (#16402) 2023-03-20 11:10:49 +01:00
e2e-server Removed unnecessary mockMail call 2023-04-07 14:34:57 +02:00
e2e-webhooks Added post_revisions as a default include for posts (#16660) 2023-04-18 11:12:35 +01:00
integration Added retries to a flaky batch sending test (#16591) 2023-04-07 17:44:11 -07:00
regression Added Pintura integration page in Admin (#16686) 2023-04-20 21:20:07 +05:30
unit Corrected announcement_visibility setting type 2023-04-21 10:18:50 +02:00
utils Corrected announcement_visibility setting type 2023-04-21 10:18:50 +02:00
.eslintignore Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
.eslintrc.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00