locomotivecms 4.0.3 → 4.1.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +3 -0
  3. data/app/api/locomotive/api/entities/content_type_entity.rb +1 -1
  4. data/app/api/locomotive/api/entities/site_entity.rb +1 -1
  5. data/app/api/locomotive/api/forms/content_type_form.rb +2 -1
  6. data/app/api/locomotive/api/forms/site_form.rb +1 -0
  7. data/app/api/locomotive/api/helpers/persistence_helper.rb +1 -1
  8. data/app/api/locomotive/api/resources/content_asset_resource.rb +6 -0
  9. data/app/api/locomotive/api/resources/content_type_resource.rb +2 -0
  10. data/app/api/locomotive/api/resources/current_site_resource.rb +1 -1
  11. data/app/api/locomotive/api/resources/site_resource.rb +3 -1
  12. data/app/assets/javascripts/locomotive/editor.js +7819 -100
  13. data/app/assets/javascripts/locomotive/views/content_entry_imports/new_view.js.coffee +12 -0
  14. data/app/assets/javascripts/locomotive/views/content_entry_imports/show_view.js.coffee +8 -0
  15. data/app/assets/stylesheets/locomotive/application.scss +2 -0
  16. data/app/assets/stylesheets/locomotive/editor.css +105 -12
  17. data/app/assets/stylesheets/locomotive/new/_dashboard.scss +20 -0
  18. data/app/assets/stylesheets/locomotive/old/_content_assets.scss +1 -1
  19. data/app/controllers/locomotive/content_assets_controller.rb +1 -1
  20. data/app/controllers/locomotive/content_entry_imports_controller.rb +50 -0
  21. data/app/helpers/locomotive/base_helper.rb +1 -1
  22. data/app/helpers/locomotive/shared/pages_helper.rb +1 -1
  23. data/app/jobs/locomotive/import_content_entry_job.rb +12 -0
  24. data/app/mailers/locomotive/notifications.rb +37 -11
  25. data/app/models/locomotive/account.rb +1 -0
  26. data/app/models/locomotive/concerns/asset/vignette.rb +7 -5
  27. data/app/models/locomotive/concerns/content_type/import.rb +124 -0
  28. data/app/models/locomotive/concerns/site/metafields.rb +26 -0
  29. data/app/models/locomotive/content_asset.rb +9 -2
  30. data/app/models/locomotive/content_type.rb +1 -0
  31. data/app/models/locomotive/section.rb +3 -1
  32. data/app/models/locomotive/site.rb +2 -0
  33. data/app/policies/locomotive/content_entry_policy.rb +1 -2
  34. data/app/policies/locomotive/content_type_policy.rb +3 -0
  35. data/app/policies/locomotive/site_policy.rb +5 -3
  36. data/app/services/locomotive/content_asset_service.rb +27 -4
  37. data/app/services/locomotive/content_entry_import_service.rb +107 -0
  38. data/app/services/locomotive/content_entry_service.rb +1 -1
  39. data/app/uploaders/locomotive/picture_uploader.rb +1 -1
  40. data/app/uploaders/locomotive/theme_asset_uploader.rb +1 -1
  41. data/app/views/locomotive/content_assets/_dropzone.html.slim +5 -1
  42. data/app/views/locomotive/content_entries/index.html.slim +8 -0
  43. data/app/views/locomotive/content_entry_imports/new.html.slim +23 -0
  44. data/app/views/locomotive/content_entry_imports/show.html.slim +54 -0
  45. data/app/views/locomotive/current_site/form/_advanced.html.slim +2 -0
  46. data/app/views/locomotive/page_content/edit.html.erb +1 -0
  47. data/config/locales/editor.en.yml +22 -0
  48. data/config/locales/editor.fr.yml +22 -0
  49. data/config/locales/en.yml +19 -0
  50. data/config/locales/es.yml +2 -0
  51. data/config/locales/flash.en.yml +6 -0
  52. data/config/locales/mongoid.en.yml +5 -1
  53. data/config/locales/mongoid.es.yml +4 -0
  54. data/config/locales/simple_form.en.yml +13 -1
  55. data/config/locales/simple_form.es.yml +2 -0
  56. data/config/routes.rb +3 -2
  57. data/lib/locomotive/configuration.rb +1 -0
  58. data/lib/locomotive/dragonfly.rb +6 -4
  59. data/lib/locomotive/version.rb +1 -1
  60. metadata +38 -29

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.