2498 Commits

Author SHA1 Message Date
Erez Rokah
e142280f6e
chore: add storybook (#3104) 2020-01-19 17:53:11 +02:00
Erez Rokah
038803c9f2
fix(git-gateway-gitlab): fix large media support for editorial workflow (#3105) 2020-01-19 14:25:29 +02:00
Shawn Erquhart
07fa5b316c chore: update release ticker 2020-01-16 10:26:22 -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
Erez Rokah
6a13a85e26
fix: use string endsWith to filter by extension (#3097) 2020-01-16 12:03:30 +02:00
Erez Rokah
92108431f0
fix: don't fail on malformed pointer files (#3095) 2020-01-15 18:23:42 +02:00
Shawn Erquhart
7f580db56f chore(release): publish
- netlify-cms-app@2.11.4
 - netlify-cms-core@2.15.2
 - netlify-cms-widget-markdown@2.8.2
 - netlify-cms@2.10.7
2020-01-15 10:30:30 -05:00
Erez Rokah
c4cbae7725 revert: don't force multiline flag for editor component patterns (#3089)
* 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 (#3091) 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 (#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
fde0c5a9a7 fix(widget-markdown): ensure remarkToSlate result matches slate schema (#3085) 2020-01-14 13:20:52 -05:00
Erez Rokah
0a50efda8e feat: support per collection public_folder (#3069)
* 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 (#3082) 2020-01-14 08:44:37 +02:00
Shawn Erquhart
09564bf8b6
fix(widget-markdown): stop double pasting in raw editor (#3083) 2020-01-13 19:48:01 -05:00
Erez Rokah
b733419264
docs: update getAsset documentation (#3080) 2020-01-13 17:28:01 +02: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
renovate[bot]
93df614203 chore(deps): lock file maintenance (#3072)
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 (#3068)
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 (#3063) 2020-01-12 11:30:27 +02:00
Shawn Erquhart
29299097cf fix(widget-markdown): allow multiline shortcodes (#3066) 2020-01-12 09:30:28 +02:00
Mauro Bieg
24a81ef9b7 Add media_library.config.max_file_size option (#3028)
* 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 (#3059) 2020-01-09 12:03:53 +02:00
JoelWee
9fc661e00d docs: Update Cloudinary.md (#3051)
Include information about security concerns on the api_key.
2020-01-08 19:23:46 +02:00
Erez Rokah
4b6c8de6b2
fix: trim '/' from folder (#3052) 2020-01-08 19:02:44 +02:00
Yushi Senda
90521ba82e fix ja locale again (#3049) 2020-01-08 17:26:19 +02:00
Erez Rokah
5bd724026c
fix: don't wait for external media library to load (#3050) 2020-01-08 17:21:14 +02:00
Çağatay
62e1b823fc fix(locale-tr): fix tr locale (#3047)
* 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 (#3041) 2020-01-07 17:07:02 +02:00
Alucard17
7942db52a4 docs: Add Sapper Static folder Location (#3040) 2020-01-07 15:19:14 +02:00
Erez Rokah
b5ffccdac5 feat(backend-git-gateway): handle identity disabled error message (#3002) 2020-01-06 14:10:37 -05:00
renovate[bot]
b54d42fcfe chore(deps): lock file maintenance (#3032)
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 (#3029) 2020-01-05 15:16:54 +02:00
Shawn Erquhart
74ecc21879 fix: move code widget and locales to netlify-cms-app (#3025) 2020-01-05 11:09:27 +02:00
Shawn Erquhart
8e980bc1ab fix(widget-object): allow nested widgets to overflow (#3026) 2020-01-05 11:04:23 +02:00
André Van Dal
99169ed8f7 feat(lang): add 'pt' locale (#3015)
* 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 (#3023) 2020-01-03 21:09:08 -05:00
Shawn Erquhart
1b755b3be8
fix(widget-markdown): cut/copy selection only in raw mode (#3024) 2020-01-03 20:01:23 -05:00
Shawn Erquhart
32f49683b1
docs: remove outdated accept_roles reference (#3022) 2020-01-03 13:35:12 -05:00
renovate[bot]
18123ecd93 chore(deps): lock file maintenance (#3013) 2019-12-30 08:05:06 +02:00
Bartholomew
9e7aa0c500 fix: duplicate and new entry action (#3003)
* 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 (#2991)
* 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 (#2997) 2019-12-23 11:17:25 +02:00
Erez Rokah
510b712af5
ci: use latest yarn in GitHub actions (#3001)
* 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