Shawn Erquhart
8bb18452e8
implement initial unified/remark preview update
2017-08-25 16:24:12 -04:00
Shawn Erquhart
5048c7ca1d
convert editor component registry to Map
2017-08-25 16:24:12 -04:00
Shawn Erquhart
adcb215fbd
replace remark with unified for docs and extensibility
2017-08-25 16:24:12 -04:00
Shawn Erquhart
514fbb30b8
render plugins on visual editor load
2017-08-25 16:24:12 -04:00
Shawn Erquhart
e401f7ef9b
remove unrelated code style improvements
2017-08-25 16:24:12 -04:00
Shawn Erquhart
f93aa34105
fix rebase incongruencies
2017-08-25 16:24:12 -04:00
Kyle Mathews
8763666570
Update parser to support remaining node types + add inline styled text support
2017-08-25 16:24:12 -04:00
Kyle Mathews
0eb109cb73
Convert markdown-prosemirror parser/compiler to Remark
2017-08-25 16:24:12 -04:00
Kyle Mathews
24c0a1bdb4
Replace markup-it with Remark for rendering markdown in the editor preview
2017-08-25 16:24:12 -04:00
Kyle Mathews
f3b7dc9e2e
Update Jest to 0.19
2017-08-25 16:24:09 -04:00
Shawn Erquhart
3cf025259e
Release 0.4.6
2017-08-20 16:11:32 -04:00
Shawn Erquhart
06e5c9d7a2
Merge pull request #543 from netlify/isCollaborator-fix
...
Fix denied login for users with many repos.
2017-08-20 16:10:15 -04:00
Shawn Erquhart
0dd173a83f
rename isCollaborator to hasWriteAccess
2017-08-20 16:02:57 -04:00
Caleb
6df35a2f30
Fix denied login for users with many repos.
...
`isCollaborator` was created in #491 to block login if a user did not have write (push) permissions to a repo, by going through the list of a users repos until it found the right one. It did not institute pagination, however, so if a user had enough repos that the one in question was on another page, the CMS would assume that they did not have permission and block the login.
This commit fixes the problem by calling the API for the specific repo instead of getting the whole list.
2017-08-19 18:07:09 -06:00
Shawn Erquhart
de8db81320
Merge pull request #538 from netlify/test-backend-deletion-fix
...
Fix deletion for the `test-repo` backend.
2017-08-17 17:16:10 -04:00
Shawn Erquhart
76da81adc9
Release 0.4.5
2017-08-17 17:07:29 -04:00
Caleb
37f6e7bac5
Fix deletion for the test-repo
backend.
...
Deletion was added in #485 , but the function for the `test-repo` backend
was `deleteEntry` instead of `deleteFile` like it was supposed to be.
Also, setting the key for a deleted file to `undefined` did not really
remove that file from the object, so there were then errors stating
`file.content` is not defined. `delete`ing the "file" from the object
fixes this bug.
2017-08-17 13:25:54 -06:00
Shawn Erquhart
c3b3e5d12f
Merge pull request #527 from kalinchernev/patch-1
...
Suggestion for adding Gatsby JS
2017-08-17 13:23:45 -04:00
Shawn Erquhart
6473c1f020
Merge pull request #530 from rriemann/patch-1
...
improve documentation of list widget, fixes #505
2017-08-17 13:21:18 -04:00
Shawn Erquhart
5020d3d0e5
Merge pull request #528 from netlify/fix-confusing-yaml-vs-yml-format-distinction
...
Fix confusing "yaml/yml" distinction in formats.js
2017-08-17 13:09:47 -04:00
Shawn Erquhart
364ef8790c
Merge pull request #506 from tech4him1/crossEnv
...
Allow `npm build` commands to be used cross-platform (on Windows).
2017-08-17 11:59:38 -04:00
Shawn Erquhart
1f6bcd1044
Merge pull request #520 from netlify/fix-eslint-import-errors
...
Fix incorrect eslint import errors
2017-08-17 11:53:34 -04:00
Shawn Erquhart
14be00be90
Merge pull request #507 from netlify/fix-post-save-error
...
Fix runtime error on saving post in editorial workflow
2017-08-17 11:52:54 -04:00
Shawn Erquhart
212d9d67da
Merge pull request #521 from netlify/github-case-sensitive-repo-name
...
Make GitHub repo name comparison case-insensitive (fixes #510 )
2017-08-17 09:58:36 -04:00
Kalin Chernev
751f0fad11
Apply corrections
2017-08-16 12:57:24 +02:00
Robert Riemann
9af7bb7eb9
improve documentation of list widget, fixes #505
2017-08-16 11:02:48 +02:00
Benaiah Mischenko
30dcc2bdf0
Fix confusing "yaml/yml" distinction in formats.js
...
Makes "yml" and "yaml" synonyms for both file extensions and format
settings.
2017-08-15 14:42:55 -07:00
Kalin Chernev
22ca155b7c
Suggestion for adding Gatsby JS
2017-08-15 09:54:45 -07:00
Benaiah Mischenko
b3b13d311c
Make GitHub repo name comparison case-insensitive ( fixes #510 )
2017-08-11 12:19:01 -07:00
Benaiah Mischenko
7e8a588c15
Fix incorrect eslint import errors
...
Just adds the development package `eslint-import-resolver-webpack`,
which is [already configured][0], but not previously installed. This
removes a _lot_ of incorrect eslint errors.
[0]: 2d344ef4ca/.eslintrc (L6-L10)
2017-08-11 11:47:39 -07:00
Matt Jared
2d344ef4ca
Fix typo in intro.md ( #518 )
2017-08-09 10:35:59 -07:00
tortilaman
6805a6936d
Prevent unauthorized CMS access ( #323 ) and enable use of GitHub Enterprise ( #491 )
...
* Prevent unauthorized CMS access and enable use of GitHub Enterprise
2017-08-01 20:28:03 -07:00
Benaiah Mischenko
fda2f2269d
Fix runtime error on saving post in editorial workflow
...
The removed `dispatch(closeEntry)` is handled in the code that's been
erroring out (located in `containers/EntryPage.js`). User-visible
functionality is identical.
2017-08-01 19:48:15 -07:00
Caleb
0d7f653adf
Allow npm build
commands to be used cross-platform (on Windows).
...
Windows command prompts set and use enviroment variables differently
than POSIX terminals. `cross-env` is a wrapper that allow the commands
to run with the same effect on Windows as well. It will not affect any
POSIX terminal (including Bash on Windows).
2017-08-01 15:15:03 -06:00
Damien Van Der Windt
b294110db7
Stopped the pluralization of collection name ( #503 )
2017-07-27 11:13:34 -07:00
Rich Cook
6ad6bfd094
misc edits in /docs; mostly style, grammar, consistency ( #489 )
...
* misc edits in /docs; mostly style, grammar, consistency
* changes per reviewers requests
* removed .md ext from links in 2 files per request
2017-07-26 20:29:28 -07:00
Shawn Erquhart
b283f6931f
Release 0.4.4
2017-07-26 22:21:19 -04:00
Shawn Erquhart
bd0a7b06e0
Merge pull request #500 from netlify/prepublish-only
...
add prepublishOnly build command
2017-07-26 22:20:31 -04:00
Shawn Erquhart
74c8eec521
add prepublishOnly build command
2017-07-26 22:16:27 -04:00
Shawn Erquhart
56e63b6573
Merge pull request #493 from Dammmien/fix_list_item_reordering
...
Fix list item reordering #437
2017-07-25 08:45:23 -04:00
Damien Duhamel
1b3aec4ebf
Add some comments
2017-07-25 10:28:35 +02:00
Damien Duhamel
4d2ed6b1ea
Check editor value after update
2017-07-23 19:38:05 +02:00
Benaiah Mischenko
dac57c60a0
Entry deletion for the simple workflow ( #485 )
2017-07-21 23:40:33 -07:00
Shawn Erquhart
1d08f1a33b
Merge pull request #470 from netlify/relation-preview-improvements
...
Relation preview improvements
2017-07-10 15:46:20 -04:00
Shawn Erquhart
6af9a3155c
add example of custom relation widget with custom preview
2017-07-10 15:05:08 -04:00
Shawn Erquhart
429ab2c393
document relation widget
2017-07-10 15:05:06 -04:00
Shawn Erquhart
5748e78013
remove duplicate widget description table
2017-07-10 15:01:02 -04:00
Shawn Erquhart
088cb158e3
document custom widget preview
2017-07-10 15:01:02 -04:00
Shawn Erquhart
aebf28b881
allow registered widget controls to be reused
2017-07-10 15:01:02 -04:00
Shawn Erquhart
72a661d132
pass more contextual data to preview components
2017-07-10 15:01:01 -04:00