41 Commits

Author SHA1 Message Date
d88505aa6b fix(docs): add missing docs about file preview config (#4457) 2020-10-12 13:45:39 +03:00
16399719a0 feat(editor-preview): allow to disable editor preview for all collections (#4423) 2020-10-12 12:59:03 +03:00
2146b3605f feat(test): add docs linter to PR workflow actions (#4321) 2020-10-11 17:02:47 +03:00
576e4f0f1a feat(core): Add {{dirname}} to summary and preview_path (#4279) 2020-09-28 16:20:07 +03:00
512e6370b2 feat(docs): docs settings, group values, post summaries, weight sorting (branch updated) (#4280) 2020-09-09 14:38:48 +03:00
88a5a8098e fix: deprecate inconsistent config param case (#4172) 2020-08-31 14:25:48 +03:00
6a0e918ffa feat: reorganizing the NetlifyCMS Docs navigation (#3766) 2020-07-07 10:49:31 +03:00
c28cc0c9e7 feat: add filter to collection view (#3741) 2020-05-24 20:37:08 +03:00
c9a2fec2da docs: emphasise configuration file location note (#3687) 2020-05-11 15:48:15 +03:00
88b6c633af feat: add hide property to collections (#3618) (#3643) 2020-04-22 15:32:13 +03:00
4afbbdd8a9 feat(yaml): support comments (#3529) 2020-04-07 15:00:06 +03: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
df33bc64a9 feat: add publish configuration option to collections (#3467) 2020-03-23 12:01:37 +02:00
5339735994 docs: update editorial workflow notes (#3380) 2020-03-05 11:32:21 +01:00
12444ca761 feat: support filename and extension vars in summary (#3375) 2020-03-04 11:08:15 +01:00
93bd0529f1 docs: Update backend docs links (#3370) 2020-03-04 08:46:59 +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
3d474b1944 docs: convert website from postcss to emotion (#2068) 2020-01-23 21:55:17 -05:00
cf57da223d Feat: media folders templates (#3116)
* refactor: typescript backendHelper

* test: add string templating tests

* test: add createPreviewUrl invalid date test

* refactor: move all formatters to one file

* feat: support media folders templating

* feat: add filename and extension template variables

* feat: support paths in string templates

* docs: add media folder templating docs

* style(docs): remove line break
2020-01-22 13:42:24 -05:00
6f221ab3c1 Feat: editorial workflow bitbucket gitlab (#3014)
* refactor: typescript the backends

* feat: support multiple files upload for GitLab and BitBucket

* fix: load entry media files from media folder or UI state

* chore: cleanup log message

* chore: code cleanup

* refactor: typescript the test backend

* refactor: cleanup getEntry unsued variables

* refactor: moved shared backend code to lib util

* chore: rename files to preserve history

* fix: bind readFile method to API classes

* test(e2e): switch to chrome in cypress tests

* refactor: extract common api methods

* refactor: remove most of immutable js usage from backends

* feat(backend-gitlab): initial editorial workflow support

* feat(backend-gitlab): implement missing workflow methods

* chore: fix lint error

* feat(backend-gitlab): support files deletion

* test(e2e): add gitlab cypress tests

* feat(backend-bitbucket): implement missing editorial workflow methods

* test(e2e): add BitBucket backend e2e tests

* build: update node version to 12 on netlify builds

* fix(backend-bitbucket): extract BitBucket avatar url

* test: fix git-gateway AuthenticationPage test

* test(e2e): fix some backend tests

* test(e2e): fix tests

* test(e2e): add git-gateway editorial workflow test

* chore: code cleanup

* test(e2e): revert back to electron

* test(e2e): add non editorial workflow tests

* fix(git-gateway-gitlab): don't call unpublishedEntry in simple workflow

gitlab git-gateway doesn't support editorial workflow APIs yet. This change makes sure not to call them in simple workflow

* refactor(backend-bitbucket): switch to diffstat API instead of raw diff

* chore: fix test

* test(e2e): add more git-gateway tests

* fix: post rebase typescript fixes

* test(e2e): fix tests

* fix: fix parsing of content key and add tests

* refactor: rename test file

* test(unit): add getStatues unit tests

* chore: update cypress

* docs: update beta docs
2020-01-14 17:15:14 -05:00
766ade1a3c docs: Minor fix for Configuration Options (#2919) 2019-11-27 14:32:24 +02:00
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
d099bef529 docs: improve media library config info (#2685) 2019-09-25 18:25:44 -04:00
9d5dbcde0a docs: fix files collection type key (#2308) 2019-05-09 15:05:37 -04:00
573ad8816d feat(core): allow custom summary on entry cards (#2140) 2019-03-29 14:30:38 -04:00
ff8dfac813 feat(core): allow field name to override slug placeholders (#2087) 2019-02-12 16:59:53 -05:00
92fc667663 Update Docs “configuration-options” (#2080)
Automatically generated. Merged on Netlify CMS.
2019-02-11 18:38:32 -05:00
15d221d4a4 feat(workflow): add deploy preview links (#2028) 2019-02-08 12:26:59 -05:00
c805fbe4ac docs: fix broken link to dev configuration file (#1941) 2018-12-07 01:06:11 +01:00
f69a04efe8 docs: add sanitize replacement option (#1854) 2018-11-05 13:54:30 -05:00
c6ae1e8fc0 feat: allow custom logo on auth page (#1818) 2018-11-02 13:25:36 -04:00
c765793971 fix(widgets): fix list object field default values (#1826) 2018-11-02 10:55:08 -04:00
3514bc5e0b Add description option to collections docs (#1812) 2018-10-16 22:40:45 +02:00
926d9147ce Fix typo: it's --> its (#1814) 2018-10-16 13:14:02 +02:00
0596904e0b feat(media): add external media library support, Uploadcare integration (#1602) 2018-08-30 16:24:28 -04:00
0adfd4f04c (docs) fixed 404s and minor typos (#1639)
**Summary**
Fixed 404s (converted absolute links to relative links) and minor typos across several pages.

**Test plan**
Previewed locally

**A picture of a cute animal (not mandatory but encouraged)**
![pups](https://user-images.githubusercontent.com/31967674/44364132-353b6480-a494-11e8-9b01-ff7d32bfceda.jpg)
2018-08-20 16:37:10 -04:00
ebc2471c6b docs(fix): revert prettier formatting on markdown files (#1612)
Prettier formatting our markdown files is causing bugs because of the
differences between Gatsby's parser and Prettier's. Also, Prettier
formats the inline code-blocks containing example CMS configs, but the
formatting it uses doesn't really make much sense or match the suggested
CMS config style.

It doesn't actually make much sense to format the docs anyway, since we
use the CMS itself to edit/generate them.
2018-08-14 11:33:13 -06:00
90e1b5c681 Docs: add context and links to documented features (#1477)
* docs(add-to-your-site): include verbose document links

- add extra references to config.yml

* docs(collection-types): provide consistent examples

- include link to configuration doc
- describe admin UI behaviour when accessing files

* docs(add-to-your-site): make authentication phrasing less biased

- add note regarding core behaviour fetching remote files

* docs(collection-types): add note about configurable branches

* docs(website): add more descriptive language to configuration notes

- include deep links to documentation where applicable

* docs(website): change link titles to match their target content
2018-08-07 16:33:47 -07:00
f801b19221 chore: add code formatting and linting (#952) 2018-08-07 16:46:54 -04:00
04c44518b2 convert website from hugo to gatsby (#1369) 2018-07-25 07:47:26 -04:00