pageflow 14.0.0.beta1 → 14.0.0.beta2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pageflow might be problematic. Click here for more details.

Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/app/assets/javascripts/pageflow/dist/react-client.js +667 -253
  4. data/app/assets/javascripts/pageflow/dist/react-server.js +663 -249
  5. data/app/assets/javascripts/pageflow/editor/collections/files_collection.js +2 -1
  6. data/app/assets/javascripts/pageflow/editor/sync.js +1 -1
  7. data/app/assets/javascripts/pageflow/page_types/mixins/default_page_content.js +8 -0
  8. data/app/assets/javascripts/pageflow/ready.js +2 -2
  9. data/app/assets/javascripts/pageflow/slideshow/dom_order_scroll_navigator.js +6 -4
  10. data/app/assets/javascripts/pageflow/slideshow.js +1 -1
  11. data/app/assets/stylesheets/pageflow/overview.scss +2 -2
  12. data/app/assets/stylesheets/pageflow/themes/default/overview/colors.scss +1 -1
  13. data/app/assets/stylesheets/pageflow/themes/default/overview/typography.scss +2 -1
  14. data/app/controllers/pageflow/editor/files_controller.rb +1 -0
  15. data/app/helpers/pageflow/common_entry_seed_helper.rb +1 -0
  16. data/app/helpers/pageflow/entries_helper.rb +1 -1
  17. data/app/helpers/pageflow/entry_json_seed_helper.rb +2 -1
  18. data/app/helpers/pageflow/meta_tags_helper.rb +6 -1
  19. data/app/helpers/pageflow/page_background_asset_helper.rb +6 -2
  20. data/app/helpers/pageflow/react_server_side_rendering_helper.rb +25 -0
  21. data/app/helpers/pageflow/structured_data_helper.rb +22 -0
  22. data/app/models/pageflow/draft_entry.rb +2 -0
  23. data/app/models/pageflow/published_entry.rb +2 -0
  24. data/app/models/pageflow/revision.rb +6 -1
  25. data/app/views/pageflow/audio_files/_audio_file.json.jbuilder +2 -0
  26. data/app/views/pageflow/chapters/_chapter.html.erb +5 -0
  27. data/app/views/pageflow/entries/_entry.html.erb +3 -2
  28. data/app/views/pageflow/entries/_multimedia_alert.html.erb +1 -1
  29. data/app/views/pageflow/entries/overview/_entry.html.erb +3 -3
  30. data/app/views/pageflow/files/_file.json.jbuilder +1 -0
  31. data/app/views/pageflow/image_files/_image_file.json.jbuilder +2 -0
  32. data/app/views/pageflow/page_background_asset/_element.html.erb +3 -3
  33. data/app/views/pageflow/pages/_page.html.erb +9 -3
  34. data/app/views/pageflow/react/_widget.html.erb +1 -4
  35. data/app/views/pageflow/react/page.html.erb +1 -4
  36. data/app/views/pageflow/structured_data/_entry.json.jbuilder +46 -0
  37. data/app/views/pageflow/video_files/_video_file.json.jbuilder +2 -1
  38. data/config/initializers/features.rb +3 -0
  39. data/config/locales/de.yml +2 -0
  40. data/config/locales/en.yml +2 -0
  41. data/lib/pageflow/built_in_file_type.rb +2 -0
  42. data/lib/pageflow/theme.rb +4 -0
  43. data/lib/pageflow/version.rb +1 -1
  44. data/spec/factories/audio_files.rb +7 -1
  45. data/spec/factories/entries.rb +3 -1
  46. data/spec/factories/image_files.rb +7 -1
  47. data/spec/factories/pages.rb +11 -0
  48. metadata +11 -4
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.0.0.beta1
4
+ version: 14.0.0.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codevise Solutions Ltd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-08 00:00:00.000000000 Z
11
+ date: 2019-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -638,14 +638,14 @@ dependencies:
638
638
  requirements:
639
639
  - - "~>"
640
640
  - !ruby/object:Gem::Version
641
- version: 1.1.x
641
+ version: 2.1.x
642
642
  type: :development
643
643
  prerelease: false
644
644
  version_requirements: !ruby/object:Gem::Requirement
645
645
  requirements:
646
646
  - - "~>"
647
647
  - !ruby/object:Gem::Version
648
- version: 1.1.x
648
+ version: 2.1.x
649
649
  - !ruby/object:Gem::Dependency
650
650
  name: domino
651
651
  requirement: !ruby/object:Gem::Requirement
@@ -1283,6 +1283,7 @@ files:
1283
1283
  - app/assets/javascripts/pageflow/page_transitions.js
1284
1284
  - app/assets/javascripts/pageflow/page_type.js
1285
1285
  - app/assets/javascripts/pageflow/page_types/mixins/common_page_css_classes.js
1286
+ - app/assets/javascripts/pageflow/page_types/mixins/default_page_content.js
1286
1287
  - app/assets/javascripts/pageflow/page_types/mixins/info_box.js
1287
1288
  - app/assets/javascripts/pageflow/page_types/mixins/video_helpers.js
1288
1289
  - app/assets/javascripts/pageflow/page_types/mixins/volume_fade.js
@@ -1672,9 +1673,11 @@ files:
1672
1673
  - app/helpers/pageflow/pages_helper.rb
1673
1674
  - app/helpers/pageflow/public_i18n_helper.rb
1674
1675
  - app/helpers/pageflow/quota_helper.rb
1676
+ - app/helpers/pageflow/react_server_side_rendering_helper.rb
1675
1677
  - app/helpers/pageflow/render_json_helper.rb
1676
1678
  - app/helpers/pageflow/social_share_helper.rb
1677
1679
  - app/helpers/pageflow/social_share_links_helper.rb
1680
+ - app/helpers/pageflow/structured_data_helper.rb
1678
1681
  - app/helpers/pageflow/stub_page_configuration.rb
1679
1682
  - app/helpers/pageflow/text_direction_helper.rb
1680
1683
  - app/helpers/pageflow/themes_helper.rb
@@ -1808,7 +1811,9 @@ files:
1808
1811
  - app/views/pageflow/admin/users/_quota_state.html.erb
1809
1812
  - app/views/pageflow/admin/widgets/_fields.html.erb
1810
1813
  - app/views/pageflow/audio_files/_audio_file.html.erb
1814
+ - app/views/pageflow/audio_files/_audio_file.json.jbuilder
1811
1815
  - app/views/pageflow/audio_files/_script_tag.html.erb
1816
+ - app/views/pageflow/chapters/_chapter.html.erb
1812
1817
  - app/views/pageflow/config/_editor_seeds.json.jbuilder
1813
1818
  - app/views/pageflow/devise/mailer/confirmation_instructions.html.erb
1814
1819
  - app/views/pageflow/devise/mailer/reset_password_instructions.html.erb
@@ -1875,6 +1880,7 @@ files:
1875
1880
  - app/views/pageflow/help_entries/_menu.html.erb
1876
1881
  - app/views/pageflow/help_entries/_menu_item.html.erb
1877
1882
  - app/views/pageflow/help_entries/_section.html.erb
1883
+ - app/views/pageflow/image_files/_image_file.json.jbuilder
1878
1884
  - app/views/pageflow/meta_tags/_entry.html.erb
1879
1885
  - app/views/pageflow/page_background_asset/_element.html.erb
1880
1886
  - app/views/pageflow/page_types/_page_type.json.jbuilder
@@ -1887,6 +1893,7 @@ files:
1887
1893
  - app/views/pageflow/social_share/_entry_meta_tags.html.erb
1888
1894
  - app/views/pageflow/social_share/_image_tags.html.erb
1889
1895
  - app/views/pageflow/social_share/_page_meta_tags.html.erb
1896
+ - app/views/pageflow/structured_data/_entry.json.jbuilder
1890
1897
  - app/views/pageflow/themes/_theme.json.jbuilder
1891
1898
  - app/views/pageflow/user_mailer/invitation.html.erb
1892
1899
  - app/views/pageflow/user_mailer/invitation.text.erb