351 Commits

Author SHA1 Message Date
812716e18b feat: add pre save/ post save hooks (#3812) 2020-05-27 16:14:35 +03:00
90ebee9abb docs: update manual init docs (#3815) 2020-05-26 17:12:53 +03:00
624b7ff14b feat: add allowed_hosts support in local_backend (#3805) 2020-05-26 11:50:09 +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
2f435f875b feat(widget-relation): target file collections (#3754) 2020-05-19 10:17:57 +03:00
4dd58c5dcb feat(widget-list): add hiding list content with minimize_collapsed option (#3607) 2020-05-17 16:47:07 +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
7cc4c89539 feat(netlify-cms-widget-list): allow 'summary' field (#3616) 2020-05-11 16:30:29 +03:00
c9a2fec2da docs: emphasise configuration file location note (#3687) 2020-05-11 15:48:15 +03:00
0ac3592e26 docs: Update Docs: Guides “hugo” (#3708) 2020-05-05 19:20:10 +03:00
213ae86b54 feat(widget-relation): string templates support (#3659) 2020-04-30 16:03:08 +03:00
88b6c633af feat: add hide property to collections (#3618) (#3643) 2020-04-22 15:32:13 +03:00
ebb4eb4e29 docs: remove reference to Date widget from DateTime widget (#3629) 2020-04-20 10:20:22 +03:00
72b26f4435 chore: add netlifycms-gridsome to examples (#3625) 2020-04-18 15:33:11 +02:00
9f17363bee feat(widget-object): add collapsed option to collapse object by default (#3606) 2020-04-15 14:46:09 +03:00
4afbbdd8a9 feat(yaml): support comments (#3529) 2020-04-07 15:00:06 +03:00
2fe9ab72f3 docs: Update Docs: Quick Start “examples” (#3555) 2020-04-06 13:01:16 +03:00
afb2f72ea5 Update Docs: Guides “jekyll” (#3536) 2020-04-03 17:50:48 +02:00
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
c6ef7e555f docs: Add 'netlify-cms-oauth-provider-node' external OAuth client (#3472) 2020-03-23 19:30:33 +02:00
df33bc64a9 feat: add publish configuration option to collections (#3467) 2020-03-23 12:01:37 +02:00
70fbccd4da docs: clarify absolute path with additional path argument (#3461) 2020-03-22 18:40:36 +02:00
9087da5850 docs(widgets-boolean): clarify default value usage (#3440) 2020-03-19 13:35:43 +02:00
ab7ba435ba docs: Update Quick Start “collection-types” (#3438) 2020-03-18 20:26:13 +02:00
5339735994 docs: update editorial workflow notes (#3380) 2020-03-05 11:32:21 +01:00
e1f43f0860 docs: rephrase previews support for variable types (#3376) 2020-03-04 11:22:13 +01:00
12444ca761 feat: support filename and extension vars in summary (#3375) 2020-03-04 11:08:15 +01:00
b7b4bcb609 feat: Configure included editor components per field, add optional minimal height (#3299) 2020-03-04 08:47:37 +01:00
93bd0529f1 docs: Update backend docs links (#3370) 2020-03-04 08:46:59 +01:00
5e6e2ad205 docs: update Media “uploadcare” (#3371) 2020-03-04 01:06:38 -05:00
567adc7e11 docs: split and expand backend docs (#3350) 2020-03-02 18:34:33 +01:00
e0b1246810 feat: populate new entry from URL params (#3343) 2020-03-02 11:32:22 +01:00
29bd7f1d57 Add PHP oauth backend (#3337) 2020-02-27 23:03:40 +01:00
dd94a8426e docs: Add Google Cloud Function to External OAuth Clients (#3329) 2020-02-26 16:18:12 +01:00
8874769b31 feat: sanitize media filenames according to global slug setting (#3315) 2020-02-25 19:12:11 +01:00
1d137a09e8 docs: link to beta support for editorial workflow (#3317) 2020-02-25 08:44:23 +01:00
151fa90da4 doc: beta netlify-cms-proxy-server - add missing "backend" (#3249) 2020-02-13 15:26:00 +02:00
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
19fdc161d8 docs: add a mention that test-repo backend can't access to local file… (#3230)
Co-authored-by: Erez Rokah <erezrokah@users.noreply.github.com>
2020-02-12 09:00:53 +02:00
4aba6baf9a docs: add recent beta feature release versions (#3212) 2020-02-09 08:15:07 +02:00
614f1aea63 feat(core): auto detect proxy server on load (#3195)
* feat: auto detect proxy server on load

* fix: opt-in for auto proxy server detection
2020-02-05 10:56:11 -05:00
18e284ece8 feat: add preUnpublish, postUnpublish events (#3196) 2020-02-04 13:49:30 +02:00
68dd3c1de7 fix(www-website): fix link to community, fix CMS previews (#3189) 2020-02-04 09:16:48 +02:00
9c76a140c7 docs: fix media library usage (#3181) 2020-02-03 01:05:33 -08:00
4046345727 docs(nuxt): add note about setting mode to universal 2020-02-01 20:46:46 -08:00
0d7e36ba79 feat: add prePublish,postPublish events (#3172) 2020-01-31 16:44:01 -08:00
fd9e2c89f2 feat(select-widget): add min/max validation (#3171) 2020-01-30 17:53:46 -08:00
deaaf9f00c docs: create proxy-server docs (#3168) 2020-01-30 11:31:26 -08:00
7a1d44ad09 docs(list-widget): add collapsed option to list widget docs (#3090) (#3165) 2020-01-29 09:59:02 -08:00