pageflow 13.0.0 → 13.1.0

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 (51) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +49 -267
  3. data/admins/pageflow/accounts.rb +5 -3
  4. data/app/assets/javascripts/pageflow/base.js +1 -0
  5. data/app/assets/javascripts/pageflow/browser/video.js +6 -1
  6. data/app/assets/javascripts/pageflow/delayed_start.js +50 -0
  7. data/app/assets/javascripts/pageflow/dist/react.js +1733 -989
  8. data/app/assets/javascripts/pageflow/editor/models/widget.js +2 -1
  9. data/app/assets/javascripts/pageflow/editor/models/widget_configuration_file_selection_handler.js +16 -0
  10. data/app/assets/javascripts/pageflow/editor/views/entry_preview_view.js +2 -0
  11. data/app/assets/javascripts/pageflow/editor/views/widget_types/classic_loading_spinner.js +11 -0
  12. data/app/assets/javascripts/pageflow/editor/views/widget_types/title_loading_spinner.js +20 -0
  13. data/app/assets/javascripts/pageflow/jquery_utils.js +10 -0
  14. data/app/assets/javascripts/pageflow/manual_start.js +2 -20
  15. data/app/assets/javascripts/pageflow/ready.js +3 -1
  16. data/app/assets/javascripts/pageflow/slideshow.js +1 -1
  17. data/app/assets/javascripts/pageflow/slideshow/page_widget.js +1 -1
  18. data/app/assets/javascripts/pageflow/slideshow/scroll_indicator_widget.js +1 -1
  19. data/app/assets/javascripts/pageflow/video_player/filter_sources.js +16 -2
  20. data/app/assets/javascripts/pageflow/widgets.js +1 -0
  21. data/app/assets/javascripts/pageflow/widgets/navigation.js +1 -0
  22. data/app/assets/javascripts/pageflow/widgets/navigation_mobile.js +1 -0
  23. data/app/assets/javascripts/pageflow/widgets/overview.js +3 -1
  24. data/app/assets/stylesheets/pageflow/navigation_bar.scss +0 -4
  25. data/app/assets/stylesheets/pageflow/themes/default/loading_spinner.scss +2 -0
  26. data/app/assets/stylesheets/pageflow/themes/default/loading_spinner/title.scss +158 -0
  27. data/app/assets/stylesheets/pageflow/themes/default/logo/variant/background_image.scss +35 -30
  28. data/app/assets/stylesheets/pageflow/themes/default/logo/variant/watermark.scss +25 -10
  29. data/app/helpers/pageflow/common_entry_seed_helper.rb +0 -1
  30. data/app/helpers/pageflow/entry_json_seed_helper.rb +7 -0
  31. data/app/models/pageflow/theming.rb +2 -1
  32. data/app/views/admin/accounts/_form.html.erb +7 -0
  33. data/app/views/admin/accounts/_theming_details.html.arb +3 -0
  34. data/app/views/pageflow/entries/_mobile_navigation.html.erb +2 -3
  35. data/app/views/pageflow/entries/mobile_navigation/_page.html.erb +5 -0
  36. data/app/views/pageflow/entries/navigation/_page.html.erb +3 -1
  37. data/app/views/pageflow/entries/overview/_page.html.erb +1 -1
  38. data/app/views/pageflow/entries/show.html.erb +0 -1
  39. data/app/views/pageflow/entry_json_seed/_entry.json.jbuilder +1 -0
  40. data/app/views/pageflow/react/_widget.html.erb +8 -1
  41. data/config/locales/de.yml +27 -0
  42. data/config/locales/en.yml +27 -0
  43. data/db/migrate/20190109085744_add_default_locale_to_themings.rb +6 -0
  44. data/lib/pageflow/built_in_widget_type.rb +14 -0
  45. data/lib/pageflow/built_in_widget_types_plugin.rb +12 -1
  46. data/lib/pageflow/react.rb +2 -2
  47. data/lib/pageflow/react/widget_type.rb +5 -2
  48. data/lib/pageflow/version.rb +1 -1
  49. metadata +10 -5
  50. data/app/assets/javascripts/pageflow/widgets/loading_spinner.js +0 -23
  51. data/app/views/pageflow/entries/_loading_spinner.html.erb +0 -5
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: 13.0.0
4
+ version: 13.1.0
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: 2018-12-07 00:00:00.000000000 Z
11
+ date: 2019-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -986,6 +986,7 @@ files:
986
986
  - app/assets/javascripts/pageflow/components.js
987
987
  - app/assets/javascripts/pageflow/cookie_notice.js
988
988
  - app/assets/javascripts/pageflow/cookies.js
989
+ - app/assets/javascripts/pageflow/delayed_start.js
989
990
  - app/assets/javascripts/pageflow/dist/react.js
990
991
  - app/assets/javascripts/pageflow/editor/api.js
991
992
  - app/assets/javascripts/pageflow/editor/api/errors.js
@@ -1084,6 +1085,7 @@ files:
1084
1085
  - app/assets/javascripts/pageflow/editor/models/video_file.js
1085
1086
  - app/assets/javascripts/pageflow/editor/models/widget.js
1086
1087
  - app/assets/javascripts/pageflow/editor/models/widget_configuration.js
1088
+ - app/assets/javascripts/pageflow/editor/models/widget_configuration_file_selection_handler.js
1087
1089
  - app/assets/javascripts/pageflow/editor/routers/sidebar_router.js
1088
1090
  - app/assets/javascripts/pageflow/editor/sync.js
1089
1091
  - app/assets/javascripts/pageflow/editor/templates/back_button_decorator.jst.ejs
@@ -1245,8 +1247,10 @@ files:
1245
1247
  - app/assets/javascripts/pageflow/editor/views/uploadable_files_view.js
1246
1248
  - app/assets/javascripts/pageflow/editor/views/uploader_view.js
1247
1249
  - app/assets/javascripts/pageflow/editor/views/widget_item_view.js
1250
+ - app/assets/javascripts/pageflow/editor/views/widget_types/classic_loading_spinner.js
1248
1251
  - app/assets/javascripts/pageflow/editor/views/widget_types/cookie_notice_bar.js
1249
1252
  - app/assets/javascripts/pageflow/editor/views/widget_types/phone_horizontal_slideshow_mode.js
1253
+ - app/assets/javascripts/pageflow/editor/views/widget_types/title_loading_spinner.js
1250
1254
  - app/assets/javascripts/pageflow/entry_data.js
1251
1255
  - app/assets/javascripts/pageflow/events.js
1252
1256
  - app/assets/javascripts/pageflow/features.js
@@ -1367,7 +1371,6 @@ files:
1367
1371
  - app/assets/javascripts/pageflow/widgets/events.js
1368
1372
  - app/assets/javascripts/pageflow/widgets/fullscreen_button.js
1369
1373
  - app/assets/javascripts/pageflow/widgets/header.js
1370
- - app/assets/javascripts/pageflow/widgets/loading_spinner.js
1371
1374
  - app/assets/javascripts/pageflow/widgets/multimedia_alert.js
1372
1375
  - app/assets/javascripts/pageflow/widgets/mute_button.js
1373
1376
  - app/assets/javascripts/pageflow/widgets/navigation.js
@@ -1530,6 +1533,7 @@ files:
1530
1533
  - app/assets/stylesheets/pageflow/themes/default/indicators/typography.scss
1531
1534
  - app/assets/stylesheets/pageflow/themes/default/indicators/widget_margins.scss
1532
1535
  - app/assets/stylesheets/pageflow/themes/default/loading_spinner.scss
1536
+ - app/assets/stylesheets/pageflow/themes/default/loading_spinner/title.scss
1533
1537
  - app/assets/stylesheets/pageflow/themes/default/logo.scss
1534
1538
  - app/assets/stylesheets/pageflow/themes/default/logo/alignment.scss
1535
1539
  - app/assets/stylesheets/pageflow/themes/default/logo/variant/background_image.scss
@@ -1827,7 +1831,6 @@ files:
1827
1831
  - app/views/pageflow/entries/_header.html.erb
1828
1832
  - app/views/pageflow/entries/_ie8_hint.html.erb
1829
1833
  - app/views/pageflow/entries/_indicators.html.erb
1830
- - app/views/pageflow/entries/_loading_spinner.html.erb
1831
1834
  - app/views/pageflow/entries/_mobile_navigation.html.erb
1832
1835
  - app/views/pageflow/entries/_multimedia_alert.html.erb
1833
1836
  - app/views/pageflow/entries/_navigation.html.erb
@@ -1836,6 +1839,7 @@ files:
1836
1839
  - app/views/pageflow/entries/_skip_links.html.erb
1837
1840
  - app/views/pageflow/entries/_theming.css.erb
1838
1841
  - app/views/pageflow/entries/edit.html.erb
1842
+ - app/views/pageflow/entries/mobile_navigation/_page.html.erb
1839
1843
  - app/views/pageflow/entries/navigation/_bar_bottom.html.erb
1840
1844
  - app/views/pageflow/entries/navigation/_bar_top.html.erb
1841
1845
  - app/views/pageflow/entries/navigation/_credits_box_content.html.erb
@@ -1896,6 +1900,7 @@ files:
1896
1900
  - db/migrate/20140418225525_setup_schema.rb
1897
1901
  - db/migrate/20140418240000_add_attributes_to_users.rb
1898
1902
  - db/migrate/20180528144334_add_privacy_link_url_to_themings.rb
1903
+ - db/migrate/20190109085744_add_default_locale_to_themings.rb
1899
1904
  - lib/generators/pageflow/active_admin_initializer/active_admin_initializer_generator.rb
1900
1905
  - lib/generators/pageflow/assets/assets_generator.rb
1901
1906
  - lib/generators/pageflow/assets/templates/application.js
@@ -2054,7 +2059,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2054
2059
  version: '0'
2055
2060
  requirements: []
2056
2061
  rubyforge_project:
2057
- rubygems_version: 2.7.5
2062
+ rubygems_version: 2.7.8
2058
2063
  signing_key:
2059
2064
  specification_version: 4
2060
2065
  summary: Multimedia story telling for the web.
@@ -1,23 +0,0 @@
1
- (function($) {
2
- $.widget('pageflow.loadingSpinner', {
3
- _create: function() {
4
- var element = this.element;
5
-
6
- pageflow.nativeScrolling.preventScrollBouncing(element);
7
-
8
- setTimeout(function() {
9
- pageflow.ready.then(function() {
10
- element.addClass('fade');
11
-
12
- setTimeout(function() {
13
- element.hide();
14
- }, 1000);
15
- });
16
- }, 1000);
17
- }
18
- });
19
-
20
- $(function() {
21
- $('.loading_spinner').loadingSpinner();
22
- });
23
- }(jQuery));
@@ -1,5 +0,0 @@
1
- <div class="loading_spinner"
2
- id="loading_spinner"
3
- style="position: absolute; width: 100%; height: 100%; background-color: #3b5159; top: 0; left: 0;">
4
- <div class="loading_spinner_inner"><div></div></div>
5
- </div>