Permalink
Browse files

Frontend for the structure / content split

- Upgrade webpack setup
- Upgrade node deps and node requirement itself
- Content reloading
- No-reload when plugins update in the structure
  • Loading branch information...
vxsx authored and czpython committed May 12, 2017
1 parent 0fc0426 commit 14bab38430111afce806a597adf15c7e370e606d
Showing with 3,221 additions and 1,963 deletions.
  1. +5 −0 .babelrc
  2. +2 −1 .eslintrc.js
  3. +1 −1 cms/static/cms/css/3.4.3/cms.base.css
  4. +1 −1 cms/static/cms/css/3.4.3/cms.pagetree.css
  5. +1 −1 cms/static/cms/js/dist/3.4.3/bundle.admin.base.min.js
  6. +1 −1 cms/static/cms/js/dist/3.4.3/bundle.admin.changeform.min.js
  7. +1 −1 cms/static/cms/js/dist/3.4.3/bundle.admin.pagetree.min.js
  8. +1 −1 cms/static/cms/js/dist/3.4.3/bundle.admin.widget.min.js
  9. +1 −1 cms/static/cms/js/dist/3.4.3/bundle.forms.apphookselect.min.js
  10. +1 −1 cms/static/cms/js/dist/3.4.3/bundle.forms.pageselectwidget.min.js
  11. +1 −1 cms/static/cms/js/dist/3.4.3/bundle.forms.pagesmartlinkwidget.min.js
  12. +1 −1 cms/static/cms/js/dist/3.4.3/bundle.forms.slugwidget.min.js
  13. +1 −1 cms/static/cms/js/dist/3.4.3/bundle.toolbar.min.js
  14. +7 −3 cms/static/cms/js/modules/cms.base.js
  15. +3 −3 cms/static/cms/js/modules/cms.changetracker.js
  16. +23 −13 cms/static/cms/js/modules/cms.clipboard.js
  17. +8 −5 cms/static/cms/js/modules/cms.modal.js
  18. +277 −221 cms/static/cms/js/modules/cms.plugins.js
  19. +323 −213 cms/static/cms/js/modules/cms.structureboard.js
  20. +44 −34 cms/static/cms/js/modules/cms.toolbar.js
  21. +0 −4 cms/static/cms/js/modules/dropdown.js
  22. +1 −1 cms/static/cms/js/modules/nextuntil.js
  23. +35 −0 cms/static/cms/js/modules/preload-images.js
  24. +1 −1 cms/static/cms/js/modules/shortcuts/help.js
  25. +1 −1 cms/static/cms/js/modules/simplemap.js
  26. +1 −1 cms/static/cms/js/modules/tmpl.js
  27. +4 −0 cms/static/cms/sass/components/_button.scss
  28. +1 −1 cms/templates/cms/toolbar/clipboard.html
  29. +1 −1 cms/templates/cms/toolbar/dragitem.html
  30. +1 −1 cms/templates/cms/toolbar/items/button.html
  31. +3 −3 cms/templates/cms/toolbar/items/live_draft.html
  32. +7 −7 cms/templates/cms/toolbar/items/login.html
  33. +1 −1 cms/templates/cms/toolbar/plugin.html
  34. +3 −3 cms/templates/cms/toolbar/structure.html
  35. +6 −87 cms/templates/cms/toolbar/toolbar.html
  36. +21 −12 cms/templates/cms/toolbar/toolbar_javascript.html
  37. +92 −0 cms/templates/cms/toolbar/toolbar_with_structure.html
  38. +1 −1 cms/templatetags/cms_js_tags.py
  39. +2 −0 cms/tests/frontend/karma.conf.js
  40. +25 −0 cms/tests/frontend/unit/cms.base.test.js
  41. +53 −16 cms/tests/frontend/unit/cms.clipboard.test.js
  42. +1 −1 cms/tests/frontend/unit/cms.modal.test.js
  43. +2 −0 cms/tests/frontend/unit/cms.pagetree.test.js
  44. +108 −263 cms/tests/frontend/unit/cms.plugins.test.js
  45. +1,260 −71 cms/tests/frontend/unit/cms.structureboard.test.js
  46. +96 −10 cms/tests/frontend/unit/cms.toolbar.test.js
  47. +6 −5 cms/tests/frontend/unit/index.js
  48. +783 −968 npm-shrinkwrap.json
  49. +2 −0 package.json
@@ -10,6 +10,11 @@
"plugins": [
"lodash"
]
},
"test": {
"plugins": [
"rewire"
]
}
}
}
@@ -7,7 +7,8 @@ module.exports = {
"es6": true
},
"globals": {
"CMS": true
"CMS": true,
"Promise": true
},
"root": true,
"ecmaFeatures": {

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 14bab38

Please sign in to comment.