210 Commits

Author SHA1 Message Date
GitHub Action
caf63b8da3 chore(release): publish
- netlify-cms-app@2.12.19
 - netlify-cms-backend-bitbucket@2.12.1
 - netlify-cms-backend-git-gateway@2.11.1
 - netlify-cms-backend-github@2.11.2
 - netlify-cms-backend-gitlab@2.9.1
 - netlify-cms-backend-proxy@1.1.1
 - netlify-cms-backend-test@2.10.1
 - netlify-cms-core@2.30.3
 - netlify-cms-default-exports@2.3.1
 - netlify-cms-editor-component-image@2.6.3
 - netlify-cms-lib-auth@2.2.9
 - netlify-cms-lib-util@2.11.1
 - netlify-cms-lib-widgets@1.3.2
 - netlify-cms-locales@1.17.1
 - netlify-cms-media-library-cloudinary@1.3.5
 - netlify-cms-media-library-uploadcare@0.5.6
 - netlify-cms-proxy-server@1.3.1
 - netlify-cms-ui-default@2.11.2
 - netlify-cms-widget-boolean@2.3.1
 - netlify-cms-widget-code@1.2.1
 - netlify-cms-widget-date@2.5.2
 - netlify-cms-widget-datetime@2.6.1
 - netlify-cms-widget-file@2.7.1
 - netlify-cms-widget-image@2.7.1
 - netlify-cms-widget-list@2.6.2
 - netlify-cms-widget-map@1.4.1
 - netlify-cms-widget-markdown@2.12.2
 - netlify-cms-widget-number@2.4.2
 - netlify-cms-widget-object@2.5.2
 - netlify-cms-widget-relation@2.8.3
 - netlify-cms-widget-select@2.6.1
 - netlify-cms-widget-string@2.2.4
 - netlify-cms-widget-text@2.3.1
 - netlify-cms@2.10.55
2020-07-27 16:42:48 +00:00
Shawn Erquhart
46f513d342 chore(release): publish
- netlify-cms-app@2.12.17
 - netlify-cms-backend-github@2.11.1
 - netlify-cms-core@2.30.1
 - netlify-cms-lib-widgets@1.3.1
 - netlify-cms-locales@1.17.0
 - netlify-cms-proxy-server@1.3.0
 - netlify-cms-widget-relation@2.8.1
 - netlify-cms@2.10.53
2020-07-14 11:08:01 -04:00
Erez Rokah
8720a4233d
fix(backend-github): use workflow branch when listing files to move (#4019) 2020-07-14 17:52:16 +03:00
Shawn Erquhart
74dd25dda2 chore(release): publish
- netlify-cms-app@2.12.15
 - netlify-cms-backend-bitbucket@2.12.0
 - netlify-cms-backend-git-gateway@2.11.0
 - netlify-cms-backend-github@2.11.0
 - netlify-cms-backend-gitlab@2.9.0
 - netlify-cms-backend-proxy@1.1.0
 - netlify-cms-backend-test@2.10.0
 - netlify-cms-core@2.29.0
 - netlify-cms-lib-util@2.11.0
 - netlify-cms-locales@1.16.0
 - netlify-cms-proxy-server@1.2.9
 - netlify-cms-ui-default@2.11.1
 - netlify-cms-widget-code@1.2.0
 - netlify-cms-widget-datetime@2.6.0
 - netlify-cms-widget-file@2.7.0
 - netlify-cms-widget-image@2.7.0
 - netlify-cms-widget-list@2.6.0
 - netlify-cms-widget-map@1.4.0
 - netlify-cms-widget-markdown@2.12.0
 - netlify-cms-widget-number@2.4.0
 - netlify-cms-widget-object@2.5.0
 - netlify-cms-widget-relation@2.8.0
 - netlify-cms-widget-select@2.6.0
 - netlify-cms@2.10.51
2020-06-18 10:02:31 -04:00
Erez Rokah
af7bbbd9a9
Feat: nested collections (#3716) 2020-06-18 10:11:37 +03:00
Nigel Huang
a50edc7055
feat: add backend status down indicator (#3889) 2020-06-15 17:59:28 +03:00
Erez Rokah
afc9bf4f3f
feat(backend-gitgateway): improve deploy preview visibility (#3882) 2020-06-09 20:33:16 +03:00
Erez Rokah
da7fbe0638
Fix: handle branch names conflicts (#3879) 2020-06-09 19:03:19 +03:00
Erez Rokah
285c940562
fix: handle token expiry (#3847) 2020-06-03 12:44:03 +03:00
Shawn Erquhart
3b1e9a8837 chore(release): publish
- netlify-cms-app@2.12.13
 - netlify-cms-backend-bitbucket@2.11.5
 - netlify-cms-backend-git-gateway@2.10.5
 - netlify-cms-backend-github@2.10.6
 - netlify-cms-backend-proxy@1.0.7
 - netlify-cms-core@2.27.0
 - netlify-cms-lib-util@2.9.4
 - netlify-cms-locales@1.14.0
 - netlify-cms-proxy-server@1.2.7
 - netlify-cms-widget-code@1.1.5
 - netlify-cms-widget-date@2.5.1
 - netlify-cms-widget-datetime@2.5.0
 - netlify-cms-widget-list@2.5.0
 - netlify-cms-widget-markdown@2.11.3
 - netlify-cms-widget-relation@2.7.0
 - netlify-cms@2.10.49
2020-05-19 17:59:16 -04:00
Kunal Kundu
3e34e52440
chore: add timeout mechanism for fetch calls (#3649) 2020-05-12 16:51:13 +03:00
Shawn Erquhart
f8603c5d92 chore(release): publish
- netlify-cms-app@2.12.11
 - netlify-cms-backend-bitbucket@2.11.4
 - netlify-cms-backend-git-gateway@2.10.3
 - netlify-cms-backend-github@2.10.5
 - netlify-cms-backend-gitlab@2.8.4
 - netlify-cms-lib-util@2.9.3
 - netlify-cms-proxy-server@1.2.6
 - netlify-cms@2.10.47
2020-04-21 10:49:29 -04:00
Erez Rokah
8f1b325809
refactor: use fetch cache arg instead of cache busting (#3584) 2020-04-21 17:46:06 +03:00
Shawn Erquhart
0b2755c8da chore(release): publish
- netlify-cms-app@2.12.5
 - netlify-cms-backend-github@2.10.4
 - netlify-cms-core@2.24.0
 - netlify-cms-widget-date@2.5.0
 - netlify-cms-widget-datetime@2.3.0
 - netlify-cms-widget-markdown@2.11.0
 - netlify-cms@2.10.41
2020-04-07 09:42:02 -04:00
Erez Rokah
1705c79a92
fix(backend-github): add fallback for diff errors/warnings (#3558) 2020-04-07 15:42:24 +03:00
Shawn Erquhart
a8678559b2 chore(release): publish
- netlify-cms-app@2.12.2
 - netlify-cms-backend-github@2.10.3
 - netlify-cms-core@2.23.2
 - netlify-cms-lib-util@2.9.2
 - netlify-cms-proxy-server@1.2.4
 - netlify-cms@2.10.38
2020-04-01 09:23:37 -04:00
Erez Rokah
cc89aa5c43
fix(open-authoring): properly delete open authoring branches (#3512) 2020-04-01 12:42:32 +03:00
Shawn Erquhart
816bef5ffa chore(release): publish
- netlify-cms-app@2.12.1
 - netlify-cms-backend-bitbucket@2.11.3
 - netlify-cms-backend-git-gateway@2.10.2
 - netlify-cms-backend-github@2.10.2
 - netlify-cms-backend-gitlab@2.8.3
 - netlify-cms-backend-proxy@1.0.5
 - netlify-cms-backend-test@2.8.1
 - netlify-cms-core@2.23.1
 - netlify-cms-lib-auth@2.2.8
 - netlify-cms-lib-util@2.9.1
 - netlify-cms-locales@1.10.2
 - netlify-cms-proxy-server@1.2.3
 - netlify-cms-ui-default@2.9.5
 - netlify-cms@2.10.37
2020-03-31 23:22:50 -04:00
Erez Rokah
174d86f0a0
Feat: entry sorting (#3494)
* refactor: typescript search actions, add tests avoid duplicate search

* refactor: switch from promise chain to async/await in loadEntries

* feat: add sorting, initial commit

* fix: set isFetching to true on entries request

* fix: ui improvments and bug fixes

* test: fix tests

* feat(backend-gitlab): cache local tree)

* fix: fix prop type warning

* refactor: code cleanup

* feat(backend-bitbucket): add local tree caching support

* feat: swtich to orderBy and support multiple sort keys

* fix: backoff function

* fix: improve backoff

* feat: infer sortable fields

* feat: fetch file commit metadata - initial commit

* feat: extract file author and date, finalize GitLab & Bitbucket

* refactor: code cleanup

* feat: handle github rate limit errors

* refactor: code cleanup

* fix(github): add missing author and date when traversing cursor

* fix: add missing author and date when traversing cursor

* refactor: code cleanup

* refactor: code cleanup

* refactor: code cleanup

* test: fix tests

* fix: rebuild local tree when head doesn't exist in remote branch

* fix: allow sortable fields to be an empty array

* fix: allow translation of built in sort fields

* build: fix proxy server build

* fix: hide commit author and date fields by default on non git backends

* fix(algolia): add listAllEntries method for alogolia integration

* fix: handle sort fields overflow

* test(bitbucket): re-record some bitbucket e2e tests

* test(bitbucket): fix media library test

* refactor(gitgateway-gitlab): share request code and handle 404 errors

* fix: always show commit date by default

* docs: add sortableFields

* refactor: code cleanup

* improvement: drop multi-sort, rework sort UI

* chore: force main package bumps

Co-authored-by: Shawn Erquhart <shawn@erquh.art>
2020-03-31 23:13:27 -04:00
Erez Rokah
cbb3927101
fix(open-authoring): prevent workflow view from breaking on entry error (#3508) 2020-03-31 17:27:59 +03:00
Shawn Erquhart
d4350e50e2 chore(release): publish
- netlify-cms-app@2.11.32
 - netlify-cms-backend-bitbucket@2.11.2
 - netlify-cms-backend-github@2.10.1
 - netlify-cms-backend-gitlab@2.8.2
 - netlify-cms-core@2.22.2
 - netlify-cms@2.10.35
2020-03-20 09:26:34 -04:00
Bartholomew
9616cdb8bb
fix: missing workflow timestamp (#3445) 2020-03-20 12:20:12 +02:00
Shawn Erquhart
66ccbead5a chore(release): publish
- netlify-cms-app@2.11.28
 - netlify-cms-backend-git-gateway@2.10.0
 - netlify-cms-backend-github@2.10.0
 - netlify-cms-core@2.22.0
 - netlify-cms-lib-util@2.9.0
 - netlify-cms-locales@1.9.4
 - netlify-cms-proxy-server@1.2.1
 - netlify-cms-ui-default@2.9.3
 - netlify-cms-widget-markdown@2.10.0
 - netlify-cms@2.10.31
2020-03-12 10:46:06 -04:00
Erez Rokah
70de9f6b4b
fix(backend-github): don't create new commits on empty diff when rebasing (#3411) 2020-03-12 14:28:50 +01:00
Erez Rokah
c2e7a24dc2
fix: update repo owner from GitHub API to match casing (#3410) 2020-03-12 11:29:23 +01:00
Erez Rokah
39f1307e3a
feat(backend-github): add pagination (#3379) 2020-03-05 11:58:49 +01:00
GitHub Action
1fc95fee1a chore(release): publish
- netlify-cms-app@2.11.27
 - netlify-cms-backend-bitbucket@2.11.1
 - netlify-cms-backend-git-gateway@2.9.1
 - netlify-cms-backend-github@2.9.3
 - netlify-cms-backend-gitlab@2.8.1
 - netlify-cms-backend-proxy@1.0.4
 - netlify-cms-backend-test@2.7.3
 - netlify-cms-core@2.21.0
 - netlify-cms-locales@1.9.3
 - netlify-cms-proxy-server@1.2.0
 - netlify-cms-ui-default@2.9.2
 - netlify-cms@2.10.30
2020-03-03 18:22:31 +00:00
Erez Rokah
e40b81a564
fix(open-authoring): use origin repo when calling compare API (#3363)
since we create open authoring branches from the origin default branch, we need to use the origin repo when calling the compare API
2020-03-03 13:12:40 -05:00
tiuweehan
7c45a3cda9
fix(locale): Remove hard coded string literals (#3333) 2020-02-28 11:12:10 +01:00
GitHub Action
1dcb79a874 chore(release): publish
- netlify-cms-app@2.11.26
 - netlify-cms-backend-github@2.9.2
 - netlify-cms-core@2.20.1
 - netlify-cms@2.10.29
2020-02-27 23:30:42 +00:00
Erez Rokah
3e873f3e02
Fix: don't try to migrate cms prs from forks (#3331) 2020-02-27 18:24:39 +01:00
GitHub Action
e7e497a8ff chore(release): publish
- netlify-cms-app@2.11.25
 - netlify-cms-backend-github@2.9.1
 - netlify-cms-core@2.20.0
 - netlify-cms@2.10.28
2020-02-25 21:32:24 +00:00
Shawn Erquhart
83e0383b69
fix(backend-github): fail workflow migrations gracefully (#3325)
* fix(backend-github): fail workflow migrations gracefully

* fix: formatting
2020-02-25 16:25:37 -05:00
GitHub Action
2675e1dff5 chore(release): publish
- netlify-cms-app@2.11.24
 - netlify-cms-backend-bitbucket@2.11.0
 - netlify-cms-backend-git-gateway@2.9.0
 - netlify-cms-backend-github@2.9.0
 - netlify-cms-backend-gitlab@2.8.0
 - netlify-cms-core@2.19.1
 - netlify-cms-lib-util@2.8.0
 - netlify-cms-proxy-server@1.1.5
 - netlify-cms@2.10.27
2020-02-25 15:24:43 +00:00
Shawn Erquhart
684b79e43b
fix(backend-github): improve workflow migration edge cases/messaging (#3319) 2020-02-25 11:49:38 +01:00
Erez Rokah
7e0a8ad532
feat(core): align GitHub metadata handling with other backends (#3316)
* Revert "Revert "feat(core): Align GitHub metadata handling with other backends (#3292)""

This reverts commit 5bdd3df9ccbb5149c22d79987ebdcd6cab4b261f.

* fix(backend-github): fix migration code

* test(backend-github): fix test

* test(e2e): shorten wait time

* test(e2e): try and fix test on CI
2020-02-24 17:44:10 -05:00
GitHub Action
8325a16572 chore(release): publish
- netlify-cms-app@2.11.23
 - netlify-cms-backend-bitbucket@2.10.1
 - netlify-cms-backend-git-gateway@2.8.1
 - netlify-cms-backend-github@2.8.1
 - netlify-cms-backend-gitlab@2.7.1
 - netlify-cms@2.10.26
2020-02-22 19:25:37 +00:00
Shawn Erquhart
5bdd3df9cc Revert "feat(core): Align GitHub metadata handling with other backends (#3292)"
This reverts commit 8193b5ace89d6f14a6c756235a50b186a763b6b1.
2020-02-22 14:20:28 -05:00
GitHub Action
60edf10530 chore(release): publish
- netlify-cms-app@2.11.22
 - netlify-cms-backend-bitbucket@2.10.0
 - netlify-cms-backend-git-gateway@2.8.0
 - netlify-cms-backend-github@2.8.0
 - netlify-cms-backend-gitlab@2.7.0
 - netlify-cms-core@2.19.0
 - netlify-cms-locales@1.9.2
 - netlify-cms@2.10.25
2020-02-22 14:57:38 +00:00
Erez Rokah
8193b5ace8
feat(core): Align GitHub metadata handling with other backends (#3292)
* refactor: code cleanup for GitLab and BitBucket

* feat(backend-github): use prs labels for metadata - initial commit

* refactor(backend-github): code cleanup, fix tests

* fix(backend-github): bug fixes

* fix(backend-github): open authoring fixes

* fix(backend-github): open authoring fixes

* fix(backend-github): fix graphql

* test(e2e): update Octokit usage

* test(e2e): re-record test data, fix bugs

* test(e2e): re-record test data, fix bugs

* test(e2e): fix tests

* refactor: code cleanup

* fix(backend-github): fix migration code

* fix(backend-github): don't fail on non existing files collections files

* fix(backend-github): use patch attribute instead of slug to get path

* fix(backend-github): use compare api to force push a pr

* fix(backend-github): fix git-gateway and re-record tests

* fix(backend-github): use first commit message as open authoring pr title

* refactor(backend-github): code cleanup

* test(e2e): fix tests
2020-02-22 09:51:30 -05:00
GitHub Action
ac2491f660 chore(release): publish
- netlify-cms-app@2.11.20
 - netlify-cms-backend-github@2.7.1
 - netlify-cms-proxy-server@1.1.4
 - netlify-cms-widget-datetime@2.2.6
 - netlify-cms-widget-markdown@2.9.2
 - netlify-cms@2.10.23
2020-02-17 17:26:17 +00:00
renovate[bot]
a81ca240f8
chore(deps): lock file maintenance (#3277)
* chore(deps): lock file maintenance

* chore: update octokit types imports

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Erez Rokah <erezrokah@users.noreply.github.com>
2020-02-17 12:10:56 +02:00
Shawn Erquhart
a399310513 chore(release): publish
- netlify-cms-app@2.11.15
 - netlify-cms-backend-bitbucket@2.9.0
 - netlify-cms-backend-github@2.7.0
 - netlify-cms-backend-gitlab@2.6.0
 - netlify-cms-core@2.18.0
 - netlify-cms-editor-component-image@2.6.0
 - netlify-cms-lib-util@2.7.0
 - netlify-cms-proxy-server@1.1.0
 - netlify-cms-ui-default@2.9.0
 - netlify-cms-widget-file@2.6.0
 - netlify-cms-widget-image@2.6.0
 - netlify-cms-widget-markdown@2.9.0
 - netlify-cms@2.10.18
2020-02-10 13:35:11 -05:00
erezrokah
a015d1d92a
Revert "chore(release): publish"
This reverts commit f39edbf853f8c2a0588ecf524fdc39c68d41c64e.
2020-02-10 19:16:04 +02:00
GitHub Action
f39edbf853 chore(release): publish
- netlify-cms-app@2.11.15
 - netlify-cms-backend-bitbucket@2.9.0
 - netlify-cms-backend-github@2.7.0
 - netlify-cms-backend-gitlab@2.6.0
 - netlify-cms-core@2.18.0
 - netlify-cms-editor-component-image@2.6.0
 - netlify-cms-lib-util@2.7.0
 - netlify-cms-proxy-server@1.1.0
 - netlify-cms-ui-default@2.9.0
 - netlify-cms-widget-file@2.6.0
 - netlify-cms-widget-image@2.6.0
 - netlify-cms-widget-markdown@2.9.0
 - netlify-cms@2.10.18
2020-02-10 16:55:11 +00:00
Erez Rokah
97bc0c8dc4
feat: field based media/public folders (#3208) 2020-02-10 11:05:47 -05:00
Shawn Erquhart
746e5956bc chore(release): publish
- netlify-cms-app@2.11.14
 - netlify-cms-backend-bitbucket@2.8.1
 - netlify-cms-backend-github@2.6.6
 - netlify-cms-backend-gitlab@2.5.3
 - netlify-cms-backend-proxy@1.0.3
 - netlify-cms-backend-test@2.7.2
 - netlify-cms-core@2.17.0
 - netlify-cms-locales@1.9.0
 - netlify-cms-proxy-server@1.0.7
 - netlify-cms-widget-file@2.5.3
 - netlify-cms-widget-markdown@2.8.4
 - netlify-cms-widget-select@2.5.1
 - netlify-cms@2.10.17
2020-02-05 19:11:58 -05:00
tiuweehan
fc91bf8781
fix(locale): remove hard coded strings (#3193) 2020-02-04 14:49:47 +02:00
Shawn Erquhart
7b0838dfef chore(release): publish
- netlify-cms-app@2.11.9
 - netlify-cms-backend-git-gateway@2.7.1
 - netlify-cms-backend-github@2.6.5
 - netlify-cms-lib-util@2.6.2
 - netlify-cms-proxy-server@1.0.3
 - netlify-cms@2.10.12
2020-01-23 21:28:33 -05:00
Erez Rokah
834f6b9e45 fix(backend-git-gateway): re-write GitHub pagination links (#3135) 2020-01-23 21:14:33 -05:00
Shawn Erquhart
6a977ae867 chore(release): publish
- netlify-cms-app@2.11.5
 - netlify-cms-backend-git-gateway@2.6.2
 - netlify-cms-backend-github@2.6.4
 - netlify-cms-lib-util@2.5.2
 - netlify-cms@2.10.8
2020-01-16 10:18:51 -05:00
Erez Rokah
bc80804066
fix(backend-github-graphql): handle trailing paths in collection folder (#3099) 2020-01-16 16:43:15 +02:00
Shawn Erquhart
1091bfcd4f chore(release): publish
- netlify-cms-app@2.11.3
 - netlify-cms-backend-bitbucket@2.7.2
 - netlify-cms-backend-git-gateway@2.6.1
 - netlify-cms-backend-github@2.6.3
 - netlify-cms-backend-gitlab@2.5.1
 - netlify-cms-backend-test@2.7.1
 - netlify-cms-core@2.15.1
 - netlify-cms-lib-auth@2.2.7
 - netlify-cms-lib-util@2.5.1
 - netlify-cms@2.10.6
2020-01-14 18:29:44 -05:00
Erez Rokah
6f221ab3c1 Feat: editorial workflow bitbucket gitlab (#3014)
* refactor: typescript the backends

* feat: support multiple files upload for GitLab and BitBucket

* fix: load entry media files from media folder or UI state

* chore: cleanup log message

* chore: code cleanup

* refactor: typescript the test backend

* refactor: cleanup getEntry unsued variables

* refactor: moved shared backend code to lib util

* chore: rename files to preserve history

* fix: bind readFile method to API classes

* test(e2e): switch to chrome in cypress tests

* refactor: extract common api methods

* refactor: remove most of immutable js usage from backends

* feat(backend-gitlab): initial editorial workflow support

* feat(backend-gitlab): implement missing workflow methods

* chore: fix lint error

* feat(backend-gitlab): support files deletion

* test(e2e): add gitlab cypress tests

* feat(backend-bitbucket): implement missing editorial workflow methods

* test(e2e): add BitBucket backend e2e tests

* build: update node version to 12 on netlify builds

* fix(backend-bitbucket): extract BitBucket avatar url

* test: fix git-gateway AuthenticationPage test

* test(e2e): fix some backend tests

* test(e2e): fix tests

* test(e2e): add git-gateway editorial workflow test

* chore: code cleanup

* test(e2e): revert back to electron

* test(e2e): add non editorial workflow tests

* fix(git-gateway-gitlab): don't call unpublishedEntry in simple workflow

gitlab git-gateway doesn't support editorial workflow APIs yet. This change makes sure not to call them in simple workflow

* refactor(backend-bitbucket): switch to diffstat API instead of raw diff

* chore: fix test

* test(e2e): add more git-gateway tests

* fix: post rebase typescript fixes

* test(e2e): fix tests

* fix: fix parsing of content key and add tests

* refactor: rename test file

* test(unit): add getStatues unit tests

* chore: update cypress

* docs: update beta docs
2020-01-14 17:15:14 -05:00
Shawn Erquhart
4ff5bc2ee0 chore(release): publish
- netlify-cms-app@2.11.2
 - netlify-cms-backend-github@2.6.2
 - netlify-cms-core@2.15.0
 - netlify-cms-locales@1.5.0
 - netlify-cms-widget-markdown@2.8.1
 - netlify-cms@2.10.5
2020-01-14 13:25:26 -05:00
Erez Rokah
69b130a3f2
fix(backend-github-graphql): return empty array on non existent folder (#3079)
When starting a new project, usually collection folders don't exist in the repo. This is a legitimate use case and not an error.
2020-01-13 17:06:35 +02:00
Shawn Erquhart
d2db746b9d chore(release): publish
- netlify-cms-app@2.11.1
 - netlify-cms-backend-bitbucket@2.7.1
 - netlify-cms-backend-github@2.6.1
 - netlify-cms-core@2.14.1
 - netlify-cms-locales@1.4.1
 - netlify-cms@2.10.4
2020-01-09 10:10:43 -05:00
Erez Rokah
4b6c8de6b2
fix: trim '/' from folder (#3052) 2020-01-08 19:02:44 +02:00
Shawn Erquhart
0a06d8eb47 chore(release): publish
- netlify-cms-app@2.11.0
 - netlify-cms-backend-bitbucket@2.7.0
 - netlify-cms-backend-git-gateway@2.6.0
 - netlify-cms-backend-github@2.6.0
 - netlify-cms-backend-gitlab@2.5.0
 - netlify-cms-backend-test@2.7.0
 - netlify-cms-core@2.14.0
 - netlify-cms-editor-component-image@2.5.0
 - netlify-cms-lib-util@2.5.0
 - netlify-cms-locales@1.4.0
 - netlify-cms-ui-default@2.8.0
 - netlify-cms-widget-code@1.1.2
 - netlify-cms-widget-file@2.5.0
 - netlify-cms-widget-image@2.5.0
 - netlify-cms-widget-list@2.4.1
 - netlify-cms-widget-markdown@2.8.0
 - netlify-cms-widget-object@2.3.1
 - netlify-cms@2.10.3
2020-01-07 15:04:08 -05:00
Erez Rokah
b27748b54f
Fix: get files by path depth (#2993)
* fix: get files up to depth specified by colletion path

* test(e2e): update mock data

* chore: fix comment
2019-12-22 15:20:42 +02:00
Erez Rokah
8c175f6132 fix: rebase open authoring branches (#2975)
* fix: create open authoring branches from default origin branch

* refactor: pass repoURL to getBranch

* fix(backend-github): rebase open authoring branch,support multiple files
2019-12-20 12:33:43 -05:00
Shawn Erquhart
b5c42bdcc9 chore(release): publish
- netlify-cms-app@2.11.0-beta.0
 - netlify-cms-backend-bitbucket@2.7.0-beta.0
 - netlify-cms-backend-git-gateway@2.6.0-beta.0
 - netlify-cms-backend-github@2.6.0-beta.0
 - netlify-cms-backend-gitlab@2.5.0-beta.0
 - netlify-cms-backend-test@2.7.0-beta.0
 - netlify-cms-core@2.14.0-beta.0
 - netlify-cms-editor-component-image@2.5.0-beta.0
 - netlify-cms-lib-util@2.5.0-beta.0
 - netlify-cms-ui-default@2.8.0-beta.0
 - netlify-cms-widget-file@2.5.0-beta.0
 - netlify-cms-widget-image@2.5.0-beta.0
 - netlify-cms-widget-markdown@2.8.0-beta.0
 - netlify-cms@2.10.1-beta.0
2019-12-18 11:18:23 -05:00
Erez Rokah
2b41d8a838 feat: bundle assets with content (#2958)
* fix(media_folder_relative): use collection name in unpublished entry

* refactor: pass arguments as object to AssetProxy ctor

* feat: support media folders per collection

* feat: resolve media files path based on entry path

* fix: asset public path resolving

* refactor: introduce typescript for AssetProxy

* refactor: code cleanup

* refactor(asset-proxy): add tests,switch to typescript,extract arguments

* refactor: typescript for editorialWorkflow

* refactor: add typescript for media library actions

* refactor: fix type error on map set

* refactor: move locale selector into reducer

* refactor: add typescript for entries actions

* refactor: remove duplication between asset store and media lib

* feat: load assets from backend using API

* refactor(github): add typescript, cache media files

* fix: don't load media URL if already loaded

* feat: add media folder config to collection

* fix: load assets from API when not in UI state

* feat: load entry media files when opening media library

* fix: editorial workflow draft media files bug fixes

* test(unit): fix unit tests

* fix: editor control losing focus

* style: add eslint object-shorthand rule

* test(cypress): re-record mock data

* fix: fix non github backends, large media

* test: uncomment only in tests

* fix(backend-test): add missing displayURL property

* test(e2e): add media library tests

* test(e2e): enable visual testing

* test(e2e): add github backend media library tests

* test(e2e): add git-gateway large media tests

* chore: post rebase fixes

* test: fix tests

* test: fix tests

* test(cypress): fix tests

* docs: add media_folder docs

* test(e2e): add media library delete test

* test(e2e): try and fix image comparison on CI

* ci: reduce test machines from 9 to 8

* test: add reducers and selectors unit tests

* test(e2e): disable visual regression testing for now

* test: add getAsset unit tests

* refactor: use Asset class component instead of hooks

* build: don't inline source maps

* test: add more media path tests
2019-12-18 11:16:02 -05:00
Shawn Erquhart
7e4d4c1cc4 chore(release): publish
- netlify-cms-app@2.10.0
 - netlify-cms-backend-bitbucket@2.6.0
 - netlify-cms-backend-github@2.5.0
 - netlify-cms-backend-gitlab@2.4.0
 - netlify-cms-backend-test@2.6.0
 - netlify-cms-core@2.13.0
 - netlify-cms-lib-auth@2.2.6
 - netlify-cms-lib-util@2.4.0
 - netlify-cms-locales@1.3.0
 - netlify-cms-ui-default@2.7.0
 - netlify-cms-widget-list@2.4.0
 - netlify-cms-widget-markdown@2.7.0
 - netlify-cms@2.10.0
2019-12-18 11:02:29 -05:00
Shawn Erquhart
e4272817c2 chore(release): publish
- netlify-cms-app@2.10.0-beta.5
 - netlify-cms-backend-bitbucket@2.6.0-beta.1
 - netlify-cms-backend-github@2.5.0-beta.8
 - netlify-cms-core@2.13.0-beta.10
 - netlify-cms-default-exports@2.3.0
 - netlify-cms-locales@1.3.0-beta.2
 - netlify-cms-ui-default@2.7.0-beta.5
 - netlify-cms-widget-boolean@2.3.0
 - netlify-cms-widget-code@1.1.0
 - netlify-cms-widget-date@2.4.0
 - netlify-cms-widget-image@2.4.0
 - netlify-cms-widget-list@2.4.0-beta.0
 - netlify-cms-widget-markdown@2.7.0-beta.0
 - netlify-cms-widget-object@2.3.0
 - netlify-cms-widget-text@2.3.0
 - netlify-cms@2.10.0-beta.5
2019-12-16 12:37:43 -05:00
erezrokah
1e77d4b768
fix: don't fail on deleting non existent branch 2019-12-13 17:02:57 +02:00
Shawn Erquhart
c8d6eaf239 chore(release): publish
- netlify-cms-app@2.10.0-beta.3
 - netlify-cms-backend-bitbucket@2.6.0-beta.0
 - netlify-cms-backend-github@2.5.0-beta.7
 - netlify-cms-backend-gitlab@2.4.0-beta.1
 - netlify-cms-backend-test@2.6.0-beta.0
 - netlify-cms-core@2.13.0-beta.8
 - netlify-cms-lib-auth@2.2.6-beta.0
 - netlify-cms-locales@1.3.0-beta.0
 - netlify-cms-widget-markdown@2.6.1-beta.0
 - netlify-cms@2.10.0-beta.3
2019-12-02 17:04:48 -05:00
Erez Rokah
afcfe5b6d5 feat: content in sub folders (#2897) 2019-11-27 22:39:33 -05:00
Shawn Erquhart
6909008a5c chore(release): publish
- netlify-cms-app@2.10.0-beta.2
 - netlify-cms-backend-github@2.5.0-beta.6
 - netlify-cms-backend-test@2.5.0
 - netlify-cms-core@2.13.0-beta.7
 - netlify-cms-lib-util@2.4.0-beta.5
 - netlify-cms-locales@1.2.0
 - netlify-cms@2.10.0-beta.2
2019-11-26 17:17:42 -05:00
Bartholomew
41bb9aac0d feat: workflow unpublished entry (#2914)
* feat: workflow unpublished entry

* fix: post rebase fix - load unpublished entry after unpublish

* feat: change unpublish button to dropdown

* test(cypress): add unpublish entry cypress test
2019-11-26 12:14:04 +02:00
Bartholomew
465f463959 fix(backend-github): prepend collection name (#2878)
* fix(backend-github): prepend collection name

* chore: prefer migrating entries

* chore: cleanup

* chore: move migration to listUnpublishedBranches

* chore: prefer flowAsync

* chore: feedback updates

* refactor: extract current metadata version to a const

* refactor: don't send pulls request on open authoring

* test: update recorded data

* fix: hardcode migration key/branch logic

* test(backend-github): add unit tests for migration code

* fix(github-graphql): add ref property to result of createBranch

* test(cypress): update recorded data

* fix: load unpublished entries once

* fix: run migration for published draft entry

* fix: failing test

* chore: use hardcoded version number

* fix: use hardcoded version number

* test(cypress): update recorded data
2019-11-26 10:40:27 +02:00
Shawn Erquhart
dc0c4c51ed chore(release): publish
- netlify-cms-app@2.10.0-beta.0
 - netlify-cms-backend-git-gateway@2.5.1
 - netlify-cms-backend-github@2.5.0-beta.5
 - netlify-cms-backend-test@2.4.0
 - netlify-cms-core@2.13.0-beta.6
 - netlify-cms-lib-auth@2.2.5
 - netlify-cms-locales@1.1.0
 - netlify-cms-ui-default@2.7.0-beta.2
 - netlify-cms-widget-markdown@2.5.2
 - netlify-cms-widget-relation@2.5.0
 - netlify-cms@2.10.0-beta.0
2019-11-18 16:56:44 -05:00
Erez Rokah
ead46af194
chore(deps): update dependency prettier to v1.19.1 (#2893)
* chore(deps): update dependency prettier to v1.19.1

* style: format files after prettier upgrade
2019-11-18 17:51:51 +02:00
Erez Rokah
6515dee871
feat: commit media with post (#2851)
* feat: commit media with post - initial commit

* feat: add draft media indication

* feat: sync UI media files with GitHub on entry load

* feat: bug fixes

* feat: delete media files from github when removed from library

* test: add GitHub backend tests

* test: add unit tests

* fix: meta data object files are not updated

* feat: used nested paths when update a tree instead of recursion

* feat(test-backend): update test backend to persist media file with entry

* test(e2e): re-record fixtures data

* chore: code cleanup

* chore: code cleanup

* fix: wait for library to load before adding entry media files

* chore: code cleanup

* fix: don't add media files on entry when not a draft

* fix: sync media library after draft entry was published

* feat: update media library card draft style, add tests

* test: add Editor unit tests

* chore: test code cleanup

* fix: publishing an entry from workflow tab throws an error

* fix: duplicate media files when using test backend

* refactor: fix lodash import

* chore: update translations and yarn file after rebase

* test(cypress): update recorded data

* fix(test-backend): fix mapping of media files on publish
2019-11-17 11:51:50 +02:00
Bartholomew
68a8c8a693 fix(backend-github): loaded entries limit (#2873)
* fix(backend-github): loaded entries limit

* test(cypress): update recorded data
2019-11-13 11:02:47 +02:00
Erez Rokah
9978769ece
fix: make forkExists name matching case-insensitive (#2869) 2019-11-11 19:30:47 +02:00
Erez Rokah
4a2328b2f1
fix(git-gateway): unpublished entries not loaded for git-gateway(GitHub) (#2856) 2019-11-11 18:33:20 +02:00
Bartholomew
86adca3a18 fix(backend-github): editorial workflow commits (#2867) 2019-11-11 17:06:29 +02:00
ed ho
1d78a2705f improvement: add logs when a 404 error is expected (#2807)
improvement: add logs when a 404 error is expected

improvement: address code review feedback -return rejected promise
2019-11-10 10:34:03 +02:00
Shawn Erquhart
8a06fbdbfc chore(release): publish
- netlify-cms-app@2.9.8-beta.5
 - netlify-cms-backend-bitbucket@2.5.0
 - netlify-cms-backend-git-gateway@2.5.0
 - netlify-cms-backend-github@2.5.0-beta.4
 - netlify-cms-backend-gitlab@2.4.0-beta.0
 - netlify-cms-backend-test@2.3.0
 - netlify-cms-core@2.13.0-beta.5
 - netlify-cms-editor-component-image@2.4.3
 - netlify-cms-media-library-uploadcare@0.5.5
 - netlify-cms-ui-default@2.7.0-beta.1
 - netlify-cms-widget-date@2.3.5
 - netlify-cms-widget-datetime@2.2.5
 - netlify-cms-widget-list@2.3.5-beta.1
 - netlify-cms-widget-number@2.3.5
 - netlify-cms@2.9.8-beta.5
2019-11-07 14:41:01 -05:00
Erez Rokah
002cdd77a8 fix: change default open authoring scope, make it configurable (#2821) 2019-11-07 12:39:47 -05:00
Erez Rokah
7f90d0e065 fix: display UI to fork a repo only when fork doesn't exist (#2802) 2019-10-28 20:27:11 -04:00
Erez Rokah
eaeaf44832 fix(github-backend): load media URLs via API (#2817) 2019-10-28 16:00:42 -04:00
Patryk Niedźwiedziński
f206e7e5a1 feat: add go back to site button (#2538) 2019-10-28 15:20:41 -04:00
Erez Rokah
02099d6ac3
chore: remove duplicate bug fix for open authoring (#2801) 2019-10-24 15:45:30 +03:00
Erez Rokah
d38d4665c4
test(cleanup): remove/reintorduce skipped tests (#2788) 2019-10-23 13:22:48 +03:00
Shawn Erquhart
6b83a706a3
chore: switch chat links to slack (#2782) 2019-10-22 20:59:04 -04:00
Erez Rokah
b869ce05ae test(cypress-github-backend): optionally record tests and run using recorded data (#2776) 2019-10-22 12:59:13 -04:00
Shawn Erquhart
f16d22334f chore(release): publish
- netlify-cms-app@2.9.8-beta.4
 - netlify-cms-backend-bitbucket@2.4.2
 - netlify-cms-backend-git-gateway@2.4.6
 - netlify-cms-backend-github@2.5.0-beta.3
 - netlify-cms-backend-gitlab@2.3.3-beta.1
 - netlify-cms-core@2.13.0-beta.4
 - netlify-cms-lib-util@2.4.0-beta.4
 - netlify-cms-media-library-cloudinary@1.3.4
 - netlify-cms-media-library-uploadcare@0.5.4
 - netlify-cms-widget-date@2.3.4
 - netlify-cms-widget-datetime@2.2.4
 - netlify-cms-widget-relation@2.4.2
 - netlify-cms@2.9.8-beta.4
2019-09-26 13:09:40 -04:00
melbourne2991
922c0f38ee fix(git-gateway): pass api URL instead of constructing it from repo value (#2631) 2019-09-26 12:35:52 -04:00
Erez Rokah
97f1f84b69 fix(github-backend): handle race condition in editorial workflow (#2658) 2019-09-09 15:56:47 -04:00
Erez Rokah
0baf651f33 refactor(github-backend): move getMediaDisplayURL from implementation to api (#2654) 2019-09-09 15:42:10 -04:00
Benaiah Mischenko
68170336d5 fix(backend-github): update Open Authoring branches with no PR (#2618) 2019-09-05 17:06:57 -04:00
Shawn Erquhart
50b297c67a chore(release): publish
- netlify-cms-app@2.9.8-beta.3
 - netlify-cms-backend-github@2.5.0-beta.2
 - netlify-cms-core@2.13.0-beta.3
 - netlify-cms-lib-util@2.4.0-beta.3
 - netlify-cms-widget-list@2.3.5-beta.0
 - netlify-cms@2.9.8-beta.3
2019-09-04 18:59:16 -04:00
Erez Rokah
e674e43f9f fix(github-graphql): use getMediaDisplayURL to load media with auth header (#2652) 2019-09-04 18:56:06 -04:00
Erez Rokah
ece136c92e feat(backend-github): GitHub GraphQL API support (#2456)
* add GitHub GraphQL api initial support

* support mutiple backends for e2e tests - initial commit

* add github backend e2e test (currently skipped), fix bugs per tests

* refactor e2e tests, add fork workflow tests, support fork workflow in GraphQL api

* remove log message that might contain authentication token

* return empty error when commit is not found when using GraphQL (align with base class)

* disable github backend tests

* fix bugs introduced after rebase of GraphQL and OpenAuthoring features

* test: update tests per openAuthoring changes, split tests into multiple files

* fix: pass in headers for pagination requests, avoid async iterator as it requires a polyfill on old browsers

* test(e2e): disable github backend tests
2019-09-03 14:56:20 -04:00
Shawn Erquhart
f970a1fb1a chore(release): publish
- netlify-cms-app@2.9.8-beta.1
 - netlify-cms-backend-github@2.5.0-beta.1
 - netlify-cms-backend-gitlab@2.3.3-beta.0
 - netlify-cms-core@2.13.0-beta.1
 - netlify-cms-lib-util@2.4.0-beta.1
 - netlify-cms@2.9.8-beta.1
2019-08-24 13:57:37 -04:00
Benaiah Mischenko
34e1f09105 Open Authoring bugfixes and pagination improvements (#2523)
* Fix handling of displayURLs which are strings

* Add fromFetchArguments to unsentRequest

* Add parseLinkHeader to backendUtil

* Handle paginated endpoints in GitHub API

* Rename fork workflow to Open Authoring across the whole repo

* Fixes for bugs in GitHub API introduced by Open Authoring changes

* Fix getDeployPreview

* Fix incorrect auth header formatting GitHub implementation

cf. https://github.com/netlify/netlify-cms/pull/2456#discussion_r309633387

* Remove unused and broken method from GitHub API

cf. https://github.com/netlify/netlify-cms/pull/2456#discussion_r308687145

* Fix editorialWorkflowGit method in GitHub API

* Request published entry content from origin repo

* Better error when deleting a published post in Open Authoring

* Rename to Open Authoring in fork request message

Also adds a note to the fork request message that an existing fork of
the same repo will be used automatically.

* fix linting
2019-08-24 13:54:59 -04:00
Shawn Erquhart
7a63444f2f chore(release): publish
- netlify-cms-app@2.9.8-beta.0
 - netlify-cms-backend-github@2.5.0-beta.0
 - netlify-cms-core@2.13.0-beta.0
 - netlify-cms-lib-util@2.4.0-beta.0
 - netlify-cms-ui-default@2.7.0-beta.0
 - netlify-cms@2.9.8-beta.0
2019-07-24 18:22:44 -04:00
Benaiah Mischenko
edf0a3afdc feat(backend-github): Open Authoring (#2430)
* Make filterPromises resolve entries before filtering

* Add filterPromisesWith & onlySuccessfulPromises to utility library

* Memoize user method in GitHub API

* Make storeMetadata safe to call concurrently in GitHub API

* Fork workflow: startup and authentication

* Fork workflow: backend support

* Fork workflow: disable unused UI elements

* Fork workflow: docs

* Fork workflow: fix deploy previews

* Suggested edits for fork workflow doc

* Change future tense to present

* Fork workflow: add beta status to docs

* remove debug statement

* rename fork workflow to Open Authoring
2019-07-24 18:20:41 -04:00