From 91f8fe4bc895f787fe83a6351ab3be135c600680 Mon Sep 17 00:00:00 2001 From: Anze Demsar Date: Fri, 17 Nov 2023 10:11:25 +0100 Subject: [PATCH 1/4] fix: remove unnecessary navigation blocker in EW --- packages/decap-cms-core/src/actions/editorialWorkflow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/decap-cms-core/src/actions/editorialWorkflow.ts b/packages/decap-cms-core/src/actions/editorialWorkflow.ts index e9abc3d576aa..231caa75de76 100644 --- a/packages/decap-cms-core/src/actions/editorialWorkflow.ts +++ b/packages/decap-cms-core/src/actions/editorialWorkflow.ts @@ -387,7 +387,7 @@ export function persistUnpublishedEntry(collection: Collection, existingUnpublis dispatch(unpublishedEntryPersisted(collection, serializedEntry)); if (entry.get('slug') !== newSlug) { - dispatch(loadUnpublishedEntry(collection, newSlug)); + await dispatch(loadUnpublishedEntry(collection, newSlug)); navigateToEntry(collection.get('name'), newSlug); } } catch (error) { From c8a7e732507b0cc3281acd44504e61737b5b2c8f Mon Sep 17 00:00:00 2001 From: Anze Demsar Date: Fri, 17 Nov 2023 10:11:25 +0100 Subject: [PATCH 2/4] fix: remove unnecessary navigation blocker in EW --- packages/decap-cms-core/src/actions/editorialWorkflow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/decap-cms-core/src/actions/editorialWorkflow.ts b/packages/decap-cms-core/src/actions/editorialWorkflow.ts index e9abc3d576aa..231caa75de76 100644 --- a/packages/decap-cms-core/src/actions/editorialWorkflow.ts +++ b/packages/decap-cms-core/src/actions/editorialWorkflow.ts @@ -387,7 +387,7 @@ export function persistUnpublishedEntry(collection: Collection, existingUnpublis dispatch(unpublishedEntryPersisted(collection, serializedEntry)); if (entry.get('slug') !== newSlug) { - dispatch(loadUnpublishedEntry(collection, newSlug)); + await dispatch(loadUnpublishedEntry(collection, newSlug)); navigateToEntry(collection.get('name'), newSlug); } } catch (error) { From 2cd547a13afea2daa5526ecebb14b21b51be6c10 Mon Sep 17 00:00:00 2001 From: Anze Demsar Date: Fri, 17 Nov 2023 10:27:05 +0100 Subject: [PATCH 3/4] style: website layout --- website/src/components/layout.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/website/src/components/layout.js b/website/src/components/layout.js index 44079f27194c..a6a6774e1297 100644 --- a/website/src/components/layout.js +++ b/website/src/components/layout.js @@ -53,7 +53,11 @@ function Layout({ hasPageHero, children }) { > - + Date: Wed, 22 Nov 2023 16:34:08 +0100 Subject: [PATCH 4/4] test: update fixtures & add some more cypress clock hacks --- cypress/e2e/common/media_library.js | 17 +- ...tatus on and publish multiple entries.json | 8 +- ...itorial Workflow__can update an entry.json | 2 +- ...e Media__can publish entry with image.json | 60 ++ ...t entry image in global media library.json | 60 ++ ...tatus on and publish multiple entries.json | 4 +- ...e Media__can publish entry with image.json | 675 ++++++++++++++++++ ...tatus on and publish multiple entries.json | 4 +- ...tatus on and publish multiple entries.json | 4 +- ...tatus on and publish multiple entries.json | 4 +- cypress/utils/steps.js | 4 +- 11 files changed, 824 insertions(+), 18 deletions(-) diff --git a/cypress/e2e/common/media_library.js b/cypress/e2e/common/media_library.js index 474751b66cd7..891ff1ead402 100644 --- a/cypress/e2e/common/media_library.js +++ b/cypress/e2e/common/media_library.js @@ -51,6 +51,7 @@ function chooseAnImage() { function waitForEntryToLoad() { cy.contains('button', 'Saving...').should('not.exist'); + cy.clock().tick(5000); cy.contains('div', 'Loading entry...').should('not.exist'); } @@ -143,10 +144,18 @@ export default function({ entries, getUser }) { it('should not show draft entry image in global media library', () => { newPostWithImage(entries[0]); - exitEditor(); - goToMediaLibrary(); - assertNoImagesInLibrary(); - matchImageSnapshot(); + cy.clock().then(clock => { + if (clock) { + clock.tick(150); + clock.tick(150); + // eslint-disable-next-line cypress/no-unnecessary-waiting + cy.wait(500); + } + exitEditor(); + goToMediaLibrary(); + assertNoImagesInLibrary(); + matchImageSnapshot(); + }); }); it('should show published entry image in global media library', () => { diff --git a/cypress/fixtures/Git Gateway (GitHub) Backend Editorial Workflow__can change status on and publish multiple entries.json b/cypress/fixtures/Git Gateway (GitHub) Backend Editorial Workflow__can change status on and publish multiple entries.json index 4be8d195f403..85ed6aad333a 100644 --- a/cypress/fixtures/Git Gateway (GitHub) Backend Editorial Workflow__can change status on and publish multiple entries.json +++ b/cypress/fixtures/Git Gateway (GitHub) Backend Editorial Workflow__can change status on and publish multiple entries.json @@ -1235,7 +1235,7 @@ "status": 200 }, { - "body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4zMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}", + "body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC42MDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}", "method": "POST", "url": "/.netlify/git/github/git/blobs", "headers": { @@ -1329,7 +1329,7 @@ "status": 201 }, { - "body": "{\"message\":\"Create Post “1970-01-01-second-title”\",\"tree\":\"6b93ee23d19f7ae4a8806339fc2e686080554722\",\"parents\":[\"51309984749e40ea466e1ac66ea634cb985d60c3\"],\"author\":{\"name\":\"decap\",\"email\":\"decap@p-m.si\",\"date\":\"1970-01-01T00:00:00.600Z\"}}", + "body": "{\"message\":\"Create Post “1970-01-01-second-title”\",\"tree\":\"6b93ee23d19f7ae4a8806339fc2e686080554722\",\"parents\":[\"51309984749e40ea466e1ac66ea634cb985d60c3\"],\"author\":{\"name\":\"decap\",\"email\":\"decap@p-m.si\",\"date\":\"1970-01-01T00:00:00.900Z\"}}", "method": "POST", "url": "/.netlify/git/github/git/commits", "headers": { @@ -1816,7 +1816,7 @@ "status": 200 }, { - "body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjYwMFoKZGVzY3JpcHRpb246IHRoaXJkIGRlc2NyaXB0aW9uCmNhdGVnb3J5OiB0aGlyZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMwotLS0KdGhpcmQgYm9keQ==\",\"encoding\":\"base64\"}", + "body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAxLjIwMFoKZGVzY3JpcHRpb246IHRoaXJkIGRlc2NyaXB0aW9uCmNhdGVnb3J5OiB0aGlyZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMwotLS0KdGhpcmQgYm9keQ==\",\"encoding\":\"base64\"}", "method": "POST", "url": "/.netlify/git/github/git/blobs", "headers": { @@ -1910,7 +1910,7 @@ "status": 201 }, { - "body": "{\"message\":\"Create Post “1970-01-01-third-title”\",\"tree\":\"a87e3d9d5e6f2b1aa81dfcdfe57ef8fb9f930f87\",\"parents\":[\"51309984749e40ea466e1ac66ea634cb985d60c3\"],\"author\":{\"name\":\"decap\",\"email\":\"decap@p-m.si\",\"date\":\"1970-01-01T00:00:00.900Z\"}}", + "body": "{\"message\":\"Create Post “1970-01-01-third-title”\",\"tree\":\"a87e3d9d5e6f2b1aa81dfcdfe57ef8fb9f930f87\",\"parents\":[\"51309984749e40ea466e1ac66ea634cb985d60c3\"],\"author\":{\"name\":\"decap\",\"email\":\"decap@p-m.si\",\"date\":\"1970-01-01T00:00:01.500Z\"}}", "method": "POST", "url": "/.netlify/git/github/git/commits", "headers": { diff --git a/cypress/fixtures/Git Gateway (GitHub) Backend Editorial Workflow__can update an entry.json b/cypress/fixtures/Git Gateway (GitHub) Backend Editorial Workflow__can update an entry.json index 72acdefd1922..92c21abb826c 100644 --- a/cypress/fixtures/Git Gateway (GitHub) Backend Editorial Workflow__can update an entry.json +++ b/cypress/fixtures/Git Gateway (GitHub) Backend Editorial Workflow__can update an entry.json @@ -1689,7 +1689,7 @@ "status": 200 }, { - "body": "{\"message\":\"Update Post “1970-01-01-first-title”\",\"tree\":\"9e7a708aa9d0ca8f4e33cfa987984cfc48263d79\",\"parents\":[\"e774625f38ae12e6bdc27574f3238a20bf71b6ca\"],\"author\":{\"name\":\"decap\",\"email\":\"decap@p-m.si\",\"date\":\"1970-01-01T00:00:00.600Z\"}}", + "body": "{\"message\":\"Update Post “1970-01-01-first-title”\",\"tree\":\"9e7a708aa9d0ca8f4e33cfa987984cfc48263d79\",\"parents\":[\"e774625f38ae12e6bdc27574f3238a20bf71b6ca\"],\"author\":{\"name\":\"decap\",\"email\":\"decap@p-m.si\",\"date\":\"1970-01-01T00:00:00.900Z\"}}", "method": "POST", "url": "/.netlify/git/github/git/commits", "headers": { diff --git a/cypress/fixtures/Git Gateway (GitHub) Backend Media Library - Large Media__can publish entry with image.json b/cypress/fixtures/Git Gateway (GitHub) Backend Media Library - Large Media__can publish entry with image.json index aa90c2f46ad6..6ca36d49e6bb 100644 --- a/cypress/fixtures/Git Gateway (GitHub) Backend Media Library - Large Media__can publish entry with image.json +++ b/cypress/fixtures/Git Gateway (GitHub) Backend Media Library - Large Media__can publish entry with image.json @@ -1080,6 +1080,36 @@ "response": "{\n \"url\": \"https://api.github.com/repos/owner/repo/compare/master...168a84abac6eb5619ff966f3008a1905c0d68843\",\n \"html_url\": \"https://github.com/owner/repo/compare/master...168a84abac6eb5619ff966f3008a1905c0d68843\",\n \"permalink_url\": \"https://github.com/owner/repo/compare/owner:eedb8e2...owner:168a84a\",\n \"diff_url\": \"https://github.com/owner/repo/compare/master...168a84abac6eb5619ff966f3008a1905c0d68843.diff\",\n \"patch_url\": \"https://github.com/owner/repo/compare/master...168a84abac6eb5619ff966f3008a1905c0d68843.patch\",\n \"base_commit\": {\n \"sha\": \"eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"node_id\": \"MDY6Q29tbWl0MjYzNTUzNTU3OmVlZGI4ZTIxY2VjOTRjNmNjMTE4YzIzNDEzOTMyZjcyNmM2ZTZmNDQ=\",\n \"commit\": {\n \"author\": {\n \"name\": \"owner\",\n \"email\": \"owner@users.noreply.github.com\",\n \"date\": \"2020-05-13T07:13:44Z\"\n },\n \"committer\": {\n \"name\": \"owner\",\n \"email\": \"owner@users.noreply.github.com\",\n \"date\": \"2020-05-13T07:13:44Z\"\n },\n \"message\": \"add .lfsconfig\",\n \"tree\": {\n \"sha\": \"76ada5408a3255f99373a2e4bca8994ef38705ed\",\n \"url\": \"https://api.github.com/repos/owner/repo/git/trees/76ada5408a3255f99373a2e4bca8994ef38705ed\"\n },\n \"url\": \"https://api.github.com/repos/owner/repo/git/commits/eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"comment_count\": 0,\n \"verification\": {\n \"verified\": false,\n \"reason\": \"unsigned\",\n \"signature\": null,\n \"payload\": null\n }\n },\n \"url\": \"https://api.github.com/repos/owner/repo/commits/eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"html_url\": \"https://github.com/owner/repo/commit/eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"comments_url\": \"https://api.github.com/repos/owner/repo/commits/eedb8e21cec94c6cc118c23413932f726c6e6f44/comments\",\n \"author\": {\n \"login\": \"owner\",\n \"id\": 26760571,\n \"node_id\": \"MDQ6VXNlcjI2NzYwNTcx\",\n \"avatar_url\": \"https://avatars1.githubusercontent.com/u/7892489?v=4\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/owner\",\n \"html_url\": \"https://github.com/owner\",\n \"followers_url\": \"https://api.github.com/users/owner/followers\",\n \"following_url\": \"https://api.github.com/users/owner/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/owner/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/owner/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/owner/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/owner/orgs\",\n \"repos_url\": \"https://api.github.com/users/owner/repos\",\n \"events_url\": \"https://api.github.com/users/owner/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/owner/received_events\",\n \"type\": \"User\",\n \"site_admin\": false\n },\n \"committer\": {\n \"login\": \"owner\",\n \"id\": 26760571,\n \"node_id\": \"MDQ6VXNlcjI2NzYwNTcx\",\n \"avatar_url\": \"https://avatars1.githubusercontent.com/u/7892489?v=4\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/owner\",\n \"html_url\": \"https://github.com/owner\",\n \"followers_url\": \"https://api.github.com/users/owner/followers\",\n \"following_url\": \"https://api.github.com/users/owner/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/owner/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/owner/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/owner/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/owner/orgs\",\n \"repos_url\": \"https://api.github.com/users/owner/repos\",\n \"events_url\": \"https://api.github.com/users/owner/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/owner/received_events\",\n \"type\": \"User\",\n \"site_admin\": false\n },\n \"parents\": [\n {\n \"sha\": \"8d351de56609df4537efd4ef8915e160580bd8d0\",\n \"url\": \"https://api.github.com/repos/owner/repo/commits/8d351de56609df4537efd4ef8915e160580bd8d0\",\n \"html_url\": \"https://github.com/owner/repo/commit/8d351de56609df4537efd4ef8915e160580bd8d0\"\n }\n ]\n },\n \"merge_base_commit\": {\n \"sha\": \"eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"node_id\": \"MDY6Q29tbWl0MjYzNTUzNTU3OmVlZGI4ZTIxY2VjOTRjNmNjMTE4YzIzNDEzOTMyZjcyNmM2ZTZmNDQ=\",\n \"commit\": {\n \"author\": {\n \"name\": \"owner\",\n \"email\": \"owner@users.noreply.github.com\",\n \"date\": \"2020-05-13T07:13:44Z\"\n },\n \"committer\": {\n \"name\": \"owner\",\n \"email\": \"owner@users.noreply.github.com\",\n \"date\": \"2020-05-13T07:13:44Z\"\n },\n \"message\": \"add .lfsconfig\",\n \"tree\": {\n \"sha\": \"76ada5408a3255f99373a2e4bca8994ef38705ed\",\n \"url\": \"https://api.github.com/repos/owner/repo/git/trees/76ada5408a3255f99373a2e4bca8994ef38705ed\"\n },\n \"url\": \"https://api.github.com/repos/owner/repo/git/commits/eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"comment_count\": 0,\n \"verification\": {\n \"verified\": false,\n \"reason\": \"unsigned\",\n \"signature\": null,\n \"payload\": null\n }\n },\n \"url\": \"https://api.github.com/repos/owner/repo/commits/eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"html_url\": \"https://github.com/owner/repo/commit/eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"comments_url\": \"https://api.github.com/repos/owner/repo/commits/eedb8e21cec94c6cc118c23413932f726c6e6f44/comments\",\n \"author\": {\n \"login\": \"owner\",\n \"id\": 26760571,\n \"node_id\": \"MDQ6VXNlcjI2NzYwNTcx\",\n \"avatar_url\": \"https://avatars1.githubusercontent.com/u/7892489?v=4\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/owner\",\n \"html_url\": \"https://github.com/owner\",\n \"followers_url\": \"https://api.github.com/users/owner/followers\",\n \"following_url\": \"https://api.github.com/users/owner/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/owner/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/owner/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/owner/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/owner/orgs\",\n \"repos_url\": \"https://api.github.com/users/owner/repos\",\n \"events_url\": \"https://api.github.com/users/owner/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/owner/received_events\",\n \"type\": \"User\",\n \"site_admin\": false\n },\n \"committer\": {\n \"login\": \"owner\",\n \"id\": 26760571,\n \"node_id\": \"MDQ6VXNlcjI2NzYwNTcx\",\n \"avatar_url\": \"https://avatars1.githubusercontent.com/u/7892489?v=4\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/owner\",\n \"html_url\": \"https://github.com/owner\",\n \"followers_url\": \"https://api.github.com/users/owner/followers\",\n \"following_url\": \"https://api.github.com/users/owner/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/owner/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/owner/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/owner/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/owner/orgs\",\n \"repos_url\": \"https://api.github.com/users/owner/repos\",\n \"events_url\": \"https://api.github.com/users/owner/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/owner/received_events\",\n \"type\": \"User\",\n \"site_admin\": false\n },\n \"parents\": [\n {\n \"sha\": \"8d351de56609df4537efd4ef8915e160580bd8d0\",\n \"url\": \"https://api.github.com/repos/owner/repo/commits/8d351de56609df4537efd4ef8915e160580bd8d0\",\n \"html_url\": \"https://github.com/owner/repo/commit/8d351de56609df4537efd4ef8915e160580bd8d0\"\n }\n ]\n },\n \"status\": \"ahead\",\n \"ahead_by\": 1,\n \"behind_by\": 0,\n \"total_commits\": 1,\n \"commits\": [\n {\n \"sha\": \"168a84abac6eb5619ff966f3008a1905c0d68843\",\n \"node_id\": \"MDY6Q29tbWl0MjYzNTUzNTU3OjE2OGE4NGFiYWM2ZWI1NjE5ZmY5NjZmMzAwOGExOTA1YzBkNjg4NDM=\",\n \"commit\": {\n \"author\": {\n \"name\": \"decap\",\n \"email\": \"decap@p-m.si\",\n \"date\": \"1970-01-01T00:00:00Z\"\n },\n \"committer\": {\n \"name\": \"decap\",\n \"email\": \"decap@p-m.si\",\n \"date\": \"1970-01-01T00:00:00Z\"\n },\n \"message\": \"Create Post “1970-01-01-first-title”\",\n \"tree\": {\n \"sha\": \"a4a6d3091570c2216aef0c8248d295071900c007\",\n \"url\": \"https://api.github.com/repos/owner/repo/git/trees/a4a6d3091570c2216aef0c8248d295071900c007\"\n },\n \"url\": \"https://api.github.com/repos/owner/repo/git/commits/168a84abac6eb5619ff966f3008a1905c0d68843\",\n \"comment_count\": 0,\n \"verification\": {\n \"verified\": false,\n \"reason\": \"unsigned\",\n \"signature\": null,\n \"payload\": null\n }\n },\n \"url\": \"https://api.github.com/repos/owner/repo/commits/168a84abac6eb5619ff966f3008a1905c0d68843\",\n \"html_url\": \"https://github.com/owner/repo/commit/168a84abac6eb5619ff966f3008a1905c0d68843\",\n \"comments_url\": \"https://api.github.com/repos/owner/repo/commits/168a84abac6eb5619ff966f3008a1905c0d68843/comments\",\n \"author\": null,\n \"committer\": null,\n \"parents\": [\n {\n \"sha\": \"eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"url\": \"https://api.github.com/repos/owner/repo/commits/eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"html_url\": \"https://github.com/owner/repo/commit/eedb8e21cec94c6cc118c23413932f726c6e6f44\"\n }\n ]\n }\n ],\n \"files\": [\n {\n \"sha\": \"5712f24a02b758f8b5b5cc34b676cf0b25f53b86\",\n \"filename\": \"content/posts/1970-01-01-first-title.md\",\n \"status\": \"added\",\n \"additions\": 11,\n \"deletions\": 0,\n \"changes\": 11,\n \"blob_url\": \"https://github.com/owner/repo/blob/168a84abac6eb5619ff966f3008a1905c0d68843/content/posts/1970-01-01-first-title.md\",\n \"raw_url\": \"https://github.com/owner/repo/raw/168a84abac6eb5619ff966f3008a1905c0d68843/content/posts/1970-01-01-first-title.md\",\n \"contents_url\": \"https://api.github.com/repos/owner/repo/contents/content/posts/1970-01-01-first-title.md?ref=168a84abac6eb5619ff966f3008a1905c0d68843\",\n \"patch\": \"@@ -0,0 +1,11 @@\\n+---\\n+template: post\\n+title: first title\\n+image: /media/netlify.png\\n+date: 1970-01-01T00:00:00.000Z\\n+description: first description\\n+category: first category\\n+tags:\\n+ - tag1\\n+---\\n+first body\\n\\\\ No newline at end of file\"\n },\n {\n \"sha\": \"a137fb3458d391f2740ecc6ebbda52107d65d6ef\",\n \"filename\": \"static/media/netlify.png\",\n \"status\": \"added\",\n \"additions\": 3,\n \"deletions\": 0,\n \"changes\": 3,\n \"blob_url\": \"https://github.com/owner/repo/blob/168a84abac6eb5619ff966f3008a1905c0d68843/static/media/netlify.png\",\n \"raw_url\": \"https://github.com/owner/repo/raw/168a84abac6eb5619ff966f3008a1905c0d68843/static/media/netlify.png\",\n \"contents_url\": \"https://api.github.com/repos/owner/repo/contents/static/media/netlify.png?ref=168a84abac6eb5619ff966f3008a1905c0d68843\",\n \"patch\": \"@@ -0,0 +1,3 @@\\n+version https://git-lfs.github.com/spec/v1\\n+oid sha256:b1d40c19b912d2130d1bed8ff1a62a55c7d932978502e1d8559eb77951c5e8d3\\n+size 3470\"\n }\n ]\n}\n", "status": 200 }, + { + "method": "GET", + "url": "/.netlify/git/github/compare/master...168a84abac6eb5619ff966f3008a1905c0d68843", + "headers": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset", + "Alt-Svc": "clear", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Content-Security-Policy": "default-src 'none'", + "Content-Type": "application/json; charset=utf-8", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Server": "Netlify", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "Via": "1.1 google", + "X-Accepted-Oauth-Scopes": "", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "deny", + "X-Github-Media-Type": "github.v3; format=json", + "X-Oauth-Scopes": "delete_repo, repo", + "X-Ratelimit-Limit": "5000", + "X-Xss-Protection": "1; mode=block", + "Age": "1", + "Connection": "keep-alive", + "Vary": "Origin,Accept,Authorization,Cookie,X-GitHub-OTP,Accept-Encoding,Accept,X-Requested-With", + "content-length": "13389" + }, + "response": "{\n \"url\": \"https://api.github.com/repos/owner/repo/compare/master...168a84abac6eb5619ff966f3008a1905c0d68843\",\n \"html_url\": \"https://github.com/owner/repo/compare/master...168a84abac6eb5619ff966f3008a1905c0d68843\",\n \"permalink_url\": \"https://github.com/owner/repo/compare/owner:eedb8e2...owner:168a84a\",\n \"diff_url\": \"https://github.com/owner/repo/compare/master...168a84abac6eb5619ff966f3008a1905c0d68843.diff\",\n \"patch_url\": \"https://github.com/owner/repo/compare/master...168a84abac6eb5619ff966f3008a1905c0d68843.patch\",\n \"base_commit\": {\n \"sha\": \"eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"node_id\": \"MDY6Q29tbWl0MjYzNTUzNTU3OmVlZGI4ZTIxY2VjOTRjNmNjMTE4YzIzNDEzOTMyZjcyNmM2ZTZmNDQ=\",\n \"commit\": {\n \"author\": {\n \"name\": \"owner\",\n \"email\": \"owner@users.noreply.github.com\",\n \"date\": \"2020-05-13T07:13:44Z\"\n },\n \"committer\": {\n \"name\": \"owner\",\n \"email\": \"owner@users.noreply.github.com\",\n \"date\": \"2020-05-13T07:13:44Z\"\n },\n \"message\": \"add .lfsconfig\",\n \"tree\": {\n \"sha\": \"76ada5408a3255f99373a2e4bca8994ef38705ed\",\n \"url\": \"https://api.github.com/repos/owner/repo/git/trees/76ada5408a3255f99373a2e4bca8994ef38705ed\"\n },\n \"url\": \"https://api.github.com/repos/owner/repo/git/commits/eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"comment_count\": 0,\n \"verification\": {\n \"verified\": false,\n \"reason\": \"unsigned\",\n \"signature\": null,\n \"payload\": null\n }\n },\n \"url\": \"https://api.github.com/repos/owner/repo/commits/eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"html_url\": \"https://github.com/owner/repo/commit/eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"comments_url\": \"https://api.github.com/repos/owner/repo/commits/eedb8e21cec94c6cc118c23413932f726c6e6f44/comments\",\n \"author\": {\n \"login\": \"owner\",\n \"id\": 26760571,\n \"node_id\": \"MDQ6VXNlcjI2NzYwNTcx\",\n \"avatar_url\": \"https://avatars1.githubusercontent.com/u/7892489?v=4\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/owner\",\n \"html_url\": \"https://github.com/owner\",\n \"followers_url\": \"https://api.github.com/users/owner/followers\",\n \"following_url\": \"https://api.github.com/users/owner/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/owner/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/owner/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/owner/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/owner/orgs\",\n \"repos_url\": \"https://api.github.com/users/owner/repos\",\n \"events_url\": \"https://api.github.com/users/owner/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/owner/received_events\",\n \"type\": \"User\",\n \"site_admin\": false\n },\n \"committer\": {\n \"login\": \"owner\",\n \"id\": 26760571,\n \"node_id\": \"MDQ6VXNlcjI2NzYwNTcx\",\n \"avatar_url\": \"https://avatars1.githubusercontent.com/u/7892489?v=4\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/owner\",\n \"html_url\": \"https://github.com/owner\",\n \"followers_url\": \"https://api.github.com/users/owner/followers\",\n \"following_url\": \"https://api.github.com/users/owner/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/owner/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/owner/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/owner/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/owner/orgs\",\n \"repos_url\": \"https://api.github.com/users/owner/repos\",\n \"events_url\": \"https://api.github.com/users/owner/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/owner/received_events\",\n \"type\": \"User\",\n \"site_admin\": false\n },\n \"parents\": [\n {\n \"sha\": \"8d351de56609df4537efd4ef8915e160580bd8d0\",\n \"url\": \"https://api.github.com/repos/owner/repo/commits/8d351de56609df4537efd4ef8915e160580bd8d0\",\n \"html_url\": \"https://github.com/owner/repo/commit/8d351de56609df4537efd4ef8915e160580bd8d0\"\n }\n ]\n },\n \"merge_base_commit\": {\n \"sha\": \"eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"node_id\": \"MDY6Q29tbWl0MjYzNTUzNTU3OmVlZGI4ZTIxY2VjOTRjNmNjMTE4YzIzNDEzOTMyZjcyNmM2ZTZmNDQ=\",\n \"commit\": {\n \"author\": {\n \"name\": \"owner\",\n \"email\": \"owner@users.noreply.github.com\",\n \"date\": \"2020-05-13T07:13:44Z\"\n },\n \"committer\": {\n \"name\": \"owner\",\n \"email\": \"owner@users.noreply.github.com\",\n \"date\": \"2020-05-13T07:13:44Z\"\n },\n \"message\": \"add .lfsconfig\",\n \"tree\": {\n \"sha\": \"76ada5408a3255f99373a2e4bca8994ef38705ed\",\n \"url\": \"https://api.github.com/repos/owner/repo/git/trees/76ada5408a3255f99373a2e4bca8994ef38705ed\"\n },\n \"url\": \"https://api.github.com/repos/owner/repo/git/commits/eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"comment_count\": 0,\n \"verification\": {\n \"verified\": false,\n \"reason\": \"unsigned\",\n \"signature\": null,\n \"payload\": null\n }\n },\n \"url\": \"https://api.github.com/repos/owner/repo/commits/eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"html_url\": \"https://github.com/owner/repo/commit/eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"comments_url\": \"https://api.github.com/repos/owner/repo/commits/eedb8e21cec94c6cc118c23413932f726c6e6f44/comments\",\n \"author\": {\n \"login\": \"owner\",\n \"id\": 26760571,\n \"node_id\": \"MDQ6VXNlcjI2NzYwNTcx\",\n \"avatar_url\": \"https://avatars1.githubusercontent.com/u/7892489?v=4\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/owner\",\n \"html_url\": \"https://github.com/owner\",\n \"followers_url\": \"https://api.github.com/users/owner/followers\",\n \"following_url\": \"https://api.github.com/users/owner/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/owner/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/owner/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/owner/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/owner/orgs\",\n \"repos_url\": \"https://api.github.com/users/owner/repos\",\n \"events_url\": \"https://api.github.com/users/owner/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/owner/received_events\",\n \"type\": \"User\",\n \"site_admin\": false\n },\n \"committer\": {\n \"login\": \"owner\",\n \"id\": 26760571,\n \"node_id\": \"MDQ6VXNlcjI2NzYwNTcx\",\n \"avatar_url\": \"https://avatars1.githubusercontent.com/u/7892489?v=4\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/owner\",\n \"html_url\": \"https://github.com/owner\",\n \"followers_url\": \"https://api.github.com/users/owner/followers\",\n \"following_url\": \"https://api.github.com/users/owner/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/owner/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/owner/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/owner/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/owner/orgs\",\n \"repos_url\": \"https://api.github.com/users/owner/repos\",\n \"events_url\": \"https://api.github.com/users/owner/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/owner/received_events\",\n \"type\": \"User\",\n \"site_admin\": false\n },\n \"parents\": [\n {\n \"sha\": \"8d351de56609df4537efd4ef8915e160580bd8d0\",\n \"url\": \"https://api.github.com/repos/owner/repo/commits/8d351de56609df4537efd4ef8915e160580bd8d0\",\n \"html_url\": \"https://github.com/owner/repo/commit/8d351de56609df4537efd4ef8915e160580bd8d0\"\n }\n ]\n },\n \"status\": \"ahead\",\n \"ahead_by\": 1,\n \"behind_by\": 0,\n \"total_commits\": 1,\n \"commits\": [\n {\n \"sha\": \"168a84abac6eb5619ff966f3008a1905c0d68843\",\n \"node_id\": \"MDY6Q29tbWl0MjYzNTUzNTU3OjE2OGE4NGFiYWM2ZWI1NjE5ZmY5NjZmMzAwOGExOTA1YzBkNjg4NDM=\",\n \"commit\": {\n \"author\": {\n \"name\": \"decap\",\n \"email\": \"decap@p-m.si\",\n \"date\": \"1970-01-01T00:00:00Z\"\n },\n \"committer\": {\n \"name\": \"decap\",\n \"email\": \"decap@p-m.si\",\n \"date\": \"1970-01-01T00:00:00Z\"\n },\n \"message\": \"Create Post “1970-01-01-first-title”\",\n \"tree\": {\n \"sha\": \"a4a6d3091570c2216aef0c8248d295071900c007\",\n \"url\": \"https://api.github.com/repos/owner/repo/git/trees/a4a6d3091570c2216aef0c8248d295071900c007\"\n },\n \"url\": \"https://api.github.com/repos/owner/repo/git/commits/168a84abac6eb5619ff966f3008a1905c0d68843\",\n \"comment_count\": 0,\n \"verification\": {\n \"verified\": false,\n \"reason\": \"unsigned\",\n \"signature\": null,\n \"payload\": null\n }\n },\n \"url\": \"https://api.github.com/repos/owner/repo/commits/168a84abac6eb5619ff966f3008a1905c0d68843\",\n \"html_url\": \"https://github.com/owner/repo/commit/168a84abac6eb5619ff966f3008a1905c0d68843\",\n \"comments_url\": \"https://api.github.com/repos/owner/repo/commits/168a84abac6eb5619ff966f3008a1905c0d68843/comments\",\n \"author\": null,\n \"committer\": null,\n \"parents\": [\n {\n \"sha\": \"eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"url\": \"https://api.github.com/repos/owner/repo/commits/eedb8e21cec94c6cc118c23413932f726c6e6f44\",\n \"html_url\": \"https://github.com/owner/repo/commit/eedb8e21cec94c6cc118c23413932f726c6e6f44\"\n }\n ]\n }\n ],\n \"files\": [\n {\n \"sha\": \"5712f24a02b758f8b5b5cc34b676cf0b25f53b86\",\n \"filename\": \"content/posts/1970-01-01-first-title.md\",\n \"status\": \"added\",\n \"additions\": 11,\n \"deletions\": 0,\n \"changes\": 11,\n \"blob_url\": \"https://github.com/owner/repo/blob/168a84abac6eb5619ff966f3008a1905c0d68843/content/posts/1970-01-01-first-title.md\",\n \"raw_url\": \"https://github.com/owner/repo/raw/168a84abac6eb5619ff966f3008a1905c0d68843/content/posts/1970-01-01-first-title.md\",\n \"contents_url\": \"https://api.github.com/repos/owner/repo/contents/content/posts/1970-01-01-first-title.md?ref=168a84abac6eb5619ff966f3008a1905c0d68843\",\n \"patch\": \"@@ -0,0 +1,11 @@\\n+---\\n+template: post\\n+title: first title\\n+image: /media/netlify.png\\n+date: 1970-01-01T00:00:00.000Z\\n+description: first description\\n+category: first category\\n+tags:\\n+ - tag1\\n+---\\n+first body\\n\\\\ No newline at end of file\"\n },\n {\n \"sha\": \"a137fb3458d391f2740ecc6ebbda52107d65d6ef\",\n \"filename\": \"static/media/netlify.png\",\n \"status\": \"added\",\n \"additions\": 3,\n \"deletions\": 0,\n \"changes\": 3,\n \"blob_url\": \"https://github.com/owner/repo/blob/168a84abac6eb5619ff966f3008a1905c0d68843/static/media/netlify.png\",\n \"raw_url\": \"https://github.com/owner/repo/raw/168a84abac6eb5619ff966f3008a1905c0d68843/static/media/netlify.png\",\n \"contents_url\": \"https://api.github.com/repos/owner/repo/contents/static/media/netlify.png?ref=168a84abac6eb5619ff966f3008a1905c0d68843\",\n \"patch\": \"@@ -0,0 +1,3 @@\\n+version https://git-lfs.github.com/spec/v1\\n+oid sha256:b1d40c19b912d2130d1bed8ff1a62a55c7d932978502e1d8559eb77951c5e8d3\\n+size 3470\"\n }\n ]\n}\n", + "status": 200 + }, { "method": "GET", "url": "/.netlify/git/github/git/blobs/5712f24a02b758f8b5b5cc34b676cf0b25f53b86", @@ -1140,6 +1170,36 @@ "response": "{\n \"sha\": \"a137fb3458d391f2740ecc6ebbda52107d65d6ef\",\n \"node_id\": \"MDQ6QmxvYjI2MzU1MzU1NzphMTM3ZmIzNDU4ZDM5MWYyNzQwZWNjNmViYmRhNTIxMDdkNjVkNmVm\",\n \"size\": 129,\n \"url\": \"https://api.github.com/repos/owner/repo/git/blobs/a137fb3458d391f2740ecc6ebbda52107d65d6ef\",\n \"content\": \"dmVyc2lvbiBodHRwczovL2dpdC1sZnMuZ2l0aHViLmNvbS9zcGVjL3YxCm9p\\nZCBzaGEyNTY6YjFkNDBjMTliOTEyZDIxMzBkMWJlZDhmZjFhNjJhNTVjN2Q5\\nMzI5Nzg1MDJlMWQ4NTU5ZWI3Nzk1MWM1ZThkMwpzaXplIDM0NzAK\\n\",\n \"encoding\": \"base64\"\n}\n", "status": 200 }, + { + "method": "GET", + "url": "/.netlify/git/github/git/blobs/a137fb3458d391f2740ecc6ebbda52107d65d6ef", + "headers": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset", + "Alt-Svc": "clear", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Content-Security-Policy": "default-src 'none'", + "Content-Type": "application/json; charset=utf-8", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Server": "Netlify", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "Via": "1.1 google", + "X-Accepted-Oauth-Scopes": "", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "deny", + "X-Github-Media-Type": "github.v3; format=json", + "X-Oauth-Scopes": "delete_repo, repo", + "X-Ratelimit-Limit": "5000", + "X-Xss-Protection": "1; mode=block", + "Age": "1", + "Connection": "keep-alive", + "Vary": "Origin,Accept,Authorization,Cookie,X-GitHub-OTP,Accept-Encoding,Accept,X-Requested-With", + "content-length": "539" + }, + "response": "{\n \"sha\": \"a137fb3458d391f2740ecc6ebbda52107d65d6ef\",\n \"node_id\": \"MDQ6QmxvYjI2MzU1MzU1NzphMTM3ZmIzNDU4ZDM5MWYyNzQwZWNjNmViYmRhNTIxMDdkNjVkNmVm\",\n \"size\": 129,\n \"url\": \"https://api.github.com/repos/owner/repo/git/blobs/a137fb3458d391f2740ecc6ebbda52107d65d6ef\",\n \"content\": \"dmVyc2lvbiBodHRwczovL2dpdC1sZnMuZ2l0aHViLmNvbS9zcGVjL3YxCm9p\\nZCBzaGEyNTY6YjFkNDBjMTliOTEyZDIxMzBkMWJlZDhmZjFhNjJhNTVjN2Q5\\nMzI5Nzg1MDJlMWQ4NTU5ZWI3Nzk1MWM1ZThkMwpzaXplIDM0NzAK\\n\",\n \"encoding\": \"base64\"\n}\n", + "status": 200 + }, { "method": "GET", "url": "/.netlify/git/github/commits?path=static/media/netlify.png&sha=master", diff --git a/cypress/fixtures/Git Gateway (GitHub) Backend Media Library - Large Media__should not show draft entry image in global media library.json b/cypress/fixtures/Git Gateway (GitHub) Backend Media Library - Large Media__should not show draft entry image in global media library.json index 0ab2e478e631..e1474dc0fa9a 100644 --- a/cypress/fixtures/Git Gateway (GitHub) Backend Media Library - Large Media__should not show draft entry image in global media library.json +++ b/cypress/fixtures/Git Gateway (GitHub) Backend Media Library - Large Media__should not show draft entry image in global media library.json @@ -593,6 +593,36 @@ "response": "{\n \"sha\": \"34892575e216c06e757093f036bd8e057c78a52f\",\n \"url\": \"https://api.github.com/repos/owner/repo/git/trees/34892575e216c06e757093f036bd8e057c78a52f\",\n \"tree\": [\n {\n \"path\": \"2016-01-09---Perfecting-the-Art-of-Perfection.md\",\n \"mode\": \"100644\",\n \"type\": \"blob\",\n \"sha\": \"6d51a38aed7139d2117724b1e307657b6ff2d043\",\n \"size\": 1707,\n \"url\": \"https://api.github.com/repos/owner/repo/git/blobs/6d51a38aed7139d2117724b1e307657b6ff2d043\"\n },\n {\n \"path\": \"2016-01-12---The-Origins-of-Social-Stationery-Lettering.md\",\n \"mode\": \"100644\",\n \"type\": \"blob\",\n \"sha\": \"d0582dd245a3f408fb3fe2333bf01400007476e9\",\n \"size\": 2565,\n \"url\": \"https://api.github.com/repos/owner/repo/git/blobs/d0582dd245a3f408fb3fe2333bf01400007476e9\"\n },\n {\n \"path\": \"2016-02-02---A-Brief-History-of-Typography.md\",\n \"mode\": \"100644\",\n \"type\": \"blob\",\n \"sha\": \"0eea554365f002d0f1572af9a58522d335a794d5\",\n \"size\": 2786,\n \"url\": \"https://api.github.com/repos/owner/repo/git/blobs/0eea554365f002d0f1572af9a58522d335a794d5\"\n },\n {\n \"path\": \"2017-18-08---The-Birth-of-Movable-Type.md\",\n \"mode\": \"100644\",\n \"type\": \"blob\",\n \"sha\": \"44f78c474d04273185a95821426f75affc9b0044\",\n \"size\": 16071,\n \"url\": \"https://api.github.com/repos/owner/repo/git/blobs/44f78c474d04273185a95821426f75affc9b0044\"\n },\n {\n \"path\": \"2017-19-08---Humane-Typography-in-the-Digital-Age.md\",\n \"mode\": \"100644\",\n \"type\": \"blob\",\n \"sha\": \"a532f0a9445cdf90a19c6812cff89d1674991774\",\n \"size\": 7465,\n \"url\": \"https://api.github.com/repos/owner/repo/git/blobs/a532f0a9445cdf90a19c6812cff89d1674991774\"\n }\n ],\n \"truncated\": false\n}\n", "status": 200 }, + { + "method": "GET", + "url": "/.netlify/git/github/git/trees/master:content%2Fposts", + "headers": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset", + "Alt-Svc": "clear", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Content-Security-Policy": "default-src 'none'", + "Content-Type": "application/json; charset=utf-8", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Server": "Netlify", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "Via": "1.1 google", + "X-Accepted-Oauth-Scopes": "", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "deny", + "X-Github-Media-Type": "github.v3; format=json", + "X-Oauth-Scopes": "delete_repo, repo", + "X-Ratelimit-Limit": "5000", + "X-Xss-Protection": "1; mode=block", + "Age": "0", + "Connection": "keep-alive", + "Vary": "Origin,Accept,Authorization,Cookie,X-GitHub-OTP,Accept-Encoding,Accept,X-Requested-With", + "content-length": "2060" + }, + "response": "{\n \"sha\": \"34892575e216c06e757093f036bd8e057c78a52f\",\n \"url\": \"https://api.github.com/repos/owner/repo/git/trees/34892575e216c06e757093f036bd8e057c78a52f\",\n \"tree\": [\n {\n \"path\": \"2016-01-09---Perfecting-the-Art-of-Perfection.md\",\n \"mode\": \"100644\",\n \"type\": \"blob\",\n \"sha\": \"6d51a38aed7139d2117724b1e307657b6ff2d043\",\n \"size\": 1707,\n \"url\": \"https://api.github.com/repos/owner/repo/git/blobs/6d51a38aed7139d2117724b1e307657b6ff2d043\"\n },\n {\n \"path\": \"2016-01-12---The-Origins-of-Social-Stationery-Lettering.md\",\n \"mode\": \"100644\",\n \"type\": \"blob\",\n \"sha\": \"d0582dd245a3f408fb3fe2333bf01400007476e9\",\n \"size\": 2565,\n \"url\": \"https://api.github.com/repos/owner/repo/git/blobs/d0582dd245a3f408fb3fe2333bf01400007476e9\"\n },\n {\n \"path\": \"2016-02-02---A-Brief-History-of-Typography.md\",\n \"mode\": \"100644\",\n \"type\": \"blob\",\n \"sha\": \"0eea554365f002d0f1572af9a58522d335a794d5\",\n \"size\": 2786,\n \"url\": \"https://api.github.com/repos/owner/repo/git/blobs/0eea554365f002d0f1572af9a58522d335a794d5\"\n },\n {\n \"path\": \"2017-18-08---The-Birth-of-Movable-Type.md\",\n \"mode\": \"100644\",\n \"type\": \"blob\",\n \"sha\": \"44f78c474d04273185a95821426f75affc9b0044\",\n \"size\": 16071,\n \"url\": \"https://api.github.com/repos/owner/repo/git/blobs/44f78c474d04273185a95821426f75affc9b0044\"\n },\n {\n \"path\": \"2017-19-08---Humane-Typography-in-the-Digital-Age.md\",\n \"mode\": \"100644\",\n \"type\": \"blob\",\n \"sha\": \"a532f0a9445cdf90a19c6812cff89d1674991774\",\n \"size\": 7465,\n \"url\": \"https://api.github.com/repos/owner/repo/git/blobs/a532f0a9445cdf90a19c6812cff89d1674991774\"\n }\n ],\n \"truncated\": false\n}\n", + "status": 200 + }, { "method": "GET", "url": "/.netlify/git/github/git/trees/master:", @@ -1248,6 +1278,36 @@ "response": "{\n \"state\": \"pending\",\n \"statuses\": [\n\n ],\n \"sha\": \"b71c249fecb69096f7bc51adbce1601ce3d78650\",\n \"total_count\": 0,\n \"repository\": {\n \"id\": 255075943,\n \"node_id\": \"MDEwOlJlcG9zaXRvcnkyNTUwNzU5NDM=\",\n \"name\": \"repo\",\n \"full_name\": \"owner/repo\",\n \"private\": false,\n \"owner\": {\n \"login\": \"owner\",\n \"id\": 26760571,\n \"node_id\": \"MDQ6VXNlcjI2NzYwNTcx\",\n \"avatar_url\": \"https://avatars1.githubusercontent.com/u/7892489?v=4\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/owner\",\n \"html_url\": \"https://github.com/owner\",\n \"followers_url\": \"https://api.github.com/users/owner/followers\",\n \"following_url\": \"https://api.github.com/users/owner/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/owner/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/owner/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/owner/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/owner/orgs\",\n \"repos_url\": \"https://api.github.com/users/owner/repos\",\n \"events_url\": \"https://api.github.com/users/owner/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/owner/received_events\",\n \"type\": \"User\",\n \"site_admin\": false\n },\n \"html_url\": \"https://github.com/owner/repo\",\n \"description\": null,\n \"fork\": false,\n \"url\": \"https://api.github.com/repos/owner/repo\",\n \"forks_url\": \"https://api.github.com/repos/owner/repo/forks\",\n \"keys_url\": \"https://api.github.com/repos/owner/repo/keys{/key_id}\",\n \"collaborators_url\": \"https://api.github.com/repos/owner/repo/collaborators{/collaborator}\",\n \"teams_url\": \"https://api.github.com/repos/owner/repo/teams\",\n \"hooks_url\": \"https://api.github.com/repos/owner/repo/hooks\",\n \"issue_events_url\": \"https://api.github.com/repos/owner/repo/issues/events{/number}\",\n \"events_url\": \"https://api.github.com/repos/owner/repo/events\",\n \"assignees_url\": \"https://api.github.com/repos/owner/repo/assignees{/user}\",\n \"branches_url\": \"https://api.github.com/repos/owner/repo/branches{/branch}\",\n \"tags_url\": \"https://api.github.com/repos/owner/repo/tags\",\n \"blobs_url\": \"https://api.github.com/repos/owner/repo/git/blobs{/sha}\",\n \"git_tags_url\": \"https://api.github.com/repos/owner/repo/git/tags{/sha}\",\n \"git_refs_url\": \"https://api.github.com/repos/owner/repo/git/refs{/sha}\",\n \"trees_url\": \"https://api.github.com/repos/owner/repo/git/trees{/sha}\",\n \"statuses_url\": \"https://api.github.com/repos/owner/repo/statuses/{sha}\",\n \"languages_url\": \"https://api.github.com/repos/owner/repo/languages\",\n \"stargazers_url\": \"https://api.github.com/repos/owner/repo/stargazers\",\n \"contributors_url\": \"https://api.github.com/repos/owner/repo/contributors\",\n \"subscribers_url\": \"https://api.github.com/repos/owner/repo/subscribers\",\n \"subscription_url\": \"https://api.github.com/repos/owner/repo/subscription\",\n \"commits_url\": \"https://api.github.com/repos/owner/repo/commits{/sha}\",\n \"git_commits_url\": \"https://api.github.com/repos/owner/repo/git/commits{/sha}\",\n \"comments_url\": \"https://api.github.com/repos/owner/repo/comments{/number}\",\n \"issue_comment_url\": \"https://api.github.com/repos/owner/repo/issues/comments{/number}\",\n \"contents_url\": \"https://api.github.com/repos/owner/repo/contents/{+path}\",\n \"compare_url\": \"https://api.github.com/repos/owner/repo/compare/{base}...{head}\",\n \"merges_url\": \"https://api.github.com/repos/owner/repo/merges\",\n \"archive_url\": \"https://api.github.com/repos/owner/repo/{archive_format}{/ref}\",\n \"downloads_url\": \"https://api.github.com/repos/owner/repo/downloads\",\n \"issues_url\": \"https://api.github.com/repos/owner/repo/issues{/number}\",\n \"pulls_url\": \"https://api.github.com/repos/owner/repo/pulls{/number}\",\n \"milestones_url\": \"https://api.github.com/repos/owner/repo/milestones{/number}\",\n \"notifications_url\": \"https://api.github.com/repos/owner/repo/notifications{?since,all,participating}\",\n \"labels_url\": \"https://api.github.com/repos/owner/repo/labels{/name}\",\n \"releases_url\": \"https://api.github.com/repos/owner/repo/releases{/id}\",\n \"deployments_url\": \"https://api.github.com/repos/owner/repo/deployments\"\n },\n \"commit_url\": \"https://api.github.com/repos/owner/repo/commits/b71c249fecb69096f7bc51adbce1601ce3d78650\",\n \"url\": \"https://api.github.com/repos/owner/repo/commits/b71c249fecb69096f7bc51adbce1601ce3d78650/status\"\n}\n", "status": 200 }, + { + "method": "GET", + "url": "/.netlify/git/github/pulls?head=owner:cms/posts/1970-01-01-first-title&base=master&state=open&per_page=100", + "headers": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset", + "Alt-Svc": "clear", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Content-Security-Policy": "default-src 'none'", + "Content-Type": "application/json; charset=utf-8", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Server": "Netlify", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "Via": "1.1 google", + "X-Accepted-Oauth-Scopes": "", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "deny", + "X-Github-Media-Type": "github.v3; format=json", + "X-Oauth-Scopes": "delete_repo, repo", + "X-Ratelimit-Limit": "5000", + "X-Xss-Protection": "1; mode=block", + "Age": "0", + "Connection": "keep-alive", + "Vary": "Origin,Accept-Encoding,Accept,Authorization,Cookie,X-GitHub-OTP,Accept-Encoding,Accept,X-Requested-With", + "content-length": "5" + }, + "response": "[\n\n]\n", + "status": 200 + }, { "method": "GET", "url": "/.netlify/git/github/pulls?head=owner:cms/posts/1970-01-01-first-title&base=master&state=open&per_page=100", diff --git a/cypress/fixtures/Git Gateway (GitLab) Backend Editorial Workflow__can change status on and publish multiple entries.json b/cypress/fixtures/Git Gateway (GitLab) Backend Editorial Workflow__can change status on and publish multiple entries.json index ba630af96eb7..e419133cb69b 100644 --- a/cypress/fixtures/Git Gateway (GitLab) Backend Editorial Workflow__can change status on and publish multiple entries.json +++ b/cypress/fixtures/Git Gateway (GitLab) Backend Editorial Workflow__can change status on and publish multiple entries.json @@ -1184,7 +1184,7 @@ "status": 200 }, { - "body": "{\"branch\":\"cms/posts/1970-01-01-second-title\",\"commit_message\":\"Create Post “1970-01-01-second-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-second-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4zMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"decap\",\"author_email\":\"decap@p-m.si\"}", + "body": "{\"branch\":\"cms/posts/1970-01-01-second-title\",\"commit_message\":\"Create Post “1970-01-01-second-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-second-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC42MDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"decap\",\"author_email\":\"decap@p-m.si\"}", "method": "POST", "url": "/.netlify/git/gitlab/repository/commits", "headers": { @@ -1687,7 +1687,7 @@ "status": 404 }, { - "body": "{\"branch\":\"cms/posts/1970-01-01-third-title\",\"commit_message\":\"Create Post “1970-01-01-third-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-third-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjYwMFoKZGVzY3JpcHRpb246IHRoaXJkIGRlc2NyaXB0aW9uCmNhdGVnb3J5OiB0aGlyZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMwotLS0KdGhpcmQgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"decap\",\"author_email\":\"decap@p-m.si\"}", + "body": "{\"branch\":\"cms/posts/1970-01-01-third-title\",\"commit_message\":\"Create Post “1970-01-01-third-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-third-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAxLjIwMFoKZGVzY3JpcHRpb246IHRoaXJkIGRlc2NyaXB0aW9uCmNhdGVnb3J5OiB0aGlyZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMwotLS0KdGhpcmQgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\",\"author_name\":\"decap\",\"author_email\":\"decap@p-m.si\"}", "method": "POST", "url": "/.netlify/git/gitlab/repository/commits", "headers": { diff --git a/cypress/fixtures/Git Gateway (GitLab) Backend Media Library - Large Media__can publish entry with image.json b/cypress/fixtures/Git Gateway (GitLab) Backend Media Library - Large Media__can publish entry with image.json index 28a683380f70..4ed93cd5106e 100644 --- a/cypress/fixtures/Git Gateway (GitLab) Backend Media Library - Large Media__can publish entry with image.json +++ b/cypress/fixtures/Git Gateway (GitLab) Backend Media Library - Large Media__can publish entry with image.json @@ -1577,6 +1577,681 @@ "response": "---\ntemplate: post\ntitle: first title\nimage: /media/netlify.png\ndate: 1970-01-01T00:00:00.000Z\ndescription: first description\ncategory: first category\ntags:\n - tag1\n---\nfirst body", "status": 200 }, + { + "method": "GET", + "url": "/.netlify/git/gitlab/merge_requests?state=opened&labels=Any&per_page=100&target_branch=master&source_branch=cms/posts/1970-01-01-first-title", + "headers": { + "Accept-Ranges": "bytes", + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "Link, X-Total, X-Total-Pages, X-Per-Page, X-Page, X-Next-Page, X-Prev-Page, X-Gitlab-Blob-Id, X-Gitlab-Commit-Id, X-Gitlab-Content-Sha256, X-Gitlab-Encoding, X-Gitlab-File-Name, X-Gitlab-File-Path, X-Gitlab-Last-Commit-Id, X-Gitlab-Ref, X-Gitlab-Size", + "Access-Control-Max-Age": "7200", + "Alt-Svc": "clear", + "Cache-Control": "max-age=0, private, must-revalidate", + "Cf-Cache-Status": "DYNAMIC", + "Cf-Ray": "582d53334ecf9d89-ORD", + "Content-Type": "application/json", + "Expect-Ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", + "Gitlab-Sv": "localhost", + "Link": "; rel=\"first\",; rel=\"last\"", + "Referrer-Policy": "strict-origin-when-cross-origin", + "Server": "Netlify", + "Set-Cookie": "__cfduid=d59717699950dd0325cd11be99ebfc0321586698468; expires=Tue, 12-May-20 13:34:28 GMT; path=/; domain=.gitlab.com; HttpOnly; SameSite=Lax; Secure", + "Strict-Transport-Security": "max-age=31536000", + "Via": "1.1 google", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "X-Next-Page": "", + "X-Page": "1", + "X-Per-Page": "20", + "X-Prev-Page": "", + "X-Total": "0", + "X-Total-Pages": "1", + "Age": "0", + "Connection": "keep-alive", + "Vary": "Origin,Accept-Encoding,Origin", + "content-length": "2" + }, + "response": "[]", + "status": 200 + }, + { + "method": "GET", + "url": "/.netlify/git/gitlab/repository/compare?from=master&to=7d5888c4fca42055cec7d97bcc2a4dc98e18c37c", + "headers": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "Link, X-Total, X-Total-Pages, X-Per-Page, X-Page, X-Next-Page, X-Prev-Page, X-Gitlab-Blob-Id, X-Gitlab-Commit-Id, X-Gitlab-Content-Sha256, X-Gitlab-Encoding, X-Gitlab-File-Name, X-Gitlab-File-Path, X-Gitlab-Last-Commit-Id, X-Gitlab-Ref, X-Gitlab-Size", + "Access-Control-Max-Age": "7200", + "Alt-Svc": "clear", + "Cache-Control": "max-age=0, private, must-revalidate", + "Cf-Cache-Status": "DYNAMIC", + "Cf-Ray": "582d52cdfdc8e1de-ORD", + "Content-Type": "application/json", + "Expect-Ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", + "Gitlab-Sv": "localhost", + "Referrer-Policy": "strict-origin-when-cross-origin", + "Server": "Netlify", + "Set-Cookie": "__cfduid=d8a387a08d540bfc2d63bb31da9babd541586698452; expires=Tue, 12-May-20 13:34:12 GMT; path=/; domain=.gitlab.com; HttpOnly; SameSite=Lax; Secure", + "Strict-Transport-Security": "max-age=31536000", + "Via": "1.1 google", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "Age": "0", + "Connection": "keep-alive", + "Vary": "Origin,Origin", + "content-length": "2182" + }, + "response": "{\"commit\":{\"id\":\"7d5888c4fca42055cec7d97bcc2a4dc98e18c37c\",\"short_id\":\"7d5888c4\",\"created_at\":\"2020-04-12T13:34:08.000+00:00\",\"parent_ids\":[\"154def7c46451986e53d4d3d9177576aef9ea7f4\"],\"title\":\"Create Post “1970-01-01-first-title”\",\"message\":\"Create Post “1970-01-01-first-title”\",\"author_name\":\"decap\",\"author_email\":\"decap@p-m.si\",\"authored_date\":\"2020-04-12T13:34:08.000+00:00\",\"committer_name\":\"owner\",\"committer_email\":\"owner@gmail.com\",\"committed_date\":\"2020-04-12T13:34:08.000+00:00\",\"web_url\":\"https://gitlab.com/owner/repo/-/commit/7d5888c4fca42055cec7d97bcc2a4dc98e18c37c\"},\"commits\":[{\"id\":\"7d5888c4fca42055cec7d97bcc2a4dc98e18c37c\",\"short_id\":\"7d5888c4\",\"created_at\":\"2020-04-12T13:34:08.000+00:00\",\"parent_ids\":[\"154def7c46451986e53d4d3d9177576aef9ea7f4\"],\"title\":\"Create Post “1970-01-01-first-title”\",\"message\":\"Create Post “1970-01-01-first-title”\",\"author_name\":\"decap\",\"author_email\":\"decap@p-m.si\",\"authored_date\":\"2020-04-12T13:34:08.000+00:00\",\"committer_name\":\"owner\",\"committer_email\":\"owner@gmail.com\",\"committed_date\":\"2020-04-12T13:34:08.000+00:00\",\"web_url\":\"https://gitlab.com/owner/repo/-/commit/7d5888c4fca42055cec7d97bcc2a4dc98e18c37c\"}],\"diffs\":[{\"old_path\":\"content/posts/1970-01-01-first-title.md\",\"new_path\":\"content/posts/1970-01-01-first-title.md\",\"a_mode\":\"0\",\"b_mode\":\"100644\",\"new_file\":true,\"renamed_file\":false,\"deleted_file\":false,\"diff\":\"@@ -0,0 +1,11 @@\\n+---\\n+template: post\\n+title: first title\\n+image: /media/netlify.png\\n+date: 1970-01-01T00:00:00.000Z\\n+description: first description\\n+category: first category\\n+tags:\\n+ - tag1\\n+---\\n+first body\\n\\\\ No newline at end of file\\n\"},{\"old_path\":\"static/media/netlify.png\",\"new_path\":\"static/media/netlify.png\",\"a_mode\":\"0\",\"b_mode\":\"100644\",\"new_file\":true,\"renamed_file\":false,\"deleted_file\":false,\"diff\":\"@@ -0,0 +1,3 @@\\n+version https://git-lfs.github.com/spec/v1\\n+oid sha256:b1d40c19b912d2130d1bed8ff1a62a55c7d932978502e1d8559eb77951c5e8d3\\n+size 3470\\n\"}],\"compare_timeout\":false,\"compare_same_ref\":false}", + "status": 200 + }, + { + "method": "HEAD", + "url": "/.netlify/git/gitlab/repository/files/static%2Fmedia%2Fnetlify.png?ref=cms/posts/1970-01-01-first-title", + "headers": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "Link, X-Total, X-Total-Pages, X-Per-Page, X-Page, X-Next-Page, X-Prev-Page, X-Gitlab-Blob-Id, X-Gitlab-Commit-Id, X-Gitlab-Content-Sha256, X-Gitlab-Encoding, X-Gitlab-File-Name, X-Gitlab-File-Path, X-Gitlab-Last-Commit-Id, X-Gitlab-Ref, X-Gitlab-Size", + "Access-Control-Max-Age": "7200", + "Alt-Svc": "clear", + "Cache-Control": "no-cache", + "Cf-Cache-Status": "DYNAMIC", + "Cf-Ray": "582d52d30d639d89-ORD", + "Content-Type": "application/json", + "Expect-Ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", + "Gitlab-Sv": "localhost", + "Referrer-Policy": "strict-origin-when-cross-origin", + "Server": "Netlify", + "Set-Cookie": "__cfduid=dc3f2404a86e158ca70d3d643027824ba1586698452; expires=Tue, 12-May-20 13:34:12 GMT; path=/; domain=.gitlab.com; HttpOnly; SameSite=Lax; Secure", + "Strict-Transport-Security": "max-age=31536000", + "Via": "1.1 google", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "X-Gitlab-Blob-Id": "a137fb3458d391f2740ecc6ebbda52107d65d6ef", + "X-Gitlab-Commit-Id": "7d5888c4fca42055cec7d97bcc2a4dc98e18c37c", + "X-Gitlab-Content-Sha256": "0b7f88af5df603865465cf38968bf912eb60b5d4a0279c190f7723544bcd5456", + "X-Gitlab-Encoding": "base64", + "X-Gitlab-File-Name": "netlify.png", + "X-Gitlab-File-Path": "static/media/netlify.png", + "X-Gitlab-Last-Commit-Id": "7d5888c4fca42055cec7d97bcc2a4dc98e18c37c", + "X-Gitlab-Ref": "cms/posts/1970-01-01-first-title", + "X-Gitlab-Size": "129", + "Age": "1", + "Connection": "keep-alive", + "Vary": "Origin,Origin", + "content-length": "0" + }, + "response": null, + "status": 200 + }, + { + "method": "GET", + "url": "/.netlify/git/gitlab/repository/files/content%2Fposts%2F1970-01-01-first-title.md/raw?ref=cms/posts/1970-01-01-first-title", + "headers": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "Link, X-Total, X-Total-Pages, X-Per-Page, X-Page, X-Next-Page, X-Prev-Page, X-Gitlab-Blob-Id, X-Gitlab-Commit-Id, X-Gitlab-Content-Sha256, X-Gitlab-Encoding, X-Gitlab-File-Name, X-Gitlab-File-Path, X-Gitlab-Last-Commit-Id, X-Gitlab-Ref, X-Gitlab-Size", + "Access-Control-Max-Age": "7200", + "Alt-Svc": "clear", + "Cache-Control": "max-age=0, private, must-revalidate, no-store, no-cache", + "Cf-Cache-Status": "DYNAMIC", + "Cf-Ray": "582d52d6c87a9d89-ORD", + "Content-Disposition": "inline; filename=\"1970-01-01-first-title.md\"; filename*=UTF-8''1970-01-01-first-title.md", + "Content-Type": "text/plain; charset=utf-8", + "Expect-Ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", + "Expires": "Fri, 01 Jan 1990 00:00:00 GMT", + "Gitlab-Sv": "localhost", + "Pragma": "no-cache", + "Referrer-Policy": "strict-origin-when-cross-origin", + "Server": "Netlify", + "Set-Cookie": "__cfduid=d97f5898735831a4057c91edaddca0fd81586698453; expires=Tue, 12-May-20 13:34:13 GMT; path=/; domain=.gitlab.com; HttpOnly; SameSite=Lax; Secure", + "Strict-Transport-Security": "max-age=31536000", + "Via": "1.1 google", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "X-Gitlab-Blob-Id": "5712f24a02b758f8b5b5cc34b676cf0b25f53b86", + "X-Gitlab-Commit-Id": "7d5888c4fca42055cec7d97bcc2a4dc98e18c37c", + "X-Gitlab-Content-Sha256": "1ebac253486a1e755650dcd96613c81cabb7b2c7626ee02d1183ea4b2c384940", + "X-Gitlab-Encoding": "base64", + "X-Gitlab-File-Name": "1970-01-01-first-title.md", + "X-Gitlab-File-Path": "content/posts/1970-01-01-first-title.md", + "X-Gitlab-Last-Commit-Id": "7d5888c4fca42055cec7d97bcc2a4dc98e18c37c", + "X-Gitlab-Ref": "cms/posts/1970-01-01-first-title", + "X-Gitlab-Size": "180", + "Age": "0", + "Connection": "keep-alive", + "Vary": "Origin,Origin", + "content-length": "180" + }, + "response": "---\ntemplate: post\ntitle: first title\nimage: /media/netlify.png\ndate: 1970-01-01T00:00:00.000Z\ndescription: first description\ncategory: first category\ntags:\n - tag1\n---\nfirst body", + "status": 200 + }, + { + "method": "GET", + "url": "/.netlify/git/gitlab/repository/files/static%2Fmedia%2Fnetlify.png/raw?ref=cms/posts/1970-01-01-first-title", + "headers": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "Link, X-Total, X-Total-Pages, X-Per-Page, X-Page, X-Next-Page, X-Prev-Page, X-Gitlab-Blob-Id, X-Gitlab-Commit-Id, X-Gitlab-Content-Sha256, X-Gitlab-Encoding, X-Gitlab-File-Name, X-Gitlab-File-Path, X-Gitlab-Last-Commit-Id, X-Gitlab-Ref, X-Gitlab-Size", + "Access-Control-Max-Age": "7200", + "Alt-Svc": "clear", + "Cache-Control": "max-age=0, private, must-revalidate, no-store, no-cache", + "Cf-Cache-Status": "DYNAMIC", + "Cf-Ray": "582d52db5c56e1de-ORD", + "Content-Disposition": "inline; filename=\"netlify.png\"; filename*=UTF-8''netlify.png", + "Content-Type": "text/plain; charset=utf-8", + "Expect-Ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", + "Expires": "Fri, 01 Jan 1990 00:00:00 GMT", + "Gitlab-Sv": "localhost", + "Pragma": "no-cache", + "Referrer-Policy": "strict-origin-when-cross-origin", + "Server": "Netlify", + "Set-Cookie": "__cfduid=d350cbf0f883d92477e3e2b5bbd2c49f41586698454; expires=Tue, 12-May-20 13:34:14 GMT; path=/; domain=.gitlab.com; HttpOnly; SameSite=Lax; Secure", + "Strict-Transport-Security": "max-age=31536000", + "Via": "1.1 google", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "X-Gitlab-Blob-Id": "a137fb3458d391f2740ecc6ebbda52107d65d6ef", + "X-Gitlab-Commit-Id": "7d5888c4fca42055cec7d97bcc2a4dc98e18c37c", + "X-Gitlab-Content-Sha256": "0b7f88af5df603865465cf38968bf912eb60b5d4a0279c190f7723544bcd5456", + "X-Gitlab-Encoding": "base64", + "X-Gitlab-File-Name": "netlify.png", + "X-Gitlab-File-Path": "static/media/netlify.png", + "X-Gitlab-Last-Commit-Id": "7d5888c4fca42055cec7d97bcc2a4dc98e18c37c", + "X-Gitlab-Ref": "cms/posts/1970-01-01-first-title", + "X-Gitlab-Size": "129", + "Age": "0", + "Connection": "keep-alive", + "Vary": "Origin,Origin", + "content-length": "129" + }, + "response": "version https://git-lfs.github.com/spec/v1\noid sha256:b1d40c19b912d2130d1bed8ff1a62a55c7d932978502e1d8559eb77951c5e8d3\nsize 3470\n", + "status": 200 + }, + { + "method": "GET", + "url": "/.netlify/git/gitlab/repository/commits?path=static/media/netlify.png&ref_name=master", + "headers": { + "Accept-Ranges": "bytes", + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "Link, X-Total, X-Total-Pages, X-Per-Page, X-Page, X-Next-Page, X-Prev-Page, X-Gitlab-Blob-Id, X-Gitlab-Commit-Id, X-Gitlab-Content-Sha256, X-Gitlab-Encoding, X-Gitlab-File-Name, X-Gitlab-File-Path, X-Gitlab-Last-Commit-Id, X-Gitlab-Ref, X-Gitlab-Size", + "Access-Control-Max-Age": "7200", + "Alt-Svc": "clear", + "Cache-Control": "max-age=0, private, must-revalidate", + "Cf-Cache-Status": "DYNAMIC", + "Cf-Ray": "582d52dbac049d89-ORD", + "Content-Type": "application/json", + "Expect-Ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", + "Gitlab-Sv": "localhost", + "Link": "; rel=\"first\",; rel=\"last\"", + "Referrer-Policy": "strict-origin-when-cross-origin", + "Server": "Netlify", + "Set-Cookie": "__cfduid=d238c021a9cd509d8b29a1f9f360425001586698454; expires=Tue, 12-May-20 13:34:14 GMT; path=/; domain=.gitlab.com; HttpOnly; SameSite=Lax; Secure", + "Strict-Transport-Security": "max-age=31536000", + "Via": "1.1 google", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "X-Next-Page": "", + "X-Page": "1", + "X-Per-Page": "20", + "X-Prev-Page": "", + "X-Total": "0", + "X-Total-Pages": "1", + "Age": "0", + "Connection": "keep-alive", + "Vary": "Origin,Accept-Encoding,Origin", + "content-length": "2" + }, + "response": "[]", + "status": 200 + }, + { + "method": "GET", + "url": "/.netlify/large-media/origin/b1d40c19b912d2130d1bed8ff1a62a55c7d932978502e1d8559eb77951c5e8d3?nf_resize=fit&w=560&h=320", + "headers": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Origin": "*", + "Alt-Svc": "clear", + "Cache-Control": "public, max-age=0, must-revalidate", + "Content-Length": "8467", + "Content-Type": "image/png", + "Via": "1.1 google", + "X-Bb-Gen-Id": "", + "Age": "0", + "Connection": "keep-alive", + "Server": "Netlify", + "Vary": "Origin" + }, + "response": { + "encoding": "base64", + "content": "iVBORw0KGgoAAAANSUhEUgAAAJcAAACXCAIAAACX/V4uAAAg2klEQVR4nOx9C3gT15m2ZFlX2xLyTb5bxvhGYmNwwNwCISVQaCDZQpL2TzZ3kjTJ3+2GP22fbdL2T9Juug1tN39z724SmnaTEPKH0JJCzN1gG2NsQ8CWjUGyrItly/LIuo9k7WMOGR+duWhGkmXJ2/fh4fGMZs6cmXfe7/vOd86ckxoMBnl/R5IjZbYr8HfEAHOfRTuOz3YVZhyps12BmYLZ496tvzzoc5s8vnyJqEQkvb94QZ5EOtv1mhHw555ftOP4m9reXcN68k87VcVPqKvlQuFs1GsGMQdZ3NbR3Oy20/26Wirf27A6vjWaccwpFs0e9/buln7cw3xYhVDyyaIVc8m6zp3oxo7jT13sCEshj8frxz1PXeyYS1HPHNEiSxXCmEuKnAtaJFQoDwp4PB74nxnyoG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AAABJRU5ErkJggg==" + }, + "status": 200 + }, + { + "method": "GET", + "url": "/.netlify/git/gitlab/merge_requests?state=opened&labels=Any&per_page=100&target_branch=master&source_branch=cms/posts/1970-01-01-first-title", + "headers": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "Link, X-Total, X-Total-Pages, X-Per-Page, X-Page, X-Next-Page, X-Prev-Page, X-Gitlab-Blob-Id, X-Gitlab-Commit-Id, X-Gitlab-Content-Sha256, X-Gitlab-Encoding, X-Gitlab-File-Name, X-Gitlab-File-Path, X-Gitlab-Last-Commit-Id, X-Gitlab-Ref, X-Gitlab-Size", + "Access-Control-Max-Age": "7200", + "Alt-Svc": "clear", + "Cache-Control": "max-age=0, private, must-revalidate", + "Cf-Cache-Status": "DYNAMIC", + "Cf-Ray": "582d52e6abc8e1de-ORD", + "Content-Type": "application/json", + "Expect-Ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", + "Gitlab-Sv": "localhost", + "Link": "; rel=\"first\",; rel=\"last\"", + "Referrer-Policy": "strict-origin-when-cross-origin", + "Server": "Netlify", + "Set-Cookie": "__cfduid=da3c960bbbf1887aa041250e3c14ca41a1586698456; expires=Tue, 12-May-20 13:34:16 GMT; path=/; domain=.gitlab.com; HttpOnly; SameSite=Lax; Secure", + "Strict-Transport-Security": "max-age=31536000", + "Via": "1.1 google", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "X-Next-Page": "", + "X-Page": "1", + "X-Per-Page": "20", + "X-Prev-Page": "", + "X-Total": "1", + "X-Total-Pages": "1", + "Age": "0", + "Connection": "keep-alive", + "Vary": "Origin,Origin", + "content-length": "1613" + }, + "response": "[{\"id\":55487773,\"iid\":1,\"project_id\":18084683,\"title\":\"Create Post “1970-01-01-first-title”\",\"description\":\"Automatically generated by Decap CMS\",\"state\":\"opened\",\"created_at\":\"2020-04-12T13:34:10.166Z\",\"updated_at\":\"2020-04-12T13:34:10.166Z\",\"merged_by\":null,\"merged_at\":null,\"closed_by\":null,\"closed_at\":null,\"target_branch\":\"master\",\"source_branch\":\"cms/posts/1970-01-01-first-title\",\"user_notes_count\":0,\"upvotes\":0,\"downvotes\":0,\"assignee\":null,\"author\":{\"id\":4843565,\"name\":\"owner\",\"username\":\"owner\",\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/2c95a9ee2f890f6c9ccdbf2438c88ca7?s=80\\u0026d=identicon\",\"web_url\":\"https://gitlab.com/owner\"},\"assignees\":[],\"source_project_id\":18084683,\"target_project_id\":18084683,\"labels\":[\"decap-cms/draft\"],\"work_in_progress\":false,\"milestone\":null,\"merge_when_pipeline_succeeds\":false,\"merge_status\":\"can_be_merged\",\"sha\":\"7d5888c4fca42055cec7d97bcc2a4dc98e18c37c\",\"merge_commit_sha\":null,\"squash_commit_sha\":null,\"discussion_locked\":null,\"should_remove_source_branch\":null,\"force_remove_source_branch\":true,\"reference\":\"!1\",\"references\":{\"short\":\"!1\",\"relative\":\"!1\",\"full\":\"owner/repo!1\"},\"web_url\":\"https://gitlab.com/owner/repo/-/merge_requests/1\",\"time_stats\":{\"time_estimate\":0,\"total_time_spent\":0,\"human_time_estimate\":null,\"human_total_time_spent\":null},\"squash\":false,\"task_completion_status\":{\"count\":0,\"completed_count\":0},\"has_conflicts\":false,\"blocking_discussions_resolved\":true,\"approvals_before_merge\":null}]", + "status": 200 + }, + { + "method": "GET", + "url": "/.netlify/git/gitlab/merge_requests?state=opened&labels=Any&per_page=100&target_branch=master&source_branch=cms/posts/1970-01-01-first-title", + "headers": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "Link, X-Total, X-Total-Pages, X-Per-Page, X-Page, X-Next-Page, X-Prev-Page, X-Gitlab-Blob-Id, X-Gitlab-Commit-Id, X-Gitlab-Content-Sha256, X-Gitlab-Encoding, X-Gitlab-File-Name, X-Gitlab-File-Path, X-Gitlab-Last-Commit-Id, X-Gitlab-Ref, X-Gitlab-Size", + "Access-Control-Max-Age": "7200", + "Alt-Svc": "clear", + "Cache-Control": "max-age=0, private, must-revalidate", + "Cf-Cache-Status": "DYNAMIC", + "Cf-Ray": "582d52eb6a419d89-ORD", + "Content-Type": "application/json", + "Expect-Ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", + "Gitlab-Sv": "localhost", + "Link": "; rel=\"first\",; rel=\"last\"", + "Referrer-Policy": "strict-origin-when-cross-origin", + "Server": "Netlify", + "Set-Cookie": "__cfduid=d582797da18f99daa9893ad6e307ca52a1586698456; expires=Tue, 12-May-20 13:34:16 GMT; path=/; domain=.gitlab.com; HttpOnly; SameSite=Lax; Secure", + "Strict-Transport-Security": "max-age=31536000", + "Via": "1.1 google", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "X-Next-Page": "", + "X-Page": "1", + "X-Per-Page": "20", + "X-Prev-Page": "", + "X-Total": "1", + "X-Total-Pages": "1", + "Age": "1", + "Connection": "keep-alive", + "Vary": "Origin,Origin", + "content-length": "1613" + }, + "response": "[{\"id\":55487773,\"iid\":1,\"project_id\":18084683,\"title\":\"Create Post “1970-01-01-first-title”\",\"description\":\"Automatically generated by Decap CMS\",\"state\":\"opened\",\"created_at\":\"2020-04-12T13:34:10.166Z\",\"updated_at\":\"2020-04-12T13:34:10.166Z\",\"merged_by\":null,\"merged_at\":null,\"closed_by\":null,\"closed_at\":null,\"target_branch\":\"master\",\"source_branch\":\"cms/posts/1970-01-01-first-title\",\"user_notes_count\":0,\"upvotes\":0,\"downvotes\":0,\"assignee\":null,\"author\":{\"id\":4843565,\"name\":\"owner\",\"username\":\"owner\",\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/2c95a9ee2f890f6c9ccdbf2438c88ca7?s=80\\u0026d=identicon\",\"web_url\":\"https://gitlab.com/owner\"},\"assignees\":[],\"source_project_id\":18084683,\"target_project_id\":18084683,\"labels\":[\"decap-cms/draft\"],\"work_in_progress\":false,\"milestone\":null,\"merge_when_pipeline_succeeds\":false,\"merge_status\":\"can_be_merged\",\"sha\":\"7d5888c4fca42055cec7d97bcc2a4dc98e18c37c\",\"merge_commit_sha\":null,\"squash_commit_sha\":null,\"discussion_locked\":null,\"should_remove_source_branch\":null,\"force_remove_source_branch\":true,\"reference\":\"!1\",\"references\":{\"short\":\"!1\",\"relative\":\"!1\",\"full\":\"owner/repo!1\"},\"web_url\":\"https://gitlab.com/owner/repo/-/merge_requests/1\",\"time_stats\":{\"time_estimate\":0,\"total_time_spent\":0,\"human_time_estimate\":null,\"human_total_time_spent\":null},\"squash\":false,\"task_completion_status\":{\"count\":0,\"completed_count\":0},\"has_conflicts\":false,\"blocking_discussions_resolved\":true,\"approvals_before_merge\":null}]", + "status": 200 + }, + { + "method": "GET", + "url": "/.netlify/git/gitlab/repository/commits/7d5888c4fca42055cec7d97bcc2a4dc98e18c37c/statuses?ref=cms/posts/1970-01-01-first-title", + "headers": { + "Accept-Ranges": "bytes", + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "Link, X-Total, X-Total-Pages, X-Per-Page, X-Page, X-Next-Page, X-Prev-Page, X-Gitlab-Blob-Id, X-Gitlab-Commit-Id, X-Gitlab-Content-Sha256, X-Gitlab-Encoding, X-Gitlab-File-Name, X-Gitlab-File-Path, X-Gitlab-Last-Commit-Id, X-Gitlab-Ref, X-Gitlab-Size", + "Access-Control-Max-Age": "7200", + "Alt-Svc": "clear", + "Cache-Control": "max-age=0, private, must-revalidate", + "Cf-Cache-Status": "DYNAMIC", + "Cf-Ray": "582d52eb9f37e1de-ORD", + "Content-Type": "application/json", + "Expect-Ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", + "Gitlab-Sv": "localhost", + "Link": "; rel=\"first\",; rel=\"last\"", + "Referrer-Policy": "strict-origin-when-cross-origin", + "Server": "Netlify", + "Set-Cookie": "__cfduid=da3c960bbbf1887aa041250e3c14ca41a1586698456; expires=Tue, 12-May-20 13:34:16 GMT; path=/; domain=.gitlab.com; HttpOnly; SameSite=Lax; Secure", + "Strict-Transport-Security": "max-age=31536000", + "Via": "1.1 google", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "X-Next-Page": "", + "X-Page": "1", + "X-Per-Page": "20", + "X-Prev-Page": "", + "X-Total": "0", + "X-Total-Pages": "1", + "Age": "1", + "Connection": "keep-alive", + "Vary": "Origin,Accept-Encoding,Origin", + "content-length": "2" + }, + "response": "[]", + "status": 200 + }, + { + "method": "PUT", + "url": "/.netlify/git/gitlab/merge_requests/1?labels=decap-cms/pending_publish", + "headers": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "Link, X-Total, X-Total-Pages, X-Per-Page, X-Page, X-Next-Page, X-Prev-Page, X-Gitlab-Blob-Id, X-Gitlab-Commit-Id, X-Gitlab-Content-Sha256, X-Gitlab-Encoding, X-Gitlab-File-Name, X-Gitlab-File-Path, X-Gitlab-Last-Commit-Id, X-Gitlab-Ref, X-Gitlab-Size", + "Access-Control-Max-Age": "7200", + "Alt-Svc": "clear", + "Cache-Control": "max-age=0, private, must-revalidate", + "Cf-Cache-Status": "DYNAMIC", + "Cf-Ray": "582d52f02f1e9d89-ORD", + "Content-Type": "application/json", + "Expect-Ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", + "Gitlab-Sv": "localhost", + "Referrer-Policy": "strict-origin-when-cross-origin", + "Server": "Netlify", + "Set-Cookie": "__cfduid=d1b7af1c78fdbb2c11bd488374406da491586698457; expires=Tue, 12-May-20 13:34:17 GMT; path=/; domain=.gitlab.com; HttpOnly; SameSite=Lax; Secure", + "Strict-Transport-Security": "max-age=31536000", + "Via": "1.1 google", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "Age": "0", + "Connection": "keep-alive", + "Vary": "Origin,Origin", + "content-length": "2020" + }, + "response": "{\"id\":55487773,\"iid\":1,\"project_id\":18084683,\"title\":\"Create Post “1970-01-01-first-title”\",\"description\":\"Automatically generated by Decap CMS\",\"state\":\"opened\",\"created_at\":\"2020-04-12T13:34:10.166Z\",\"updated_at\":\"2020-04-12T13:34:17.751Z\",\"merged_by\":null,\"merged_at\":null,\"closed_by\":null,\"closed_at\":null,\"target_branch\":\"master\",\"source_branch\":\"cms/posts/1970-01-01-first-title\",\"user_notes_count\":0,\"upvotes\":0,\"downvotes\":0,\"assignee\":null,\"author\":{\"id\":4843565,\"name\":\"owner\",\"username\":\"owner\",\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/2c95a9ee2f890f6c9ccdbf2438c88ca7?s=80\\u0026d=identicon\",\"web_url\":\"https://gitlab.com/owner\"},\"assignees\":[],\"source_project_id\":18084683,\"target_project_id\":18084683,\"labels\":[\"decap-cms/pending_publish\"],\"work_in_progress\":false,\"milestone\":null,\"merge_when_pipeline_succeeds\":false,\"merge_status\":\"can_be_merged\",\"sha\":\"7d5888c4fca42055cec7d97bcc2a4dc98e18c37c\",\"merge_commit_sha\":null,\"squash_commit_sha\":null,\"discussion_locked\":null,\"should_remove_source_branch\":null,\"force_remove_source_branch\":true,\"reference\":\"!1\",\"references\":{\"short\":\"!1\",\"relative\":\"!1\",\"full\":\"owner/repo!1\"},\"web_url\":\"https://gitlab.com/owner/repo/-/merge_requests/1\",\"time_stats\":{\"time_estimate\":0,\"total_time_spent\":0,\"human_time_estimate\":null,\"human_total_time_spent\":null},\"squash\":false,\"task_completion_status\":{\"count\":0,\"completed_count\":0},\"has_conflicts\":false,\"blocking_discussions_resolved\":true,\"approvals_before_merge\":null,\"subscribed\":true,\"changes_count\":\"2\",\"latest_build_started_at\":null,\"latest_build_finished_at\":null,\"first_deployed_to_production_at\":null,\"pipeline\":null,\"head_pipeline\":null,\"diff_refs\":{\"base_sha\":\"154def7c46451986e53d4d3d9177576aef9ea7f4\",\"head_sha\":\"7d5888c4fca42055cec7d97bcc2a4dc98e18c37c\",\"start_sha\":\"154def7c46451986e53d4d3d9177576aef9ea7f4\"},\"merge_error\":null,\"user\":{\"can_merge\":true}}", + "status": 200 + }, + { + "method": "GET", + "url": "/.netlify/git/gitlab/merge_requests?state=opened&labels=Any&per_page=100&target_branch=master&source_branch=cms/posts/1970-01-01-first-title", + "headers": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "Link, X-Total, X-Total-Pages, X-Per-Page, X-Page, X-Next-Page, X-Prev-Page, X-Gitlab-Blob-Id, X-Gitlab-Commit-Id, X-Gitlab-Content-Sha256, X-Gitlab-Encoding, X-Gitlab-File-Name, X-Gitlab-File-Path, X-Gitlab-Last-Commit-Id, X-Gitlab-Ref, X-Gitlab-Size", + "Access-Control-Max-Age": "7200", + "Alt-Svc": "clear", + "Cache-Control": "max-age=0, private, must-revalidate", + "Cf-Cache-Status": "DYNAMIC", + "Cf-Ray": "582d52fafec0c528-ORD", + "Content-Type": "application/json", + "Expect-Ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", + "Gitlab-Sv": "localhost", + "Link": "; rel=\"first\",; rel=\"last\"", + "Referrer-Policy": "strict-origin-when-cross-origin", + "Server": "Netlify", + "Set-Cookie": "__cfduid=d7b4e157d3e0ff745073c71d1c59fae9d1586698459; expires=Tue, 12-May-20 13:34:19 GMT; path=/; domain=.gitlab.com; HttpOnly; SameSite=Lax; Secure", + "Strict-Transport-Security": "max-age=31536000", + "Via": "1.1 google", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "X-Next-Page": "", + "X-Page": "1", + "X-Per-Page": "20", + "X-Prev-Page": "", + "X-Total": "1", + "X-Total-Pages": "1", + "Age": "0", + "Connection": "keep-alive", + "Vary": "Origin,Origin", + "content-length": "1623" + }, + "response": "[{\"id\":55487773,\"iid\":1,\"project_id\":18084683,\"title\":\"Create Post “1970-01-01-first-title”\",\"description\":\"Automatically generated by Decap CMS\",\"state\":\"opened\",\"created_at\":\"2020-04-12T13:34:10.166Z\",\"updated_at\":\"2020-04-12T13:34:17.751Z\",\"merged_by\":null,\"merged_at\":null,\"closed_by\":null,\"closed_at\":null,\"target_branch\":\"master\",\"source_branch\":\"cms/posts/1970-01-01-first-title\",\"user_notes_count\":0,\"upvotes\":0,\"downvotes\":0,\"assignee\":null,\"author\":{\"id\":4843565,\"name\":\"owner\",\"username\":\"owner\",\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/2c95a9ee2f890f6c9ccdbf2438c88ca7?s=80\\u0026d=identicon\",\"web_url\":\"https://gitlab.com/owner\"},\"assignees\":[],\"source_project_id\":18084683,\"target_project_id\":18084683,\"labels\":[\"decap-cms/pending_publish\"],\"work_in_progress\":false,\"milestone\":null,\"merge_when_pipeline_succeeds\":false,\"merge_status\":\"can_be_merged\",\"sha\":\"7d5888c4fca42055cec7d97bcc2a4dc98e18c37c\",\"merge_commit_sha\":null,\"squash_commit_sha\":null,\"discussion_locked\":null,\"should_remove_source_branch\":null,\"force_remove_source_branch\":true,\"reference\":\"!1\",\"references\":{\"short\":\"!1\",\"relative\":\"!1\",\"full\":\"owner/repo!1\"},\"web_url\":\"https://gitlab.com/owner/repo/-/merge_requests/1\",\"time_stats\":{\"time_estimate\":0,\"total_time_spent\":0,\"human_time_estimate\":null,\"human_total_time_spent\":null},\"squash\":false,\"task_completion_status\":{\"count\":0,\"completed_count\":0},\"has_conflicts\":false,\"blocking_discussions_resolved\":true,\"approvals_before_merge\":null}]", + "status": 200 + }, + { + "method": "PUT", + "url": "/.netlify/git/gitlab/merge_requests/1/merge?merge_commit_message=Automatically generated. Merged on Decap CMS.&squash_commit_message=Automatically generated. Merged on Decap CMS.&squash=false&should_remove_source_branch=true", + "headers": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "Link, X-Total, X-Total-Pages, X-Per-Page, X-Page, X-Next-Page, X-Prev-Page, X-Gitlab-Blob-Id, X-Gitlab-Commit-Id, X-Gitlab-Content-Sha256, X-Gitlab-Encoding, X-Gitlab-File-Name, X-Gitlab-File-Path, X-Gitlab-Last-Commit-Id, X-Gitlab-Ref, X-Gitlab-Size", + "Access-Control-Max-Age": "7200", + "Alt-Svc": "clear", + "Cache-Control": "max-age=0, private, must-revalidate", + "Cf-Cache-Status": "DYNAMIC", + "Cf-Ray": "582d53003bc5e1de-ORD", + "Content-Type": "application/json", + "Expect-Ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", + "Gitlab-Sv": "localhost", + "Referrer-Policy": "strict-origin-when-cross-origin", + "Server": "Netlify", + "Set-Cookie": "__cfduid=d794f87b23027dc9ed9e5b41e1beb9b651586698460; expires=Tue, 12-May-20 13:34:20 GMT; path=/; domain=.gitlab.com; HttpOnly; SameSite=Lax; Secure", + "Strict-Transport-Security": "max-age=31536000", + "Via": "1.1 google", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "Age": "2", + "Connection": "keep-alive", + "Vary": "Origin,Origin", + "content-length": "2296" + }, + "response": "{\"id\":55487773,\"iid\":1,\"project_id\":18084683,\"title\":\"Create Post “1970-01-01-first-title”\",\"description\":\"Automatically generated by Decap CMS\",\"state\":\"merged\",\"created_at\":\"2020-04-12T13:34:10.166Z\",\"updated_at\":\"2020-04-12T13:34:21.085Z\",\"merged_by\":{\"id\":4843565,\"name\":\"owner\",\"username\":\"owner\",\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/2c95a9ee2f890f6c9ccdbf2438c88ca7?s=80\\u0026d=identicon\",\"web_url\":\"https://gitlab.com/owner\"},\"merged_at\":\"2020-04-12T13:34:21.108Z\",\"closed_by\":null,\"closed_at\":null,\"target_branch\":\"master\",\"source_branch\":\"cms/posts/1970-01-01-first-title\",\"user_notes_count\":0,\"upvotes\":0,\"downvotes\":0,\"assignee\":null,\"author\":{\"id\":4843565,\"name\":\"owner\",\"username\":\"owner\",\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/2c95a9ee2f890f6c9ccdbf2438c88ca7?s=80\\u0026d=identicon\",\"web_url\":\"https://gitlab.com/owner\"},\"assignees\":[],\"source_project_id\":18084683,\"target_project_id\":18084683,\"labels\":[\"decap-cms/pending_publish\"],\"work_in_progress\":false,\"milestone\":null,\"merge_when_pipeline_succeeds\":false,\"merge_status\":\"can_be_merged\",\"sha\":\"7d5888c4fca42055cec7d97bcc2a4dc98e18c37c\",\"merge_commit_sha\":\"409811aa7b81dccb5216c360e2adda41c797dc3a\",\"squash_commit_sha\":null,\"discussion_locked\":null,\"should_remove_source_branch\":null,\"force_remove_source_branch\":true,\"reference\":\"!1\",\"references\":{\"short\":\"!1\",\"relative\":\"!1\",\"full\":\"owner/repo!1\"},\"web_url\":\"https://gitlab.com/owner/repo/-/merge_requests/1\",\"time_stats\":{\"time_estimate\":0,\"total_time_spent\":0,\"human_time_estimate\":null,\"human_total_time_spent\":null},\"squash\":false,\"task_completion_status\":{\"count\":0,\"completed_count\":0},\"has_conflicts\":false,\"blocking_discussions_resolved\":true,\"approvals_before_merge\":null,\"subscribed\":true,\"changes_count\":\"2\",\"latest_build_started_at\":null,\"latest_build_finished_at\":null,\"first_deployed_to_production_at\":null,\"pipeline\":null,\"head_pipeline\":null,\"diff_refs\":{\"base_sha\":\"154def7c46451986e53d4d3d9177576aef9ea7f4\",\"head_sha\":\"7d5888c4fca42055cec7d97bcc2a4dc98e18c37c\",\"start_sha\":\"154def7c46451986e53d4d3d9177576aef9ea7f4\"},\"merge_error\":null,\"user\":{\"can_merge\":true}}", + "status": 200 + }, + { + "method": "GET", + "url": "/.netlify/git/gitlab/merge_requests?state=opened&labels=Any&per_page=100&target_branch=master&source_branch=cms/posts/1970-01-01-first-title", + "headers": { + "Accept-Ranges": "bytes", + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "Link, X-Total, X-Total-Pages, X-Per-Page, X-Page, X-Next-Page, X-Prev-Page, X-Gitlab-Blob-Id, X-Gitlab-Commit-Id, X-Gitlab-Content-Sha256, X-Gitlab-Encoding, X-Gitlab-File-Name, X-Gitlab-File-Path, X-Gitlab-Last-Commit-Id, X-Gitlab-Ref, X-Gitlab-Size", + "Access-Control-Max-Age": "7200", + "Alt-Svc": "clear", + "Cache-Control": "max-age=0, private, must-revalidate", + "Cf-Cache-Status": "DYNAMIC", + "Cf-Ray": "582d530f7826c528-ORD", + "Content-Type": "application/json", + "Expect-Ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", + "Gitlab-Sv": "localhost", + "Link": "; rel=\"first\",; rel=\"last\"", + "Referrer-Policy": "strict-origin-when-cross-origin", + "Server": "Netlify", + "Set-Cookie": "__cfduid=d14534926280e6643c774112d39407c371586698462; expires=Tue, 12-May-20 13:34:22 GMT; path=/; domain=.gitlab.com; HttpOnly; SameSite=Lax; Secure", + "Strict-Transport-Security": "max-age=31536000", + "Via": "1.1 google", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "X-Next-Page": "", + "X-Page": "1", + "X-Per-Page": "20", + "X-Prev-Page": "", + "X-Total": "0", + "X-Total-Pages": "1", + "Age": "0", + "Connection": "keep-alive", + "Vary": "Origin,Accept-Encoding,Origin", + "content-length": "2" + }, + "response": "[]", + "status": 200 + }, + { + "method": "GET", + "url": "/.netlify/git/gitlab/repository/tree?path=static/media&ref=master&per_page=100&recursive=false", + "headers": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "Link, X-Total, X-Total-Pages, X-Per-Page, X-Page, X-Next-Page, X-Prev-Page, X-Gitlab-Blob-Id, X-Gitlab-Commit-Id, X-Gitlab-Content-Sha256, X-Gitlab-Encoding, X-Gitlab-File-Name, X-Gitlab-File-Path, X-Gitlab-Last-Commit-Id, X-Gitlab-Ref, X-Gitlab-Size", + "Access-Control-Max-Age": "7200", + "Alt-Svc": "clear", + "Cache-Control": "max-age=0, private, must-revalidate", + "Cf-Cache-Status": "DYNAMIC", + "Cf-Ray": "582d53103bfa9d89-ORD", + "Content-Type": "application/json", + "Expect-Ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", + "Gitlab-Sv": "localhost", + "Link": "; rel=\"first\",; rel=\"last\"", + "Referrer-Policy": "strict-origin-when-cross-origin", + "Server": "Netlify", + "Set-Cookie": "__cfduid=de4683d0db08d290ff191cc2b4f0026201586698462; expires=Tue, 12-May-20 13:34:22 GMT; path=/; domain=.gitlab.com; HttpOnly; SameSite=Lax; Secure", + "Strict-Transport-Security": "max-age=31536000", + "Via": "1.1 google", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "X-Next-Page": "", + "X-Page": "1", + "X-Per-Page": "100", + "X-Prev-Page": "", + "X-Total": "1", + "X-Total-Pages": "1", + "Age": "0", + "Connection": "keep-alive", + "Vary": "Origin,Origin", + "content-length": "136" + }, + "response": "[{\"id\":\"a137fb3458d391f2740ecc6ebbda52107d65d6ef\",\"name\":\"netlify.png\",\"type\":\"blob\",\"path\":\"static/media/netlify.png\",\"mode\":\"100644\"}]", + "status": 200 + }, + { + "method": "GET", + "url": "/.netlify/git/gitlab/repository/files/content%2Fposts%2F1970-01-01-first-title.md/raw?ref=master", + "headers": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "Link, X-Total, X-Total-Pages, X-Per-Page, X-Page, X-Next-Page, X-Prev-Page, X-Gitlab-Blob-Id, X-Gitlab-Commit-Id, X-Gitlab-Content-Sha256, X-Gitlab-Encoding, X-Gitlab-File-Name, X-Gitlab-File-Path, X-Gitlab-Last-Commit-Id, X-Gitlab-Ref, X-Gitlab-Size", + "Access-Control-Max-Age": "7200", + "Alt-Svc": "clear", + "Cache-Control": "max-age=0, private, must-revalidate, no-store, no-cache", + "Cf-Cache-Status": "DYNAMIC", + "Cf-Ray": "582d53165de7e1de-ORD", + "Content-Disposition": "inline; filename=\"1970-01-01-first-title.md\"; filename*=UTF-8''1970-01-01-first-title.md", + "Content-Type": "text/plain; charset=utf-8", + "Expect-Ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", + "Expires": "Fri, 01 Jan 1990 00:00:00 GMT", + "Gitlab-Sv": "localhost", + "Pragma": "no-cache", + "Referrer-Policy": "strict-origin-when-cross-origin", + "Server": "Netlify", + "Set-Cookie": "__cfduid=d639cd5dc80e59d1fd21c005d77921d041586698463; expires=Tue, 12-May-20 13:34:23 GMT; path=/; domain=.gitlab.com; HttpOnly; SameSite=Lax; Secure", + "Strict-Transport-Security": "max-age=31536000", + "Via": "1.1 google", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "X-Gitlab-Blob-Id": "5712f24a02b758f8b5b5cc34b676cf0b25f53b86", + "X-Gitlab-Commit-Id": "409811aa7b81dccb5216c360e2adda41c797dc3a", + "X-Gitlab-Content-Sha256": "1ebac253486a1e755650dcd96613c81cabb7b2c7626ee02d1183ea4b2c384940", + "X-Gitlab-Encoding": "base64", + "X-Gitlab-File-Name": "1970-01-01-first-title.md", + "X-Gitlab-File-Path": "content/posts/1970-01-01-first-title.md", + "X-Gitlab-Last-Commit-Id": "7d5888c4fca42055cec7d97bcc2a4dc98e18c37c", + "X-Gitlab-Ref": "master", + "X-Gitlab-Size": "180", + "Age": "0", + "Connection": "keep-alive", + "Vary": "Origin,Origin", + "content-length": "180" + }, + "response": "---\ntemplate: post\ntitle: first title\nimage: /media/netlify.png\ndate: 1970-01-01T00:00:00.000Z\ndescription: first description\ncategory: first category\ntags:\n - tag1\n---\nfirst body", + "status": 200 + }, + { + "method": "GET", + "url": "/.netlify/git/gitlab/merge_requests?state=opened&labels=Any&per_page=100&target_branch=master&source_branch=cms/posts/1970-01-01-first-title", + "headers": { + "Accept-Ranges": "bytes", + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "Link, X-Total, X-Total-Pages, X-Per-Page, X-Page, X-Next-Page, X-Prev-Page, X-Gitlab-Blob-Id, X-Gitlab-Commit-Id, X-Gitlab-Content-Sha256, X-Gitlab-Encoding, X-Gitlab-File-Name, X-Gitlab-File-Path, X-Gitlab-Last-Commit-Id, X-Gitlab-Ref, X-Gitlab-Size", + "Access-Control-Max-Age": "7200", + "Alt-Svc": "clear", + "Cache-Control": "max-age=0, private, must-revalidate", + "Cf-Cache-Status": "DYNAMIC", + "Cf-Ray": "582d531d4dc79d89-ORD", + "Content-Type": "application/json", + "Expect-Ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", + "Gitlab-Sv": "localhost", + "Link": "; rel=\"first\",; rel=\"last\"", + "Referrer-Policy": "strict-origin-when-cross-origin", + "Server": "Netlify", + "Set-Cookie": "__cfduid=d366d858572c49304788a63ffc2088a6e1586698464; expires=Tue, 12-May-20 13:34:24 GMT; path=/; domain=.gitlab.com; HttpOnly; SameSite=Lax; Secure", + "Strict-Transport-Security": "max-age=31536000", + "Via": "1.1 google", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "X-Next-Page": "", + "X-Page": "1", + "X-Per-Page": "20", + "X-Prev-Page": "", + "X-Total": "0", + "X-Total-Pages": "1", + "Age": "0", + "Connection": "keep-alive", + "Vary": "Origin,Accept-Encoding,Origin", + "content-length": "2" + }, + "response": "[]", + "status": 200 + }, + { + "method": "GET", + "url": "/.netlify/git/gitlab/repository/files/content%2Fposts%2F1970-01-01-first-title.md/raw?ref=master", + "headers": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Methods": "GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS", + "Access-Control-Allow-Origin": "http://localhost:8080", + "Access-Control-Expose-Headers": "Link, X-Total, X-Total-Pages, X-Per-Page, X-Page, X-Next-Page, X-Prev-Page, X-Gitlab-Blob-Id, X-Gitlab-Commit-Id, X-Gitlab-Content-Sha256, X-Gitlab-Encoding, X-Gitlab-File-Name, X-Gitlab-File-Path, X-Gitlab-Last-Commit-Id, X-Gitlab-Ref, X-Gitlab-Size", + "Access-Control-Max-Age": "7200", + "Alt-Svc": "clear", + "Cache-Control": "max-age=0, private, must-revalidate, no-store, no-cache", + "Cf-Cache-Status": "DYNAMIC", + "Cf-Ray": "582d5322afe3c528-ORD", + "Content-Disposition": "inline; filename=\"1970-01-01-first-title.md\"; filename*=UTF-8''1970-01-01-first-title.md", + "Content-Type": "text/plain; charset=utf-8", + "Expect-Ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", + "Expires": "Fri, 01 Jan 1990 00:00:00 GMT", + "Gitlab-Sv": "localhost", + "Pragma": "no-cache", + "Referrer-Policy": "strict-origin-when-cross-origin", + "Server": "Netlify", + "Set-Cookie": "__cfduid=db8286ace52f0ef58db5f5680fa56fba61586698465; expires=Tue, 12-May-20 13:34:25 GMT; path=/; domain=.gitlab.com; HttpOnly; SameSite=Lax; Secure", + "Strict-Transport-Security": "max-age=31536000", + "Via": "1.1 google", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "X-Gitlab-Blob-Id": "5712f24a02b758f8b5b5cc34b676cf0b25f53b86", + "X-Gitlab-Commit-Id": "409811aa7b81dccb5216c360e2adda41c797dc3a", + "X-Gitlab-Content-Sha256": "1ebac253486a1e755650dcd96613c81cabb7b2c7626ee02d1183ea4b2c384940", + "X-Gitlab-Encoding": "base64", + "X-Gitlab-File-Name": "1970-01-01-first-title.md", + "X-Gitlab-File-Path": "content/posts/1970-01-01-first-title.md", + "X-Gitlab-Last-Commit-Id": "7d5888c4fca42055cec7d97bcc2a4dc98e18c37c", + "X-Gitlab-Ref": "master", + "X-Gitlab-Size": "180", + "Age": "0", + "Connection": "keep-alive", + "Vary": "Origin,Origin", + "content-length": "180" + }, + "response": "---\ntemplate: post\ntitle: first title\nimage: /media/netlify.png\ndate: 1970-01-01T00:00:00.000Z\ndescription: first description\ncategory: first category\ntags:\n - tag1\n---\nfirst body", + "status": 200 + }, { "method": "GET", "url": "/.netlify/git/gitlab/merge_requests?state=opened&labels=Any&per_page=100&target_branch=master&source_branch=cms/posts/1970-01-01-first-title", diff --git a/cypress/fixtures/GitLab Backend Editorial Workflow__can change status on and publish multiple entries.json b/cypress/fixtures/GitLab Backend Editorial Workflow__can change status on and publish multiple entries.json index cdb7fbb7178a..606228c54504 100644 --- a/cypress/fixtures/GitLab Backend Editorial Workflow__can change status on and publish multiple entries.json +++ b/cypress/fixtures/GitLab Backend Editorial Workflow__can change status on and publish multiple entries.json @@ -985,7 +985,7 @@ "status": 404 }, { - "body": "{\"branch\":\"cms/posts/1970-01-01-second-title\",\"commit_message\":\"Create Post “1970-01-01-second-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-second-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4zMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}", + "body": "{\"branch\":\"cms/posts/1970-01-01-second-title\",\"commit_message\":\"Create Post “1970-01-01-second-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-second-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC42MDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}", "method": "POST", "url": "/api/v4/projects/owner%2Frepo/repository/commits", "headers": { @@ -1432,7 +1432,7 @@ "status": 404 }, { - "body": "{\"branch\":\"cms/posts/1970-01-01-third-title\",\"commit_message\":\"Create Post “1970-01-01-third-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-third-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjYwMFoKZGVzY3JpcHRpb246IHRoaXJkIGRlc2NyaXB0aW9uCmNhdGVnb3J5OiB0aGlyZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMwotLS0KdGhpcmQgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}", + "body": "{\"branch\":\"cms/posts/1970-01-01-third-title\",\"commit_message\":\"Create Post “1970-01-01-third-title”\",\"actions\":[{\"action\":\"create\",\"file_path\":\"content/posts/1970-01-01-third-title.md\",\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAxLjIwMFoKZGVzY3JpcHRpb246IHRoaXJkIGRlc2NyaXB0aW9uCmNhdGVnb3J5OiB0aGlyZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMwotLS0KdGhpcmQgYm9keQ==\",\"encoding\":\"base64\"}],\"start_branch\":\"master\"}", "method": "POST", "url": "/api/v4/projects/owner%2Frepo/repository/commits", "headers": { diff --git a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can change status on and publish multiple entries.json b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can change status on and publish multiple entries.json index 44be3780abdd..b2dfa817530a 100644 --- a/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can change status on and publish multiple entries.json +++ b/cypress/fixtures/Github Backend Editorial Workflow - GraphQL API__can change status on and publish multiple entries.json @@ -915,7 +915,7 @@ "status": 200 }, { - "body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4zMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}", + "body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC42MDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}", "method": "POST", "url": "/repos/owner/repo/git/blobs", "headers": { @@ -1403,7 +1403,7 @@ "status": 200 }, { - "body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjYwMFoKZGVzY3JpcHRpb246IHRoaXJkIGRlc2NyaXB0aW9uCmNhdGVnb3J5OiB0aGlyZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMwotLS0KdGhpcmQgYm9keQ==\",\"encoding\":\"base64\"}", + "body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAxLjIwMFoKZGVzY3JpcHRpb246IHRoaXJkIGRlc2NyaXB0aW9uCmNhdGVnb3J5OiB0aGlyZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMwotLS0KdGhpcmQgYm9keQ==\",\"encoding\":\"base64\"}", "method": "POST", "url": "/repos/owner/repo/git/blobs", "headers": { diff --git a/cypress/fixtures/Github Backend Editorial Workflow - REST API__can change status on and publish multiple entries.json b/cypress/fixtures/Github Backend Editorial Workflow - REST API__can change status on and publish multiple entries.json index 171a75b520e8..913ec93b74f3 100644 --- a/cypress/fixtures/Github Backend Editorial Workflow - REST API__can change status on and publish multiple entries.json +++ b/cypress/fixtures/Github Backend Editorial Workflow - REST API__can change status on and publish multiple entries.json @@ -920,7 +920,7 @@ "status": 200 }, { - "body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC4zMDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}", + "body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiBzZWNvbmQgdGl0bGUKZGF0ZTogMTk3MC0wMS0wMVQwMDowMDowMC42MDBaCmRlc2NyaXB0aW9uOiBzZWNvbmQgZGVzY3JpcHRpb24KY2F0ZWdvcnk6IHNlY29uZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMgotLS0Kc2Vjb25kIGJvZHk=\",\"encoding\":\"base64\"}", "method": "POST", "url": "/repos/owner/repo/git/blobs", "headers": { @@ -1425,7 +1425,7 @@ "status": 200 }, { - "body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAwLjYwMFoKZGVzY3JpcHRpb246IHRoaXJkIGRlc2NyaXB0aW9uCmNhdGVnb3J5OiB0aGlyZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMwotLS0KdGhpcmQgYm9keQ==\",\"encoding\":\"base64\"}", + "body": "{\"content\":\"LS0tCnRlbXBsYXRlOiBwb3N0CnRpdGxlOiB0aGlyZCB0aXRsZQpkYXRlOiAxOTcwLTAxLTAxVDAwOjAwOjAxLjIwMFoKZGVzY3JpcHRpb246IHRoaXJkIGRlc2NyaXB0aW9uCmNhdGVnb3J5OiB0aGlyZCBjYXRlZ29yeQp0YWdzOgogIC0gdGFnMwotLS0KdGhpcmQgYm9keQ==\",\"encoding\":\"base64\"}", "method": "POST", "url": "/repos/owner/repo/git/blobs", "headers": { diff --git a/cypress/utils/steps.js b/cypress/utils/steps.js index 30b940dbd7a0..464365f802b6 100644 --- a/cypress/utils/steps.js +++ b/cypress/utils/steps.js @@ -288,7 +288,8 @@ function populateEntry(entry, onDone = flushClockAndSave) { } function newPost() { - cy.contains('a', 'New Post').click(); + // click even if covered by toast + cy.contains('a', 'New Post').click({ force: true }); } function createPost(entry) { @@ -298,6 +299,7 @@ function createPost(entry) { function createPostAndExit(entry) { createPost(entry); + cy.clock().then(clock => { advanceClock(clock); }); exitEditor(); }