2419 Commits

Author SHA1 Message Date
Shawn Erquhart
7a30c7e2bc chore(release): publish
- netlify-cms-app@2.9.8-beta.2
 - netlify-cms-core@2.13.0-beta.2
 - netlify-cms-lib-util@2.4.0-beta.2
 - netlify-cms@2.9.8-beta.2
2019-08-24 16:07:06 -04:00
Sam Lanning
a47a29fb8b Allow for relative paths of media files (#2394)
* Allow for relative paths of media files

fixes #325

* Switch to calculating the relative path based on collection

The required relative path is now calculated depending on the
location of the collection of the current entry having the
media inserted into. And the configuration option has now been
changed to a boolean flag.

This allows collections to not neccesarily all be in the same
location relative to the media folder, and simplifies config.

* Clean up code and fix linting

* Add unit tests to resolveMediaFilename()

* Rework insertMedia action to fetch own config

This moves more of the media path resolution logic into the action
which makes it easier to unit test

* Add unit tests for the mediaLibrary.insertMedia action

* yarn run format

* add dependabot config (#2580)
2019-08-24 16:03:09 -04:00
Shawn Erquhart
861c36f658
add dependabot config (#2592) 2019-08-24 14:45:01 -04:00
Shawn Erquhart
f970a1fb1a chore(release): publish
- netlify-cms-app@2.9.8-beta.1
 - netlify-cms-backend-github@2.5.0-beta.1
 - netlify-cms-backend-gitlab@2.3.3-beta.0
 - netlify-cms-core@2.13.0-beta.1
 - netlify-cms-lib-util@2.4.0-beta.1
 - netlify-cms@2.9.8-beta.1
2019-08-24 13:57:37 -04:00
Benaiah Mischenko
34e1f09105 Open Authoring bugfixes and pagination improvements (#2523)
* Fix handling of displayURLs which are strings

* Add fromFetchArguments to unsentRequest

* Add parseLinkHeader to backendUtil

* Handle paginated endpoints in GitHub API

* Rename fork workflow to Open Authoring across the whole repo

* Fixes for bugs in GitHub API introduced by Open Authoring changes

* Fix getDeployPreview

* Fix incorrect auth header formatting GitHub implementation

cf. https://github.com/netlify/netlify-cms/pull/2456#discussion_r309633387

* Remove unused and broken method from GitHub API

cf. https://github.com/netlify/netlify-cms/pull/2456#discussion_r308687145

* Fix editorialWorkflowGit method in GitHub API

* Request published entry content from origin repo

* Better error when deleting a published post in Open Authoring

* Rename to Open Authoring in fork request message

Also adds a note to the fork request message that an existing fork of
the same repo will be used automatically.

* fix linting
2019-08-24 13:54:59 -04:00
Ryan DeBeasi
66da66affd Fix broken link (#2522) 2019-08-07 20:45:07 +02:00
Christian Kohler
c5acc1952a docs: incorrect repo url in Contributor Guide (#2503) 2019-07-27 06:47:54 -07:00
Shawn Erquhart
7a63444f2f chore(release): publish
- netlify-cms-app@2.9.8-beta.0
 - netlify-cms-backend-github@2.5.0-beta.0
 - netlify-cms-core@2.13.0-beta.0
 - netlify-cms-lib-util@2.4.0-beta.0
 - netlify-cms-ui-default@2.7.0-beta.0
 - netlify-cms@2.9.8-beta.0
2019-07-24 18:22:44 -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
Shawn Erquhart
41559256d0 chore(release): publish
- netlify-cms-app@2.9.7
 - netlify-cms-backend-bitbucket@2.4.1
 - netlify-cms-backend-git-gateway@2.4.5
 - netlify-cms-backend-test@2.2.3
 - netlify-cms-core@2.12.2
 - netlify-cms-default-exports@2.2.3
 - netlify-cms-lib-auth@2.2.4
 - netlify-cms-lib-util@2.3.3
 - netlify-cms-media-library-cloudinary@1.3.3
 - netlify-cms-media-library-uploadcare@0.5.3
 - netlify-cms-ui-default@2.6.4
 - netlify-cms-widget-boolean@2.2.3
 - netlify-cms-widget-date@2.3.3
 - netlify-cms-widget-datetime@2.2.3
 - netlify-cms-widget-file@2.4.3
 - netlify-cms-widget-image@2.3.3
 - netlify-cms-widget-list@2.3.4
 - netlify-cms-widget-map@1.3.3
 - netlify-cms-widget-markdown@2.5.1
 - netlify-cms-widget-number@2.3.4
 - netlify-cms-widget-object@2.2.3
 - netlify-cms-widget-relation@2.4.1
 - netlify-cms-widget-select@2.4.3
 - netlify-cms-widget-string@2.2.3
 - netlify-cms-widget-text@2.2.3
 - netlify-cms@2.9.7
2019-07-24 18:11:44 -04:00
dependabot-preview[bot]
c04fe8fbb7 chore(deps): bump gatsby-source-filesystem in /website (#2486)
Bumps [gatsby-source-filesystem](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-source-filesystem) from 2.0.1-rc.1 to 2.0.19.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-filesystem/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-filesystem@2.0.19/packages/gatsby-source-filesystem)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 18:03:03 -04:00
dependabot-preview[bot]
827d323a6d chore(deps): [security] bump webpack-dev-server in /website (#2479)
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.1.7 to 3.7.2. **This update includes a security fix.**
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.1.7...v3.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 17:58:31 -04:00
dependabot-preview[bot]
1bc20a9724 chore(deps): [security] bump lodash.mergewith in /website (#2475)
Bumps [lodash.mergewith](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2. **This update includes a security fix.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 17:56:20 -04:00
dependabot-preview[bot]
9c828ed3da chore(deps): [security] bump lodash.merge in /website (#2472)
Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2. **This update includes a security fix.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 17:56:02 -04:00
dependabot-preview[bot]
3dc75258ed chore(deps): [security] bump lodash-es in /website (#2471)
Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15. **This update includes a security fix.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 17:55:45 -04:00
Derek Nguyen
d2601615dc fix(ui): typos in color vars (#2444) 2019-07-24 17:46:46 -04:00
Emerson Laurentino
ed5763e492 docs: fix local url in Next.js guide (#2438) 2019-07-24 17:45:54 -04:00
Jeremy Meiss
7fb1168f24 WTD19: Improve Contrib Guide and Create Style Guide (#2336)
* getting started with the contributor guide updates for Netlify CMS at WTD19PDX

* places to get involved header

* create/mimi-style-guide

initial commit

* added guide for new terms

* completed Documentation Formatting Standards

* starting headings and content for contributing guidelines

* added guide for inline code and commands

* added guide for object field names

* added guide for string and integer field values

* added guide for code snippet formatting

* added content best practices

* Updated contributor guide

* added guide for Patterns to avoid. Also added Note at the top

* Update contributor-guide.md

* Update and rename style-guide.md to writing-style-guide.md
2019-07-24 17:30:10 -04:00
Tony Alves
24b0330621 chore(website): Announce Gatsby plugin 4.0.0 (#2313) 2019-07-24 17:13:23 -04:00
Bartholomew
326ed4dc3f fix(core): fix broken search (#2488) 2019-07-24 15:29:37 -04:00
dependabot-preview[bot]
2831123dec chore(deps): bump dayjs from 1.7.5 to 1.8.15 in /website (#2478)
Bumps [dayjs](https://github.com/iamkun/dayjs) from 1.7.5 to 1.8.15.
- [Release notes](https://github.com/iamkun/dayjs/releases)
- [Changelog](https://github.com/iamkun/dayjs/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/iamkun/dayjs/compare/v1.7.5...v1.8.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-23 18:19:26 -04:00
dependabot-preview[bot]
637e781645 chore(deps): [security] bump lodash.template in /website (#2476)
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0. **This update includes a security fix.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-23 18:18:50 -04:00
dependabot-preview[bot]
4884c0dd64 chore(deps): bump gatsby-transformer-remark in /website (#2477)
Bumps [gatsby-transformer-remark](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-transformer-remark) from 2.1.1-rc.1 to 2.1.10.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-transformer-remark/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-remark@2.1.10/packages/gatsby-transformer-remark)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-23 18:18:33 -04:00
dependabot-preview[bot]
bd6c8f31d9 chore(deps): bump react from 16.4.2 to 16.8.6 in /website (#2474)
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.4.2 to 16.8.6.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.8.6/packages/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-23 18:17:29 -04:00
dependabot-preview[bot]
89dd4ec0d8 chore(deps): bump gatsby-plugin-react-helmet in /website (#2473)
Bumps [gatsby-plugin-react-helmet](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-react-helmet) from 3.0.0-rc.1 to 3.0.5.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-react-helmet/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-react-helmet@3.0.5/packages/gatsby-plugin-react-helmet)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-23 18:17:07 -04:00
Erez Rokah
8fe72d0686 chore(scripts): espace commands arguments that use a glob matching pattern (#2435) 2019-07-18 16:59:31 -04:00
dependabot[bot]
9a3c9d2ffb chore(deps): bump lodash from 4.17.11 to 4.17.13 in /website (#2449)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.13)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-18 16:45:32 -04:00
Morgan Marshall
ae914fb84a docs: fix bottom "add to your site" link (#2439) 2019-07-11 22:07:26 -04:00
Shawn Erquhart
222f145ac7 chore: update release ticker 2019-07-11 15:53:21 -04:00
Shawn Erquhart
b273dcf535 chore(release): publish
- netlify-cms-app@2.9.6
 - netlify-cms-widget-list@2.3.3
 - netlify-cms@2.9.6
2019-07-11 15:47:22 -04:00
Bartholomew
83bd5d54f8 fix(widget-list): honor default values for widgets in lists (#2395) 2019-07-11 15:40:34 -04:00
Ahmad Awais ⚡️
a8b0ea334f docs: add note about Cloudinary login (#2424) 2019-07-04 12:46:09 -04:00
Shawn Erquhart
2319932861 chore: update release ticker 2019-06-28 17:45:08 -04:00
Shawn Erquhart
75b231a4aa chore(release): publish
- netlify-cms-app@2.9.5
 - netlify-cms-core@2.12.1
 - netlify-cms@2.9.5
2019-06-28 17:34:09 -04:00
Shawn Erquhart
a02496b0dd
fix(core): load more entries until viewport is filled (#2415) 2019-06-28 17:30:39 -04:00
Shawn Erquhart
0faf2ec8ab chore: update release ticker 2019-06-26 16:08:27 -04:00
Shawn Erquhart
2dbdfb5d05 chore(release): publish
- netlify-cms-app@2.9.4
 - netlify-cms-backend-git-gateway@2.4.4
 - netlify-cms-core@2.12.0
 - netlify-cms-lib-auth@2.2.3
 - netlify-cms-widget-relation@2.4.0
 - netlify-cms@2.9.4
2019-06-26 15:58:44 -04:00
Shawn Erquhart
30c2b895ba chore: fix docs site cms 2019-06-26 15:52:47 -04:00
renovate[bot]
5fd4a30f7b chore(deps): update dependency css-loader to v3 (#2410) 2019-06-26 14:56:15 -04:00
Bartholomew
556c102e37 fix(core): backend file system create entry (#2401) 2019-06-26 14:37:22 -04:00
renovate[bot]
aded9d7c24 chore(deps): update dependency prettier to v1.18.2 (#2407) 2019-06-26 14:28:00 -04:00
Shawn Erquhart
321ca9b0ed
test(backend-gitlab): cover gitlab backend integration (#1968) 2019-06-26 11:51:35 -04:00
Kyra
9ebb17c944 docs: add Elmstatic to generators list (#2399) 2019-06-26 10:37:11 -04:00
Shawn Erquhart
f331cbb0c2
chore: remove website unused eslint (sec alert) (#2404) 2019-06-24 19:32:25 -04:00
Henry
d6964b50b3 feat(widget-relation): support nested field references in relation widget (#2391) 2019-06-24 19:32:02 -04:00
Shawn Erquhart
50dc371ebc
docs: update community info with channel links (#2403) 2019-06-24 19:07:19 -04:00
Bartholomew
814aa5091b fix(widget-list): validate string values in list widget (#2385) 2019-06-24 18:50:26 -04:00
Christian Oliff
e6f24d47ec HTTPS link to editorconfig.org (#2330)
HTTPS link to editorconfig.org
2019-06-18 17:28:54 -07:00
Shawn Erquhart
4181320fa8 chore(release): publish
- netlify-cms-app@2.9.3
 - netlify-cms-backend-git-gateway@2.4.3
 - netlify-cms@2.9.3
2019-06-18 18:03:40 -04:00
Bartholomew
a5bd6b3e89 fix(core): address new entries error for non-github backends (#2390) 2019-06-18 17:55:53 -04:00