901 Commits

Author SHA1 Message Date
Caleb
4d981d8e01 Upgrade to Webpack 4 (#1214) 2018-05-15 18:37:59 -04:00
Caleb
80817e2157 Prevent login if Git Gateway is disabled. (#1295) 2018-05-15 18:34:42 -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
Chris Swithinbank
04087026dd Add squash merges option for editorial workflow (#1330) 2018-05-14 11:46:37 -04:00
Roger Zurawicki
cd30b59b92 Support displayFields in the Relation widget (#1303)
* Support displayFields in the Relation widget

* Fix typo

* Wrap display fields in String constructors

* 📝 Documentation updates
2018-05-01 16:43:08 -07:00
Eko Eryanto
1ebc0c9dd8 Safely convert to string (#1240) 2018-04-24 21:44:13 -04:00
Shawn Erquhart
855bfde79b
allow custom auth endpoint (#1294) 2018-04-24 21:35:56 -04:00
Damien Duhamel
a5d4fd41a4 Don’t try to validate an optional field if it is empty (#1237) 2018-04-24 12:28:09 -04:00
Shawn Erquhart
3e9f446ba0
fix github auth button icon alignment (#1299)
Partial revert of #1227.
2018-04-20 15:04:13 -04:00
Shawn Erquhart
df7486333b allow login screen to be skipped for test repo demos 2018-04-19 13:11:42 -04:00
Damien Duhamel
79f6672228 Use an isHidden property 2018-04-16 18:12:11 -04:00
Damien Duhamel
106968990d Add markdown editor toolbar customization 2018-04-16 18:12:11 -04:00
Damien Duhamel
9975c7e914 fix: Allow typing in date widget (#1247)
* Allow typing in date widget

* Handle empty case & warn user when invalid

* Try parsing date with moment

* Rename isValid -> isValidDate

* Warn user when date is invalid
2018-04-14 08:06:03 -06:00
Damien Duhamel
3eb30e5b1e Fix property key iterator 2018-04-13 17:53:30 -04:00
Caleb
db292abe03 Fix actual code errors listed by linter. 2018-04-12 14:17:42 -07:00
Maciej Matuszewski
df2d5c2432 fix: button alignment on older safari (#1227)
* Fix button alignment on older safari

* Add @maciejmatu to contributors
2018-04-12 08:15:11 -06:00
Brian Macdonald
6b77aee214 Allow setting config URL with <link> (#1146)
* fix: allows for valid config types expansion

* feat: config url can now come through link tag

* fix: lints added coded

* fix: slims down code per review

* fix: expands query to find supported type

* fix: removes typo in test copy

* fix: changes validTypes to object

* fix: groups config functions into one getConfig func

* adds console message for config url

* adds to docs

* update docs

* fix test

* fix merge conflicts

contributor addition moved to #1241

* avoids empty path with link without href. changes link console message

* removes additional console

* fixes link path in console

* fix: remove superfluous .allcontributorsrc change
2018-04-10 13:48:04 -07:00
S. Suzuki
100f56220c Feature Reuest: Append slug: hour, minutes, secounds (#1207) 2018-04-05 08:16:18 -06:00
Shawn Erquhart
e9153a3841 enable editorial workflow for test backend 2018-04-04 14:35:44 -04:00
Caleb
5e040eec62 Fix broken new media uploads in Git Gateway. (#1221)
* Use file data instead of inferring path for new uploads.
2018-04-04 14:30:31 -04:00
Caleb
77a7c369f3 Fix Date Control Regression
Fix regression from b7fcb8b. Dates were disappearing completely until
the field was clicked into.
2018-03-29 14:22:25 -04:00
Tony Alves
d5cd79f2c4 Allow for un-captured route of config.yml (#1182) 2018-03-28 16:25:46 -04:00
Luís Miguel
b2051343cc Fix regression in list relation previews 2018-03-28 16:19:50 -04:00
Shawn Erquhart
a19bc04c00
auto/manual init w/ single bundle, BYO root element 🎉 (#1173)
* ensure that application is only initialized once

* allow for single bundle init

* enable manual initialization via global flag
2018-03-28 15:52:57 -04:00
Caleb
085c88e2b8 Prevent Git Gateway users with invalid tokens from logging in. (#1209)
* Prevent Git Gateway users without permission from login.

* Handle Git Gateway token expiry explicitly.

This often happens when a user changes a repo from public to private, so
we want to make that specific case very clear.
2018-03-28 14:08:23 -04:00
Shawn Erquhart
600400cfda filter workflow entries by pr base branch 2018-03-28 11:22:34 -04:00
Shawn Erquhart
8e00379fdb fix validation toast notification for workflow 2018-03-28 10:14:01 -04:00
Caleb
21469148fb Hide create new button for single files. 2018-03-28 10:11:27 -04:00
Shawn Erquhart
79ddb3b91c accept CSS string in registerPreviewStyle 2018-03-28 10:08:47 -04:00
Mike Romani
55f01e6f1d Fields default to Blank String (#1126) 2018-03-28 10:07:20 -04:00
Caleb
cd10a713d8 Add option to strip Unicode from entry filenames (#1135) 2018-03-27 18:56:10 -04:00
Luís Miguel
2475af1870 Fix thumbs for new uploads to private repos 2018-03-27 16:46:38 -04:00
Luís Miguel
2d89cc7bfe (Optimization) Remove redundant filter call 2018-03-27 14:08:55 -04:00
Luís Miguel
8e2fefc3f7 (Bugfix undefined id) Use file sha as id 2018-03-27 14:08:55 -04:00
Sam
a2d4267500 Allow adding items to be disabled for list widget (#1102) 2018-03-15 16:16:32 -04:00
Shawn Erquhart
1c7fe43643 fix editorial workflow load failure 2018-03-06 17:55:43 -05:00
Shawn Erquhart
3a0929304c fix bugs introduced by manual initialization 2018-03-06 17:27:22 -05:00
Shawn Erquhart
a83c04cad0 allow manual initialization and config as an arg 2018-03-06 16:22:55 -05:00
Caleb
95b6d8a884
Fix collection failure if entry fails. (#1093) 2018-03-05 16:31:05 -07:00
Caleb
b7fcb8b3d9 Use formatted datetime value in Redux. 2018-03-03 22:45:39 -05:00
Shawn Erquhart
c4222895a5 exlude time from default date widget format 2018-03-03 22:45:39 -05:00
Shawn Erquhart
2a3b2d19fe ignore unpublished entries from unknown collections 2018-03-03 22:39:49 -05:00
Shawn Erquhart
38c7ef94cd report loadUnpublishedEntries errors 2018-03-03 22:39:49 -05:00
Shawn Erquhart
d73731cf1f fix lost unsaved changes when updating status or publishing 2018-02-27 20:34:12 -05:00
Caleb
c765cb0b76 Support extensions with multiple parts (i.e. en.md) (#1123)
* Support extensions with multiple parts (i.e. `en.md`)

* Strip entire extension from slug, not just last extension.

* Clean leading periods from extensions.
2018-02-27 17:23:20 -05:00
Iñaki García
527d201ed5 Fix Collections List Sidebar css (#1103) 2018-02-27 16:58:33 -05:00
Caleb
684735311c Fix list items crashing for first fields other than strings. 2018-02-23 10:25:06 -05:00
xifengjin88
03a16dd603 added uniqueId for input field and its cooresponding label 2018-02-22 11:38:07 -05:00
xifengjin88
fa8003e361 updated field id to uniqueId with lodash 2018-02-22 11:38:07 -05:00
Caleb
d10f97f561 Allow different beginning and ending frontmatter delimiters. 2018-02-21 17:01:13 -05:00