686 Commits

Author SHA1 Message Date
812716e18b feat: add pre save/ post save hooks (#3812) 2020-05-27 16:14:35 +03:00
624b7ff14b feat: add allowed_hosts support in local_backend (#3805) 2020-05-26 11:50:09 +03:00
8047d06afd fix(config): validate unique fields names under the same level (#3804) 2020-05-25 15:35:01 +03:00
dd7bced09e fix(locale): update translation strings for 'nl' locale (#3802) 2020-05-25 14:40:15 +03:00
6056424a2d fix(media-library): prevent buttons from overlapping #3639 (#3784) 2020-05-25 13:07:01 +03:00
397857855b fix: Error UI improvements for nested lists/objects (#3726) 2020-05-25 09:42:54 +03:00
2ecafd3354 feat: allow author login/name to work in commit message templates #3793 (#3794) 2020-05-25 09:36:35 +03:00
c28cc0c9e7 feat: add filter to collection view (#3741) 2020-05-24 20:37:08 +03:00
d3aaf4ddb3 feat(lang): add norwegian (#3785) 2020-05-20 12:37:52 +03:00
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
24d96a760a fix(widget-relation): fix displayFields default (#3783) 2020-05-19 12:10:48 +03:00
2f435f875b feat(widget-relation): target file collections (#3754) 2020-05-19 10:17:57 +03:00
5f99a9132b chore(deps): update dependency typescript to v3.9.2 (#3776) 2020-05-18 10:52:23 +03:00
588622adb2 feat: improve search to target single collections (#3760) 2020-05-18 10:52:06 +03:00
9d6260bd4b fix(locale): Add translation for "download" in mediaLibraryModal (#3771) 2020-05-17 19:12:28 +03:00
76b19eaca4 fix(locale): Improve Catalan translation (#3770) 2020-05-17 19:12:07 +03:00
4dd58c5dcb feat(widget-list): add hiding list content with minimize_collapsed option (#3607) 2020-05-17 16:47:07 +03:00
088b1a8ab6 fix: clear fetch timeout on successful response (#3768) 2020-05-17 14:09:06 +03:00
6042383b9d fix: allow setting an empty array as default for complex lists (#3746) 2020-05-13 13:24:12 +03:00
ef5ff031da feat: add pickerUtc option to datetime widget (#3721)
I have a field that I would like to contain just a date (with no specific
time). When I configure the datetime widget with sensible options for
a date-only field, dates are stored properly in the saved markdown,
but when I load those dates in the UI, I see the date before.

This is happening because the DateTime component from the
react-datetime library uses local timezones. It loads the date as the
start of day UTC and then converts to the local timezone, which is
going to be the previous day in any timezone with a negative UTC offset,
including all of the Americas.

This change adds a pickerUtc option to the datetime widget so that users
can specify when they would like the datetime picker to display times in
UTC rather than in the local timezone. By setting this new option to
true on date-only fields, users can ensure that everyone sees the same
date in the picker regardless of local timezones.
2020-05-13 11:44:01 +03:00
3d7d5d2e67 fix(widget-code): change dynamic import to require (#3745) 2020-05-12 20:24:28 +03:00
3e34e52440 chore: add timeout mechanism for fetch calls (#3649) 2020-05-12 16:51:13 +03:00
334304ed52 fix: delete new entry backup (#3645) 2020-05-12 10:45:39 +03:00
8ab2a6036b fix(date): allow default value to Date field (#3740) 2020-05-11 17:30:28 +03:00
7cc4c89539 feat(netlify-cms-widget-list): allow 'summary' field (#3616) 2020-05-11 16:30:29 +03:00
6bead5c6b2 fix(deps): update dependency @iarna/toml to v2.2.5 (#3736)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-11 13:24:01 +03:00
5c5f390590 feat(locale): add 'sv' locale (#3724) 2020-05-11 13:23:24 +03:00
1c7ef1c457 fix(deps): update dependency simple-git to v2 (#3730)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-11 12:16:30 +03:00
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
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
0c7699d026 chore: override versions for failed release 2020-05-04 15:45:31 -04:00
0504c584fc Test(widgets-list): add tests (#3697) 2020-05-04 15:17:19 +03:00
6c229c5149 fix(git-gateway): wait for identity widget to initialize (#3660) 2020-04-30 17:46:07 +03:00
213ae86b54 feat(widget-relation): string templates support (#3659) 2020-04-30 16:03:08 +03:00
3e5ff71846 feat: add entry, collection and config prop to control widget (#3672) 2020-04-30 10:52:42 +03:00
2580251208 fix: support common backend configuration options from docs in ts types (#3674) 2020-04-29 18:52:01 +03:00
b5a242ec8e feat(locale): update PT language (#3669) 2020-04-28 10:25:03 +03:00
5b1353d755 fix: locale japanese (#3668) 2020-04-27 19:16:27 +03:00
a9d0699a82 fix: sidebar icon shrinking when label wraps (#3653)
Co-authored-by: Pedr <pedr@sleepstation.org.uk>
2020-04-24 19:31:40 +03:00
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
cf57284f40 fix(sort): don't clear sort data on entries request (#3648) 2020-04-22 16:05:47 +03:00
88b6c633af feat: add hide property to collections (#3618) (#3643) 2020-04-22 15:32:13 +03:00
f8603c5d92 chore(release): publish
- netlify-cms-app@2.12.11
 - netlify-cms-backend-bitbucket@2.11.4
 - netlify-cms-backend-git-gateway@2.10.3
 - netlify-cms-backend-github@2.10.5
 - netlify-cms-backend-gitlab@2.8.4
 - netlify-cms-lib-util@2.9.3
 - netlify-cms-proxy-server@1.2.6
 - netlify-cms@2.10.47
2020-04-21 10:49:29 -04:00
8f1b325809 refactor: use fetch cache arg instead of cache busting (#3584) 2020-04-21 17:46:06 +03:00
9b79623bc8 fix(large-media): match netlify.app as lfs host (#3642) 2020-04-21 17:29:21 +03:00
b151bdfd73 chore(release): publish
- netlify-cms-app@2.12.10
 - netlify-cms-core@2.25.0
 - netlify-cms-locales@1.12.0
 - netlify-cms-widget-list@2.4.4
 - netlify-cms-widget-object@2.4.1
 - netlify-cms@2.10.46
2020-04-20 12:47:16 -04:00
3f72f438a1 fix(types): instead of the inferred {}, allow any kind of props (#3638) 2020-04-20 16:15:04 +03:00
cf252605ad feat: add-download-button closes #3429 (#3609) 2020-04-20 12:37:47 +03:00
3a666e26b5 fix: list widget item collapse toggle (#3623) 2020-04-19 17:46:09 +03:00
f88c83b97a fix(locale): add missing translation strings for 'es' locale (#3626) 2020-04-19 11:48:27 +03:00