581 Commits

Author SHA1 Message Date
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
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
Andrey Okonetchnikov
92e8e7233d Updated Jest to 17.0.0 2016-11-11 09:33:13 +01:00
Mathias Biilmann Christensen
038597573c Custom plugin support in rte 2016-11-01 23:31:20 -07:00
Mathias Biilmann Christensen
d0df70e4d3 Prosemirror working - with some toolbar options 2016-11-01 16:55:21 -07:00
Cássio Zen
dd71b59e9e version bump 2016-10-31 12:49:44 -02:00
Mathias Biilmann Christensen
c23b2fb531 Make list widget sortable 2016-10-30 16:01:10 -07:00
Andrey Okonetchnikov
434f45c97c Webpack optimizations (#140)
* Less repetition in webpack configs. Minify CSS classnames in production.

* Ignore all optional deps of moment.js. Fixes #138

* Added target to webpack config

* Automatically extract all 3rd party modules into a separate 'vendor' chunk

* Inline only assets that are smaller than 10KB

* Added autoprefixer options

* Replaced sinfle babel transforms with the stage-1 preset. Cleaned up webpack configs.

* Do not include hot module replacement in production
2016-10-26 15:51:35 -02:00
Andrey Okonetchnikov
2e1d98ac7e Added fsevents as an optional dependency to fix high CPU usage by the node process on Macs 2016-10-25 10:44:09 +02:00
Cássio Zen
ff0fa2cf6b Merge branch 'simple-markdown-editor' 2016-10-24 18:09:01 -02:00
Andrey Okonetchnikov
59f6b42d84 Revert "Added fsevents as devDep to reduce the CPU load of webpack-dev-server on Mac OS X."
Since this commit broke the CI completely. This reverts commit 06b0a7bdaa2ada13cf362852a99fbc911e23899b.
2016-10-23 23:15:37 +02:00
Mathias Biilmann Christensen
c859d7234e Position editor toolbar 2016-10-22 04:37:22 -07:00
Mathias Biilmann Christensen
a172c13996 Update package name 2016-10-21 17:02:05 -07:00
Mathias Biilmann Christensen
3cdaf7cc66 Bump version 2016-10-21 17:00:05 -07:00
Cássio Souza
2c8cdfc15e Webpack for production build (#134)
* Webpack config for production build
2016-10-21 21:18:45 -02:00
Andrey Okonetchnikov
188fec4529 [feature] Better loading indicator
- Use react-topbar-progress-indicator as a global loading indicator.
- Added a global reducer that only holds `isFetching` for now.
- Display loading indicator on any `*_REQUEST` actions.
- Closes #103
2016-10-20 18:52:24 +02:00
Cássio Souza
e001714aed Optimistic Updates (#114)
* Optimistic Updates structure
* Optimistic update for Editorial Workflow
2016-10-18 14:30:13 -02:00
Andrey Okonetchnikov
f3b448106d Added notifications. Closes #101
- Using react-notifications to manage redux state
- Refactored Toast component to be stateless
- Toasts can be stacked
- Cleaned up CSS
- Updated stories
2016-10-17 12:35:31 +02:00
Andrey Okonetchnikov
ffe27acc10 Merge branch 'master' into markitup-react 2016-10-13 13:48:41 +02:00
Andrey Okonetchnikov
3d715a9f9f Updated lint-staged to 3.1.0 2016-10-13 13:45:31 +02:00
Andrey Okonetchnikov
d630463dd5 Merge branch 'master' into jest-update 2016-10-13 13:40:15 +02:00
Andrey Okonetchnikov
b61b53d15b Merge branch 'master' into markitup-react 2016-10-13 11:27:53 +02:00
Andrey Okonetchnikov
3376322bf4 Temporarily disabled linting in test script until #96 and #99 are merged.
This way we can at least see if tests are failing.
2016-10-13 11:17:49 +02:00
Andrey Okonetchnikov
06b0a7bdaa Added fsevents as devDep to reduce the CPU load of webpack-dev-server on Mac OS X.
See https://github.com/webpack/webpack-dev-middleware/issues/40
2016-10-12 17:13:11 +02:00
Andrey Okonetchnikov
fee2d8e731 Updated Jest config to work with webpack and CSS-modules 2016-10-12 14:52:05 +02:00
Andrey Okonetchnikov
899681ee84 Merge branch 'master' into markitup-react 2016-10-11 10:28:42 +02:00
Andrey Okonetchnikov
cc1c2f91e0 Moved frontend deps from devDependencies to dependencies. Fixes lots of eslint errors. 2016-10-10 22:17:25 +02:00
Cássio Zen
494ea636a3 eslint adjustments 2016-10-10 16:35:42 -03:00
Cássio Zen
ff0949e417 small bugfixes 2016-10-10 16:10:55 -03:00
Cássio Souza
2815a86e0c Search integration (React Version) (#84)
* algolia integration skeleton

* Configuration Defaults

* Implemented partial entries with lazy loading of complete file

* Moved backend selection logic to actioncreators

* basic pagination for entries

* general search skeleton

* Basic search result listing

* Redo search for different search terms

* search results pagination

* Changing integration config & handling

* Changing integration config & handling

* new integration config model
2016-10-10 15:34:21 -03:00
Andrey Okonetchnikov
5cb820b2f1 Updated lint-staged to 4.0.0-beta-2 2016-10-10 18:00:55 +02:00
Andrey Okonetchnikov
91927357b7 Added jest to lint-staged 2016-10-07 16:44:33 +02:00
Andrey Okonetchnikov
b295d1e6ab Updated jest to 16.x 2016-10-07 16:44:23 +02:00
Andrey Okonetchnikov
45d810a25f Updated eslint config GH repo name 2016-10-06 17:03:30 +02:00
Andrey Okonetchnikov
de5958752a Merge pull request #90 from netlify/enforce-code-style
Enforces code style
2016-10-06 15:35:02 +02:00
Andrey Okonetchnikov
9c7c5360e6 Use shareable netlify eslint config. 2016-10-06 14:57:47 +02:00
Andrey Okonetchnikov
6d484463ca Added declaration-use-variable 2016-10-06 14:57:46 +02:00
Andrey Okonetchnikov
0361c4c79b Updated eslint-* deps 2016-10-06 14:57:46 +02:00
Andrey Okonetchnikov
4c30278fb5 Added npm-check with tasks 2016-10-06 14:57:46 +02:00
Andrey Okonetchnikov
6d9a3962dc npm test will run all linters and tests. This is needed for the CI. 2016-10-05 17:45:29 +02:00
Andrey Okonetchnikov
18be4e8fd2 Removed *.jsx from lint-staged config 2016-10-05 12:34:58 +02:00
Andrey Okonetchnikov
af0563eb70 Added lint-staged rule for CSS files 2016-10-05 12:34:27 +02:00
Andrey Okonetchnikov
a801714f16 Added stylefmt and lint:css:fix task 2016-10-05 12:32:59 +02:00
Andrey Okonetchnikov
0ccaad5822 Added stylelint + config 2016-10-05 12:15:26 +02:00
Andrey Okonetchnikov
ca34def49e Merge branch 'master' into markitup-react 2016-10-03 17:00:11 +02:00
Andrey Okonetchnikov
4c50952131 Enfore semicolon for class properties 2016-10-03 16:34:48 +02:00
Andrey Okonetchnikov
2b5a987945 WIP on drag'n'drop image uploading 2016-09-28 11:19:12 +02:00
Andrey Okonetchnikov
f38e6b6f25 Use dangerouslySetInnerHTML since the react parser wasn't working with inline styles correctly. 2016-09-27 12:18:52 +02:00
Andrey Okonetchnikov
e0724aa1bd Use react-htmlparser2 to render HTML to React VDOM 2016-09-27 11:26:28 +02:00
Andrey Okonetchnikov
cdc71a2bbf Sanitize unsupported props. This removes all React warnings. Refactored renderToken. 2016-09-26 15:37:25 +02:00
Andrey Okonetchnikov
c928fbccaf Switched to enzyme 2016-09-22 21:52:43 +02:00
Andrey Okonetchnikov
2c483220b5 Updated lint-staged 2016-09-22 17:37:18 +02:00
Andrey Okonetchnikov
862b85e4c3 Added support for testing React components 2016-09-22 17:20:05 +02:00
Andrey Okonetchnikov
0b69f6fa98 Switched to Jest testing framework.
Made tests pass again. Created entries.spec.js + made it pass.
Added wallaby.config.js to support wallaby.js runner.
2016-09-20 14:00:03 +02:00
Andrey Okonetchnikov
19e33a0d82 Merge branch 'react-pr' into dashboard-link 2016-09-16 15:20:24 +02:00
Cássio Zen
ded39fc1bc Merge branch 'react-pr' of https://github.com/netlify/netlify-cms into react-pr 2016-09-15 15:50:39 -03:00
Cássio Zen
9914b5a668 refactor dragndrop 2016-09-15 15:50:33 -03:00
Andrey Okonetchnikov
ede273a732 Splitted webpack config into base and dev. Re-use it in .storybook webpack config. 2016-09-15 20:05:18 +02:00
Andrey Okonetchnikov
b2d4714c90 Integrated material-ui 2016-09-15 18:53:24 +02:00
Andrey Okonetchnikov
bc88df5bf0 Merge branch 'react' into react-pr 2016-09-15 10:59:46 +02:00
Cássio Zen
0b447d483d Editorial workflow Drag'nDrop 2016-09-13 18:54:39 -03:00
Andrey Okonetchnikov
357bcb18cc Merge branch 'react-pr' into lint-staged 2016-09-13 18:50:18 +02:00
Andrey Okonetchnikov
5f74d0ae28 Removed extract-text-webpack-plugin for now to enable HMR for CSS as well. 2016-09-13 17:18:19 +02:00
Andrey Okonetchnikov
3f4bc929e9 Enabled HMR 2016-09-13 17:08:51 +02:00
Andrey Okonetchnikov
09841c05e2 Added lint-staged with the eslint autofix config. 2016-09-13 15:27:29 +02:00
Andrey Okonetchnikov
26dab74439 Updated eslint
Updated ESLint dependency and removed unused eslint-loader.
Also added 2 tasks to package.json: 'lint' and 'lint:fix'.
2016-09-13 15:23:17 +02:00
Andrey Okonetchnikov
c810aec0b5 Added missing dependenicy expect 2016-09-13 12:53:22 +02:00
Mathias Biilmann Christensen
7cd5d84fa5 Merge remote-tracking branch 'origin/react-pr' into react-ui-updates
Replaced dateFormat with moment

Conflicts:
	package.json
	src/backends/netlify-git/API.js
	src/containers/CollectionPage.js
	src/formats/formats.js
2016-09-12 15:35:56 +02:00
Mathias Biilmann Christensen
8221c9c170 Maor UI polish for editing with live preview 2016-09-12 11:14:21 +02:00
Mathias Biilmann Christensen
bbbf3c5621 Add datetime widget 2016-09-11 23:07:48 +02:00
Mathias Biilmann Christensen
8d63ff0a88 Expose methods for installations to create custom preview components 2016-09-11 17:53:44 +02:00
Cássio Zen
c84d538eb6 editor workflow ui adjustments 2016-09-09 17:15:58 -03:00
Cássio Zen
04db90710b Loading Animation 2016-09-05 18:28:07 -03:00
Mathias Biilmann Christensen
2980ba8565 Add netlify-git backend 2016-09-04 19:55:14 +02:00
Cássio Zen
b4f3a38bd5 Preview using MarkupIt 2016-08-18 17:26:01 -03:00
Cássio Zen
d22a4da057 Using custom markup-it (temporarily) 2016-08-18 09:09:24 -03:00
Cássio Zen
a0a24ebf72 plugin architecture 2016-08-17 09:52:17 -03:00
Cássio Zen
994d969247 Raw text editor (with markdown highlight) 2016-08-11 17:06:01 -03:00
Cássio Zen
5a4fe3c214 changed markdown serializer 2016-08-10 18:59:56 -03:00
Cássio Zen
669cfe3e8c slate version bump 2016-08-06 18:55:02 -03:00
Cássio Zen
5fa551dcb2 Add/Remove link 2016-08-06 18:16:30 -03:00
Cássio Zen
baf388039e Block menu implementation 2016-08-05 13:19:31 -03:00
Cássio Zen
08d5110d3a Hover menu 2016-08-02 23:25:45 -03:00
Cássio Zen
fb38de60d3 draftjs out, slate in 2016-08-01 16:41:55 -03:00
Cássio Zen
7345c7bd32 Generating findbar commands dynamically based on config 2016-07-20 12:15:29 -03:00
Cássio Zen
18ad041d96 Preparing for github file persistence 2016-07-19 17:11:22 -03:00
Cássio Zen
8fdb46f085 extracting css file 2016-07-18 15:07:45 -03:00
Cássio Zen
e3643217de setting base href support for router 2016-07-15 15:05:04 -03:00
Cássio Zen
1741c12bea First CardUI commit 2016-07-11 18:57:54 -03:00
Cássio Zen
2ba79fde26 storybook build task 2016-07-06 19:51:43 -03:00
Cássio Zen
cc505a4025 Merge branch 'storybook' into react-find-bar 2016-07-06 15:51:43 -03:00
Cássio Zen
409f0e2ec0 Added storybook stories 2016-07-05 15:48:18 -03:00
Cássio Zen
473357b6b7 start implementing findbar 2016-07-05 13:48:52 -03:00
Cássio Zen
44bf70a2ae Basic methods: compile regexp, match command, get suggestions 2016-06-30 18:12:23 -03:00
Cássio Zen
c6babdecff UI structure (basic cards + css modules setup) 2016-06-30 17:28:47 -03:00
Cássio Zen
f5509c7808 Rect dependency version bump 2016-06-30 17:28:47 -03:00
Cássio Zen
37cf1ba52d eslint compliance on presentational components 2016-06-30 17:28:47 -03:00
Mathias Biilmann Christensen
c64fa11f3a Add build script 2016-06-18 13:05:28 -07:00
Mathias Biilmann Christensen
32e54cdbdc Load, display and edit entries from test repo and github 2016-06-05 01:52:18 -07:00
Mathias Biilmann Christensen
d2aa1adf7b Basic editing with some widgets 2016-05-30 16:55:32 -07:00
Mathias Biilmann Christensen
978b7290c5 Test repo can now be used to list entries 2016-02-25 20:40:35 -08:00
Mathias Biilmann Christensen
c60d8ba706 Initial commit 2016-02-25 00:45:56 -08:00