552 Commits

Author SHA1 Message Date
Shawn Erquhart
18c579d0e9 feat: Code Widget + Markdown Widget Internal Overhaul (#2828)
* wip - upgrade to slate 0.43

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* finish list handling logic

* add plugins directory

* tests wip

* setup testing

* wip

* add selection commands

* finish list testing

* stuff

* add codemirror

* abstract codemirror from slate

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* codemirror mostly working, some bugs

* upgrade to slate 46

* upgrade to slate 47

* wip

* wip

* progress

* wip

* mostly working links with surrounding marks

* wip

* tests passing

* add test

* fix formatting

* update snapshots

* close self closing tag in markdown html output

* wip - commonmark

* hold on commonmark work

* all tests passing

* fix e2e specs

* ignore tests in esm builds

* break/backspace plugins wip

* finish enter/backspace spec

* fix soft break handling

* wip - editor component deletion

* add insertion points

* make insertion points invisible

* fix empty mark nodes output to markdown

* fix pasting

* improve insertion points

* add static bottom insertion point

* improve click handling at insertion points

* restore current table functionality

* add paste support for Slate fragments

* support cut/copy markdown, paste between rich/raw editor

* fix copy paste

* wip - paste/select bug fixing

* fixed known slate issues

* split plugins

* fix editor toggles

* force text cursor in code widget

* wip - reorg plugins

* finish markdown control reorg

* configure plugin types

* quote block adjacent handling with tests

* wip

* finish quote logic and tests

* fix copy paste plugin migration regressions

* fix force insert before node

* fix trailing insertion point

* remove empty headers

* codemirror working properly in markdown widget

* return focus to codemirror on lang select enter

* fix state issues for widgets with local state

* wip - vim working, just need to work out distribution

* add settings pane

* wip - default modes

* fix deps

* add programming language data

* implement linguist langs in code widget

* everything built in

* remove old registration code, fix focus styling

* fix/update linting setup

* fix js lint errors

* remove stylelint from format script

* fix remaining linting errors

* fix reducer test failures

* chore: update commitlint for worktree support

* chore: fix remaining tests

* chore: drop unused monaco plugin

* chore: remove extraneous global styles rendering

* chore: fix failing tests

* fix: tests

* fix: quote/list nesting (tests still broken)

* fix: update quote tests

* chore: bring back code widget test config

* fix: autofocus

* fix: code blocks without the code widget

* fix: code editor component state issues

* fix: error

* fix: add code block test, few fixes

* chore: remove notes

* fix: [wip] update stateful shortcodes on undo/redo

* fix: support code styled links, handle unknown langs

* fix: few fixes

* fix: autofocus on insert, focus on all clicks

* fix: linting

* fix: autofocus

* fix: update code block fixture

* fix: remove unused cypress snapshot plugin

* fix: drop node 8 test, add node 12

* fix: use lodash.flatten instead of Array.flat

* fix: remove console logs
2019-12-16 19:17:37 +02:00
renovate[bot]
c31efe190a chore(deps): update dependency http-server to ^0.12.0 (#2941) 2019-12-02 11:14:35 +02: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
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]
5636f5f54c chore(deps): update dependency babel-plugin-transform-define to v1.3.2 (#2814) 2019-10-28 10:32:02 +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
Shawn Erquhart
5dc7ee2a9c
fix: swap out svg plugin causing node 12 failures (#2710) 2019-09-30 11:52:26 -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
Erez Rokah
8fe72d0686 chore(scripts): espace commands arguments that use a glob matching pattern (#2435) 2019-07-18 16:59:31 -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
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
351db33b22 chore: fix copy task 2019-03-28 17:05:51 -04:00
Shawn Erquhart
166141102b chore: split ci test scripts 2019-03-28 16:09:28 -04:00
Shawn Erquhart
0e36109157 chore: fix test ci script 2019-03-28 15:35:43 -04:00
Shawn Erquhart
fabe76a621 chore: add travis, refactor test scripts 2019-03-28 15:30:17 -04:00
Shawn Erquhart
96843a1230 chore: add clean task to test scripts 2019-03-25 14:33:17 -04:00
Tony Alves
0b5d6d9c20 chore: fix develop watch (#2237) 2019-03-25 13:57:17 -04:00
Shawn Erquhart
00a176b34a chore: fix local development 2019-03-22 18:18:30 -04:00
Shawn Erquhart
7378e18b29 chore: fix ci scripts 2019-03-22 12:04:35 -04:00
Tony Alves
d142b32345 feat: add ES module builds (#2215) 2019-03-22 11:24:46 -04:00
Shawn Erquhart
7672f2ae27 chore: add ci publish scripts 2019-03-22 10:46:12 -04:00
Shawn Erquhart
246ac52312 chore: fix dry-run scripts 2019-03-21 17:16:57 -04:00
Shawn Erquhart
c8d55b2475 chore: set fixed prerelease identifier 2019-03-21 16:49:02 -04:00
Shawn Erquhart
35dc2474ad chore: temporarily switch to lerna fork 2019-03-21 16:42:25 -04:00
Shawn Erquhart
3dc45d6d6d chore: update prerelease scripts 2019-03-21 12:12:16 -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
Shawn Erquhart
8e020fd3b0 chore: switch to beta dist-tag 2019-03-15 11:50:21 -04:00
Shawn Erquhart
20f4ed2921 chore: fix prerelease scripts 2019-03-15 11:47:43 -04:00
Shawn Erquhart
ccef446d72
feat: upgrade to Emotion 10 (#2166) 2019-03-15 10:19:57 -04:00
Shawn Erquhart
cf396e0bf1 chore: add dist-tag to beta releases 2019-03-14 16:17:36 -04:00
Shawn Erquhart
00d40d9bb2
chore: add beta publishing tasks (#2159) 2019-03-14 15:53:22 -04:00
Shawn Erquhart
a419f05ff2 chore: codify manual versioning scripts 2019-03-07 21:31:35 -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
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
Shawn Erquhart
944fe1b370 chore: improve publish scripts 2018-11-28 19:57:47 -05:00
Shawn Erquhart
ab33f918c9 chore: test before publishing 2018-11-28 19:44:14 -05:00
Alexander Nanberg
e1104d09bd chore(dependencies): bump npm-run-all (#1913) 2018-11-27 10:33:53 -05:00
Shawn Erquhart
c55402b322 chore: lint first 2018-11-16 16:06:23 -05:00
Shawn Erquhart
cb469e5d37 chore(release): add git push to publish script 2018-11-12 12:19:38 -05:00
Shawn Erquhart
563211cfe9 fix(release): fix publish scripts 2018-11-12 11:56:01 -05:00
Shawn Erquhart
e2544a6bf5
chore(build): improve versioning control (#1855) 2018-11-05 13:32:39 -05:00
Loïc Mahieu
9856b7e03c chore: update babel dependencies (#1846) 2018-11-02 10:22:04 -04:00
Shawn Erquhart
0596904e0b
feat(media): add external media library support, Uploadcare integration (#1602) 2018-08-30 16:24:28 -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
Tony Alves
583377bc92 docs(fix): widget example code layout on Site (#1606)
* Fix widget example layout

* Stop running MarkDown through Prettier.
2018-08-14 08:37:07 -06:00
Caleb
f801b19221 chore: add code formatting and linting (#952) 2018-08-07 16:46:54 -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
0692ad0e98
chore: only run netlify-cms for development (#1557) 2018-07-30 18:59:12 -04:00
Shawn Erquhart
5cde1d0c10 fix: console log accurate version 2018-07-28 18:47:35 -04:00
Shawn Erquhart
75a32f528b
chore: add build-preview task for local build testing (#1539) 2018-07-28 17:26:47 -04:00
Tyler Ipson
e1c8b7641d docs: update contributor docs to reflect lerna (#1523) 2018-07-27 11:05:51 -04:00
Shawn Erquhart
6eb86957d0 set up publishing 2018-07-25 21:17:57 -04:00
Shawn Erquhart
1a9fe461ff migrate test framework 2018-07-25 21:17:57 -04:00
Shawn Erquhart
eb5ee68ea7 remove extra deps 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
Shawn Erquhart
2e7406862e fix various bugs 2018-07-25 21:17:57 -04:00
Shawn Erquhart
b7b90aaa65 migrate image editor component 2018-07-25 21:17:57 -04:00
Shawn Erquhart
4931711892 migrate core to emotion 2018-07-25 21:17:57 -04:00
Shawn Erquhart
768fcbaa1d begin scaffolding for lerna 2018-07-25 21:17:57 -04:00
Shawn Erquhart
bfd8d526cf update changelog and version 2018-06-14 12:20:10 -04:00
Shawn Erquhart
bc53dc1789 Release 1.9.0 2018-06-12 10:22:41 -04:00
Shawn Erquhart
fd93f5e17f Release 1.8.0 2018-05-16 09:20:40 -04:00
Caleb
4d981d8e01 Upgrade to Webpack 4 (#1214) 2018-05-15 18:37:59 -04:00
Daniel Mahon
40494a4e43 Adds support for passing component type or element to PreviewContent, supports React.forwardRef (#1248) 2018-05-14 13:36:55 -04:00
Shawn Erquhart
e9a657349a Release 1.7.0 2018-04-24 21:50:24 -04:00
Shawn Erquhart
3b24c42327 Release 1.6.0 2018-04-19 14:37:11 -04:00
Shawn Erquhart
b16074e377 Release 1.5.0 2018-04-11 10:03:22 -04:00
Shawn Erquhart
eeb8e71f49 Release 1.4.0 2018-03-29 17:32:07 -04:00
Caleb
7df903c714 Ship source code to NPM (#1095)
* Ship sources in NPM package.

* Use external source files for sourcemaps.

* Remove broken sourcemap rule.
2018-03-28 11:13:16 -04:00
Caleb
cd10a713d8 Add option to strip Unicode from entry filenames (#1135) 2018-03-27 18:56:10 -04:00
Shawn Erquhart
d3129168ae Release 1.3.5 2018-03-06 18:06:34 -05:00
Shawn Erquhart
6b6dbbeadd Release 1.3.4 2018-03-06 17:56:28 -05:00
Shawn Erquhart
030b5a564c Release 1.3.3 2018-03-06 17:27:57 -05:00
Shawn Erquhart
ba552f3d46 Release 1.3.2 2018-03-06 16:47:01 -05:00
Shawn Erquhart
a83c04cad0 allow manual initialization and config as an arg 2018-03-06 16:22:55 -05:00
Shawn Erquhart
2949e01b37 Release 1.3.1 2018-03-03 22:40:02 -05:00
Shawn Erquhart
9d1ae91bc7 add dev task that writes output to disk 2018-03-03 20:12:51 -05:00
Shawn Erquhart
5b5e035014 Release 1.3.0 2018-02-27 21:20:46 -05:00
Caleb
ab7c1b654a Clean up .babelrc. 2018-02-27 11:47:48 -07:00
Caleb
862eeb14ca Revert "Fix build for Gatsby (WebPack v1)."
This reverts commit f97e2d2853559e2bbc7d69341c6422262f3000e4.
2018-02-27 11:47:48 -07:00
Caleb
d2ede299a2 Revert "remove babel-preset-env"
This reverts commit cbbf93aad8a58d8b6dd3fb2b0ec99805294061cf.
2018-02-27 11:47:48 -07:00
Shawn Erquhart
78e5748d25 Release 1.2.2 2018-02-21 17:38:49 -05:00
Shawn Erquhart
cbbf93aad8 remove babel-preset-env 2018-02-21 17:38:05 -05:00
Shawn Erquhart
0a3a3c98e4 Release 1.2.1 2018-02-21 17:06:35 -05:00
Caleb
f97e2d2853 Fix build for Gatsby (WebPack v1).
WebPack version 1, which Gatsby is using, has the Acorn parser set to
parse ES6 and lower. The latest version of WebPack supports parsing up
to ES2017 and lower (webpack/lib/Parser.js), but Gatsby isn't using it.
2018-02-21 16:31:21 -05:00
Shawn Erquhart
5759bd68c3 Release 1.2.0 2018-02-13 15:52:49 -05:00
Shawn Erquhart
19e76479f6 Release 1.1.0 2018-01-25 13:18:26 -05:00
Shawn Erquhart
5be7d3c7e4 Release 1.0.4 2018-01-23 10:37:49 -05:00
Caleb
8db37ff023 Remove Babel stage presets. 2018-01-17 15:15:15 -07:00
Caleb
12ff47d7ba remove unneeded package
originally removed in #640, accidently added as part of #638
2018-01-17 15:13:18 -07:00
Shawn Erquhart
59fc159de0 Release 1.0.3 2017-12-19 12:28:12 -05:00
Caleb
e2125c3555 Resolve module aliases in Babel.
If we only resolve them in WebPack the tests will not work.
2017-12-14 15:49:13 -08:00
Damien Duhamel
9e5f42e772 Update slate plugin to drop data 2017-12-14 14:59:59 -08:00
Shawn Erquhart
123c54ba87 Release 1.0.2 2017-12-07 15:48:46 -05:00
Shawn Erquhart
f95f0be551 Release 1.0.1 2017-12-07 13:11:15 -05:00
Shawn Erquhart
0b6d0004ca remove extra changes 2017-12-07 13:06:54 -05:00
Shawn Erquhart
91307a06ce fix identity auth page styling 2017-12-07 13:03:18 -05:00
Shawn Erquhart
2f25cc646a Release 1.0.0 2017-12-07 12:42:54 -05:00
Shawn Erquhart
cfbf31b130
WIP - Global UI (#785)
* update top bar and collections sidebar UI

* update collection entries UI

* improve global layout

* merge search page into collection page

* enable new entry button

* search fixup

* wip -initial editor update

* update editor scrolling and markdown toolbar position

* wip

* editor toolbar progress

* editor toolbar wip

* finished basic editor toolbar

* add standalone toggle component

* improve markdown toolbar spacing

* add user avatar placeholder

* finish markdown toggle styling

* refactor icon setup, add new icons

* add new icons to markdown editor toolbar

* remove extra app container

* add markdown active mark style

* relation and text widget styling

* widget design updates, basic list/object design update

* widget style updates, image widget improvements

* refactor widget directory, fix file removal

* widget focus styles

* finish editor widget focus styles

* migrate media library modal to react-modal

* wip - migrate editor component form to modal

* wip - move editor component form to modal

* wip - embed plugin forms in the editor

* inline shortcode forms working

* disable react hot loading, its breaking things

* improve shortcode form styles

* make shortcode form collapsible, improve styling

* add close functionality to shortcode blocks

* improve base media library styling

* fix shortcode label

* migrate unstyled workflow to new UI

* wip - reorganizing everything

* more work moving everything

* finish more moving and eliminating stuff

* restructure, remove react-toolbox

* wip - removing old stuff, more restructure

* finish restructure

* wip - css arch

* switch back to test repo

* update react-datetime to ^2.11.0

* remove leftover react-toolbox button

* more restructuring clean-up

* fix UI component directory case

* wip -css editor control style

* wip - consolidate widget styles

* wip - use a single control renderer

* fixed object values breaking

* wip - editor control active styles

* pass control wrapper to widgets

* ensure branch name is trimmed

* wip - improve widget authoring support

* import Map to Widget component

* refactor toolbar buttons

* wip - more widget active styles

* break out editor toggle component

* add local scroll sync back

* update editor toggle icons

* limit editor control pane content width

* fix editor control spacing

* migrate markdown toolbar stickiness to css

* fix markdown toolbar border radius

* temporarily use test backend

* stop markdown toolbar from going to bottom

* restore disabled markdown toolbar buttons for raw

* test markdown widget without focus styles

* more widget updates

* remove card visuals from editor

* disable dragging editor split off screen

* use editorControl component for shortcode fields

* make header site link configurable

* add configurable collection descriptions

* temporarily add example assets

* add basic list view

* remove outdated css mixins

* add and implement search icon

* activate quick add menu

* visualize usable space in editor view

* fix entry close, other improvements

* wip - editorial workflow updates

* some dropshadow and other CSS tweaks

* workflow ui updates

* add worfklow card buttons

* fix workflow card button handlers

* some dropshadow and other CSS tweaks

* make workflow board wider

* center workflow and collection views

* add basic responsiveness

* a bunch of fun UI fixes! a BUNCH! (#875)

* give `.nc-entryEditor-toolbar-mainSection` left and right child divs

* a bunch of fun UI fixes! a BUNCH!

* remove obscure --buttonShadow

* revert to test repo

* fix not found page styling

* allow workflow publishing from any column

* disallow publishing from all columns, with feedback

* fix new entry button

* fix markdown state persisting across entries

* enable simple workflow save and new from editor

* update slug in address bar when saving new entry

* wip - workflow updates, deletion working

* add status change functionality to editor

* wip - improving status change from editor

* editor toolbar back button improvements, loading improvements, cleanup

* progress on the media library UI cleanup

* remove font smothing css

* a quick fix for these buttons

* tweaks

* progress on media library modal— broken FYI

* fix media library functionality, finish migrating footer

* remove media library footer files

* remove leftover css import

* fix media library

* editor publishing functionality complete (unstyled)

* remove leftover loader var from media library

* wip - editor publishing styles

* add status dropdown styling

* editor toolbar style updates

* editor toolbar state improvements

* progress on the media library UI cleanup, style improvements

* finish editorial workflow editor styling

* finish media library styling

* fix config

* add what-input to optimize focus styling

* fix button

* fix navigation blocking for simple workflow

* improve simple workflow publishing

* add avatar dropdown to editor top bar

* style github and test-repo auth pages

* add git gateway auth page styles

* improve editor error styling
2017-12-07 12:37:10 -05:00
Shawn Erquhart
6eeeae485c Release 0.7.6 2017-11-27 22:52:58 -05:00
Mathias Biilmann Christensen
44cc9cbd6f Update bundled version of gotrue-js to latest 2017-11-27 20:45:19 -05:00
Shawn Erquhart
8ef0769a07 move slate-react to 0.10.11 until scroll bug fixed 2017-11-27 12:08:40 -05:00
Shawn Erquhart
b25e7de15e Update Slate to 0.30.0 2017-11-27 12:08:40 -05:00
Shawn Erquhart
63d2b09b09 Update Slate to 0.29.0 2017-11-27 12:08:40 -05:00
Shawn Erquhart
c9e97b5c7e Update Slate to 0.28.0 2017-11-27 12:08:40 -05:00
Shawn Erquhart
ff0b8d4ca8 Update Slate to 0.27.0 2017-11-27 12:08:40 -05:00
Shawn Erquhart
b02d3dc47a Update to Slate 0.26.0 2017-11-27 12:08:40 -05:00
Shawn Erquhart
1344fca7d8 Release 0.7.5 2017-11-19 02:17:19 -05:00
Shawn Erquhart
dcf3a4574a Release 0.7.4 2017-11-15 13:00:58 -05:00
Shawn Erquhart
dbaaa5c0de Release 0.7.3 2017-11-11 21:54:35 -05:00
Caleb
bebea64e33 Fix requestAnimationFrame warnings in tests. 2017-11-11 21:42:42 -05:00
Shawn Erquhart
495e7c8743 Release 0.7.2 2017-11-11 14:58:47 -05:00
Shawn Erquhart
3ea56ca60c Release 0.7.1 2017-11-11 13:26:10 -05:00
Caleb
6071ea746f Upgrade uglify-js-webpack-plugin, enable sourcemaps 2017-11-11 10:32:32 -05:00
Shawn Erquhart
f94edf8b0d Release 0.7.0 2017-11-09 10:39:31 -05:00
Shawn Erquhart
6b45a46a39 add media library
* rebase editorial workflow pull requests when behind

* fix async/await transpilation

* add media library pagination

* switch media library to grid layout

* ensure that only cms branches can be force updated
2017-11-08 15:00:28 -05:00
Shawn Erquhart
c60f73a0d8 Release 0.6.0 2017-10-26 15:23:39 -04:00
Caleb
19860208f4 Move storybook and react-hot-loader to dev deps. 2017-10-26 15:17:23 -04:00
Caleb
2ef6556d4a Add support for TOML files. (#740)
* Move `sortKeys` into a helper function.

* Add support for TOML files.
2017-10-26 11:43:28 -07:00
Caleb
daa5395346 Fix tests for React 16. 2017-10-26 14:04:31 -04:00
Caleb
45ebc44c3b Upgrade React. 2017-10-26 14:04:31 -04:00
Caleb
d4b92c2af8 Upgrade react-router-redux. 2017-10-26 14:04:31 -04:00
Caleb
456fd781aa Upgrade react-topbar-progress-indicator. 2017-10-26 14:04:31 -04:00
Caleb
77ac1f9790 Upgrade react-frame-component. 2017-10-26 14:04:31 -04:00
Caleb
a7b18df987 Upgrade react-autosuggest. 2017-10-26 14:04:31 -04:00
Benaiah Mischenko
f649e8cad6 Migrate ListControl from react-sortable to react-sortable-hoc 2017-10-24 14:44:13 -04:00
Caleb
cd72e1d9dd Remove react-dnd wrapper lib.
`react-simple-dnd` is just a wrapper for `react-dnd`, and it doesn't
support React 16. This PR changes to using the underlying library
directly.
2017-10-23 11:19:58 -04:00
talves
ac0a7fc27c Remove IE11 Support 2017-10-19 14:12:15 -04:00
Caleb
c58e2eeb5c Use babel-preset-env instead of the yearly presets.
This allows only the transpilation needed for the supported browsers to
be done. It also allows us to use the upgrades from ES2016 and ES2017
without needing to add a seperate preset.
2017-10-19 13:54:31 -04:00
Caleb
024c43a8c8 Upgrade UUID module. (#682) 2017-10-18 13:02:16 -04:00
Benaiah Mischenko
7dd8ca13c4 Migrate to plain CSS (remove CSS modules) (#659)
* Migrate to plain CSS (remove CSS modules)

Change `prefixer` to a function instead of a proxy

* Switch prefix to `nc`

* Replace prefixer with literal class names

* Remove prefixer

* Fix migration errors

* fix compose migrations

* Remove unnecessary theme imports

* Remove old CSS import

* fix sticky toolbar positioning

* update to cssnano v4 so preset is used

* fix css pseudo selectors

* update lockfile
2017-10-18 12:29:38 -04:00
Caleb
5bdc8dd87f Upgrade PostCSS build deps (#681)
* Move supported browser list to package.json.

That way all build tools can use it.

* Specify supported browsers explicitly.

This is necessary for the latest version of browserslist/autoprefixer.

This also drops IE 10 support, as it was accidental anyway.

* Upgrade PostCSS build deps.
2017-10-13 16:47:50 -06:00
Caleb
dbe96d33f9 Upgrade to React Router v4 (#667)
* Upgrade to React Router v4

* Fix pages not change when the URL was changed.

This issue is due to the Redux `connect` wrapper around `<App/>`.
`connect` diffs changes in regular props to know when to update the
component, but doesn't check context props like `location`.
See
https://github.com/ReactTraining/react-router/blob/master/packages/react-router/docs/guides/blocked-updates.md.

* Update to new `history` methods.
2017-10-12 21:10:43 -04:00
Frank Taillandier
b0bf60bd7d Docs: Add yourself as a contributor (#677) 2017-10-11 15:15:04 -07:00
Caleb
8bf21cac14 Remove unused react-addons-test-utils. 2017-10-11 10:55:27 -07:00
Caleb
95da348212 Upgrade Enzyme testing libraries.
Versions for React were also updated to comply with Enzyme peer-deps
(the actual `yarn.lock` version didn't change).
2017-10-11 10:55:27 -07:00
Caleb
7a597e7e05 Upgrade Jest testing libraries. 2017-10-11 10:55:27 -07:00
Caleb
046711ab16 Move storybook back to dev deps.
This was breaking some sites that depended on the CMS because they were
accidentally using storybook's deps instead of adding them as their own
(particularly the babel presets). We are going to hold off on this until
the next version so that we can add a release warning.

This reverts commit 4634918001e474ec2f195fbdddae18591d3207ab.
2017-10-10 11:06:05 -04:00
Caleb
4634918001 Revert "fix bundled code error"
This was a bug in `one-click-hugo-cms`, not in the CMS itself.

This reverts commit a1c32f5154e7af0242c496776e9f544bc2e9484b.
2017-10-07 13:45:53 -04:00
Shawn Erquhart
75f53c1bc9 Release 0.5.1 2017-10-06 15:24:26 -04:00
Shawn Erquhart
a1c32f5154 fix bundled code error 2017-10-06 15:14:46 -04:00
Shawn Erquhart
7c3063077b Release 0.5.0 2017-10-06 10:32:10 -04:00
Shawn Erquhart
8bab738b32 Merge pull request #654 from netlify/update-gotrue
Update gotrue
2017-10-05 17:01:25 -04:00
Caleb
ec0bdbfd88 Rebase. 2017-10-04 18:53:31 -06:00
Mathias Biilmann Christensen
9ab25c0434 Update gotrue 2017-10-04 15:05:30 -07:00
Shawn Erquhart
dc741521ed upgrade to slate 0.25 2017-10-04 15:48:33 -04:00
Shawn Erquhart
a5c1bb2bff migrate to new slate packages 2017-10-04 15:48:33 -04:00
Shawn Erquhart
2beb7d256b update to slate 0.24 2017-10-04 15:48:32 -04:00
Shawn Erquhart
66699a610f update to Slate 0.23 2017-10-04 15:48:32 -04:00
Shawn Erquhart
8c04b4f1d5 update to slate 0.22 2017-10-04 15:48:31 -04:00
Caleb
51b89cc84b Switch from slug to sanitize-filename. 2017-10-03 13:03:22 -06:00
Caleb
60b9aa3629 Remove old/unused peer-dependency and update lockfile. 2017-10-02 19:41:29 -06:00
Shawn Erquhart
8ebfd675ba update to react-toolbox 2.0 beta 2017-10-02 19:31:06 -06:00
Caleb
2ac54cb778 Merge pull request #643 from netlify/upgrade-ui-deps
Upgrade UI dependencies.
2017-10-02 18:55:34 -06:00
Caleb
9ef35c71f1 Merge pull request #642 from netlify/bundle-size
Make YAML and TOML parsers' bundle smaller
2017-10-02 16:55:19 -06:00
Caleb
9075a87c9d Upgrade react-notifications. 2017-10-02 16:44:32 -06:00
Caleb
37bcbfba08 Upgrade react-waypoint.
From the changelog, there should be no changes needed.
2017-10-02 16:44:29 -06:00
Caleb
d83a14f8d7 Re-add react-addons-css-transition-group for react-toolbox.
`react-transition-group` is the replacment, but the current version of
`react-toolbox` still requires the old one as a peer-dependency.
2017-10-02 16:43:38 -06:00
Caleb
9053c1841f Upgrade react-transition-group. 2017-10-02 16:43:30 -06:00
Caleb
b80c417429 Switch to a smaller/faster TOML parser. 2017-10-01 17:21:23 -06:00
Caleb
912851a5a7 Upgrade WebPack to v3. 2017-10-01 16:08:08 -06:00
Caleb
ce53f8b084 Remove dependencies that are no longer used. 2017-09-29 13:44:38 -06:00
Caleb
1ee6100adf Move gotrue-js out of dev dependencies. 2017-09-29 13:44:37 -06:00
Caleb
86d41cccf8 Sort out dependencies that are only used for development. 2017-09-29 13:44:37 -06:00
Caleb
8b3b892c7d Remove duplicate node-sass dependency. 2017-09-29 13:44:37 -06:00
Caleb
cd35289dbc Upgrade depreciated transitions addon to react-transition-group.
v1 of `react-transition-group` is a drop-in replacement.
2017-09-28 13:27:05 -06:00
Darrel O'Pry
1f06885a69 Add code coverage output generation to npm test (#610) 2017-09-20 12:23:40 -07:00
Caleb
86c4987d84 Upgrade gray-matter to v3.0.6.
This upgrade allow `gray-matter` to work in browsers as well.
2017-09-15 19:22:05 -06:00
Caleb
ebf91a9800 Switch back to gray-matter for front-matter parsing. 2017-09-15 19:22:04 -06:00
Caleb
ce2278b7e5 Upgrade js-yaml to 3.10.0. (#592)
* Upgrade `js-yaml` to 3.10.0.

The main fix we are wanting is outputting astral characters (emojis) as
a single escape instead of surrogate pairs: nodeca/js-yaml#368.

* Upgrade `preliminaries` front-matter parser (and dependencies).
2017-09-15 17:08:19 -07:00
Shawn Erquhart
d349c3d3b1 Merge pull request #590 from netlify/update-depreciated-deps
Upgrade Depreciated React Dependencies
2017-09-15 16:18:24 -04:00
Frank Taillandier
94a3941d9f Docs: Add contributors to README (#599)
* Add contributors

* Add contributors from CLI
2017-09-13 16:08:43 -07:00
Caleb
5e9112ec71 Upgrade to seperate create-react-class library.
`React.createClass` was split off/depreciated as of 15.5.0:
https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.createclass
2017-09-09 20:18:02 -06:00
Caleb
654f844b86 Upgrade to seperate React prop-types library.
`propTypes` was seperated/depreciated from React as of 15.5.0:
https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
2017-09-09 20:16:19 -06:00
Mathias Biilmann Christensen
04ae5051ce Update beta version 2017-09-07 07:40:14 -07:00
Mathias Biilmann Christensen
2e4dfb33b6 Add explicit sign in button for netlify identity 2017-09-06 17:58:32 -07:00
Mathias Biilmann Christensen
aaa9d2ab95 Make Neltify CMS work with Netlify Identity Widget
When Netlify CMS uses the git-gateway backend, it will check for a

  window.netlifyIdentity

object and use that to handle the whole auth flow.

This also sets defaults for the git-gateway endpoint, that means it
can be used in templates with zero configuration and fit with a
one-click deploy to Netlify approach.

Netlify Identity itself is based on our open-source GoTrue microservice,
and Netlify's Git Gateway project is completely open-source as well.

The git-gateway backend will work with Netlify without any setup, but can
also be configured to work with any selfhosted GoTrue and Git Gateway
instances.
2017-09-06 13:52:11 -07:00
Mathias Biilmann Christensen
890ee3d7e3 Update old netlify-auth-js to gotrue-js 2017-09-05 13:24:16 -07:00
Shawn Erquhart
afa5a9af2c Release 0.5.0-beta.1 2017-09-01 15:24:37 -04:00
Shawn Erquhart
e408dcc27e add markdown editor soft break support 2017-08-31 11:03:08 -04:00
Shawn Erquhart
317a876891 fix html paste for visual editor 2017-08-25 16:36:24 -04:00
Shawn Erquhart
18b98fc1c9 remove superfluous deps, update yarn.lock 2017-08-25 16:35:23 -04:00
Shawn Erquhart
be7385de29 refactor remark-shortcodes plugin 2017-08-25 16:31:07 -04:00
Shawn Erquhart
b7379b019e re-implement shortcode parsing to/from mdast 2017-08-25 16:30:38 -04:00
Shawn Erquhart
842c2935e9 use mdast instead of html for rte local model
markdown is currently serialized to html at load time,
which makes it near impossible to support arbitrary html
in the markdown. This also means we're stringifying to
html on every change.

This commit moves to Remark's MDAST for local serialization,
including parsing from MDAST to Slates's Raw AST. It brings
much more control over the editing experience and full
support for processing unescaped HTML.
2017-08-25 16:30:37 -04:00