921 Commits

Author SHA1 Message Date
b6901093db BitBucket support in Git Gateway backend 2018-07-24 09:48:06 -04:00
9894b3e805 BitBucket backend 2018-07-24 09:48:06 -04:00
a801c06a7b Support extensions with multiple parts for gitlab (i.e. en.md) 2018-07-20 18:42:25 -06:00
cc4dc43898 Make object control pure (no extra imports). (#1446) 2018-07-02 18:01:08 -04:00
e5b8af9f4d Fix integer output in TOML format (#1458) 2018-06-26 16:29:26 -04:00
427ba7dfc8 Fix test-repo crash on non-existent folder. (#1444) 2018-06-15 16:29:33 -04:00
69ee5ecc78 Fix GitLab Implicit OAuth (#1439) 2018-06-14 10:54:53 -04:00
042e23885f very minor padding adjustments (#1420) 2018-06-13 12:49:32 -04:00
d9488458a9 Don't render hidden widgets in markdown visual editor (#1414) 2018-06-12 09:55:10 -04:00
f365955478 Only use label_singular when one item is rendered in the listControl (#1422) 2018-06-12 09:47:20 -04:00
b65f68efd4 GitLab backend built with cursor API (#1343) 2018-06-11 22:03:43 -04:00
78e4b829d0 fix workflow top panel styling 2018-06-07 17:33:20 -06:00
89f2c9b93b Fix negative CSS variables (#1384) 2018-05-25 14:39:08 -04:00
0022df57d2 Check for title/slug field on config load. (#1203) 2018-05-25 12:15:01 -04:00
9fd0ff4a6a return date object from date/datetime widgets if no format set (#1296)
* return date object from date/datetime widgets if no format set

BREAKING CHANGE

As of 1.0, the documented behavior for the date and datetime widgets was
to always return a string value, but they were instead returning a date
object if the default date was not manually changed by the user. This
was addressed in #1143, but it became clear afterward that static site
generators were depending on the raw date objects that Netlify CMS was
unintentionally producing. Remaining as is or addressing the bug were
both "breaking" states, so this commit reverts to producing raw date
objects when no format is explicitly set.

It is now considered an edge case to require string dates, as most
static site generators expect to parse a raw date against formatting in
a site's templates.

Also note that this commit improves the original behavior by always
providing a date object when no format is provided, even if the user
manually changes the value.

* produce raw date when no format is provided
2018-05-25 12:03:44 -04:00
643772cd1a Revert "Prevent Overwriting Files with Same Slug Names (#1239)"
This reverts commit 9a1c668e00a0f2cfd2dfbcf0ff1b642c54c1b1bd.
2018-05-24 09:23:55 -04:00
8ab5ca560c Enable user-configured commit message templates (#1359) 2018-05-23 16:57:56 -04:00
9a1c668e00 Prevent Overwriting Files with Same Slug Names (#1239) 2018-05-23 16:50:04 -04:00
ee8f2d5752 Adding inference field (#1355) 2018-05-23 14:40:19 -04:00
55a24a75c1 Fix large files failing to load. (#1224) 2018-05-17 12:05:37 -04:00
4d981d8e01 Upgrade to Webpack 4 (#1214) 2018-05-15 18:37:59 -04:00
80817e2157 Prevent login if Git Gateway is disabled. (#1295) 2018-05-15 18:34:42 -04:00
40494a4e43 Adds support for passing component type or element to PreviewContent, supports React.forwardRef (#1248) 2018-05-14 13:36:55 -04:00
04087026dd Add squash merges option for editorial workflow (#1330) 2018-05-14 11:46:37 -04:00
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
1ebc0c9dd8 Safely convert to string (#1240) 2018-04-24 21:44:13 -04:00
855bfde79b allow custom auth endpoint (#1294) 2018-04-24 21:35:56 -04:00
a5d4fd41a4 Don’t try to validate an optional field if it is empty (#1237) 2018-04-24 12:28:09 -04:00
3e9f446ba0 fix github auth button icon alignment (#1299)
Partial revert of #1227.
2018-04-20 15:04:13 -04:00
df7486333b allow login screen to be skipped for test repo demos 2018-04-19 13:11:42 -04:00
79f6672228 Use an isHidden property 2018-04-16 18:12:11 -04:00
106968990d Add markdown editor toolbar customization 2018-04-16 18:12:11 -04:00
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
3eb30e5b1e Fix property key iterator 2018-04-13 17:53:30 -04:00
db292abe03 Fix actual code errors listed by linter. 2018-04-12 14:17:42 -07:00
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
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
100f56220c Feature Reuest: Append slug: hour, minutes, secounds (#1207) 2018-04-05 08:16:18 -06:00
e9153a3841 enable editorial workflow for test backend 2018-04-04 14:35:44 -04:00
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
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
d5cd79f2c4 Allow for un-captured route of config.yml (#1182) 2018-03-28 16:25:46 -04:00
b2051343cc Fix regression in list relation previews 2018-03-28 16:19:50 -04:00
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
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
600400cfda filter workflow entries by pr base branch 2018-03-28 11:22:34 -04:00
8e00379fdb fix validation toast notification for workflow 2018-03-28 10:14:01 -04:00
21469148fb Hide create new button for single files. 2018-03-28 10:11:27 -04:00
79ddb3b91c accept CSS string in registerPreviewStyle 2018-03-28 10:08:47 -04:00
55f01e6f1d Fields default to Blank String (#1126) 2018-03-28 10:07:20 -04:00