locomotivecms 4.0.0.alpha2 → 4.0.0.alpha3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/Rakefile +14 -6
- data/app/api/locomotive/api/forms/site_form.rb +8 -2
- data/app/api/locomotive/api/helpers/locales_helper.rb +4 -0
- data/app/api/locomotive/api/resources/content_entry_resource.rb +1 -1
- data/app/assets/javascripts/locomotive/editor.js +2859 -2561
- data/app/assets/javascripts/locomotive/views/content_entries/index_view.js.coffee +4 -1
- data/app/assets/javascripts/locomotive/views/current_site/edit_view.js.coffee +6 -0
- data/app/assets/javascripts/locomotive/views/shared/bulk_delete_view.js.coffee +27 -0
- data/app/assets/javascripts/locomotive/views/translations/index_view.js.coffee +6 -0
- data/app/assets/stylesheets/locomotive/application.scss +1 -0
- data/app/assets/stylesheets/locomotive/editor.css +119 -113
- data/app/assets/stylesheets/locomotive/new/_checkbox.scss +38 -0
- data/app/assets/stylesheets/locomotive/old/_activity_feed.scss +10 -0
- data/app/assets/stylesheets/locomotive/old/_list.scss +28 -0
- data/app/assets/stylesheets/locomotive/old/_main.scss +21 -4
- data/app/assets/stylesheets/locomotive/old/_search_bars.scss +2 -5
- data/app/assets/stylesheets/locomotive/old/_translations.scss +2 -2
- data/app/controllers/locomotive/content_entries_controller.rb +5 -5
- data/app/controllers/locomotive/current_site_controller.rb +8 -1
- data/app/controllers/locomotive/custom_fields/select_options_controller.rb +1 -1
- data/app/controllers/locomotive/editable_elements_controller.rb +1 -1
- data/app/controllers/locomotive/page_content_controller.rb +2 -2
- data/app/controllers/locomotive/pages_controller.rb +1 -1
- data/app/controllers/locomotive/search_for_resources_controller.rb +1 -1
- data/app/controllers/locomotive/translations_controller.rb +7 -1
- data/app/helpers/locomotive/base_helper.rb +6 -5
- data/app/helpers/locomotive/dashboard_helper.rb +18 -6
- data/app/helpers/locomotive/page_content_helper.rb +28 -5
- data/app/helpers/locomotive/pages_helper.rb +4 -0
- data/app/helpers/locomotive/shared/pages_helper.rb +8 -4
- data/app/models/locomotive/activity.rb +1 -0
- data/app/models/locomotive/concerns/content_entry/file_size.rb +5 -1
- data/app/models/locomotive/concerns/content_type/public_submission_title_template.rb +1 -1
- data/app/models/locomotive/concerns/page/sections.rb +11 -0
- data/app/models/locomotive/concerns/site/url_redirections.rb +11 -1
- data/app/policies/locomotive/membership_policy.rb +3 -7
- data/app/services/locomotive/content_entry_service.rb +21 -10
- data/app/services/locomotive/custom_field_service.rb +28 -4
- data/app/services/locomotive/editable_element_service.rb +2 -2
- data/app/services/locomotive/editor_service.rb +47 -31
- data/app/services/locomotive/page_service.rb +2 -2
- data/app/services/locomotive/translation_service.rb +7 -0
- data/app/views/locomotive/accounts/new.html.slim +1 -1
- data/app/views/locomotive/content_assets/_list.html.slim +5 -0
- data/app/views/locomotive/content_assets/_search_form.html.slim +1 -1
- data/app/views/locomotive/content_entries/_list.html.slim +3 -3
- data/app/views/locomotive/content_entries/edit.html.slim +2 -1
- data/app/views/locomotive/content_entries/index.html.slim +53 -40
- data/app/views/locomotive/content_entries/new.html.slim +1 -1
- data/app/views/locomotive/current_site/edit.html.slim +1 -1
- data/app/views/locomotive/current_site/form/_url_redirections.html.slim +4 -0
- data/app/views/locomotive/current_site_metafields/index.html.slim +1 -1
- data/app/views/locomotive/dashboard/_activity.html.slim +3 -0
- data/app/views/locomotive/layouts/application.html.slim +3 -2
- data/app/views/locomotive/layouts/editor.html.slim +2 -0
- data/app/views/locomotive/memberships/edit.html.slim +1 -1
- data/app/views/locomotive/memberships/new.html.slim +1 -1
- data/app/views/locomotive/page_content/edit.html.erb +1 -0
- data/app/views/locomotive/page_content/edit.json.jbuilder +3 -1
- data/app/views/locomotive/pages/_header.html.slim +1 -1
- data/app/views/locomotive/pages/form/_main.html.slim +1 -1
- data/app/views/locomotive/pages/new.html.slim +1 -1
- data/app/views/locomotive/public_submission_accounts/edit.html.slim +1 -1
- data/app/views/locomotive/translations/_form.html.slim +0 -3
- data/app/views/locomotive/translations/edit.html.slim +1 -1
- data/app/views/locomotive/translations/index.html.slim +34 -15
- data/config/locales/devise.fr.yml +3 -3
- data/config/locales/editor.en.yml +39 -13
- data/config/locales/editor.fr.yml +39 -13
- data/config/locales/en.yml +4 -0
- data/config/locales/flash.en.yml +4 -0
- data/config/locales/flash.fr.yml +4 -0
- data/config/locales/fr.yml +14 -0
- data/config/locales/mongoid.fr.yml +0 -2
- data/config/locales/simple_form.en.yml +4 -0
- data/config/locales/simple_form.fr.yml +6 -1
- data/config/routes.rb +7 -4
- data/config/webpack/development.js +26 -0
- data/config/webpack/production.js +7 -0
- data/config/webpack/test.js +6 -0
- data/lib/locomotive/engine.rb +1 -0
- data/lib/locomotive/steam/middlewares/page_editing.rb +20 -1
- data/lib/locomotive/steam/services/api_entry_submission_service.rb +6 -6
- data/lib/locomotive/version.rb +1 -1
- metadata +9 -32
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.