41 Commits

Author SHA1 Message Date
Erez Rokah
53061710a9
feat: i18n support for file collections - closes #4483 (#4634) 2020-11-26 12:23:53 +02:00
KoljaTM
1fa108ee67
feat: Support filters for template strings #3677 (#4396) 2020-10-25 17:29:59 +02:00
Keegan Lillo
576e4f0f1a
feat(core): Add {{dirname}} to summary and preview_path (#4279) 2020-09-28 16:20:07 +03:00
Erez Rokah
cb2ad687ee
Feat: multi content authoring (#4139) 2020-09-20 20:30:46 +03:00
silverwebb925
512e6370b2
feat(docs): docs settings, group values, post summaries, weight sorting (branch updated) (#4280) 2020-09-09 14:38:48 +03:00
Jeremy Zilar
6a0e918ffa
feat: reorganizing the NetlifyCMS Docs navigation (#3766) 2020-07-07 10:49:31 +03:00
Erez Rokah
af7bbbd9a9
Feat: nested collections (#3716) 2020-06-18 10:11:37 +03:00
Bartholomew
812716e18b
feat: add pre save/ post save hooks (#3812) 2020-05-27 16:14:35 +03:00
Erez Rokah
90ebee9abb
docs: update manual init docs (#3815) 2020-05-26 17:12:53 +03:00
Erez Rokah
624b7ff14b
feat: add allowed_hosts support in local_backend (#3805) 2020-05-26 11:50:09 +03:00
Max Metral
2ecafd3354
feat: allow author login/name to work in commit message templates #3793 (#3794) 2020-05-25 09:36:35 +03:00
Derek Nguyen
7cc4c89539
feat(netlify-cms-widget-list): allow 'summary' field (#3616) 2020-05-11 16:30:29 +03:00
ChrisLasar
70fbccd4da
docs: clarify absolute path with additional path argument (#3461) 2020-03-22 18:40:36 +02:00
Erez Rokah
e1f43f0860
docs: rephrase previews support for variable types (#3376) 2020-03-04 11:22:13 +01:00
Shawn Erquhart
93bd0529f1
docs: Update backend docs links (#3370) 2020-03-04 08:46:59 +01:00
Erez Rokah
e0b1246810
feat: populate new entry from URL params (#3343) 2020-03-02 11:32:22 +01:00
Bruno Duyé
151fa90da4
doc: beta netlify-cms-proxy-server - add missing "backend" (#3249) 2020-02-13 15:26:00 +02:00
Shawn Erquhart
4aba6baf9a
docs: add recent beta feature release versions (#3212) 2020-02-09 08:15:07 +02:00
Erez Rokah
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
Erez Rokah
18e284ece8
feat: add preUnpublish, postUnpublish events (#3196) 2020-02-04 13:49:30 +02:00
Erez Rokah
0d7e36ba79
feat: add prePublish,postPublish events (#3172) 2020-01-31 16:44:01 -08:00
Erez Rokah
deaaf9f00c
docs: create proxy-server docs (#3168) 2020-01-30 11:31:26 -08:00
adrian5
66e2b1f084 docs: minor adjustment to Beta features page (#3154) 2020-01-27 21:30:21 -08:00
Zeb Pykosz
3d474b1944 docs: convert website from postcss to emotion (#2068) 2020-01-23 21:55:17 -05:00
Erez Rokah
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
Erez Rokah
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
Mauro Bieg
24a81ef9b7 Add media_library.config.max_file_size option (#3028)
* feat: add media_library.config.max_file_size option
2020-01-09 19:56:11 +02:00
Erez Rokah
2b41d8a838 feat: bundle assets with content (#2958)
* fix(media_folder_relative): use collection name in unpublished entry

* refactor: pass arguments as object to AssetProxy ctor

* feat: support media folders per collection

* feat: resolve media files path based on entry path

* fix: asset public path resolving

* refactor: introduce typescript for AssetProxy

* refactor: code cleanup

* refactor(asset-proxy): add tests,switch to typescript,extract arguments

* refactor: typescript for editorialWorkflow

* refactor: add typescript for media library actions

* refactor: fix type error on map set

* refactor: move locale selector into reducer

* refactor: add typescript for entries actions

* refactor: remove duplication between asset store and media lib

* feat: load assets from backend using API

* refactor(github): add typescript, cache media files

* fix: don't load media URL if already loaded

* feat: add media folder config to collection

* fix: load assets from API when not in UI state

* feat: load entry media files when opening media library

* fix: editorial workflow draft media files bug fixes

* test(unit): fix unit tests

* fix: editor control losing focus

* style: add eslint object-shorthand rule

* test(cypress): re-record mock data

* fix: fix non github backends, large media

* test: uncomment only in tests

* fix(backend-test): add missing displayURL property

* test(e2e): add media library tests

* test(e2e): enable visual testing

* test(e2e): add github backend media library tests

* test(e2e): add git-gateway large media tests

* chore: post rebase fixes

* test: fix tests

* test: fix tests

* test(cypress): fix tests

* docs: add media_folder docs

* test(e2e): add media library delete test

* test(e2e): try and fix image comparison on CI

* ci: reduce test machines from 9 to 8

* test: add reducers and selectors unit tests

* test(e2e): disable visual regression testing for now

* test: add getAsset unit tests

* refactor: use Asset class component instead of hooks

* build: don't inline source maps

* test: add more media path tests
2019-12-18 11:16:02 -05:00
Erez Rokah
d09c3addee
docs: add beta docs for folder collections path config (#2923) 2019-11-28 10:14:39 +02:00
Erez Rokah
2841ff9ffe feat: enable specifying custom open authoring commit message (#2810) 2019-10-28 15:29:47 -04:00
Shawn Erquhart
56ee8441ef
docs: document github graphql beta (#2636) 2019-09-08 15:03:18 -04:00
Shawn Erquhart
1ef7603d40 docs: add relative images beta 2019-08-24 16:21:24 -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
Tony Alves
14f94a022c feat(config): allow config.yml file load to be skipped (#2053) 2019-02-03 17:48:40 -05:00
Simon Hanukaev
8ddc168197 feat(netlify-cms-widget-list): add variable type definitions to list widget (#1857) 2018-12-26 23:51:35 -05:00
Shawn Erquhart
a28ed726aa Revert "improvement: allow custom workflow branch name prefix (#1494)"
This reverts commit da0f520f0d4f7af0e0ec8af16fbdd04bc39751b4.
2018-09-17 12:19:14 -04:00
Andreas Richter
da0f520f0d improvement: allow custom workflow branch name prefix (#1494) 2018-09-04 12:57:53 -04:00
Casey Schroeder
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
Caleb
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
Caleb
f801b19221 chore: add code formatting and linting (#952) 2018-08-07 16:46:54 -04:00
Zeb Pykosz
04c44518b2 convert website from hugo to gatsby (#1369) 2018-07-25 07:47:26 -04:00