1238 Commits

Author SHA1 Message Date
Shawn Erquhart
7c54fbd0df update integrations check to account for null default state 2017-11-11 21:42:29 -05:00
Shawn Erquhart
a4ff229e37 fix ControlHOC ref for redux container widgets
If a widget uses `connect` to receive state updates from the store,
`ControlHOC` can no longer get the control instance ref. This fix
checks for this case and uses a connect option to obtain the wrapped
control ref.
2017-11-11 21:42:15 -05:00
Ernie Bello
fdeeb44ba3 add ebello to contributors 2017-11-11 17:19:20 -07:00
Ernie Bello
0183ad433b fix persist with missing body from file 2017-11-11 14:34:21 -07:00
Shawn Erquhart
495e7c8743 Release 0.7.2 2017-11-11 14:58:47 -05:00
Mantas
c0b0cd5e9f Docs: Fix Hugo & Gatsby blog article URLs
I’m not really sure if I’m linking to the articles you intended to have in the README, but these are surely better than a 404.
2017-11-11 14:53:15 -05:00
Caleb
d378488e0f Stop using logout when no locally stored user was found.
This was causing users to not be able to sign up with Netlify Identity.
2017-11-11 14:52:18 -05:00
Shawn Erquhart
0f8a74be13 only rebase EW PR if no asset store
Editorial workflow pull requests are rebased if the base has
changed to ensure that asset changes on the base branch are
reflected in the PR branch, but if an asset store is in use,
no rebasing is necessary because assets are stored outside
of the content repo.
2017-11-11 14:52:04 -05:00
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