Bartholomew
45a6ee92cc
fix: unpublish published entry ( #2931 )
2019-11-29 17:49:19 +02:00
Kyle
1ff9db0915
fix(widget-markdown): fix carriage return issue ( #2899 )
2019-11-28 11:27:58 -05:00
Bartholomew
caaa8b6db4
fix: load unpublished entries ( #2927 )
...
* fix: load unpublished entries
* test(cypress): re-record fixtures data
2019-11-28 17:07:07 +02:00
Erez Rokah
4c5f013d15
chore: fix some dev mode console errors ( #2924 )
2019-11-28 11:02:19 +02: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
renovate[bot]
695b0e0380
fix(deps): update dependency react-is to v16.12.0 ( #2912 )
2019-11-25 13:12:20 +02:00
Bartholomew
9ddfa48512
fix: emotion use ref prop ( #2905 )
2019-11-21 09:10:33 +02:00
Tom Rutgers
413791da12
feat(lang): add 'nl' locale ( #2904 )
...
* feat(lang): add 'nl' locale
* feat(lang): format locale
2019-11-21 09:06:11 +02:00
Oleksandr Shevtsov
9022e9d31f
feat(lang): add 'uk' locale ( #2903 )
2019-11-20 19:49:39 +02:00
Juan D
35da9a7027
feat(lang): add 'es' locale ( #2898 )
...
* chore: add 'es' locale
* style: fix formatting
* refactor: rename en to es
2019-11-20 09:59:12 +02:00
Shawn Erquhart
de9675b1b6
chore(release): publish
...
- netlify-cms-app@2.10.0-beta.1
- netlify-cms-ui-default@2.7.0-beta.3
- netlify-cms-widget-markdown@2.6.0
- netlify-cms@2.10.0-beta.1
2019-11-18 17:23:55 -05:00
Christian Fritsch
78face334f
feat(widget-markdown): add headings dropdown ( #2879 )
2019-11-18 17:16:33 -05: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
Erez Rokah
0898767fc9
feat: add french translation ( #2884 )
...
* feat: add french translation
* fix: add fr locale export
2019-11-17 09:03:32 +02:00
Bartholomew
0df21598ab
fix: media assets modal ( #2880 )
2019-11-16 15:21:53 -05:00
Erez Rokah
096b067d45
feat: add translation support ( #2870 )
...
* feat: add translation support
* test(cypress): fix locale import
* docs: add locale documentation
* feat: add german translation (#2877 )
* fix: locales package version, register all locales in netlify-cms
2019-11-14 11:25:04 +02:00
Erez Rokah
4833f33728
test: pass missing prop in test ( #2876 )
2019-11-13 18:36:42 +02:00
Erez Rokah
665afed3c2
fix(bundle-size): don't import react-select twice ( #2875 )
2019-11-13 18:01:01 +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
Erez Rokah
f5c8ff31f1
fix(media-libs): accept string or string array for insertMedia action ( #2857 )
2019-11-11 11:30:34 +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
Ananthakumar
542a7acfe6
fix(workflow): label file collection entries in Workflow ( #2566 )
2019-11-08 18:28:17 -05:00
renovate[bot]
c643266b53
chore(deps): update dependency react-is to v16.11.0 ( #2750 )
2019-11-07 15:43:08 -05: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
Bartholomew
90748ff4fe
fix(widget-list): when single field value is object widget ( #2387 )
...
* fix list widget field
* ignore sub list widget
2019-11-07 14:33:40 -05:00
Erez Rokah
002cdd77a8
fix: change default open authoring scope, make it configurable ( #2821 )
2019-11-07 12:39:47 -05:00
Shawn Erquhart
da2dab305a
fix(backend-git-gateway): omit /repos/ when no repo ( #2846 )
...
* fix(backend-git-gateway): omit /repos/ when no repo
* chore: move fix to git gateway backend
2019-11-07 17:34:30 +02:00
Ananthakumar
c1c95874f4
fix(backend-test-repo): show notice when test repo is in use ( #2678 )
2019-11-05 18:21:38 -05:00
Bartholomew
28ca8a9493
fix authentication page ( #2832 )
2019-11-03 10:23:11 +02: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
Erez Rokah
2841ff9ffe
feat: enable specifying custom open authoring commit message ( #2810 )
2019-10-28 15:29:47 -04:00
Patryk Niedźwiedziński
f206e7e5a1
feat: add go back to site button ( #2538 )
2019-10-28 15:20:41 -04:00
renovate[bot]
ab5860f58e
fix(deps): update dependency react-polyglot to ^0.6.0 ( #2752 )
2019-10-28 15:09:58 -04:00
Aleksandr Grenishin
574477adca
enhancement(media-library-uploadcare): add integration settings to control url operations ( #2670 )
2019-10-28 14:14:42 -04:00
renovate[bot]
0d150e3175
chore(deps): update dependency cross-env to v6 ( #2769 )
2019-10-27 09:37:20 +02:00
Erez Rokah
02099d6ac3
chore: remove duplicate bug fix for open authoring ( #2801 )
2019-10-24 15:45:30 +03:00
polemius
7ca528b20a
enhancement: improve error with no existing widget ( #2722 )
...
* enhancement: improve error with no existing widget
* Update Widget.js
* chore: fix formatting of Widget.js
2019-10-24 11:59:32 +03:00
polemius
68dd995d97
Fix lint issues with propTypes ( #2713 )
2019-10-24 11:45:00 +03:00
Erez Rokah
6b11367313
fix: don't enforce min max when number value is empty ( #2792 )
2019-10-24 08:38:57 +03:00
Ben Borgers
c54f896e39
fix: hide collection item overflow on hover ( #2706 )
2019-10-23 14:08:46 -04:00
Mauro Bieg
d058697644
fix(widget-date): allow empty value ( #2705 )
2019-10-23 14:01:25 -04:00
Bartholomew
f3e58e6be2
fix history console warning ( #2789 )
2019-10-23 15:58:54 +03:00
Erez Rokah
d38d4665c4
test(cleanup): remove/reintorduce skipped tests ( #2788 )
2019-10-23 13:22:48 +03:00
Shawn Erquhart
9a19f40905
chore: fix slack button position in repo
2019-10-22 21:09:09 -04:00
Shawn Erquhart
2d9df1064e
chore: fix slack button width in repo
2019-10-22 21:05:14 -04:00
Shawn Erquhart
24dfdba5f0
chore: fix slack button width in repo
2019-10-22 21:02:21 -04: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
5dc7ee2a9c
fix: swap out svg plugin causing node 12 failures ( #2710 )
2019-09-30 11:52:26 -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
polemius
6b7360e048
chore(widget-number): add float test ( #2680 )
2019-09-24 16:28:22 -04:00
polemius
04b371825e
chore: fix the typos in comments ( #2679 )
2019-09-24 16:16:09 -04:00
Bartholomew
3903acb431
fix(backend-gitlab): exclude directories in paginated results ( #2668 )
2019-09-10 11:31:52 -04:00
Zachary Sierakowski
4c32ee4aed
fix(media-library-cloudinary): when 'multiple' is true, always return an array ( #2656 )
2019-09-09 16:18:34 -04:00
Zach Schnackel
49e142ef59
enhancement(widget-relation): support custom options length ( #2520 )
2019-09-09 16:16:15 -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
melbourne2991
8bdfea4728
fix: prevent deletion of file collection entries by default ( #2627 )
2019-09-05 18:08:07 -04:00
Benaiah Mischenko
68170336d5
fix(backend-github): update Open Authoring branches with no PR ( #2618 )
2019-09-05 17:06:57 -04:00
melbourne2991
65d49dae9a
chore: update datetime widget and deprecate date widget ( #2615 )
2019-09-05 16:16:55 -04:00
Pedro Duarte
752927060e
improvement(editor): remove editor width constraint ( #2626 )
...
* Remove Editor max width
* Increase divider width
2019-09-05 15:26:31 -04:00
Bartholomew
6765bbd2fd
fix(core): list widget pattern validation ( #2599 )
...
* fix list widget pattern validation
* remove array value check
2019-09-05 15:06:56 -04:00
Henry Desroches
9f003106e5
fix(media-library): automatically select uploaded image ( #2569 )
2019-09-05 13:38:27 -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
a801636967
fix: pass List instead of array to onChange ( #2611 )
2019-09-04 18:40:59 -04:00
Erez Rokah
ce95a774b2
fix(core): don't pass boolean value to string prop, use null instead ( #2609 )
2019-09-04 18:39:21 -04:00
Erez Rokah
5b64e25d07
fix(core): don't pass ref to react-polyglot 'translate' function component ( #2607 )
2019-09-04 18:38:41 -04:00
Shawn Erquhart
1aff33e158
chore: update and document edit route ( #2619 )
...
* chore: update and document edit route
* fix formatting
2019-09-03 20:37:31 -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
Henry Desroches
083a336ba4
feat(routing): support direct linking to entries ( #2556 )
2019-08-28 20:37:56 -04:00
Sarabjot Kohli
6e6e4b86ca
improvement(editor): add title to toggle buttons ( #2548 )
2019-08-28 18:48:30 -04:00
cetra3
9cb7cd7214
Update toml library from toml-j0.4 to @iarna/toml@2.2.3 ( #2547 )
2019-08-28 18:46:11 -04:00
Bartholomew
4c5fe6a606
fix(media-library): no render of non-viewable files ( #2546 )
2019-08-28 18:27:48 -04:00
Shawn Erquhart
7a30c7e2bc
chore(release): publish
...
- netlify-cms-app@2.9.8-beta.2
- netlify-cms-core@2.13.0-beta.2
- netlify-cms-lib-util@2.4.0-beta.2
- netlify-cms@2.9.8-beta.2
2019-08-24 16:07:06 -04:00
Sam Lanning
a47a29fb8b
Allow for relative paths of media files ( #2394 )
...
* Allow for relative paths of media files
fixes #325
* Switch to calculating the relative path based on collection
The required relative path is now calculated depending on the
location of the collection of the current entry having the
media inserted into. And the configuration option has now been
changed to a boolean flag.
This allows collections to not neccesarily all be in the same
location relative to the media folder, and simplifies config.
* Clean up code and fix linting
* Add unit tests to resolveMediaFilename()
* Rework insertMedia action to fetch own config
This moves more of the media path resolution logic into the action
which makes it easier to unit test
* Add unit tests for the mediaLibrary.insertMedia action
* yarn run format
* add dependabot config (#2580 )
2019-08-24 16:03:09 -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
Shawn Erquhart
41559256d0
chore(release): publish
...
- netlify-cms-app@2.9.7
- netlify-cms-backend-bitbucket@2.4.1
- netlify-cms-backend-git-gateway@2.4.5
- netlify-cms-backend-test@2.2.3
- netlify-cms-core@2.12.2
- netlify-cms-default-exports@2.2.3
- netlify-cms-lib-auth@2.2.4
- netlify-cms-lib-util@2.3.3
- netlify-cms-media-library-cloudinary@1.3.3
- netlify-cms-media-library-uploadcare@0.5.3
- netlify-cms-ui-default@2.6.4
- netlify-cms-widget-boolean@2.2.3
- netlify-cms-widget-date@2.3.3
- netlify-cms-widget-datetime@2.2.3
- netlify-cms-widget-file@2.4.3
- netlify-cms-widget-image@2.3.3
- netlify-cms-widget-list@2.3.4
- netlify-cms-widget-map@1.3.3
- netlify-cms-widget-markdown@2.5.1
- netlify-cms-widget-number@2.3.4
- netlify-cms-widget-object@2.2.3
- netlify-cms-widget-relation@2.4.1
- netlify-cms-widget-select@2.4.3
- netlify-cms-widget-string@2.2.3
- netlify-cms-widget-text@2.2.3
- netlify-cms@2.9.7
2019-07-24 18:11:44 -04:00
Derek Nguyen
d2601615dc
fix(ui): typos in color vars ( #2444 )
2019-07-24 17:46:46 -04:00
Bartholomew
326ed4dc3f
fix(core): fix broken search ( #2488 )
2019-07-24 15:29:37 -04:00
Erez Rokah
8fe72d0686
chore(scripts): espace commands arguments that use a glob matching pattern ( #2435 )
2019-07-18 16:59:31 -04:00
Shawn Erquhart
b273dcf535
chore(release): publish
...
- netlify-cms-app@2.9.6
- netlify-cms-widget-list@2.3.3
- netlify-cms@2.9.6
2019-07-11 15:47:22 -04:00
Bartholomew
83bd5d54f8
fix(widget-list): honor default values for widgets in lists ( #2395 )
2019-07-11 15:40:34 -04:00
Shawn Erquhart
75b231a4aa
chore(release): publish
...
- netlify-cms-app@2.9.5
- netlify-cms-core@2.12.1
- netlify-cms@2.9.5
2019-06-28 17:34:09 -04:00
Shawn Erquhart
a02496b0dd
fix(core): load more entries until viewport is filled ( #2415 )
2019-06-28 17:30:39 -04:00
Shawn Erquhart
2dbdfb5d05
chore(release): publish
...
- netlify-cms-app@2.9.4
- netlify-cms-backend-git-gateway@2.4.4
- netlify-cms-core@2.12.0
- netlify-cms-lib-auth@2.2.3
- netlify-cms-widget-relation@2.4.0
- netlify-cms@2.9.4
2019-06-26 15:58:44 -04:00
Bartholomew
556c102e37
fix(core): backend file system create entry ( #2401 )
2019-06-26 14:37:22 -04:00