667 Commits

Author SHA1 Message Date
Erez Rokah
bfb2e2bc57
fix: allow unlimited alias count (#3570) 2020-04-09 13:33:21 +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
1705c79a92
fix(backend-github): add fallback for diff errors/warnings (#3558) 2020-04-07 15:42:24 +03:00
Erez Rokah
4afbbdd8a9
feat(yaml): support comments (#3529) 2020-04-07 15:00:06 +03:00
Shawn Erquhart
4489b6ff49 chore(release): publish
- netlify-cms-app@2.12.4
 - netlify-cms-backend-proxy@1.0.6
 - netlify-cms-core@2.23.4
 - netlify-cms-locales@1.10.3
 - netlify-cms-widget-file@2.6.4
 - netlify-cms@2.10.40
2020-04-06 13:24:46 -04:00
Erez Rokah
6933bf6ee1
fix: missing widgets (#3541) 2020-04-05 16:46:26 +03:00
Erez Rokah
76732f7208
fix(widget-image): multiple image support (#3538) 2020-04-05 12:33:54 +03:00
Erez Rokah
d4b28e22a6
Fix(locale): Add missing translation strings for polish (#3530) 2020-04-02 20:25:06 +03:00
Erez Rokah
f94dea386c
fix(backend-proxy): fix error reporting (#3527) 2020-04-02 12:46:34 +03:00
Shawn Erquhart
9af7069a35 chore(release): publish
- netlify-cms-app@2.12.3
 - netlify-cms-core@2.23.3
 - netlify-cms@2.10.39
2020-04-01 17:14:22 -04:00
Shawn Erquhart
c2425b44e8
fix: stop collection view controls from overflowing (#3521) 2020-04-01 18:23:59 +03:00
Erez Rokah
1a577b8e27
fix: set default public_folder on files and fields (#3519) 2020-04-01 17:18:56 +03:00
Erez Rokah
601175c6a1
fix: sanitize dots in path collection config (#3518) 2020-04-01 16:40:14 +03:00
Shawn Erquhart
a8678559b2 chore(release): publish
- netlify-cms-app@2.12.2
 - netlify-cms-backend-github@2.10.3
 - netlify-cms-core@2.23.2
 - netlify-cms-lib-util@2.9.2
 - netlify-cms-proxy-server@1.2.4
 - netlify-cms@2.10.38
2020-04-01 09:23:37 -04:00
Erez Rokah
ea41b98324
fix: use resolveBackend instead of currentBackend (#3514) 2020-04-01 14:05:02 +03:00
Erez Rokah
a1bf86e856
fix: don't override empty public folder (#3513) 2020-04-01 13:16:30 +03:00
Erez Rokah
cc89aa5c43
fix(open-authoring): properly delete open authoring branches (#3512) 2020-04-01 12:42:32 +03:00
Erez Rokah
49098de27f
fix: move common api functions to a separate file (#3511) 2020-04-01 11:44:39 +03:00
Shawn Erquhart
816bef5ffa chore(release): publish
- netlify-cms-app@2.12.1
 - netlify-cms-backend-bitbucket@2.11.3
 - netlify-cms-backend-git-gateway@2.10.2
 - netlify-cms-backend-github@2.10.2
 - netlify-cms-backend-gitlab@2.8.3
 - netlify-cms-backend-proxy@1.0.5
 - netlify-cms-backend-test@2.8.1
 - netlify-cms-core@2.23.1
 - netlify-cms-lib-auth@2.2.8
 - netlify-cms-lib-util@2.9.1
 - netlify-cms-locales@1.10.2
 - netlify-cms-proxy-server@1.2.3
 - netlify-cms-ui-default@2.9.5
 - netlify-cms@2.10.37
2020-03-31 23:22:50 -04:00
Erez Rokah
174d86f0a0
Feat: entry sorting (#3494)
* refactor: typescript search actions, add tests avoid duplicate search

* refactor: switch from promise chain to async/await in loadEntries

* feat: add sorting, initial commit

* fix: set isFetching to true on entries request

* fix: ui improvments and bug fixes

* test: fix tests

* feat(backend-gitlab): cache local tree)

* fix: fix prop type warning

* refactor: code cleanup

* feat(backend-bitbucket): add local tree caching support

* feat: swtich to orderBy and support multiple sort keys

* fix: backoff function

* fix: improve backoff

* feat: infer sortable fields

* feat: fetch file commit metadata - initial commit

* feat: extract file author and date, finalize GitLab & Bitbucket

* refactor: code cleanup

* feat: handle github rate limit errors

* refactor: code cleanup

* fix(github): add missing author and date when traversing cursor

* fix: add missing author and date when traversing cursor

* refactor: code cleanup

* refactor: code cleanup

* refactor: code cleanup

* test: fix tests

* fix: rebuild local tree when head doesn't exist in remote branch

* fix: allow sortable fields to be an empty array

* fix: allow translation of built in sort fields

* build: fix proxy server build

* fix: hide commit author and date fields by default on non git backends

* fix(algolia): add listAllEntries method for alogolia integration

* fix: handle sort fields overflow

* test(bitbucket): re-record some bitbucket e2e tests

* test(bitbucket): fix media library test

* refactor(gitgateway-gitlab): share request code and handle 404 errors

* fix: always show commit date by default

* docs: add sortableFields

* refactor: code cleanup

* improvement: drop multi-sort, rework sort UI

* chore: force main package bumps

Co-authored-by: Shawn Erquhart <shawn@erquh.art>
2020-03-31 23:13:27 -04:00
Erez Rokah
cbb3927101
fix(open-authoring): prevent workflow view from breaking on entry error (#3508) 2020-03-31 17:27:59 +03:00
Bartholomew
970529570b
fix: media files when duplicating entry (#3507) 2020-03-31 14:58:30 +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
Tomáš Mazač
bae6a2b68a
fix(locale): Fix czech locale (#3493) 2020-03-29 20:12:52 +03:00
Erez Rokah
3afe2b16de
Feat: add logo to inference for thumbnails (#3481)
Co-authored-by: Max Metral <max@pyralis.com>
2020-03-26 19:23:31 +02:00
Manish Giri
a91e8316f7
refactor(ui): use variables for z-index values (#3453) 2020-03-24 15:46:47 +02:00
Erez Rokah
42d60a644c
fix: update error boundary about GitHub issue data (#3471) 2020-03-23 19:02:01 +02:00
Erez Rokah
ae1917c818
fix: allow widgets to control value to be validated (#3448) 2020-03-23 16:33:29 +02:00
Erez Rokah
ce69fdd66b
chore: cleanup warnings (#3469) 2020-03-23 13:09:06 +02:00
Erez Rokah
df33bc64a9
feat: add publish configuration option to collections (#3467) 2020-03-23 12:01:37 +02:00
Erez Rokah
45a1654404
fix: don't use getAsset for draft entries (#3403) 2020-03-22 16:53:06 +02:00
Erez Rokah
e92ba412d8
chore: populate error boundry issue with relevant values (#3460) 2020-03-22 16:04:11 +02:00
Erez Rokah
cd324b08f1
feat: expose CMS moment (#3458) 2020-03-22 15:18:19 +02:00
Shawn Erquhart
d4350e50e2 chore(release): publish
- netlify-cms-app@2.11.32
 - netlify-cms-backend-bitbucket@2.11.2
 - netlify-cms-backend-github@2.10.1
 - netlify-cms-backend-gitlab@2.8.2
 - netlify-cms-core@2.22.2
 - netlify-cms@2.10.35
2020-03-20 09:26:34 -04:00
Derek Nguyen
6d8765521c
fix(core): pass loadEntry to widgets as utility function and not redux action (#3439) 2020-03-20 12:54:53 +02:00
Bartholomew
9616cdb8bb
fix: missing workflow timestamp (#3445) 2020-03-20 12:20:12 +02:00
Shawn Erquhart
872e945c47 chore(release): publish
- netlify-cms-app@2.11.31
 - netlify-cms@2.10.34
2020-03-19 15:45:25 -04:00
Shawn Erquhart
bc5f13e3ea chore: update website ticker, force version bumps 2020-03-19 15:43:00 -04: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
marcricharme
e81a35ccb8
fix(core): custom widget validate bug in EditorControlPane (#3435) 2020-03-19 11:38:26 +02:00
Erez Rokah
2409323dba
fix: call createDraftFromEntry after entry is loaded instead in Editor (#3418)
* fix: call createDraftFromEntry after entry is loaded instead in Editor
2020-03-16 20:48:49 +01:00
renovate[bot]
ea96452641
chore(deps): update node.js to >=v10.19.0 (#3426)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-16 12:44:01 +01: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
4537c03068 chore(release): publish
- netlify-cms-app@2.11.29
 - netlify-cms-locales@1.10.0
 - netlify-cms@2.10.32
2020-03-13 14:21:06 -04:00
Ferran Buireu
66baec4b8f
feat(catalan-translation): add catalan translation (#3412) 2020-03-13 18:13:20 +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
70de9f6b4b
fix(backend-github): don't create new commits on empty diff when rebasing (#3411) 2020-03-12 14:28:50 +01:00
Erez Rokah
c2e7a24dc2
fix: update repo owner from GitHub API to match casing (#3410) 2020-03-12 11:29:23 +01:00
Shawn Erquhart
05a1c91a3c
chore: add hack to manually bump main packages (#3385) 2020-03-09 16:37:13 +01:00
Erez Rokah
92e76011e7
feat: add media lib virtualization (#3381) 2020-03-09 08:45:42 +01:00
Marcin Hagmajer
9c0f618148
fix(type-defs): signature for CMS.registerWidget (#3386)
registerWidget can be called with a single argument `CmsWidgetParam`
2020-03-09 08:45:12 +01:00
Erez Rokah
eb21723799
fix(locale): Translate headings into german (#3382) 2020-03-05 19:48:18 +01:00
Erez Rokah
50837b0068
fix: ja locale labels (#3367) 2020-03-05 16:35:24 +01:00
Erez Rokah
39f1307e3a
feat(backend-github): add pagination (#3379) 2020-03-05 11:58:49 +01:00
Erez Rokah
f3fd43b819
fix: cache assets using resolved path on error (#3378) 2020-03-04 15:25:03 +01:00
Erez Rokah
ff3b62d12f
fix: show better error for missing widgets (#3377) 2020-03-04 13:53:21 +01:00
Erez Rokah
12444ca761
feat: support filename and extension vars in summary (#3375) 2020-03-04 11:08:15 +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
Shawn Erquhart
93bd0529f1
docs: Update backend docs links (#3370) 2020-03-04 08:46:59 +01:00
GitHub Action
1fc95fee1a chore(release): publish
- netlify-cms-app@2.11.27
 - netlify-cms-backend-bitbucket@2.11.1
 - netlify-cms-backend-git-gateway@2.9.1
 - netlify-cms-backend-github@2.9.3
 - netlify-cms-backend-gitlab@2.8.1
 - netlify-cms-backend-proxy@1.0.4
 - netlify-cms-backend-test@2.7.3
 - netlify-cms-core@2.21.0
 - netlify-cms-locales@1.9.3
 - netlify-cms-proxy-server@1.2.0
 - netlify-cms-ui-default@2.9.2
 - netlify-cms@2.10.30
2020-03-03 18:22:31 +00:00
Erez Rokah
e40b81a564
fix(open-authoring): use origin repo when calling compare API (#3363)
since we create open authoring branches from the origin default branch, we need to use the origin repo when calling the compare API
2020-03-03 13:12:40 -05:00
Erez Rokah
4e1e5a9bd5
feat(proxy-server): export proxy middlewares (#3361) 2020-03-02 14:42:29 +01:00
Erez Rokah
e0b1246810
feat: populate new entry from URL params (#3343) 2020-03-02 11:32:22 +01:00
renovate[bot]
773d83900d
chore(deps): update dependency @types/hapi__joi to v16.0.12 (#3355)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-03-02 11:31:27 +01:00
Erez Rokah
961cde4ea5
fix: consider variable types when traversing collection fields (#3347) 2020-02-28 20:06:34 +01:00
Bartholomew
cf81f587cf
fix: ensure draft changes (#3306) 2020-02-28 11:40:51 +01:00
tiuweehan
7c45a3cda9
fix(locale): Remove hard coded string literals (#3333) 2020-02-28 11:12:10 +01:00
GitHub Action
1dcb79a874 chore(release): publish
- netlify-cms-app@2.11.26
 - netlify-cms-backend-github@2.9.2
 - netlify-cms-core@2.20.1
 - netlify-cms@2.10.29
2020-02-27 23:30:42 +00:00
Erez Rokah
3e873f3e02
Fix: don't try to migrate cms prs from forks (#3331) 2020-02-27 18:24:39 +01:00
Bartholomew
908c42fb58
fix: preserve unknown fields value (#3314) 2020-02-26 16:58:46 +01:00
Shawn Erquhart
53365b7370
fix(core): improve editor buttons for smaller screens (#3327) 2020-02-26 08:30:02 +01:00
GitHub Action
e7e497a8ff chore(release): publish
- netlify-cms-app@2.11.25
 - netlify-cms-backend-github@2.9.1
 - netlify-cms-core@2.20.0
 - netlify-cms@2.10.28
2020-02-25 21:32:24 +00:00
Shawn Erquhart
83e0383b69
fix(backend-github): fail workflow migrations gracefully (#3325)
* fix(backend-github): fail workflow migrations gracefully

* fix: formatting
2020-02-25 16:25:37 -05:00
Stéphane Klein
8874769b31
feat: sanitize media filenames according to global slug setting (#3315) 2020-02-25 19:12:11 +01:00
GitHub Action
2675e1dff5 chore(release): publish
- netlify-cms-app@2.11.24
 - netlify-cms-backend-bitbucket@2.11.0
 - netlify-cms-backend-git-gateway@2.9.0
 - netlify-cms-backend-github@2.9.0
 - netlify-cms-backend-gitlab@2.8.0
 - netlify-cms-core@2.19.1
 - netlify-cms-lib-util@2.8.0
 - netlify-cms-proxy-server@1.1.5
 - netlify-cms@2.10.27
2020-02-25 15:24:43 +00:00
Erez Rokah
9211075cf0
test(widget-markdown): change test name to be more descriptive (#3321) 2020-02-25 16:17:03 +01:00
Shawn Erquhart
684b79e43b
fix(backend-github): improve workflow migration edge cases/messaging (#3319) 2020-02-25 11:49:38 +01:00
Erez Rokah
7e0a8ad532
feat(core): align GitHub metadata handling with other backends (#3316)
* Revert "Revert "feat(core): Align GitHub metadata handling with other backends (#3292)""

This reverts commit 5bdd3df9ccbb5149c22d79987ebdcd6cab4b261f.

* fix(backend-github): fix migration code

* test(backend-github): fix test

* test(e2e): shorten wait time

* test(e2e): try and fix test on CI
2020-02-24 17:44:10 -05:00
renovate[bot]
dcb0c9cfbe
chore(deps): update dependency @types/hapi__joi to v16.0.11 (#3308)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-24 10:41:04 +01:00
GitHub Action
8325a16572 chore(release): publish
- netlify-cms-app@2.11.23
 - netlify-cms-backend-bitbucket@2.10.1
 - netlify-cms-backend-git-gateway@2.8.1
 - netlify-cms-backend-github@2.8.1
 - netlify-cms-backend-gitlab@2.7.1
 - netlify-cms@2.10.26
2020-02-22 19:25:37 +00:00
Shawn Erquhart
5bdd3df9cc Revert "feat(core): Align GitHub metadata handling with other backends (#3292)"
This reverts commit 8193b5ace89d6f14a6c756235a50b186a763b6b1.
2020-02-22 14:20:28 -05:00
GitHub Action
60edf10530 chore(release): publish
- netlify-cms-app@2.11.22
 - netlify-cms-backend-bitbucket@2.10.0
 - netlify-cms-backend-git-gateway@2.8.0
 - netlify-cms-backend-github@2.8.0
 - netlify-cms-backend-gitlab@2.7.0
 - netlify-cms-core@2.19.0
 - netlify-cms-locales@1.9.2
 - netlify-cms@2.10.25
2020-02-22 14:57:38 +00:00
Erez Rokah
8193b5ace8
feat(core): Align GitHub metadata handling with other backends (#3292)
* refactor: code cleanup for GitLab and BitBucket

* feat(backend-github): use prs labels for metadata - initial commit

* refactor(backend-github): code cleanup, fix tests

* fix(backend-github): bug fixes

* fix(backend-github): open authoring fixes

* fix(backend-github): open authoring fixes

* fix(backend-github): fix graphql

* test(e2e): update Octokit usage

* test(e2e): re-record test data, fix bugs

* test(e2e): re-record test data, fix bugs

* test(e2e): fix tests

* refactor: code cleanup

* fix(backend-github): fix migration code

* fix(backend-github): don't fail on non existing files collections files

* fix(backend-github): use patch attribute instead of slug to get path

* fix(backend-github): use compare api to force push a pr

* fix(backend-github): fix git-gateway and re-record tests

* fix(backend-github): use first commit message as open authoring pr title

* refactor(backend-github): code cleanup

* test(e2e): fix tests
2020-02-22 09:51:30 -05:00
Çağatay
036ea06d5e
fix(locale-tr): fix tr locale (#3301) 2020-02-22 08:42:17 +01:00
Ben Harris
971926c369
feat: Add 'hero' as inferable image field (#3294) 2020-02-20 17:44:00 +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
Stan
73f679480b
fix editorToolbar translations (#3281)
* fix editorToolbar translations

Publicatie terugtrekken // Publicatie teruggetrokken, alternatief zou kunnen zijn: Publicatie ongedaan maken // Publicatie ongedaan gemaakt. Voel je vrij.

* consistentie wijziging
2020-02-18 15:44:04 +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
Eddie Webb
8cc5fcbb19
fix(widget-datetime): use default value when value is undefined (#3269) 2020-02-17 17:05:18 +02:00
renovate[bot]
70789a322d
chore(deps): update dependency @types/hapi__joi to v16.0.10 (#3272)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-17 12:25:24 +02:00
renovate[bot]
a81ca240f8
chore(deps): lock file maintenance (#3277)
* chore(deps): lock file maintenance

* chore: update octokit types imports

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Erez Rokah <erezrokah@users.noreply.github.com>
2020-02-17 12:10:56 +02:00
GitHub Action
d39aca7853 chore(release): publish
- netlify-cms-app@2.11.19
 - netlify-cms-core@2.18.4
 - netlify-cms-editor-component-image@2.6.2
 - netlify-cms-lib-util@2.7.1
 - netlify-cms-proxy-server@1.1.3
 - netlify-cms-widget-file@2.6.2
 - netlify-cms-widget-image@2.6.2
 - netlify-cms-widget-list@2.4.3
 - netlify-cms-widget-relation@2.5.2
 - netlify-cms@2.10.22
2020-02-14 20:37:17 +00:00
Erez Rokah
1d63038e78
fix(core): report config error when external media lib is missing (#3255) 2020-02-14 15:32:36 -05:00
Erez Rokah
02ef2010e7
Fix: show specific field media files in library, cascade folder templates (#3252)
* feat: cascade & compose media folders - initial commit

* refactor: code cleanup

* fix: pass field instead of folder to getAsset

* fix: only show field media files in library

* test: fix medial library selector test

* fix: fallback to original path when asset not found

* fix: only show field media files in media library

* fix: properly handle empty strings in field folders
2020-02-14 15:31:33 -05:00
Erez Rokah
8d67de0e68
fix(proxy-server): add missing labels to file collections (#3250) 2020-02-13 15:45:36 +02:00
Bartholomew
f915bf375f
fix: remove empty list item (#3245) 2020-02-13 11:59:38 +02:00
stefanprobst
2447f9c311
fix: dispatch QUERY_FAILURE on query failure (#3243) 2020-02-13 11:48:02 +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