Damien Duhamel
2e7e66dc29
Fixes #846 Backspace removes empty blocks ( #854 )
...
* Fixes backspace remove empty block
* rename data to event
2017-11-30 12:09:13 -05:00
Shawn Erquhart
0caae558f9
handle when a date/datetime field is updated to empty
2017-11-27 22:41:47 -05:00
Shawn Erquhart
a7ad6d570e
allow empty default date value
2017-11-27 22:25:00 -05:00
Shawn Erquhart
1a7c999f12
simplify date time initial value set
2017-11-27 22:25:00 -05:00
Benaiah Mischenko
b5b7fab2a7
Coerce includeTime to a boolean
2017-11-27 22:25:00 -05:00
Benaiah Mischenko
d6c0505c49
Fixes for date formatting PR
2017-11-27 22:25:00 -05:00
Mathias Biilmann Christensen
688332410c
Keep old behevior if no format attribute is set on date widgets
2017-11-27 22:25:00 -05:00
Mathias Biilmann Christensen
704f1144ed
Make date and datetime widget respect format attribute
2017-11-27 22:25:00 -05:00
Caleb
68f00987d2
Add global error boundary.
...
This adds an error boundary around the entire app, so that a crash does
not just show up as an empty white screen.
2017-11-27 22:22:18 -05:00
Caleb
a72a08f7a2
Add JSON as manually supported format.
2017-11-27 15:37:37 -05:00
Caleb
5271e0f7e7
Fix empty image fields saving null or undefined.
2017-11-27 15:28:41 -05:00
Shawn Erquhart
5647b5c3c2
update slate snapshots
2017-11-27 12:08:40 -05:00
Shawn Erquhart
9342c9c064
fix slate migration bugs
2017-11-27 12:08:40 -05:00
Shawn Erquhart
1bbaebf6d5
disable slate-edit-table plugin until updated
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
9569f18ee4
add private media library for integrations
2017-11-19 02:13:27 -05:00
Benaiah Mischenko
aa813e8569
Prompt before exiting tab with unsaved changes
2017-11-15 12:44:16 -05:00
Shawn Erquhart
2a9697db0a
fix image filtering case sensitivity
2017-11-15 12:42:03 -05:00
Mathias Biilmann
bf6eb2f39a
Make sure we strip trailing slashes for dir listing
2017-11-15 12:09:40 -05:00
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
0183ad433b
fix persist with missing body from file
2017-11-11 14:34:21 -07: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
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
Jinksi
7d1998c3d6
Add background-color to ListControl
2017-11-08 16:36:45 -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
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
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
Caleb
87536f9bcc
Typo fix ( #744 )
2017-10-26 12:16:44 -07: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
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