125 Commits

Author SHA1 Message Date
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
stefanprobst
2b01e009c6
fix(widget-markdown): headings dropdown not showing properly no firefox (#3903) 2020-06-15 15:01:52 +03:00
Erez Rokah
d4a7d88175
chore(deps): remove monaco editor unused deps (#3877) 2020-06-09 10:43:15 +03:00
renovate[bot]
dc429f8ffa
fix(deps): update dependency react-monaco-editor to ^0.36.0 (#3871)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-08 15:15:42 +03:00
Erez Rokah
53cba02244
fix: update rehype-remark (#3864) 2020-06-07 14:01:50 +03:00
Bartholomew
2b46608f86
feat: add widgets schema validation (#3841) 2020-06-03 16:43:34 +03:00
Erez Rokah
7bc75d095b
fix(widget-markdown): don't strip new lines from text nodes (#3813) 2020-06-03 13:16:24 +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
renovate[bot]
a33aebbc58
fix(deps): update dependency rehype-stringify to v7 (#3729)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-11 11:57:25 +03:00
Shawn Erquhart
889977150a chore(release): publish
- netlify-cms-app@2.12.12
 - netlify-cms-backend-git-gateway@2.10.4
 - netlify-cms-core@2.26.0
 - netlify-cms-lib-widgets@1.3.0
 - netlify-cms-locales@1.13.0
 - netlify-cms-ui-default@2.10.1
 - netlify-cms-widget-list@2.4.6
 - netlify-cms-widget-markdown@2.11.2
 - netlify-cms-widget-relation@2.6.0
 - netlify-cms@2.10.48
2020-05-04 15:48:48 -04:00
Pedr Browne
028ab535df
fix: prevent escaping of footnotes and references (#3646)
Prevent footnotes ([^1]:blah) and footnote references ([^1]) from being incorrectly escaped when switching between Markdown and Rich Text modes.

Co-authored-by: Pedr <pedr@sleepstation.org.uk>
2020-04-22 19:41:06 +03:00
Shawn Erquhart
b06f4cf64f chore(release): publish
- netlify-cms-app@2.12.9
 - netlify-cms-core@2.24.4
 - netlify-cms-widget-markdown@2.11.1
 - netlify-cms-widget-object@2.4.0
 - netlify-cms@2.10.45
2020-04-16 16:22:22 -04:00
Kevin Young
99071c14e4
fix(markdown widget): adds keyboard shortcuts (#3005) (#3582) 2020-04-15 11:49:38 +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
4afbbdd8a9
feat(yaml): support comments (#3529) 2020-04-07 15:00:06 +03:00
Shawn Erquhart
b680389392 chore(release): publish
- netlify-cms-app@2.12.0
 - netlify-cms-backend-git-gateway@2.10.1
 - netlify-cms-backend-test@2.8.0
 - netlify-cms-core@2.23.0
 - netlify-cms-locales@1.10.1
 - netlify-cms-ui-default@2.9.4
 - netlify-cms-widget-code@1.1.4
 - netlify-cms-widget-file@2.6.3
 - netlify-cms-widget-markdown@2.10.2
 - netlify-cms@2.10.36
2020-03-30 11:46:04 -04:00
Manish Giri
a91e8316f7
refactor(ui): use variables for z-index values (#3453) 2020-03-24 15:46:47 +02:00
Shawn Erquhart
4ac0e1f3c1 chore(release): publish
- netlify-cms-app@2.11.30
 - netlify-cms-core@2.22.1
 - netlify-cms-proxy-server@1.2.2
 - netlify-cms-widget-markdown@2.10.1
 - netlify-cms@2.10.33
2020-03-19 11:47:59 -04:00
renovate[bot]
d812eecc51
chore(deps): lock file maintenance (#3428)
* chore(deps): lock file maintenance

* fix: don't add undefined children property

* chore: add missing axios dependency

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: erezrokah <erezrokah@users.noreply.github.com>
2020-03-16 12:38:10 +01: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
50837b0068
fix: ja locale labels (#3367) 2020-03-05 16:35:24 +01:00
Shawn Erquhart
b7b4bcb609
feat: Configure included editor components per field, add optional minimal height (#3299) 2020-03-04 08:47:37 +01:00
Erez Rokah
9211075cf0
test(widget-markdown): change test name to be more descriptive (#3321) 2020-02-25 16:17:03 +01:00
GitHub Action
bcdd68045d chore(release): publish
- netlify-cms-app@2.11.21
 - netlify-cms-locales@1.9.1
 - netlify-cms-widget-markdown@2.9.3
 - netlify-cms@2.10.24
2020-02-19 21:23:52 +00:00
Erez Rokah
2a0aef27d1
fix(widget-markdown): don't add duplicate marks (#3290) 2020-02-19 19:21:50 +01: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
Erez Rokah
cdd3747850
fix(widget-markdown): allow shortcodes as list items (#3278) 2020-02-17 17:35:29 +02:00
GitHub Action
7784e780b8 chore(release): publish
- netlify-cms-app@2.11.18
 - netlify-cms-core@2.18.3
 - netlify-cms-editor-component-image@2.6.1
 - netlify-cms-ui-default@2.9.1
 - netlify-cms-widget-file@2.6.1
 - netlify-cms-widget-image@2.6.1
 - netlify-cms-widget-list@2.4.2
 - netlify-cms-widget-markdown@2.9.1
 - netlify-cms-widget-relation@2.5.1
 - netlify-cms@2.10.21
2020-02-13 00:18:31 +00:00
Erez Rokah
ab685e8594
fix: change getAsset to not return a promise (#3232)
* fix: change getAsset to not return a promise

* fix: update markdown widget per getAsset changes

* test: fix editor component image test

* docs: update getAsset docs
2020-02-12 19:12:36 -05: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
98efd88539 chore(release): publish
- netlify-cms-app@2.11.13
 - netlify-cms-core@2.16.0
 - netlify-cms-locales@1.8.0
 - netlify-cms-widget-markdown@2.8.3
 - netlify-cms-widget-select@2.5.0
 - netlify-cms@2.10.16
2020-01-31 16:54:59 -08:00
Erez Rokah
b4c5fc7783
fix(editor): merge adjacent text nodes with same marks (#3173) 2020-01-31 16:49:10 -08: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
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
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
Shawn Erquhart
29299097cf fix(widget-markdown): allow multiline shortcodes (#3066) 2020-01-12 09:30:28 +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
Shawn Erquhart
1b755b3be8
fix(widget-markdown): cut/copy selection only in raw mode (#3024) 2020-01-03 20:01:23 -05:00
Shawn Erquhart
fe097202f0
fix: avoid nested select widget z-index conflicts (#2990) 2019-12-20 15:40:09 -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