591 Commits

Author SHA1 Message Date
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
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