788 Commits

Author SHA1 Message Date
ffbd8d22cc expose widgetValueSerializer registry 2017-08-25 16:24:13 -04:00
1c0bb6a877 implement widget data serialization for rte perf 2017-08-25 16:24:13 -04:00
bc721337de set rte focus after toolbar click 2017-08-25 16:24:13 -04:00
22a8da11a4 fix rte link serialization 2017-08-25 16:24:13 -04:00
e682189410 only render editor page controls/previews on change 2017-08-25 16:24:13 -04:00
e01c077efb fix empty initial state for rte 2017-08-25 16:24:12 -04:00
9c869be8fa migrate visual editor from prosemirror to slate 2017-08-25 16:24:12 -04:00
49b3a62823 attempt prosemirror update, troubleshooting 2017-08-25 16:24:12 -04:00
e7ac3a7671 switch remark options to use gfm, fences 2017-08-25 16:24:12 -04:00
b293b235bb fix link creation in visual editor 2017-08-25 16:24:12 -04:00
bd767308cd fix visual editor tests, parse/serialize consistency 2017-08-25 16:24:12 -04:00
b22323201d handle raw editor html pastes with unified 2017-08-25 16:24:12 -04:00
b5e0be43f2 split off markdownToProseMirror plugin 2017-08-25 16:24:12 -04:00
361c3d5284 improve prosemirror parser, fix new doc creation 2017-08-25 16:24:12 -04:00
8bb18452e8 implement initial unified/remark preview update 2017-08-25 16:24:12 -04:00
5048c7ca1d convert editor component registry to Map 2017-08-25 16:24:12 -04:00
adcb215fbd replace remark with unified for docs and extensibility 2017-08-25 16:24:12 -04:00
514fbb30b8 render plugins on visual editor load 2017-08-25 16:24:12 -04:00
e401f7ef9b remove unrelated code style improvements 2017-08-25 16:24:12 -04:00
f93aa34105 fix rebase incongruencies 2017-08-25 16:24:12 -04:00
8763666570 Update parser to support remaining node types + add inline styled text support 2017-08-25 16:24:12 -04:00
0eb109cb73 Convert markdown-prosemirror parser/compiler to Remark 2017-08-25 16:24:12 -04:00
24c0a1bdb4 Replace markup-it with Remark for rendering markdown in the editor preview 2017-08-25 16:24:12 -04:00
0dd173a83f rename isCollaborator to hasWriteAccess 2017-08-20 16:02:57 -04:00
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
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
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
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
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
b3b13d311c Make GitHub repo name comparison case-insensitive (fixes #510) 2017-08-11 12:19:01 -07:00
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
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
b294110db7 Stopped the pluralization of collection name (#503) 2017-07-27 11:13:34 -07:00
56e63b6573 Merge pull request #493 from Dammmien/fix_list_item_reordering
Fix list item reordering #437
2017-07-25 08:45:23 -04:00
1b3aec4ebf Add some comments 2017-07-25 10:28:35 +02:00
4d2ed6b1ea Check editor value after update 2017-07-23 19:38:05 +02:00
dac57c60a0 Entry deletion for the simple workflow (#485) 2017-07-21 23:40:33 -07:00
aebf28b881 allow registered widget controls to be reused 2017-07-10 15:01:02 -04:00
72a661d132 pass more contextual data to preview components 2017-07-10 15:01:01 -04:00
324340135b lengthen relation search debounce to reduce lag 2017-07-10 15:01:01 -04:00
cc93ad87dc Encode URI of image path for card view vs. normalizePath replace (#474) 2017-07-10 10:36:07 -07:00
4c35e39a59 Refactors a portion to access this Data Structure more effectively 2017-07-03 20:37:19 -04:00
a8ebba2cf2 adds context to new list item button 2017-07-01 13:52:46 -04:00
66a683bef1 hide hidden widget in object and list controls 2017-06-28 16:12:35 -04:00
e51071abf4 Change .find() predicate to not reject field names based on spurious whitespace. 2017-06-22 21:49:31 +01:00
3e105b3089 Fix indentation. 2017-06-22 21:39:32 +01:00
a4e324201d Refactor indentifer field find and validation. 2017-06-22 21:25:30 +01:00
eaa43488e5 Remove case sensitivity of names of fields used in slug construction 2017-06-22 14:05:22 +01:00
25225121ed [WIP] Upgrade to Webpack 2 2017-06-13 15:30:21 -07:00
546ca5917e Add cache buster to all GitHub API calls (#449)
This should solve issues like #308 and the issues with cached
API responses after deleting an entry
2017-06-12 13:01:53 -07:00