276 Commits

Author SHA1 Message Date
renovate[bot]
c31efe190a chore(deps): update dependency http-server to ^0.12.0 (#2941) 2019-12-02 11:14:35 +02:00
renovate[bot]
e3ae2ea716 chore(deps): lock file maintenance (#2939) 2019-12-02 09:08:56 +02:00
renovate[bot]
695b0e0380 fix(deps): update dependency react-is to v16.12.0 (#2912) 2019-11-25 13:12:20 +02:00
renovate[bot]
b65e6571b4 chore(deps): lock file maintenance (#2910) 2019-11-25 12:05:50 +02:00
renovate[bot]
9f26e25253 chore(deps): lock file maintenance (#2887) 2019-11-18 17:20:00 -05:00
Erez Rokah
ead46af194
chore(deps): update dependency prettier to v1.19.1 (#2893)
* chore(deps): update dependency prettier to v1.19.1

* style: format files after prettier upgrade
2019-11-18 17:51:51 +02:00
renovate[bot]
e00aab2a8b chore(deps): update dependency all-contributors-cli to v6.11.0 (#2885) 2019-11-18 13:29:21 +02:00
renovate[bot]
60013a06f9 chore(deps): update dependency to-string-loader to v1.1.6 (#2891) 2019-11-18 12:45:08 +02:00
renovate[bot]
f0e206c8e4 chore(deps): update dependency husky to v3.1.0 (#2890) 2019-11-18 11:36:37 +02:00
renovate[bot]
59c72a4c5d chore(deps): update dependency mockserver-node to v5.7.2 (#2888) 2019-11-18 10:05:51 +02:00
renovate[bot]
b0d7f01940 chore(deps): update dependency mockserver-client to v5.7.2 (#2886) 2019-11-18 09:42:30 +02:00
Erez Rokah
6515dee871
feat: commit media with post (#2851)
* feat: commit media with post - initial commit

* feat: add draft media indication

* feat: sync UI media files with GitHub on entry load

* feat: bug fixes

* feat: delete media files from github when removed from library

* test: add GitHub backend tests

* test: add unit tests

* fix: meta data object files are not updated

* feat: used nested paths when update a tree instead of recursion

* feat(test-backend): update test backend to persist media file with entry

* test(e2e): re-record fixtures data

* chore: code cleanup

* chore: code cleanup

* fix: wait for library to load before adding entry media files

* chore: code cleanup

* fix: don't add media files on entry when not a draft

* fix: sync media library after draft entry was published

* feat: update media library card draft style, add tests

* test: add Editor unit tests

* chore: test code cleanup

* fix: publishing an entry from workflow tab throws an error

* fix: duplicate media files when using test backend

* refactor: fix lodash import

* chore: update translations and yarn file after rebase

* test(cypress): update recorded data

* fix(test-backend): fix mapping of media files on publish
2019-11-17 11:51:50 +02:00
renovate[bot]
69220b13a2 chore(deps): lock file maintenance (#2861) 2019-11-12 14:16:35 -05:00
renovate[bot]
d575cd7e81 chore(deps): update dependency all-contributors-cli to v6.10.0 (#2862) 2019-11-11 16:00:45 +02:00
renovate[bot]
6e2a5b976e chore(deps): update dependency copy-webpack-plugin to v5.0.5 (#2863) 2019-11-11 15:31:20 +02:00
renovate[bot]
bff0baa07d chore(deps): update dependency cypress to v3.6.1 (#2864) 2019-11-11 13:11:45 +02:00
renovate[bot]
01d6b1183f chore(deps): update dependency mockserver-client to v5.7.1 (#2865) 2019-11-11 12:09:27 +02:00
renovate[bot]
c94a2dd3ea chore(deps): update dependency @octokit/rest to v16.35.0 (#2860) 2019-11-11 11:26:37 +02:00
renovate[bot]
3ec21d0642 chore(deps): update babel monorepo (#2859) 2019-11-11 10:42:00 +02:00
renovate[bot]
c643266b53 chore(deps): update dependency react-is to v16.11.0 (#2750) 2019-11-07 15:43:08 -05:00
Erez Rokah
435d772384
fix: revert "chore(deps): lock file maintenance (#2836)" (#2843)
This reverts commit 4335ef0aa5fb0c18be3889f6d235b41aec0305ce.
2019-11-05 18:35:17 +02:00
renovate[bot]
4335ef0aa5 chore(deps): lock file maintenance (#2836) 2019-11-04 10:55:19 +02:00
renovate[bot]
42aafa7530 chore(deps): update dependency cypress to v3.6.0 (#2835) 2019-11-04 10:25:12 +02:00
renovate[bot]
689fcf0218 chore(deps): update dependency @octokit/rest to v16.34.1 (#2834) 2019-11-04 10:02:50 +02:00
renovate[bot]
ab5860f58e fix(deps): update dependency react-polyglot to ^0.6.0 (#2752) 2019-10-28 15:09:58 -04:00
renovate[bot]
5636f5f54c chore(deps): update dependency babel-plugin-transform-define to v1.3.2 (#2814) 2019-10-28 10:32:02 +02:00
renovate[bot]
55be4019ca chore(deps): lock file maintenance (#2815) 2019-10-28 10:03:47 +02:00
renovate[bot]
0d150e3175 chore(deps): update dependency cross-env to v6 (#2769) 2019-10-27 09:37:20 +02:00
Erez Rokah
38cbe6e9bb
chore: add commitlint (#2803) 2019-10-27 09:32:34 +02:00
renovate[bot]
2aae75cf52 chore(deps): update dependency nock to v11 (#2770) 2019-10-24 08:58:16 +03:00
Erez Rokah
b869ce05ae test(cypress-github-backend): optionally record tests and run using recorded data (#2776) 2019-10-22 12:59:13 -04:00
renovate[bot]
a98e6dee65 chore(deps): update dependency rimraf to v3 (#2771) 2019-10-22 10:54:18 -04:00
renovate[bot]
7904bde7db chore(deps): lock file maintenance (#2730) 2019-10-22 10:51:14 -04:00
renovate[bot]
58164cb75f chore(deps): lock file maintenance (#2709) 2019-09-30 16:15:35 -04:00
Shawn Erquhart
5dc7ee2a9c
fix: swap out svg plugin causing node 12 failures (#2710) 2019-09-30 11:52:26 -04:00
renovate[bot]
1a0e640f8a chore(deps): update dependency @octokit/rest to v16.28.9 (#2663) 2019-09-10 10:48:49 -04:00
Erez Rokah
ece136c92e feat(backend-github): GitHub GraphQL API support (#2456)
* add GitHub GraphQL api initial support

* support mutiple backends for e2e tests - initial commit

* add github backend e2e test (currently skipped), fix bugs per tests

* refactor e2e tests, add fork workflow tests, support fork workflow in GraphQL api

* remove log message that might contain authentication token

* return empty error when commit is not found when using GraphQL (align with base class)

* disable github backend tests

* fix bugs introduced after rebase of GraphQL and OpenAuthoring features

* test: update tests per openAuthoring changes, split tests into multiple files

* fix: pass in headers for pagination requests, avoid async iterator as it requires a polyfill on old browsers

* test(e2e): disable github backend tests
2019-09-03 14:56:20 -04:00
cetra3
9cb7cd7214 Update toml library from toml-j0.4 to @iarna/toml@2.2.3 (#2547) 2019-08-28 18:46:11 -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
renovate[bot]
5fd4a30f7b chore(deps): update dependency css-loader to v3 (#2410) 2019-06-26 14:56:15 -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
Shawn Erquhart
f331cbb0c2
chore: remove website unused eslint (sec alert) (#2404) 2019-06-24 19:32:25 -04:00
Shawn Erquhart
3bf25e3dfb chore: move off of temporary lerna fork 2019-06-14 12:03:51 -04:00
Tony Alves
575d142f46 fix: bump babel-plugin-inline-svg (#2359)
Closes #2345
2019-06-07 15:31:32 -04:00
renovate[bot]
91702c2ae7 chore(deps): update dependency prettier to v1.17.1 (#2353) 2019-06-04 14:05:45 -04:00
renovate[bot]
a1eaf3e48a chore(deps): update dependency react-testing-library to v7 (#2322) 2019-05-09 16:04:43 -04:00
renovate[bot]
9e624cfaa3 chore(deps): update dependency dom-testing-library to v4 (#2321) 2019-05-09 15:44:25 -04:00
renovate[bot]
c7390956d0 chore(deps): update dependency prettier to v1.17.0 (#2287) 2019-05-09 12:38:29 -04:00
Shawn Erquhart
fabe76a621 chore: add travis, refactor test scripts 2019-03-28 15:30:17 -04:00
Tony Alves
ff4ffd7a70 feat: add byo react package netlify-cms-app (#2252) 2019-03-28 14:37:23 -04:00
renovate[bot]
6e2d18f671 fix(deps): update dependency react-is to v16.8.5 (#2232) 2019-03-25 14:13:10 -04:00
Tony Alves
d142b32345 feat: add ES module builds (#2215) 2019-03-22 11:24:46 -04:00
Shawn Erquhart
35dc2474ad chore: temporarily switch to lerna fork 2019-03-21 16:42:25 -04:00
renovate[bot]
e906091c8f chore(deps): update dependency all-contributors-cli to v6 (#2179) 2019-03-18 15:46:00 -04:00
Tony Alves
82cc7941cc feat: provide usable UMD builds for all packages (#2141) 2019-03-16 18:44:29 -04:00
renovate[bot]
d5248c8066 fix(deps): update dependency react-polyglot to ^0.4.0 (#2170) 2019-03-15 18:39:10 -04:00
renovate[bot]
b5180e96c3 fix(deps): update dependency react-sortable-hoc to v1 (#2198) 2019-03-15 11:29:25 -04:00
renovate[bot]
12cc5a99d3 fix(deps): update dependency react-scroll-sync to ^0.7.0 (#2171) 2019-03-15 10:52:10 -04:00
renovate[bot]
e8d3db1ff9 fix(deps): update dependency react-aria-menubutton to v6 (#2195) 2019-03-15 10:50:27 -04:00
Shawn Erquhart
ccef446d72
feat: upgrade to Emotion 10 (#2166) 2019-03-15 10:19:57 -04:00
Shawn Erquhart
686504adee
feat(core): recover entry after unexpected quit (#2129) 2019-02-28 13:30:23 -05:00
Benaiah Mischenko
da2249c651 Netlify Large Media integration (#2124) 2019-02-26 13:11:15 -05:00
Alexander Nanberg
518f6fb1c0 feat(netlify-cms-widget-relation): use react-select and add support for multiple entries (#1936) 2019-02-19 14:11:38 -05:00
Aleksandr Grenishin
50dab7256d enhancement(uploadcare): load uploadcare as module (#2091) 2019-02-13 10:19:33 -05:00
Shawn Erquhart
888ca8b28b Revert "enhancement(media-library-uploadcare): update uploadcare plugin (#2029)"
This reverts commit ff7317524478cb051374dc10aa45d96478428122.
2019-02-08 22:50:39 -05:00
Shawn Erquhart
97c7d3efc2 chore: update react 2019-02-08 18:14:11 -05:00
Shawn Erquhart
ddbf80df49 Revert "perf(netlify-cms-core): add basic route code-splitting (#1889)"
This reverts commit 9aa56457e297a9e2592ca87a59b635508ef5702e.
2019-02-08 17:40:16 -05:00
Aleksandr Grenishin
ff73175244 enhancement(media-library-uploadcare): update uploadcare plugin (#2029) 2019-02-08 14:06:08 -05:00
friedjoff
18f34d2aca feat(netlify-cms-widget-map): add map widget (#2051) 2019-02-05 17:41:21 -05:00
Alexander Nanberg
9aa56457e2 perf(netlify-cms-core): add basic route code-splitting (#1889) 2019-02-05 16:49:27 -05:00
Shawn Erquhart
443f060ef9
fix(media-library-cloudinary): fix options, add tests (#1938) 2018-12-07 16:49:55 -05:00
Alexander Nanberg
e5ad6087af chore(netlify-cms-core): upgrade react-frame-component to 4.x (#1925) 2018-11-29 10:07:09 -05:00
Alexander Nanberg
e940f4eeb6 chore(netlify-cms-core): upgrade gray-matter to 4.x (#1924) 2018-11-29 10:05:14 -05:00
Alexander Nanberg
88bf287221 feat(netlify-cms-widget-select): add support for multiple selection (#1901) 2018-11-29 09:34:04 -05:00
Alexander Nanberg
12d17ec3f2 chore(netlify-cms-core): upgrade react-dnd to 7.x (#1922) 2018-11-28 19:37:55 -05:00
Alexander Nanberg
ec35dc94b6 chore(netlify-cms-widget-text): upgrade to react-textarea-autosize 7.x (#1921) 2018-11-28 19:36:39 -05:00
Alexander Nanberg
c932d05bdb chore(netlify-cms-core): upgrade to react-waypoint 8.x (#1920) 2018-11-28 19:35:51 -05:00
Alexander Nanberg
ae21317621 chore(netlify-cms-core): upgrade redux and related dependencies (#1914) 2018-11-27 11:42:36 -05:00
Alexander Nanberg
e1104d09bd chore(dependencies): bump npm-run-all (#1913) 2018-11-27 10:33:53 -05:00
Bartholomew
812290710f improvement(widget-select): use react-select (#1835) 2018-11-21 20:31:51 -05:00
Shawn Erquhart
e2544a6bf5
chore(build): improve versioning control (#1855) 2018-11-05 13:32:39 -05:00
Nahuel Dealbera
c2e21ff9db improvement(i18n): extract core UI texts to external file (#1708) 2018-11-02 13:19:49 -04:00
Shawn Erquhart
b60c94aa8f
improvement(auth): verbose error message when GitHub repo unavailable (#1831) 2018-11-02 10:29:11 -04:00
Loïc Mahieu
9856b7e03c chore: update babel dependencies (#1846) 2018-11-02 10:22:04 -04:00
Shawn Erquhart
b58d6fe651
chore: output blank css files to avoid broken builds (#1724) 2018-09-06 16:59:18 -04:00
Robert Karlsson
a1677b0e24 chore: update Slate dependencies (#1451) 2018-08-23 16:54:55 -04:00
Caleb
f801b19221 chore: add code formatting and linting (#952) 2018-08-07 16:46:54 -04:00
Caleb
8cc6dc78ec improvement(validation): use config schema definition for validation (#1363) 2018-08-07 12:31:17 -04:00
Caleb
b2debb05a1 refactor: use external version of react-scroll-sync (#1586) 2018-08-07 11:50:41 -04:00
Shawn Erquhart
b79c042e9e
chore(e2e): add cypress integration test of editorial workflow (#1573) 2018-08-03 19:23:43 -04:00
Shawn Erquhart
21e54de483
chore: update develop task to watch all packages (#1562) 2018-07-31 15:44:56 -04:00
Shawn Erquhart
1a9fe461ff migrate test framework 2018-07-25 21:17:57 -04:00
Shawn Erquhart
4a01d2289c fix dependencies 2018-07-25 21:17:57 -04:00
Shawn Erquhart
eb5ee68ea7 remove extra deps 2018-07-25 21:17:57 -04:00
Shawn Erquhart
f1a2eb33b4 migrate markdown widget 2018-07-25 21:17:57 -04:00
Shawn Erquhart
8a0ffa7b9b migrate git gateway backend 2018-07-25 21:17:57 -04:00
Shawn Erquhart
ef90fb9925 improve builds and local development 2018-07-25 21:17:57 -04:00
Shawn Erquhart
2f95d8c4fc use webpack for all builds 2018-07-25 21:17:57 -04:00
Shawn Erquhart
040dd6859c fix build, migrate test backend 2018-07-25 21:17:57 -04:00