2530 Commits

Author SHA1 Message Date
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
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
Shawn Erquhart
982fd7b0f8 fix: always ensure collection exists before routing (#2992) 2019-12-22 13:40:14 +02:00
Shawn Erquhart
fe097202f0
fix: avoid nested select widget z-index conflicts (#2990) 2019-12-20 15:40:09 -05: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
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
Shawn Erquhart
be60d83fb1 chore: bypass releases 2019-12-19 16:02:43 -05:00
Shawn Erquhart
c80283d829 chore: allow publishing from release branches 2019-12-19 11:17:45 -05:00
Shawn Erquhart
5ea2b6fe2f
fix: allow widget overflow (#2982) 2019-12-19 10:47:43 -05:00
Bartholomew
9173d8c97e fix: select widget dropdown options (#2981) 2019-12-19 10:47: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
Bartholomew
20851fe7ea fix(backend-bitbucket): 404 for new entry (#2976) 2019-12-18 09:48:26 +02:00
Erez Rokah
af61245360
fix: don't show progress when loading preview status (#2974) 2019-12-17 08:30:08 +02: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