1184 Commits

Author SHA1 Message Date
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
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