944 Commits

Author SHA1 Message Date
Shawn Erquhart
cba631ba1a improve visual/raw editor consistency 2017-08-25 16:25:30 -04:00
Shawn Erquhart
5cbc76da68 improve rte pasting 2017-08-25 16:24:13 -04:00
Shawn Erquhart
54e77bd80c fix raw editor formatting controls 2017-08-25 16:24:13 -04:00
Shawn Erquhart
faec38ac19 fix raw editor paste parsing 2017-08-25 16:24:13 -04:00
Shawn Erquhart
e0ca24c6d3 add unified config module 2017-08-25 16:24:13 -04:00
Shawn Erquhart
09e631ded7 allow nested widget previews to update 2017-08-25 16:24:13 -04:00
Shawn Erquhart
84ed450ac6 add visual editor serializer source doc 2017-08-25 16:24:13 -04:00
Shawn Erquhart
ffbd8d22cc expose widgetValueSerializer registry 2017-08-25 16:24:13 -04:00
Shawn Erquhart
1c0bb6a877 implement widget data serialization for rte perf 2017-08-25 16:24:13 -04:00
Shawn Erquhart
bc721337de set rte focus after toolbar click 2017-08-25 16:24:13 -04:00
Shawn Erquhart
22a8da11a4 fix rte link serialization 2017-08-25 16:24:13 -04:00
Shawn Erquhart
e682189410 only render editor page controls/previews on change 2017-08-25 16:24:13 -04:00
Shawn Erquhart
e01c077efb fix empty initial state for rte 2017-08-25 16:24:12 -04:00
Shawn Erquhart
9c869be8fa migrate visual editor from prosemirror to slate 2017-08-25 16:24:12 -04:00
Shawn Erquhart
49b3a62823 attempt prosemirror update, troubleshooting 2017-08-25 16:24:12 -04:00
Shawn Erquhart
e7ac3a7671 switch remark options to use gfm, fences 2017-08-25 16:24:12 -04:00
Shawn Erquhart
b293b235bb fix link creation in visual editor 2017-08-25 16:24:12 -04:00
Shawn Erquhart
bd767308cd fix visual editor tests, parse/serialize consistency 2017-08-25 16:24:12 -04:00
Shawn Erquhart
b22323201d handle raw editor html pastes with unified 2017-08-25 16:24:12 -04:00
Shawn Erquhart
b5e0be43f2 split off markdownToProseMirror plugin 2017-08-25 16:24:12 -04:00
Shawn Erquhart
361c3d5284 improve prosemirror parser, fix new doc creation 2017-08-25 16:24:12 -04:00
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