201 Commits

Author SHA1 Message Date
Shawn Erquhart
567adc7e11
docs: split and expand backend docs (#3350) 2020-03-02 18:34:33 +01:00
Erez Rokah
e0b1246810
feat: populate new entry from URL params (#3343) 2020-03-02 11:32:22 +01:00
Christian Fritsch
29bd7f1d57
Add PHP oauth backend (#3337) 2020-02-27 23:03:40 +01:00
Adrian C
dd94a8426e
docs: Add Google Cloud Function to External OAuth Clients (#3329) 2020-02-26 16:18:12 +01:00
Stéphane Klein
8874769b31
feat: sanitize media filenames according to global slug setting (#3315) 2020-02-25 19:12:11 +01:00
Joel Mukuthu
1d137a09e8
docs: link to beta support for editorial workflow (#3317) 2020-02-25 08:44:23 +01:00
Bruno Duyé
151fa90da4
doc: beta netlify-cms-proxy-server - add missing "backend" (#3249) 2020-02-13 15:26:00 +02:00
Erez Rokah
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
Bruno Duyé
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
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
tiuweehan
9c76a140c7
docs: fix media library usage (#3181) 2020-02-03 01:05:33 -08:00
Josh Deltener
4046345727
docs(nuxt): add note about setting mode to universal 2020-02-01 20:46:46 -08:00
Erez Rokah
0d7e36ba79
feat: add prePublish,postPublish events (#3172) 2020-01-31 16:44:01 -08:00
Shawn Erquhart
fd9e2c89f2
feat(select-widget): add min/max validation (#3171) 2020-01-30 17:53:46 -08:00
Erez Rokah
deaaf9f00c
docs: create proxy-server docs (#3168) 2020-01-30 11:31:26 -08:00
Nandor Biro
7a1d44ad09
docs(list-widget): add collapsed option to list widget docs (#3090) (#3165) 2020-01-29 09:59:02 -08:00
Rouven Bühlmann
a9b350d988 Docs(nuxt): Do not slice the first two chars of the file name (#3152) 2020-01-27 21:45:53 -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
Erez Rokah
b733419264
docs: update getAsset documentation (#3080) 2020-01-13 17:28:01 +02:00
adrian5
63ae92428a docs: update datetime widget description (#3063) 2020-01-12 11:30:27 +02: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
JoelWee
9fc661e00d docs: Update Cloudinary.md (#3051)
Include information about security concerns on the api_key.
2020-01-08 19:23:46 +02:00
Alucard17
7942db52a4 docs: Add Sapper Static folder Location (#3040) 2020-01-07 15:19:14 +02:00
Shawn Erquhart
e262e88ec1
docs: add code widget docs (#3023) 2020-01-03 21:09:08 -05:00
Shawn Erquhart
32f49683b1
docs: remove outdated accept_roles reference (#3022) 2020-01-03 13:35:12 -05: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
zemlya-studio
dd754e9377 docs(nextjs): fixed webpack loader error (#2946)
A simple fix that allows webpack to build.
2019-12-03 09:29:50 +02:00
Charlie Bevis
553264f136 docs(jekyll): "Indentity" -> "Identity" (#2945) 2019-12-03 09:26:24 +02:00
Kengo Hamasaki
445979a992 docs: update Next.js example to import component (#2928) 2019-11-28 19:52:21 -05:00
Erez Rokah
d09c3addee
docs: add beta docs for folder collections path config (#2923) 2019-11-28 10:14:39 +02:00
Yuri Drabik
766ade1a3c docs: Minor fix for Configuration Options (#2919) 2019-11-27 14:32:24 +02:00
JP Lew
a2df4f4c91 [documentation] improve NextJS docs by adding Identity Widget to homepage (#2915)
* update NextJS docs

* change /static dir to /public/static

* remove redundant React import

* change static directory to /public for Next in add-to-your-site.md
2019-11-26 23:06:29 +01:00
Christian Fritsch
78face334f feat(widget-markdown): add headings dropdown (#2879) 2019-11-18 17:16:33 -05:00
Erez Rokah
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
Erez Rokah
86d741ecac Docs: add missing Next entry in add-to-your-site.md (#2874)
* Update add-to-your-site.md

* docs: add missing Nuxt entry
2019-11-13 16:00:05 +01:00
Erez Rokah
00fa983d63 docs: fix bitbucket implicit grant docs (#2842)
* docs: fix bitbucket implicit grant docs

* docs: fix typo in Bitbucket implicit grant step 2
2019-11-10 19:41:52 +01:00
shumiyao
47be26fbfe docs: add type specification of relation widget valueField (#2446) 2019-11-07 16:25:21 -05:00
Asif Mehedi
cd48f67f1a docs: Delete duplicate key-value (#2824)
* docs: Delete duplicate key-value

* docs: revert description change
2019-11-03 10:53:07 +02:00
Erez Rokah
2841ff9ffe feat: enable specifying custom open authoring commit message (#2810) 2019-10-28 15:29:47 -04:00
Aleksandr Grenishin
574477adca enhancement(media-library-uploadcare): add integration settings to control url operations (#2670) 2019-10-28 14:14:42 -04:00
Maxime Preaux
3d12ea9470 docs: fixed the code formatting in the backends doc (#2812)
docs: Fixed the code formatting in the authentication-backend.md page (https://www.netlifycms.org/docs/authentication-backends/)
2019-10-28 10:12:43 +02:00
Sascha
f9d32452f9 docs: Added notice about Large Media option (#2805)
* Added notice about Large Media

I ran into this issue when activating Large Media while still having not imported files.

* docs: change 'important' to 'note' to make it consistent with places in the docs
2019-10-27 11:06:24 +02:00
Matthias Michael
96e99f239a docs: fix 11ty default site publish folder (#2806) 2019-10-26 10:54:06 +02:00
Sascha
5b2fb611f5 docs: update select widget default value docs (#2723) 2019-10-24 11:10:23 -04:00
Tom Rutgers
e09edd554f Update widgets.md (#2758)
Using double quotes with pattern raises an error (found out the hard way): https://github.com/netlify/netlify-cms/issues/675#issuecomment-444316681
2019-10-24 11:49:11 +03:00