Commit Graph

  • f9c43bd275 Removed expect import Andrey Okonetchnikov 2016-10-13 11:56:26 +02:00
  • 5e333aca20 Removed obsolte snapshot Andrey Okonetchnikov 2016-10-13 11:55:46 +02:00
  • 27659b77f1 Removed console.error from auth reducer to cleanup tests outputs. We should use Netlify error wrapper. Andrey Okonetchnikov 2016-10-13 11:34:55 +02:00
  • b61b53d15b Merge branch 'master' into markitup-react Andrey Okonetchnikov 2016-10-13 11:27:53 +02:00
  • e7a4675075 Merge pull request #107 from netlify/tmp-disable-lint-ci Andrey Okonetchnikov 2016-10-13 11:26:43 +02:00
  • 9565b1d68f Added yarn.lock file Andrey Okonetchnikov 2016-10-13 11:21:04 +02:00
  • 3376322bf4 Temporarily disabled linting in test script until #96 and #99 are merged. Andrey Okonetchnikov 2016-10-13 11:17:49 +02:00
  • 077e83dfc9 Handle entry persisting state in actions and reducer + added tests. Andrey Okonetchnikov 2016-10-12 19:19:05 +02:00
  • a80d1087b2 Simplified a regexp in the webpack config Andrey Okonetchnikov 2016-10-12 19:17:37 +02:00
  • 06b0a7bdaa Added fsevents as devDep to reduce the CPU load of webpack-dev-server on Mac OS X. Andrey Okonetchnikov 2016-10-12 17:13:11 +02:00
  • 8d51f9be3e Fixed ESLint errors and tests for entries reducer Andrey Okonetchnikov 2016-10-12 16:04:58 +02:00
  • 2f37b3df12 Fixed eslint errors Andrey Okonetchnikov 2016-10-12 16:01:27 +02:00
  • 4c5e72a2eb Updated MarkitupReactRenderer test Andrey Okonetchnikov 2016-10-12 15:52:41 +02:00
  • fee2d8e731 Updated Jest config to work with webpack and CSS-modules Andrey Okonetchnikov 2016-10-12 14:32:53 +02:00
  • 190aa05d68 Use react-toolbox buttons. Added Cancel button for the entry editor. Andrey Okonetchnikov 2016-10-11 18:24:55 +02:00
  • 6fa02bf79b Removed //eslint-disable-line Andrey Okonetchnikov 2016-10-11 14:56:33 +02:00
  • 4868267669 Added onOverlayClick to handle the NavBar. Hide it initially + added a fixed permanentAt to make editing screen more usable. Andrey Okonetchnikov 2016-10-11 11:42:06 +02:00
  • 03ac8fcaed Use a correct propType Andrey Okonetchnikov 2016-10-11 11:34:28 +02:00
  • 0688a9c5ab Added propTypes + some code refactoring to fix eslint errors Andrey Okonetchnikov 2016-10-11 11:33:56 +02:00
  • 4da6c9708a Added propTypes to AppHeader and fixed ESLint errors. Andrey Okonetchnikov 2016-10-11 10:46:24 +02:00
  • e0160af9c6 Merge branch 'master' into markitup-react Andrey Okonetchnikov 2016-10-11 10:41:51 +02:00
  • ad7acfb347 Merge pull request #97 from netlify/css-modules-undefined Andrey Okonetchnikov 2016-10-11 10:32:00 +02:00
  • 0dd8ad46b9 Merge pull request #94 from netlify/ui-cleanup Andrey Okonetchnikov 2016-10-11 10:30:59 +02:00
  • 899681ee84 Merge branch 'master' into markitup-react Andrey Okonetchnikov 2016-10-11 10:28:42 +02:00
  • e89db336a7 avoid branches without metadata but keep trying to load metadata for remaining unpublished branches Cássio Zen 2016-10-10 18:33:49 -03:00
  • cc1c2f91e0 Moved frontend deps from devDependencies to dependencies. Fixes lots of eslint errors. Andrey Okonetchnikov 2016-10-07 10:58:43 +02:00
  • 494ea636a3 eslint adjustments Cássio Zen 2016-10-10 16:35:42 -03:00
  • ff0949e417 small bugfixes Cássio Zen 2016-10-10 16:10:55 -03:00
  • 2815a86e0c Search integration (React Version) (#84) Cássio Souza 2016-10-10 15:34:21 -03:00
  • 5cb820b2f1 Updated lint-staged to 4.0.0-beta-2 Andrey Okonetchnikov 2016-10-10 18:00:55 +02:00
  • 91927357b7 Added jest to lint-staged Andrey Okonetchnikov 2016-10-07 16:44:33 +02:00
  • b295d1e6ab Updated jest to 16.x Andrey Okonetchnikov 2016-10-07 15:26:47 +02:00
  • 45d810a25f Updated eslint config GH repo name Andrey Okonetchnikov 2016-10-06 17:03:30 +02:00
  • b1a039701c Require utils.css in dev mode only Andrey Okonetchnikov 2016-10-06 16:11:11 +02:00
  • 44d652de35 Added utils.css with .undefined global class Andrey Okonetchnikov 2016-10-06 16:10:21 +02:00
  • 60ec67c2a9 Added process.env.NODE_ENV to webpack.DefinePlugin Andrey Okonetchnikov 2016-10-06 15:59:19 +02:00
  • de5958752a Merge pull request #90 from netlify/enforce-code-style Andrey Okonetchnikov 2016-10-06 15:35:02 +02:00
  • 5388884bf6 Integrated with webpack dev config Andrey Okonetchnikov 2016-10-06 15:27:25 +02:00
  • b5849cd472 Removed logo Andrey Okonetchnikov 2016-10-06 15:13:31 +02:00
  • 9c7c5360e6 Use shareable netlify eslint config. Andrey Okonetchnikov 2016-10-06 12:07:45 +02:00
  • a923cfd730 Added number-max-precision and reduced max-nesting-depth Andrey Okonetchnikov 2016-10-05 16:48:15 +02:00
  • 391c2fe078 Added number-leading-zero with "never" Andrey Okonetchnikov 2016-10-05 16:43:21 +02:00
  • 8ba925726d Added declaration-no-important Andrey Okonetchnikov 2016-10-05 16:41:29 +02:00
  • ab67a350e3 Removed selector-no-combinator for now Andrey Okonetchnikov 2016-10-05 16:39:36 +02:00
  • 6d484463ca Added declaration-use-variable Andrey Okonetchnikov 2016-10-05 16:39:08 +02:00
  • 0361c4c79b Updated eslint-* deps Andrey Okonetchnikov 2016-10-05 15:08:06 +02:00
  • 4c30278fb5 Added npm-check with tasks Andrey Okonetchnikov 2016-10-05 15:06:38 +02:00
  • 334b6191bd Added some more rules to eslintrc. Removed unnecessary globals from it. Andrey Okonetchnikov 2016-09-29 18:55:01 +02:00
  • 466da02075 Added composes to declaration-block-properties-order Andrey Okonetchnikov 2016-10-05 14:52:56 +02:00
  • 3341a34605 Fixed stylelintrc config Andrey Okonetchnikov 2016-10-05 14:48:15 +02:00
  • a4dea8ac7a Added logo as a link to dashboard. Cleaned up AppHeader a bit visually. Andrey Okonetchnikov 2016-10-05 18:55:35 +02:00
  • e629fb3b20 Merge pull request #93 from netlify/travis-ci Andrey Okonetchnikov 2016-10-05 18:05:05 +02:00
  • 6d9a3962dc npm test will run all linters and tests. This is needed for the CI. Andrey Okonetchnikov 2016-10-05 17:45:29 +02:00
  • 662f64b8e6 Added travis.yml Andrey Okonetchnikov 2016-10-05 17:45:19 +02:00
  • a560d4e8fe Updated stylelintrc Andrey Okonetchnikov 2016-10-05 14:41:45 +02:00
  • e06f8ec3a9 Added declaration-block-properties-order based on https://github.com/hudochenkov/postcss-sorting/blob/master/configs/default.json Andrey Okonetchnikov 2016-10-05 12:56:33 +02:00
  • 18be4e8fd2 Removed *.jsx from lint-staged config Andrey Okonetchnikov 2016-10-05 12:34:58 +02:00
  • af0563eb70 Added lint-staged rule for CSS files Andrey Okonetchnikov 2016-10-05 12:34:27 +02:00
  • a801714f16 Added stylefmt and lint:css:fix task Andrey Okonetchnikov 2016-10-05 12:28:00 +02:00
  • 0ccaad5822 Added stylelint + config Andrey Okonetchnikov 2016-10-05 12:10:25 +02:00
  • b3b7e5dd16 Added .editorconfig Andrey Okonetchnikov 2016-10-05 11:30:49 +02:00
  • b95bb595f7 Implement ScrollSync component for sync scroll between containers Andrey Okonetchnikov 2016-10-04 17:58:26 +02:00
  • ca34def49e Merge branch 'master' into markitup-react Andrey Okonetchnikov 2016-10-03 16:57:48 +02:00
  • 2022e203bf Merge pull request #88 from netlify/class-properties-initializers Andrey Okonetchnikov 2016-10-03 16:42:25 +02:00
  • 5ba0c46aee Merge branch 'master' into class-properties-initializers Andrey Okonetchnikov 2016-10-03 16:41:15 +02:00
  • 9e8bdb18b9 Added missing semicolons to class properties Andrey Okonetchnikov 2016-10-03 16:37:11 +02:00
  • 4c50952131 Enfore semicolon for class properties Andrey Okonetchnikov 2016-10-03 16:34:48 +02:00
  • 9838660c0c UI small adjustments & refinments (#87) Cássio Souza 2016-10-03 11:18:58 -03:00
  • e5d4cc55b2 Removed autohide navbar Cássio Zen 2016-10-03 11:18:10 -03:00
  • 4010a16a76 Use static propTypes class property Andrey Okonetchnikov 2016-10-03 14:33:48 +02:00
  • 382b1537b0 Use ES7 class properties initializers Andrey Okonetchnikov 2016-10-03 14:25:27 +02:00
  • ffb1d7a491 UI small adjustments & refinments Cássio Zen 2016-09-30 19:51:12 -03:00
  • 7fde1e811a Re-written Preview as a functional component. It also re-uses widgetFor prop to get widgets. Andrey Okonetchnikov 2016-09-30 16:38:10 +02:00
  • f1eb93ee7f Moved PreviewPane to a separate directory. Extracted Preview component to a separate file. Andrey Okonetchnikov 2016-09-30 16:25:15 +02:00
  • edf8abbc42 Implemented scroll sync from control pane to the preview pane. Andrey Okonetchnikov 2016-09-29 22:17:29 +02:00
  • 841772496a Moved EntryEditor to a separate directory Andrey Okonetchnikov 2016-09-29 19:02:28 +02:00
  • 9f33b160e7 Added some more rules to eslintrc. Removed unnecessary globals from it. Andrey Okonetchnikov 2016-09-29 18:55:01 +02:00
  • e644104542 Added drag'n'drop image adding to VisualEditor. Andrey Okonetchnikov 2016-09-29 18:53:47 +02:00
  • e454144d31 Use HoC withPortalAtCursorPosition for StylesMenu and BlockTypesMenu to DRY Andrey Okonetchnikov 2016-09-29 18:51:39 +02:00
  • cfc8be3f36 Removed console.log call Andrey Okonetchnikov 2016-09-29 18:48:23 +02:00
  • 47512001ec Implement image uploading for the raw editor Andrey Okonetchnikov 2016-09-28 14:05:51 +02:00
  • 0a3676204e Localized CSS Andrey Okonetchnikov 2016-09-28 12:46:39 +02:00
  • d09e9b40e4 Updated styles for entry page layout. Andrey Okonetchnikov 2016-09-28 12:24:17 +02:00
  • 4192945a3b Updated jsx-indent-props rule Andrey Okonetchnikov 2016-09-28 12:23:26 +02:00
  • 2b5a987945 WIP on drag'n'drop image uploading Andrey Okonetchnikov 2016-09-28 11:05:11 +02:00
  • 4020dfc912 Refactored MarkdownControl to not use constructor and simplified render method Andrey Okonetchnikov 2016-09-27 13:07:52 +02:00
  • 107e8f7104 Moved MarkupItReactRenderer to /components. Added a story for it. Andrey Okonetchnikov 2016-09-27 12:57:41 +02:00
  • 78eb65bca2 Renamed component Andrey Okonetchnikov 2016-09-27 12:24:52 +02:00
  • f38e6b6f25 Use dangerouslySetInnerHTML since the react parser wasn't working with inline styles correctly. Andrey Okonetchnikov 2016-09-27 12:18:52 +02:00
  • 05913d4a1b Omit not allowed attributes instead of white-listing them Andrey Okonetchnikov 2016-09-27 11:33:28 +02:00
  • e0724aa1bd Use react-htmlparser2 to render HTML to React VDOM Andrey Okonetchnikov 2016-09-27 11:26:28 +02:00
  • 0a9eb3d688 Fixed a typo Andrey Okonetchnikov 2016-09-27 11:14:41 +02:00
  • 71c638bc27 Integrated MD Preview component with mediaproxy Andrey Okonetchnikov 2016-09-26 15:59:49 +02:00
  • cdc71a2bbf Sanitize unsupported props. This removes all React warnings. Refactored renderToken. Andrey Okonetchnikov 2016-09-26 15:37:25 +02:00
  • af8ea80142 Added support for custom renderers Andrey Okonetchnikov 2016-09-26 13:31:36 +02:00
  • 20e681e7ec Added support for rendering inlined HTML in MD documents Andrey Okonetchnikov 2016-09-26 13:18:22 +02:00
  • 1860a2389d Use Immutable data structure without converting to JSON for speed and profit. Added more tests. Andrey Okonetchnikov 2016-09-23 19:56:35 +02:00
  • 57688af42e Support more elements. Import dicitonaries from markup-it. Added more tests. Andrey Okonetchnikov 2016-09-22 22:34:43 +02:00
  • 9392fdbe30 Integrated MarkitupReactRenderer with Preview pane Andrey Okonetchnikov 2016-09-22 21:53:57 +02:00
  • 04c9780ee1 Better implementation Andrey Okonetchnikov 2016-09-22 21:53:11 +02:00