894 Commits

Author SHA1 Message Date
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
Pedro Duarte
49894d9fd9 Add label_singular to collection config (#1086) 2018-02-19 09:00:52 -08:00
Swieckowski
afce6abbc2 Custom delimiters (#1064)
* frontmatter functions now exported as curried constructors

* changed formats.js to accomodate frontmatter.js changes

* can only use custom delimiters if format is specified

* reverting changes

* updated tests to reflect changes

* created tests for custom delimiters

* updated docs to reflect addition of custom delimiter configuration

* formatByExtension no longer takes custom delimiter

* missed some formatByExtension calls

* Edited the docs according to suggestions

* Throws an error if a custom delimiter is set without declaring frontmatter format

* Throws error if custom delimiter set without explicit and proper frontmatter format being declared

* example config file set to proper defaults

* moved frontmatterFormats to formats

* Update .all-contributorsrc

* updated contributions

* Clarify docs
2018-02-08 18:04:42 -07:00
Sol Park
1d41620509 Add collection label next to search results (#1068)
* add collection name next to title

Co-authored-by: Mike Romani <29218846+MichaelRomani@users.noreply.github.com>

* only show collection name when entries are searched

Co-authored-by: Mike Romani <29218846+MichaelRomani@users.noreply.github.com>

* add simple design to collection label

Co-authored-by: Mike Romani <29218846+MichaelRomani@users.noreply.github.com>

* remove  from higher components. Add props passing down directly from EntryListing

* fix design of collection label to top left corner

* update collection label styling to match workflow
2018-02-07 15:16:20 -07:00
Caleb
756d562c66 Support writing frontmatter in multiple formats (#933)
* Format JSON files.

Currently we store JSON as a single line in files. We should prettify it
like we do the other formats.

* Add output parsers to the frontmatter list.

* Cleanup frontmatter format parser options.

* Support writing frontmatter in TOML and JSON.

Right now we can read TOML or JSON frontmatter by inferring,
but we can only write frontmatter in YAML. This change allows the
frontmatter format to be explicitly set for reading and writing.

* Fix frontmatter formatter.

* Update Frontmatter formatter tests.

* Update frontmatter format docs.
2018-01-29 17:35:36 -05:00
Doocey
9208b8cfcf Change collapsed arrow direction for lists and editor widgets 2018-01-28 18:33:18 -07:00
Tony Alves
7053ccd8ec Register Internal and Custom backend API's (#1011)
* allow backend register

* handle multiple backends, including internal
2018-01-25 11:55:13 -05:00
Luís Miguel
3c21a6a6db Fix relation lists (regression #359) 2018-01-23 16:50:10 -05:00