874 Commits

Author SHA1 Message Date
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
Luís Miguel
3691417856 Fix proptype warning 2018-01-19 18:56:35 -05:00
Caleb
6ccc253599 Fix showing success message if PR force-merge fails. (#1016) 2018-01-16 18:41:18 -08:00
Eric Jinks
b8c411ce28 GitHub svg media library preview support (#954)
* Append sanitize query to svg download_url

* Add svg ext to media viewable

* Append searchParam manually
2018-01-04 12:17:52 -07:00
Václav Klecanda
b927c8acfb LocalForageTest (#550) 2018-01-04 11:33:18 -05:00
Caleb
e45f531319 Format JSON files.
Currently we store JSON as a single line in files. We should prettify it
like we do the other formats.
2018-01-03 17:55:51 -05:00
Caleb
4515eddbc4 Use cached images for new uploads (#925) 2018-01-03 16:47:33 -05:00
jimmaaay
6fca83c81b Fix Firefox positioning bug #907. (#976) 2018-01-03 14:08:54 -07:00
Shawn Erquhart
b1006a9173 fix list widget default values 2018-01-03 11:09:13 -05:00
Christian Nolte
4b5fb89b6b Add expand/collapse to object widget (#927) 2017-12-24 07:42:26 -05:00
Marco Biedermann
dfd1111552 optimize images 2017-12-22 17:21:05 -05:00
Shawn Erquhart
fbf728ca23 fix list collapse config setting 2017-12-22 16:33:29 -05:00
Christian Nolte
6ca9c04105 Add collapse all/expand all to Listcontrol (#912) 2017-12-22 16:30:05 -05:00
Damien Duhamel
8849953b50 fix image form not displaying when added as first item in markdown widget 2017-12-21 14:35:30 -05:00
Shawn Erquhart
a1b947a23e fix markdown widget re-rendering on load 2017-12-21 14:20:23 -05:00
Caleb
035b02bd24 Abstract notif component for auth pages. 2017-12-20 08:52:55 -07:00
Shawn Erquhart
4721f12c9f fix infinite scrolling for collections with integrations 2017-12-19 12:24:53 -05:00
Shawn Erquhart
11ee874d6f remove obsolete test 2017-12-14 15:49:13 -08:00
Caleb
a0f928dd49 Update snapshots. 2017-12-14 15:49:13 -08:00
Shawn Erquhart
78ad082021 update markdown mark hotkeys to use isHotkey 2017-12-14 14:59:59 -08:00
Shawn Erquhart
7c9c765c28 use is-hotkey in slate plugin checks 2017-12-14 14:59:59 -08:00