350 Commits

Author SHA1 Message Date
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
Shawn Erquhart
93687d9157 add shortcodes through rte toolbar 2017-08-25 16:28:18 -04:00
Shawn Erquhart
469a50afa4 add idempotent markdown/html shortcode handling 2017-08-25 16:28:18 -04:00
Shawn Erquhart
63e93d79ca improve rte list handling 2017-08-25 16:28:18 -04:00
Shawn Erquhart
51cd8d30a5 remove prosemirror dependencies 2017-08-25 16:28:18 -04:00
Shawn Erquhart
cba631ba1a improve visual/raw editor consistency 2017-08-25 16:25:30 -04:00
Shawn Erquhart
9c869be8fa migrate visual editor from prosemirror to slate 2017-08-25 16:24:12 -04:00
Shawn Erquhart
49b3a62823 attempt prosemirror update, troubleshooting 2017-08-25 16:24:12 -04:00
Shawn Erquhart
bd767308cd fix visual editor tests, parse/serialize consistency 2017-08-25 16:24:12 -04:00
Shawn Erquhart
b22323201d handle raw editor html pastes with unified 2017-08-25 16:24:12 -04:00
Shawn Erquhart
8bb18452e8 implement initial unified/remark preview update 2017-08-25 16:24:12 -04:00
Shawn Erquhart
adcb215fbd replace remark with unified for docs and extensibility 2017-08-25 16:24:12 -04:00
Kyle Mathews
0eb109cb73 Convert markdown-prosemirror parser/compiler to Remark 2017-08-25 16:24:12 -04:00
Kyle Mathews
24c0a1bdb4 Replace markup-it with Remark for rendering markdown in the editor preview 2017-08-25 16:24:12 -04:00
Kyle Mathews
f3b7dc9e2e Update Jest to 0.19 2017-08-25 16:24:09 -04:00
Shawn Erquhart
3cf025259e Release 0.4.6 2017-08-20 16:11:32 -04:00
Shawn Erquhart
76da81adc9 Release 0.4.5 2017-08-17 17:07:29 -04:00
Shawn Erquhart
364ef8790c Merge pull request #506 from tech4him1/crossEnv
Allow `npm build` commands to be used cross-platform (on Windows).
2017-08-17 11:59:38 -04:00
Benaiah Mischenko
7e8a588c15 Fix incorrect eslint import errors
Just adds the development package `eslint-import-resolver-webpack`,
which is [already configured][0], but not previously installed. This
removes a _lot_ of incorrect eslint errors.

[0]: 2d344ef4ca/.eslintrc (L6-L10)
2017-08-11 11:47:39 -07:00
Caleb
0d7f653adf Allow npm build commands to be used cross-platform (on Windows).
Windows command prompts set and use enviroment variables differently
than POSIX terminals. `cross-env` is a wrapper that allow the commands
to run with the same effect on Windows as well. It will not affect any
POSIX terminal (including Bash on Windows).
2017-08-01 15:15:03 -06:00
Damien Van Der Windt
b294110db7 Stopped the pluralization of collection name (#503) 2017-07-27 11:13:34 -07:00
Shawn Erquhart
b283f6931f Release 0.4.4 2017-07-26 22:21:19 -04:00
Shawn Erquhart
74c8eec521 add prepublishOnly build command 2017-07-26 22:16:27 -04:00
Shawn Erquhart
220e8a6c58 Release 0.4.3 2017-06-25 12:33:17 -04:00
Benaiah Mischenko
613a7f6c66 [WIP] Make jest tests work again 2017-06-14 15:11:44 -07:00
Benaiah Mischenko
25225121ed [WIP] Upgrade to Webpack 2 2017-06-13 15:30:21 -07:00
Shawn Erquhart
3176fa1b3f fix entry editor bugs in kitchen sink entry 2017-06-07 23:23:09 -04:00
Shawn Erquhart
fc5cc7025a Release 0.4.2 2017-06-01 19:39:47 -04:00
Shawn Erquhart
7c68ba02c8 Release 0.4.1 2017-06-01 18:57:13 -04:00
Shawn Erquhart
6d5ff45e66 fix in-publish for CI, just remove prepublish hook 2017-05-24 17:02:13 -07:00
Shawn Erquhart
0920e95eba skip prepublish script for install 2017-05-22 13:26:31 -04:00
Shawn Erquhart
6996045cbf Release 0.4.0 2017-05-18 11:40:12 -04:00
Vaclav Klecanda
018616dc68 slug from unicode chars 2017-05-09 11:18:28 -07:00
Benaiah Mischenko
ab47c3c8b3 Use react-frame-component for preview pane
This fixes the preview pane not working in Firefox
2017-05-08 16:48:52 -07:00
Joseph Earl
bfe46a8e13 Fixes #324 Use branch name from config when creating PR 2017-05-01 08:17:46 -07:00
Shawn Erquhart
978fd0f0fc Release 0.3.22 2017-04-26 10:48:56 -07:00
Shawn Erquhart
902134c4e8 add autosizing for markdown editor 2017-04-24 17:52:06 -04:00
Shawn Erquhart
a1a693051c improve preview toggle styling 2017-04-24 17:52:05 -04:00
Shawn Erquhart
96453df346 Release 0.3.21 2017-04-24 16:47:52 -04:00
Shawn Erquhart
48f7d1517d Release 0.3.20 2017-04-19 11:54:16 -04:00
Shawn Erquhart
adea4cdf94 Release 0.3.19 2017-04-18 22:12:41 -04:00
Shawn Erquhart
2f6deee25b Release 0.3.18 2017-04-14 16:07:24 -04:00
Joseph Earl
0e3cd0e876 Fixes #356 Remove pre-commit hook 2017-04-14 17:39:21 +01:00
Shawn Erquhart
7aa77baea9 Release 0.3.17 2017-04-11 14:22:59 -04:00
Joseph Earl
aa9230e158 Change history version to ^2.1.2 2017-04-11 10:56:44 -07:00
Joseph Earl
f3ef2ef8b2 Add missing history package 2017-04-11 10:56:44 -07:00
Shawn Erquhart
b5e839468e Merge pull request #348 from josephearl/multi-format-frontmatter
Add multi-format frontmatter parser
2017-04-11 10:34:07 -04:00
Shawn Erquhart
235481826b switch to markup-it upstream repo (#349) 2017-04-10 14:49:05 -07:00
Joseph Earl
5a5a4f5b12 Update to latest preliminaries 2017-04-09 20:05:00 +01:00
Joseph Earl
a2e8602fdd Add multi-format frontmatter parser 2017-04-08 23:32:39 +01:00
Julian Krispel-Samsel
1ff1fcfea8 enable debug mode for webpack-dev-server :D 2017-04-03 23:12:40 +01:00
Shawn Erquhart
80e4d0f44c Release 0.3.16 2017-03-31 17:01:28 -04:00
Shawn Erquhart
b3936c555f Release 0.3.15 2017-03-16 16:15:06 -04:00
Shawn Erquhart
cbcd2f3bca Release 0.3.14 2017-03-16 13:40:56 -04:00
Mathias Biilmann Christensen
fd1cd3679a Bump version 2017-03-15 00:09:01 -07:00
Mathias Biilmann Christensen
b777343d70 yet another field ordering related change 2017-02-21 23:59:34 -08:00
Mathias Biilmann Christensen
eefdf2ce95 Bump version 2017-02-21 23:41:54 -08:00
Mathias Biilmann Christensen
c94d6e71c9 Bump version 2017-02-21 23:24:28 -08:00
Mathias Biilmann Christensen
aa9a97ecba Bump version 2017-02-20 23:53:26 -08:00
Cássio Zen
679634afec Version bump 2017-01-31 17:10:36 -02:00
Cássio Zen
90365b711c Version Bump 2017-01-26 19:26:11 -02:00
Cássio Souza
ecbcbf06b5 Role authorization for Netlify-auth (#224) 2017-01-26 19:23:42 -02:00
Mathias Biilmann Christensen
8e26d5db81 Bump version 2017-01-21 16:57:13 -08:00
Mathias Biilmann Christensen
acc0f9b83e Update netlify-auth 2017-01-21 16:56:49 -08:00
Mathias Biilmann Christensen
4f883f022c Update netlify-auth dependency 2017-01-20 23:02:53 -08:00
Cássio Zen
4dd0c0ccb5 Bugfix: Images not appearing on search 2017-01-19 16:34:13 -02:00
Cássio Zen
b8ce78a5f0 Version Bump 2017-01-19 16:05:58 -02:00
Cássio Zen
01e11e9213 Version bump 2017-01-18 18:26:37 -02:00
Cássio Zen
bd6b4eeeae Version Bump 2017-01-16 16:56:08 -02:00
Cássio Zen
e51b098fef Version bump 2017-01-13 19:48:15 -02:00
Cássio Souza
48d8077ff0 Editorial workflow Improvements (#212)
* Merge conflicts automatically. Closes #208
* removed unpublished entry route
All entries (either under editorial workflow or not) go through the same edit route.
2017-01-11 20:58:15 -02:00
Cássio Souza
b9a786a875 Bump version 2017-01-10 22:29:35 -02:00
Cássio Zen
5bea671947 version bump 2017-01-02 17:32:45 -02:00
Cássio Zen
a8cb548ac5 Updated dependencies 2016-12-30 17:08:37 -02:00
Mathias Biilmann
112bdd348a Merge pull request #198 from netlify/prosemirror-polishing
An assortment of Markdown Editor fixes
2016-12-30 09:49:36 -08:00
Cássio Zen
8908f9a148 Version bump 2016-12-28 15:40:19 -02:00
Mathias Biilmann Christensen
06218e55eb Update prosemirror 2016-12-27 23:13:31 -08:00
Mathias Biilmann Christensen
8b82a5b72e Add a script for auto configurating a collection 2016-12-26 17:44:50 -08:00
Cássio Zen
ff6bfe3789 changed default localStorage Key 2016-12-23 17:30:27 -02:00
Cássio Zen
f63e3e6150 Version bump 2016-12-23 17:03:07 -02:00
Cássio Souza
1efc59a9fb Netlify auth (#194) 2016-12-23 16:59:48 -02:00
Mathias Biilmann Christensen
578ffc91df Bump patch version 2016-12-23 09:01:29 -08:00
Mathias Biilmann Christensen
83f08e8eb8 Revert "Bump patch version"
This reverts commit 8f6f1a0fcabfeb423ca8af2f9f6d55ace21e45bb.
2016-12-23 08:59:51 -08:00
Mathias Biilmann Christensen
8f6f1a0fca Bump patch version 2016-12-22 23:17:26 -08:00
Cássio Zen
9d02b54ce7 bumped js-yaml version 2016-12-15 16:19:37 -02:00
Cássio Souza
635049b8db Resizable split pane (#190)
* Integrating with react-split-pane

* block event while resizing panels

* bring scrollsync back

* fixed footer position
2016-12-12 19:23:52 -02:00
Cássio Zen
ae2a663e1b Version Bump 2016-12-07 15:45:51 -02:00
Cássio Souza
05337ff232 Relation search widget (#186)
* search action/reducer refactor

* Relation widget skeleton

* search clearing

* query action + reducer

* Autocomplete component for RelationControl
2016-12-07 15:44:07 -02:00
Cássio Zen
e34ce15485 Removed unused package 2016-12-01 19:58:02 -02:00
Cássio Zen
f9177906a9 version bump 2016-12-01 16:33:37 -02:00
Cássio Zen
874810cb5c Version Bump 2016-11-29 20:16:47 -02:00
Mathias Biilmann
fa03ce29bf Make sure we actually build netlify-cms as library (#169)
* Build netlify-cms as a library

* Bump version
2016-11-23 19:37:51 -02:00
Mathias Biilmann Christensen
58eb384386 Bump version 2016-11-23 12:28:03 -08:00
Mathias Biilmann Christensen
d7d17df79a Get rid of css linting in precommit 2016-11-23 12:24:07 -08:00
Mathias Biilmann Christensen
688fc52dcb Make sure we have a valid main file when using import netlify-cms 2016-11-23 12:23:45 -08:00
Cássio Zen
443ab9524e version bump 2016-11-23 18:18:04 -02:00
Mathias Biilmann
d81d0d416f Widget fixes (#162)
* Make string the default widget if none is specified

* Linting fixes for PreviewPane

* Linting fixes for ControlPane

* Add date widget

* Fix name of date control class

* Fix spaces in list control with no fields

* Fix linting error for List Control

* Fix linting errors in raw editor

* Add Select widget

* Fix linting error
2016-11-17 10:08:37 -02:00
Mathias Biilmann Christensen
8623a514af Prepare to publish new version 2016-11-11 17:28:56 -08:00
Cássio Zen
0521757b8c prosemirror integration 2016-11-11 18:36:11 -02:00
Cássio Souza
2a2497072d UI updates (#151)
* infer card title

* Infer entry body & image

* infer image

* Better terminology: EntryListing accept a single Collection

* remove log

* Refactored Collections VO into selectors

* use selectors when showning card

* fixed size cards

* Added 'bio' and 'biography' to collection description inference synonyms

* Removed unused card file

* throw error instance

* bugfix for file based collections

* lint

* moved components with css to own folder

* Search Bugfix: More than one collection might be returned

* Changed sidebar implementation. Closes #104 & #152

* Show spinning loading for unpublished entries

* Refactored Sidebar into a separate container

* Make preview widgets more robust
2016-11-11 17:54:58 -02:00
Andrey Okonetchnikov
9a6c4691ce Removed expect from dependencies 2016-11-11 12:09:31 +01:00
Andrey Okonetchnikov
d39c9cee2c Removed support for css-modules (for now) in tests and fixed css/scss imports from node_modules 2016-11-11 12:08:20 +01:00
Andrey Okonetchnikov
63b8559d7e No need to set NODE_ENV for Jest 2016-11-11 12:06:56 +01:00