887 Commits

Author SHA1 Message Date
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
cd10a713d8 Add option to strip Unicode from entry filenames (#1135) 2018-03-27 18:56:10 -04:00
2475af1870 Fix thumbs for new uploads to private repos 2018-03-27 16:46:38 -04:00
2d89cc7bfe (Optimization) Remove redundant filter call 2018-03-27 14:08:55 -04:00
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
1c7fe43643 fix editorial workflow load failure 2018-03-06 17:55:43 -05:00
3a0929304c fix bugs introduced by manual initialization 2018-03-06 17:27:22 -05:00
a83c04cad0 allow manual initialization and config as an arg 2018-03-06 16:22:55 -05:00
95b6d8a884 Fix collection failure if entry fails. (#1093) 2018-03-05 16:31:05 -07:00
b7fcb8b3d9 Use formatted datetime value in Redux. 2018-03-03 22:45:39 -05:00
c4222895a5 exlude time from default date widget format 2018-03-03 22:45:39 -05:00
2a3b2d19fe ignore unpublished entries from unknown collections 2018-03-03 22:39:49 -05:00
38c7ef94cd report loadUnpublishedEntries errors 2018-03-03 22:39:49 -05:00
d73731cf1f fix lost unsaved changes when updating status or publishing 2018-02-27 20:34:12 -05:00
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
527d201ed5 Fix Collections List Sidebar css (#1103) 2018-02-27 16:58:33 -05:00
684735311c Fix list items crashing for first fields other than strings. 2018-02-23 10:25:06 -05:00
03a16dd603 added uniqueId for input field and its cooresponding label 2018-02-22 11:38:07 -05:00
fa8003e361 updated field id to uniqueId with lodash 2018-02-22 11:38:07 -05:00
d10f97f561 Allow different beginning and ending frontmatter delimiters. 2018-02-21 17:01:13 -05:00
49894d9fd9 Add label_singular to collection config (#1086) 2018-02-19 09:00:52 -08:00
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
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
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
9208b8cfcf Change collapsed arrow direction for lists and editor widgets 2018-01-28 18:33:18 -07:00
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
3c21a6a6db Fix relation lists (regression #359) 2018-01-23 16:50:10 -05:00
3691417856 Fix proptype warning 2018-01-19 18:56:35 -05:00
6ccc253599 Fix showing success message if PR force-merge fails. (#1016) 2018-01-16 18:41:18 -08:00
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
b927c8acfb LocalForageTest (#550) 2018-01-04 11:33:18 -05:00
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
4515eddbc4 Use cached images for new uploads (#925) 2018-01-03 16:47:33 -05:00
6fca83c81b Fix Firefox positioning bug #907. (#976) 2018-01-03 14:08:54 -07:00