1380 Commits

Author SHA1 Message Date
Shawn Erquhart
3ea56ca60c Release 0.7.1 2017-11-11 13:26:10 -05:00
Shawn Erquhart
b3af4e86cb add generic error boundary, apply to preview iframe 2017-11-11 10:35:03 -05:00
Caleb
41897de4c9 Fix no users being allowed to login when accept_roles set. 2017-11-11 10:34:43 -05:00
Caleb
37a36ffed4 Fix other than markdown editorial workflow entries on dashboard.
When entries were loaded for the editorial workflow dashboard, they were
all assumed to be FrontMatter/MarkDown files. This PR allows them to be
any supported format.
2017-11-11 10:34:29 -05:00
Shawn Erquhart
4d33d67798 fix empty media folder loading error 2017-11-11 10:34:10 -05:00
Shawn Erquhart
9c7c0aeed2 fix image not shown after upload for git gateway 2017-11-11 10:33:58 -05:00
Benaiah Mischenko
e00c396697 Add unselected option to select widget when no default is set 2017-11-11 10:33:40 -05:00
Caleb
6071ea746f Upgrade uglify-js-webpack-plugin, enable sourcemaps 2017-11-11 10:32:32 -05:00
Shawn Erquhart
54476cccd3 start using changelog.md 2017-11-09 13:31:36 -05:00
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