1321 Commits

Author SHA1 Message Date
Shawn Erquhart
df6b09abf9 update cms version in docs 2017-11-09 10:42:13 -05:00
Shawn Erquhart
f94edf8b0d Release 0.7.0 2017-11-09 10:39:31 -05:00
Jinksi
7d1998c3d6 Add background-color to ListControl 2017-11-08 16:36:45 -05:00
Shawn Erquhart
bb83444d5b move example back to test-repo 2017-11-08 16:25:28 -05:00
Shawn Erquhart
383154f104 update yarn.lock 2017-11-08 15:41:03 -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
pjsier
2a4af64a71 Turn off style toggle on Enter 2017-11-07 14:09:56 -05:00
Shawn Erquhart
83a1d34291 Revert "Update extending.md"
This reverts commit 64b0d4cf068a9d84f8bf74275ffd3f3c84e83ab2.
2017-11-07 12:29:02 -05:00
Caleb
c707228c8f Disable login button while login is in progress. 2017-11-07 12:24:33 -05:00
Richard Pullinger
a14f25355e Add delete flag in configuration (#707)
Adds a `delete` flag to collections in `config.yml`; fixes
#593. Defaults to false. This is mostly for use with files to restrict
users from deleting settings files etc that available via the CMS.
2017-10-30 13:07:54 -07:00
Caleb
1bb2b56366 Cleanup file formatters. (#759)
* Clean up frontmatter formatter.

* Move `formatToExtension`.

* Use plain objects for file formatters.

* Use same parsers for files and frontmatter.

We want to use our file parsers for frontmatter, instead of the builtin
ones, as they process some formats (images, dates) properly.

* Cleanup YAML frontmatter parser code.
2017-10-30 12:48:19 -07:00
Caleb
2c19c221e7 Fix TOML files not being saved with correct file extension. 2017-10-30 10:30:05 -04:00
Tony Alves
d984113b98 Contributor/talves (#746) 2017-10-26 18:41:50 -06:00
Eric Jinks
9f7e92dd56 Add Contributor: Jinksi (#745) 2017-10-26 14:24:11 -07:00
Eric Jinks
b2d93ef729 Add ScrollSync Button to Preview UI (#693)
* Add ScrollSync Button

* Create <ToggleButton /> component && update CSS

* Swap Icons && fix formatting
2017-10-26 12:26:42 -07: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
87536f9bcc Typo fix (#744) 2017-10-26 12:16:44 -07:00
Shawn Erquhart
77e5d616d0 remove superfluous "delay" prop from example config 2017-10-26 15:05:12 -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
Shawn Erquhart
3d65cc380e stop navigation on failed entry save in editorial workflow 2017-10-26 14:08:31 -04: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
Caleb
64b0d4cf06 Update extending.md 2017-10-26 14:03:05 -04:00
Caleb
75d1663c9b Update extending.md 2017-10-26 14:03:05 -04:00
Caleb
884f922e00 Fix editor component regex pattern. 2017-10-26 14:03:05 -04:00
Aquib Master
c97856c71d Flash an error on save when required fields are missed
- Add error type constants
- Flash an error message when the user saves without completing all required fields
- Surface presence errors
2017-10-26 13:58:37 -04:00
Benaiah Mischenko
b501db7239 Fix ListControl collapsing bug (#738) 2017-10-25 16:28:34 -07:00
Caleb
b9fdaec8b7 Fix history warning when opening entry.
When clicking on a entry in the listing, a console error would be logged
by `history` (react-router): "Hash history cannot push state; it is
ignored". This was caused because using `bind` in the click handler
caused the return value to be passed to the `history.push` as the second
param. This was ignored in react-router v2, but gives a warning in v4.
2017-10-24 20:33:37 -06:00
Shawn Erquhart
2abdd34502 fix list object styling 2017-10-24 14:44:13 -04:00
Benaiah Mischenko
040e654382 Make collapsing persist on correct item when sorting 2017-10-24 14:44:13 -04:00
Benaiah Mischenko
f649e8cad6 Migrate ListControl from react-sortable to react-sortable-hoc 2017-10-24 14:44:13 -04:00
Caleb
43a44743c8 Fix EntryPage showing double confirmations if changes not saved.
Change suggested by @aquibm, thank you!

This is changed as of React 16:
When replacing `<A />` with `<B />`,  `B.componentWillMount` now always
happens before  `A.componentWillUnmount`. Previously,
`A.componentWillUnmount` could fire first in some cases.
2017-10-23 19:30:39 -06:00
kvanerkelens
5efa384684 Update custom-authentication.md 2017-10-23 12:29:25 -06: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
Taylor Bryant
e607ec1a6d Fix broken Editorial Workflow link
The Editorial Workflow link is set up to work within GitHub but redirects to a 404 page on the actual Docs site.
2017-10-22 19:28:09 -06:00
Caleb
14e29e9779 Use Lists for menu items, instead of maps or sequences.
Maps are actually invalid, and lists make more sense than sequences.
2017-10-20 09:57:24 -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
8b5dc61e6c Change "new entry" path to avoid slug conflicts. 2017-10-19 13:43:59 -04:00
Austin Green
9d9efdd66a typo fix 2017-10-18 16:45:08 -06: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
Tony Alves
8a819be61e Remove the index.html from the dist folder on build (#701) 2017-10-16 14:45:57 -07:00
Caleb
f966cd81bd Update EntryPageHOC for React Router 4. 2017-10-13 20:33:30 -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