2590 Commits

Author SHA1 Message Date
Erez Rokah
c4cbae7725 revert: don't force multiline flag for editor component patterns ()
* revert: don't force multiline flag for editor component patterns

refs: 338c1b68d2865a20fed851295451175b840983d4, 4839160ee6126adfbab7bfa58452560090c00737

github issues: 3088, 3086

* fix: only trim ending white spaces/line breaks when parsing shortcodes

remark validates the value of the 'eat' function using a prefix match between the original value and the value provided. Trimming the start can break that validation

* fix: change console log to warn
2020-01-15 10:28:09 -05:00
Erez Rokah
492f6f6a20
test(e2e): add git-gateway (GitLab) editorial workflow tests () 2020-01-15 14:47:10 +02:00
Shawn Erquhart
2e1e2197b0 chore: update release ticker 2020-01-14 18:47:22 -05: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 ()
* 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
fde0c5a9a7 fix(widget-markdown): ensure remarkToSlate result matches slate schema () 2020-01-14 13:20:52 -05:00
Erez Rokah
0a50efda8e feat: support per collection public_folder ()
* feat: support per collection public_folder

* test: improve tests readability
2020-01-14 13:02:53 -05:00
Shawn Erquhart
476f45096e fix(core): force multiline flag for editor component patterns () 2020-01-14 08:44:37 +02:00
Shawn Erquhart
09564bf8b6
fix(widget-markdown): stop double pasting in raw editor () 2020-01-13 19:48:01 -05:00
Erez Rokah
b733419264
docs: update getAsset documentation () 2020-01-13 17:28:01 +02:00
Erez Rokah
69b130a3f2
fix(backend-github-graphql): return empty array on non existent folder ()
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
renovate[bot]
93df614203 chore(deps): lock file maintenance ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-13 08:16:12 +02:00
Erez Rokah
857a414e3d
feat(lang): add 'zh_Hant' locale ()
Co-authored-by: Chen-Yi Hsu <11488168+cyihsu@users.noreply.github.com>
2020-01-12 12:26:02 +02:00
adrian5
63ae92428a docs: update datetime widget description () 2020-01-12 11:30:27 +02:00
Shawn Erquhart
29299097cf fix(widget-markdown): allow multiline shortcodes () 2020-01-12 09:30:28 +02:00
Mauro Bieg
24a81ef9b7 Add media_library.config.max_file_size option ()
* feat: add media_library.config.max_file_size option
2020-01-09 19:56:11 +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
8849c0ea57
fix(backend-bitbucket): fix media library not loaded on BitBucket () 2020-01-09 12:03:53 +02:00
JoelWee
9fc661e00d docs: Update Cloudinary.md ()
Include information about security concerns on the api_key.
2020-01-08 19:23:46 +02:00
Erez Rokah
4b6c8de6b2
fix: trim '/' from folder () 2020-01-08 19:02:44 +02:00
Yushi Senda
90521ba82e fix ja locale again () 2020-01-08 17:26:19 +02:00
Erez Rokah
5bd724026c
fix: don't wait for external media library to load () 2020-01-08 17:21:14 +02:00
Çağatay
62e1b823fc fix(locale-tr): fix tr locale ()
* fix(locale-tr): fix tr locale
2020-01-08 16:32:16 +02:00
Shawn Erquhart
14752a7eb2 chore: update release ticker 2020-01-07 17:43:42 -05: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
Yushi Senda
2edc7136e7 fix(locales): fix ja locale () 2020-01-07 17:07:02 +02:00
Alucard17
7942db52a4 docs: Add Sapper Static folder Location () 2020-01-07 15:19:14 +02:00
Erez Rokah
b5ffccdac5 feat(backend-git-gateway): handle identity disabled error message () 2020-01-06 14:10:37 -05:00
renovate[bot]
b54d42fcfe chore(deps): lock file maintenance ()
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-06 08:47:45 +02:00
Erez Rokah
8bf01e8022
fix(locale-pt): add missing pt locale import () 2020-01-05 15:16:54 +02:00
Shawn Erquhart
74ecc21879 fix: move code widget and locales to netlify-cms-app () 2020-01-05 11:09:27 +02:00
Shawn Erquhart
8e980bc1ab fix(widget-object): allow nested widgets to overflow () 2020-01-05 11:04:23 +02:00
André Van Dal
99169ed8f7 feat(lang): add 'pt' locale ()
* feat(lang): add 'pt' locale

* feat(lags): format pt translation
2020-01-04 16:06:37 +01:00
Shawn Erquhart
e262e88ec1
docs: add code widget docs () 2020-01-03 21:09:08 -05:00
Shawn Erquhart
1b755b3be8
fix(widget-markdown): cut/copy selection only in raw mode () 2020-01-03 20:01:23 -05:00
Shawn Erquhart
32f49683b1
docs: remove outdated accept_roles reference () 2020-01-03 13:35:12 -05:00
renovate[bot]
18123ecd93 chore(deps): lock file maintenance () 2019-12-30 08:05:06 +02:00
Bartholomew
9e7aa0c500 fix: duplicate and new entry action ()
* fix: duplicate and new entry action

* test(e2e): flush clock when duplicating entry to handle debounced fields

Co-authored-by: Erez Rokah <erezrokah@users.noreply.github.com>
2019-12-25 11:47:02 +02:00
Bartholomew
e4ba4d9d74 fix: cleanup nested widget validation ()
* fix: cleanup nested widget validation

* fix: list input widget validation
2019-12-25 10:48:47 +02:00
renovate[bot]
95ba0f5cd0 chore(deps): update dependency cache-me-outside to ^0.0.10 () 2019-12-23 11:17:25 +02:00
Erez Rokah
510b712af5
ci: use latest yarn in GitHub actions ()
* Lock file maintenance

* ci: use latest yarn in github actions

Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2019-12-23 09:37:35 +02:00
Erez Rokah
b27748b54f
Fix: get files by path depth ()
* 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
Shawn Erquhart
982fd7b0f8 fix: always ensure collection exists before routing () 2019-12-22 13:40:14 +02:00
Shawn Erquhart
fe097202f0
fix: avoid nested select widget z-index conflicts () 2019-12-20 15:40:09 -05:00
Erez Rokah
8c175f6132 fix: rebase open authoring branches ()
* 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
e2d778754d chore(release): publish
- netlify-cms@2.10.3-beta.0
2019-12-20 11:07:22 -05:00
Shawn Erquhart
cc8002b69f chore: bypass releases 2019-12-20 10:55:14 -05:00
Shawn Erquhart
ac6d788663 chore: update website release ticker 2019-12-19 16:23:19 -05:00
Shawn Erquhart
1695b76a09 chore(release): publish
- netlify-cms-app@2.11.0-beta.1
 - netlify-cms-core@2.14.0-beta.1
 - netlify-cms-widget-code@1.1.2-beta.0
 - netlify-cms@2.10.2-beta.0
2019-12-19 16:09:35 -05:00