pageflow 14.0.0 → 14.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 (72) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +59 -90
  3. data/admins/pageflow/accounts.rb +6 -2
  4. data/app/assets/javascripts/pageflow/dist/react-client.js +1 -1
  5. data/app/assets/javascripts/pageflow/dist/react-server.js +1 -1
  6. data/app/assets/javascripts/pageflow/editor/views/configuration_editors/groups/general.js +4 -1
  7. data/app/assets/javascripts/pageflow/editor/views/edit_meta_data_view.js +4 -0
  8. data/app/assets/javascripts/pageflow/page_types/mixins/default_page_content.js +1 -1
  9. data/app/assets/javascripts/pageflow/slideshow/page_split_layout.js +1 -1
  10. data/app/assets/javascripts/pageflow/slideshow/page_widget.js +4 -3
  11. data/app/assets/javascripts/pageflow/ui.js +1 -1
  12. data/app/assets/javascripts/pageflow/ui/templates/inputs/check_box_group_input.jst.ejs +5 -0
  13. data/app/assets/javascripts/pageflow/ui/templates/inputs/text_area_input.jst.ejs +45 -6
  14. data/app/assets/javascripts/pageflow/ui/views/inputs/check_box_group_input_view.js +75 -0
  15. data/app/assets/javascripts/pageflow/ui/views/inputs/text_area_input_view.js +131 -18
  16. data/app/assets/javascripts/pageflow/widgets/navigation.js +2 -2
  17. data/app/assets/javascripts/pageflow/widgets/share_menu.js +1 -1
  18. data/app/assets/stylesheets/pageflow/base.scss +7 -0
  19. data/app/assets/stylesheets/pageflow/editor/wysihtml5.scss +84 -5
  20. data/app/assets/stylesheets/pageflow/mixins/icons.scss +3 -1
  21. data/app/assets/stylesheets/pageflow/navigation_mobile.scss +13 -19
  22. data/app/assets/stylesheets/pageflow/subshare.scss +16 -14
  23. data/app/assets/stylesheets/pageflow/themes/default/base.scss +1 -0
  24. data/app/assets/stylesheets/pageflow/themes/default/mobile_navigation.scss +2 -2
  25. data/app/assets/stylesheets/pageflow/themes/default/navigation.scss +7 -1
  26. data/app/assets/stylesheets/pageflow/themes/default/navigation/dimensions.scss +34 -9
  27. data/app/assets/stylesheets/pageflow/themes/default/navigation/icons/icon_font.scss +1 -53
  28. data/app/assets/stylesheets/pageflow/themes/default/navigation/icons/sprite.scss +0 -12
  29. data/app/assets/stylesheets/pageflow/themes/default/navigation_share_box.scss +40 -0
  30. data/app/assets/stylesheets/pageflow/themes/default/navigation_share_box/icon_colors.scss +46 -0
  31. data/app/assets/stylesheets/pageflow/themes/default/overview/icons/icon_font.scss +1 -4
  32. data/app/assets/stylesheets/pageflow/themes/default/page.scss +7 -33
  33. data/app/assets/stylesheets/pageflow/themes/default/page/anchors.scss +10 -8
  34. data/app/assets/stylesheets/pageflow/themes/default/page/colors.scss +41 -0
  35. data/app/assets/stylesheets/pageflow/themes/default/page/content_text_margin.scss +1 -1
  36. data/app/assets/stylesheets/pageflow/themes/default/page/line_lengths.scss +3 -3
  37. data/app/assets/stylesheets/pageflow/ui.scss +1 -0
  38. data/app/assets/stylesheets/pageflow/ui/input/check_box_group_input.scss +15 -0
  39. data/app/controllers/pageflow/entries_controller.rb +2 -1
  40. data/app/helpers/pageflow/navigation_bar_helper.rb +7 -1
  41. data/app/helpers/pageflow/pages_helper.rb +1 -1
  42. data/app/helpers/pageflow/social_share_links_helper.rb +5 -1
  43. data/app/models/pageflow/draft_entry.rb +1 -0
  44. data/app/models/pageflow/published_entry.rb +1 -0
  45. data/app/models/pageflow/revision.rb +10 -0
  46. data/app/models/pageflow/theming.rb +19 -0
  47. data/app/views/admin/accounts/_form.html.erb +5 -0
  48. data/app/views/admin/accounts/_theming_details.html.arb +3 -0
  49. data/app/views/pageflow/config/_editor_seeds.json.jbuilder +2 -1
  50. data/app/views/pageflow/editor/entries/_entry.json.jbuilder +1 -1
  51. data/app/views/pageflow/entries/_mobile_navigation.html.erb +9 -11
  52. data/app/views/pageflow/entries/navigation/_bar_top.html.erb +1 -7
  53. data/app/views/pageflow/entries/navigation/_share_box_content.html.erb +9 -0
  54. data/app/views/pageflow/entries/share_menu/_email_link.html.erb +14 -0
  55. data/app/views/pageflow/entries/share_menu/_facebook_link.html.erb +11 -2
  56. data/app/views/pageflow/entries/share_menu/_linked_in_link.html.erb +18 -0
  57. data/app/views/pageflow/entries/share_menu/_telegram_link.html.erb +17 -0
  58. data/app/views/pageflow/entries/share_menu/_twitter_link.html.erb +16 -2
  59. data/app/views/pageflow/entries/share_menu/_whats_app_link.html.erb +21 -0
  60. data/config/initializers/paperclip.rb +0 -4
  61. data/config/locales/de.yml +22 -1
  62. data/config/locales/en.yml +22 -1
  63. data/db/migrate/20190408144136_add_default_share_providers_to_themings.rb +5 -0
  64. data/db/migrate/20190408161315_add_share_providers_to_revisions.rb +5 -0
  65. data/lib/generators/pageflow/initializer/templates/pageflow.rb +0 -14
  66. data/lib/pageflow/configuration.rb +27 -6
  67. data/lib/pageflow/engine.rb +1 -1
  68. data/lib/pageflow/version.rb +1 -1
  69. metadata +21 -11
  70. data/app/assets/images/pageflow/themes/default/mobile_navigation/sharing_icons_sprite.png +0 -0
  71. data/app/assets/stylesheets/pageflow/themes/default/navigation/share_box.scss +0 -28
  72. data/app/views/pageflow/entries/share_menu/_google_link.html.erb +0 -5
@@ -21,7 +21,7 @@ require 'backbone-rails'
21
21
  require 'marionette-rails'
22
22
  require 'jquery-fileupload-rails'
23
23
  require 'jquery-minicolors-rails'
24
- require 'wysihtml5x/rails'
24
+ require 'wysihtml/rails'
25
25
  require 'i18n-js'
26
26
  require 'http_accept_language'
27
27
  require 'pageflow-public-i18n'
@@ -1,3 +1,3 @@
1
1
  module Pageflow
2
- VERSION = '14.0.0'.freeze
2
+ VERSION = '14.1.0'.freeze
3
3
  end
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
4
+ version: 14.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: 2019-04-08 00:00:00.000000000 Z
11
+ date: 2019-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -361,19 +361,19 @@ dependencies:
361
361
  - !ruby/object:Gem::Version
362
362
  version: '2.1'
363
363
  - !ruby/object:Gem::Dependency
364
- name: wysihtml5x-rails
364
+ name: wysihtml-rails
365
365
  requirement: !ruby/object:Gem::Requirement
366
366
  requirements:
367
367
  - - '='
368
368
  - !ruby/object:Gem::Version
369
- version: 0.4.17
369
+ version: 0.5.5
370
370
  type: :runtime
371
371
  prerelease: false
372
372
  version_requirements: !ruby/object:Gem::Requirement
373
373
  requirements:
374
374
  - - '='
375
375
  - !ruby/object:Gem::Version
376
- version: 0.4.17
376
+ version: 0.5.5
377
377
  - !ruby/object:Gem::Dependency
378
378
  name: bourbon
379
379
  requirement: !ruby/object:Gem::Requirement
@@ -442,14 +442,14 @@ dependencies:
442
442
  requirements:
443
443
  - - "~>"
444
444
  - !ruby/object:Gem::Version
445
- version: '1.16'
445
+ version: '1.17'
446
446
  type: :runtime
447
447
  prerelease: false
448
448
  version_requirements: !ruby/object:Gem::Requirement
449
449
  requirements:
450
450
  - - "~>"
451
451
  - !ruby/object:Gem::Version
452
- version: '1.16'
452
+ version: '1.17'
453
453
  - !ruby/object:Gem::Dependency
454
454
  name: bcrypt
455
455
  requirement: !ruby/object:Gem::Requirement
@@ -923,7 +923,6 @@ files:
923
923
  - app/assets/images/pageflow/themes/default/menu_sprite.png
924
924
  - app/assets/images/pageflow/themes/default/mobile_navigation/imprint_sprite.png
925
925
  - app/assets/images/pageflow/themes/default/mobile_navigation/index_sprite.png
926
- - app/assets/images/pageflow/themes/default/mobile_navigation/sharing_icons_sprite.png
927
926
  - app/assets/images/pageflow/themes/default/mobile_navigation/sharing_sprite.png
928
927
  - app/assets/images/pageflow/themes/default/overview_chapter_borders/bottom.png
929
928
  - app/assets/images/pageflow/themes/default/overview_chapter_borders/end.png
@@ -1316,6 +1315,7 @@ files:
1316
1315
  - app/assets/javascripts/pageflow/ui/object.js
1317
1316
  - app/assets/javascripts/pageflow/ui/renderer.js
1318
1317
  - app/assets/javascripts/pageflow/ui/templates/inputs/check_box.jst.ejs
1318
+ - app/assets/javascripts/pageflow/ui/templates/inputs/check_box_group_input.jst.ejs
1319
1319
  - app/assets/javascripts/pageflow/ui/templates/inputs/select_input.jst.ejs
1320
1320
  - app/assets/javascripts/pageflow/ui/templates/inputs/slider_input.jst.ejs
1321
1321
  - app/assets/javascripts/pageflow/ui/templates/inputs/text_area_input.jst.ejs
@@ -1330,6 +1330,7 @@ files:
1330
1330
  - app/assets/javascripts/pageflow/ui/views/collection_view.js
1331
1331
  - app/assets/javascripts/pageflow/ui/views/configuration_editor_tab_view.js
1332
1332
  - app/assets/javascripts/pageflow/ui/views/configuration_editor_view.js
1333
+ - app/assets/javascripts/pageflow/ui/views/inputs/check_box_group_input_view.js
1333
1334
  - app/assets/javascripts/pageflow/ui/views/inputs/check_box_input_view.js
1334
1335
  - app/assets/javascripts/pageflow/ui/views/inputs/color_input_view.js
1335
1336
  - app/assets/javascripts/pageflow/ui/views/inputs/extended_select_input_view.js
@@ -1555,10 +1556,11 @@ files:
1555
1556
  - app/assets/stylesheets/pageflow/themes/default/navigation/icons/sprite.scss
1556
1557
  - app/assets/stylesheets/pageflow/themes/default/navigation/menu_boxes.scss
1557
1558
  - app/assets/stylesheets/pageflow/themes/default/navigation/separator_lines.scss
1558
- - app/assets/stylesheets/pageflow/themes/default/navigation/share_box.scss
1559
1559
  - app/assets/stylesheets/pageflow/themes/default/navigation/typography.scss
1560
1560
  - app/assets/stylesheets/pageflow/themes/default/navigation/volume_control.scss
1561
1561
  - app/assets/stylesheets/pageflow/themes/default/navigation/widget_margin.scss
1562
+ - app/assets/stylesheets/pageflow/themes/default/navigation_share_box.scss
1563
+ - app/assets/stylesheets/pageflow/themes/default/navigation_share_box/icon_colors.scss
1562
1564
  - app/assets/stylesheets/pageflow/themes/default/overview.scss
1563
1565
  - app/assets/stylesheets/pageflow/themes/default/overview/chapter_border_images.scss
1564
1566
  - app/assets/stylesheets/pageflow/themes/default/overview/chapter_numbers.scss
@@ -1568,6 +1570,7 @@ files:
1568
1570
  - app/assets/stylesheets/pageflow/themes/default/overview/typography.scss
1569
1571
  - app/assets/stylesheets/pageflow/themes/default/page.scss
1570
1572
  - app/assets/stylesheets/pageflow/themes/default/page/anchors.scss
1573
+ - app/assets/stylesheets/pageflow/themes/default/page/colors.scss
1571
1574
  - app/assets/stylesheets/pageflow/themes/default/page/content_text_margin.scss
1572
1575
  - app/assets/stylesheets/pageflow/themes/default/page/header.scss
1573
1576
  - app/assets/stylesheets/pageflow/themes/default/page/hyphenate.scss
@@ -1616,6 +1619,7 @@ files:
1616
1619
  - app/assets/stylesheets/pageflow/themes/default/video_player/vjs_base.scss
1617
1620
  - app/assets/stylesheets/pageflow/ui.scss
1618
1621
  - app/assets/stylesheets/pageflow/ui/forms.scss
1622
+ - app/assets/stylesheets/pageflow/ui/input/check_box_group_input.scss
1619
1623
  - app/assets/stylesheets/pageflow/ui/input/color_input.scss
1620
1624
  - app/assets/stylesheets/pageflow/ui/input/extended_select_input.scss
1621
1625
  - app/assets/stylesheets/pageflow/ui/table_cells/delete_row_table_cell.scss
@@ -1862,13 +1866,17 @@ files:
1862
1866
  - app/views/pageflow/entries/navigation/_home_button.html.erb
1863
1867
  - app/views/pageflow/entries/navigation/_overview_button.html.erb
1864
1868
  - app/views/pageflow/entries/navigation/_page.html.erb
1869
+ - app/views/pageflow/entries/navigation/_share_box_content.html.erb
1865
1870
  - app/views/pageflow/entries/overview/_chapter.html.erb
1866
1871
  - app/views/pageflow/entries/overview/_entry.html.erb
1867
1872
  - app/views/pageflow/entries/overview/_page.html.erb
1868
1873
  - app/views/pageflow/entries/partials.html.erb
1874
+ - app/views/pageflow/entries/share_menu/_email_link.html.erb
1869
1875
  - app/views/pageflow/entries/share_menu/_facebook_link.html.erb
1870
- - app/views/pageflow/entries/share_menu/_google_link.html.erb
1876
+ - app/views/pageflow/entries/share_menu/_linked_in_link.html.erb
1877
+ - app/views/pageflow/entries/share_menu/_telegram_link.html.erb
1871
1878
  - app/views/pageflow/entries/share_menu/_twitter_link.html.erb
1879
+ - app/views/pageflow/entries/share_menu/_whats_app_link.html.erb
1872
1880
  - app/views/pageflow/entries/show.css.erb
1873
1881
  - app/views/pageflow/entries/show.html.erb
1874
1882
  - app/views/pageflow/entries/show.json.jbuilder
@@ -1922,6 +1930,8 @@ files:
1922
1930
  - db/migrate/20190109085744_add_default_locale_to_themings.rb
1923
1931
  - db/migrate/20190306161431_copy_file_attributes_of_failed_uploads.rb
1924
1932
  - db/migrate/20190404075934_copy_filenames_of_processing_failed_images.rb
1933
+ - db/migrate/20190408144136_add_default_share_providers_to_themings.rb
1934
+ - db/migrate/20190408161315_add_share_providers_to_revisions.rb
1925
1935
  - lib/generators/pageflow/active_admin_initializer/active_admin_initializer_generator.rb
1926
1936
  - lib/generators/pageflow/assets/assets_generator.rb
1927
1937
  - lib/generators/pageflow/assets/templates/application.js
@@ -2081,7 +2091,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2081
2091
  version: '0'
2082
2092
  requirements: []
2083
2093
  rubyforge_project:
2084
- rubygems_version: 2.7.5
2094
+ rubygems_version: 2.7.8
2085
2095
  signing_key:
2086
2096
  specification_version: 4
2087
2097
  summary: Multimedia story telling for the web.
@@ -1,28 +0,0 @@
1
- .navigation_share_box {
2
- width: 210px;
3
- padding: 7px 15px 15px 15px;
4
-
5
- a {
6
- float: left;
7
- position: relative;
8
- text-decoration: none;
9
- padding: 0 15px 0 15px;
10
- width: 39px;
11
- }
12
-
13
- p {
14
- position: absolute;
15
- left: 0;
16
- bottom: -10px;
17
- width: 100%;
18
- font-size: 13px;
19
- text-align: center;
20
- }
21
-
22
- .button {
23
- display: block;
24
- width: 28px;
25
- height: 42px;
26
- margin: auto;
27
- }
28
- }
@@ -1,5 +0,0 @@
1
- <%= social_share_link(:google, entry) do %>
2
- <span class="hint"><%= t('pageflow.public.share_on_google') %></span>
3
- <span class="share_google button"></span>
4
- <p>google</p>
5
- <% end %>