pageflow 15.1.1 → 15.3.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 (164) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +337 -162
  3. data/README.md +1 -2
  4. data/admins/pageflow/accounts.rb +13 -35
  5. data/admins/pageflow/entry.rb +21 -1
  6. data/admins/pageflow/entry_templates.rb +140 -0
  7. data/admins/pageflow/membership.rb +12 -0
  8. data/admins/pageflow/user.rb +5 -3
  9. data/app/assets/javascripts/pageflow/admin/accounts.js +3 -3
  10. data/app/assets/javascripts/pageflow/admin/entries.js +65 -0
  11. data/app/assets/javascripts/pageflow/admin/users.js +1 -1
  12. data/app/assets/javascripts/pageflow/asset_urls.js.erb +1 -0
  13. data/app/assets/javascripts/pageflow/base.js +0 -12
  14. data/app/assets/javascripts/pageflow/components.js +2 -6
  15. data/app/assets/javascripts/pageflow/dist/ui.js +56 -14
  16. data/app/assets/javascripts/pageflow/vendor.js +13 -10
  17. data/app/assets/stylesheets/pageflow/base.scss +0 -7
  18. data/app/assets/stylesheets/pageflow/editor/base.scss +2 -0
  19. data/app/assets/stylesheets/pageflow/editor/composables.scss +5 -1
  20. data/app/assets/stylesheets/pageflow/editor/emulation_mode_button.scss +44 -55
  21. data/app/assets/stylesheets/pageflow/editor/help.scss +2 -2
  22. data/app/assets/stylesheets/pageflow/themes/default/logo/variant/background_image.scss +4 -0
  23. data/app/assets/stylesheets/pageflow/themes/default/logo/variant/watermark.scss +5 -0
  24. data/app/assets/stylesheets/pageflow/ui/tooltip.scss +17 -3
  25. data/app/controllers/pageflow/editor/widgets_controller.rb +1 -1
  26. data/app/helpers/pageflow/admin/entries_helper.rb +16 -0
  27. data/app/helpers/pageflow/pages_helper.rb +1 -0
  28. data/app/helpers/pageflow/structured_data_helper.rb +0 -2
  29. data/app/models/pageflow/account.rb +26 -0
  30. data/app/models/pageflow/draft_entry.rb +13 -3
  31. data/app/models/pageflow/entry.rb +16 -2
  32. data/app/models/pageflow/entry_duplicate.rb +1 -0
  33. data/app/models/pageflow/entry_template.rb +69 -0
  34. data/app/models/pageflow/published_entry.rb +13 -3
  35. data/app/models/pageflow/revision.rb +1 -1
  36. data/app/models/pageflow/theming.rb +8 -47
  37. data/app/policies/pageflow/account_policy.rb +10 -0
  38. data/app/policies/pageflow/entry_template_policy.rb +22 -0
  39. data/app/policies/pageflow/theming_policy.rb +0 -4
  40. data/app/views/admin/accounts/_configuration_label.html.erb +5 -0
  41. data/app/views/admin/accounts/_entry_template_details.html.arb +19 -0
  42. data/app/views/admin/accounts/_form.html.erb +5 -31
  43. data/app/views/admin/accounts/_share_providers_label.html.erb +5 -0
  44. data/app/views/admin/accounts/_theming_details.html.arb +0 -12
  45. data/app/views/admin/entries/_attributes_table.html.arb +5 -0
  46. data/app/views/admin/entries/_not_allowed_to_see_entry_types.json.jbuilder +2 -0
  47. data/app/views/admin/entries/entry_types.json.jbuilder +4 -0
  48. data/app/views/admin/entry_templates/_form.html.erb +58 -0
  49. data/app/views/admin/users/_not_allowed_to_see_user_quota.html.erb +3 -0
  50. data/app/views/components/pageflow/admin/entry_templates_tab.rb +48 -0
  51. data/app/views/pageflow/admin/users/_quota_exhausted.html.erb +1 -1
  52. data/app/views/pageflow/themes/_theme.json.jbuilder +1 -0
  53. data/config/initializers/admin_resource_tabs.rb +5 -0
  54. data/config/initializers/help_entries.rb +1 -5
  55. data/config/locales/de.yml +100 -162
  56. data/config/locales/en.yml +91 -150
  57. data/db/migrate/20200122115400_create_pageflow_entry_templates.rb +75 -0
  58. data/db/migrate/20200206134400_convert_legacy_scrolled_content_element_types.rb +48 -0
  59. data/db/migrate/20200515112500_add_constraints_to_entry_templates.rb +21 -0
  60. data/db/migrate/20200807135200_rename_pageflow_entry_template_entry_type_to_entry_type_name.rb +7 -0
  61. data/entry_types/paged/app/assets/javascripts/pageflow_paged/components.js +7 -0
  62. data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/editor.js +1465 -1348
  63. data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/frontend.js +9218 -0
  64. data/{app/assets/javascripts/pageflow → entry_types/paged/app/assets/javascripts/pageflow_paged}/dist/react-client.js +1 -1
  65. data/{app/assets/javascripts/pageflow → entry_types/paged/app/assets/javascripts/pageflow_paged}/dist/react-server.js +3 -3
  66. data/entry_types/paged/app/assets/javascripts/pageflow_paged/frontend.js +6 -0
  67. data/entry_types/paged/app/assets/javascripts/pageflow_paged/server_rendering.js +9 -0
  68. data/entry_types/paged/app/assets/javascripts/pageflow_paged/vendor.js +8 -0
  69. data/entry_types/paged/app/controllers/pageflow_paged/application_controller.rb +2 -2
  70. data/{app/helpers/pageflow → entry_types/paged/app/helpers/pageflow_paged}/page_background_asset_helper.rb +4 -3
  71. data/{app/helpers/pageflow → entry_types/paged/app/helpers/pageflow_paged}/react_server_side_rendering_helper.rb +23 -2
  72. data/entry_types/paged/app/views/layouts/pageflow_paged/application.html.erb +2 -2
  73. data/entry_types/paged/app/views/pageflow_paged/editor/entries/_head.html.erb +2 -2
  74. data/entry_types/paged/app/views/pageflow_paged/entries/_entry.html.erb +1 -1
  75. data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/page_background_asset/_element.html.erb +0 -0
  76. data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/react/_widget.html.erb +0 -0
  77. data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/react/page.html.erb +0 -0
  78. data/entry_types/paged/config/initializers/features.rb +1 -1
  79. data/entry_types/paged/config/initializers/help_entries.rb +17 -0
  80. data/entry_types/paged/config/locales/new/help.de.yml +162 -0
  81. data/entry_types/paged/config/locales/new/help.en.yml +153 -0
  82. data/entry_types/paged/lib/pageflow_paged/engine.rb +13 -0
  83. data/entry_types/paged/lib/pageflow_paged/plugin.rb +5 -1
  84. data/entry_types/paged/lib/pageflow_paged/react.rb +12 -0
  85. data/{lib/pageflow → entry_types/paged/lib/pageflow_paged}/react/page_type.rb +2 -2
  86. data/{lib/pageflow → entry_types/paged/lib/pageflow_paged}/react/widget_type.rb +2 -2
  87. data/entry_types/paged/vendor/assets/javascripts/development/pageflow_paged/vendor/react-server.js +20613 -0
  88. data/entry_types/paged/vendor/assets/javascripts/development/pageflow_paged/vendor/react.js +21495 -0
  89. data/entry_types/paged/vendor/assets/javascripts/production/pageflow_paged/vendor/react-server.js +24 -0
  90. data/entry_types/paged/vendor/assets/javascripts/production/pageflow_paged/vendor/react.js +24 -0
  91. data/entry_types/scrolled/app/assets/javascripts/pageflow_scrolled/legacy.js +0 -0
  92. data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/chapters_controller.rb +2 -2
  93. data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/content_elements_controller.rb +15 -4
  94. data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/sections_controller.rb +2 -2
  95. data/entry_types/scrolled/app/controllers/pageflow_scrolled/entries_controller.rb +8 -0
  96. data/entry_types/scrolled/app/helpers/pageflow_scrolled/editor/seed_html_helper.rb +10 -1
  97. data/entry_types/scrolled/app/helpers/pageflow_scrolled/entry_json_seed_helper.rb +4 -1
  98. data/entry_types/scrolled/app/helpers/pageflow_scrolled/i18n_helper.rb +35 -0
  99. data/entry_types/scrolled/app/helpers/pageflow_scrolled/react_server_side_rendering_helper.rb +33 -0
  100. data/entry_types/scrolled/app/helpers/pageflow_scrolled/themes_helper.rb +8 -0
  101. data/entry_types/scrolled/app/models/pageflow_scrolled/content_element.rb +38 -0
  102. data/entry_types/scrolled/app/views/pageflow_scrolled/editor/content_elements/batch.json.jbuilder +2 -0
  103. data/entry_types/scrolled/app/views/pageflow_scrolled/editor/entries/_head.html.erb +1 -7
  104. data/entry_types/scrolled/app/views/pageflow_scrolled/editor/entries/_seed.json.jbuilder +1 -1
  105. data/entry_types/scrolled/app/views/pageflow_scrolled/entries/show.html.erb +32 -4
  106. data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_entry.json.jbuilder +13 -1
  107. data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_theme.json.jbuilder +7 -0
  108. data/entry_types/scrolled/config/initializers/help_entries.rb +16 -0
  109. data/entry_types/scrolled/config/locales/new/de.yml +565 -10
  110. data/entry_types/scrolled/config/locales/new/en.yml +472 -11
  111. data/entry_types/scrolled/config/routes.rb +1 -0
  112. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/install_generator.rb +31 -0
  113. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/logoDesktop.svg +56 -0
  114. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/logoMobile.svg +22 -0
  115. data/entry_types/scrolled/lib/pageflow_scrolled/engine.rb +4 -0
  116. data/entry_types/scrolled/lib/pageflow_scrolled/plugin.rb +3 -1
  117. data/entry_types/scrolled/lib/pageflow_scrolled/seeds.rb +93 -28
  118. data/entry_types/scrolled/lib/tasks/pageflow_scrolled_tasks.rake +133 -0
  119. data/entry_types/scrolled/package/contentElements-editor.js +469 -0
  120. data/entry_types/scrolled/package/contentElements-frontend.css +1 -0
  121. data/entry_types/scrolled/package/contentElements-frontend.js +878 -0
  122. data/entry_types/scrolled/package/editor.js +2725 -2590
  123. data/entry_types/scrolled/package/frontend-server.js +228 -0
  124. data/entry_types/scrolled/package/frontend/EditableText-4264c349.js +1993 -0
  125. data/entry_types/scrolled/package/frontend/Wavesurfer-c3c45324.js +378 -0
  126. data/entry_types/scrolled/package/frontend/components-cfe6a479.js +2115 -0
  127. data/entry_types/scrolled/package/frontend/getPrototypeOf-63c7c8e8.js +86 -0
  128. data/entry_types/scrolled/package/frontend/index.css +9 -0
  129. data/entry_types/scrolled/package/frontend/index.js +4425 -0
  130. data/entry_types/scrolled/package/package.json +28 -7
  131. data/entry_types/scrolled/spec/fixtures/audio.m4a +0 -0
  132. data/entry_types/scrolled/spec/fixtures/video.mp4 +0 -0
  133. data/lib/generators/pageflow/initializer/templates/pageflow.rb +20 -9
  134. data/lib/pageflow/ability_mixin.rb +15 -2
  135. data/lib/pageflow/configuration.rb +6 -5
  136. data/lib/pageflow/engine.rb +1 -0
  137. data/lib/pageflow/entry_type_configuration.rb +1 -0
  138. data/lib/pageflow/global_config_api.rb +5 -4
  139. data/lib/pageflow/react.rb +4 -2
  140. data/lib/pageflow/seeds.rb +0 -2
  141. data/lib/pageflow/theme.rb +4 -0
  142. data/lib/pageflow/themes.rb +5 -1
  143. data/lib/pageflow/version.rb +1 -1
  144. data/{packages/pageflow → package}/config/jest/index.js +2 -2
  145. data/{packages/pageflow → package}/config/jest/transformers/jst.js +1 -1
  146. data/{packages/pageflow → package}/config/jest/transformers/upwardBabel.js +0 -0
  147. data/package/config/webpack.js +22 -0
  148. data/{packages/pageflow → package}/editor.js +493 -1122
  149. data/package/frontend.js +2525 -0
  150. data/{packages/pageflow → package}/package.json +5 -1
  151. data/package/testHelpers.js +732 -0
  152. data/{packages/pageflow → package}/ui.js +56 -14
  153. data/spec/factories/accounts.rb +9 -1
  154. data/spec/factories/entry_templates.rb +9 -0
  155. data/spec/factories/published_entries.rb +8 -1
  156. data/spec/factories/themings.rb +0 -1
  157. metadata +74 -27
  158. data/app/assets/javascripts/pageflow/dist/editor.js +0 -11890
  159. data/app/assets/javascripts/pageflow/dist/frontend.js +0 -5798
  160. data/config/initializers/entry_types.rb +0 -4
  161. data/entry_types/scrolled/package/frontend.js +0 -3404
  162. data/packages/pageflow/config/jest/transformers/cssModules.js +0 -1
  163. data/packages/pageflow/config/webpack.js +0 -15
  164. data/packages/pageflow/testHelpers.js +0 -268
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 203c5cb423621d722ccfb9e7bf94eb027f9ba7778e60dbe4f18f9aa1a555eba7
4
- data.tar.gz: 34d5c5dd0c5d08e2cec1286dd0e69f61c850318276e978400d1e5d2e1c16fa29
3
+ metadata.gz: 563d35479fe7b5d74b977e00448f5c9bfd1c62edd743055ea473a6dabe56b4ed
4
+ data.tar.gz: d1611ba3ee37f2b505fdd83d888b0951411eb2a5b5a58f37466e95722000f976
5
5
  SHA512:
6
- metadata.gz: 8c57812411aac458a0b4fe439420d6a1787ba4d416dead1b908e1cffc198fcf07892d213283d66a56e1fa79c80762613039c200825ae1f38278db624cd8a17ea
7
- data.tar.gz: 3183b00602894f3cf24066be949e5b9f7a23e4572bc1ade0761443008a1a3a4926716c5e9361971220c6cfe78cc4510125a088df8fc00e11ddd3ad864644380d
6
+ metadata.gz: f70f3d6102178107779c7d2147bc1566317fa8d96cc9a9638934a0b2d3b36bfa3e27e895d0f7e4a4f3658f16a6a43ed07a099658c3715a87a4e01c52a2bb2387
7
+ data.tar.gz: ba53127dbfa32c61d32b56d35460671fea12ec70308a1b4efb8e3e1839fe4b492db607c4171790fc8aead0e421ebadadc07c66cb678a72a6236e585152319bcc
@@ -1,208 +1,383 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 15.1.1
3
+ ### Version 15.3.0
4
4
 
5
- 2020-02-12
5
+ 2020-08-21
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow/compare/v15.1.0...v15.1.1)
7
+ [Compare changes](https://github.com/codevise/pageflow/compare/15-2-stable...v15.3.0)
8
8
 
9
- - Re-add entry.configuration in editor for backwards compatibility
10
- ([#1332](https://github.com/codevise/pageflow/pull/1332))
11
-
12
- ### Version 15.1.0
13
-
14
- 2020-02-05
15
-
16
- [Compare changes](https://github.com/codevise/pageflow/compare/15-0-stable...v15.1.0)
9
+ #### Core
17
10
 
18
- See
19
- [changes grouped by pre releases](https://github.com/codevise/pageflow/blob/v15.1.0.rc0/CHANGELOG.md).
11
+ ##### Manual Update Step
20
12
 
21
- #### Core
13
+ - Entry types must now be registered in the host application
14
+ ([#1556](https://github.com/codevise/pageflow/pull/1556))
22
15
 
23
- ##### Host Application
16
+ Add the following line to the top of your `pageflow` initializer:
24
17
 
25
- - Updated Active Admin to 2.5.0
26
- ([#1280](https://github.com/codevise/pageflow/pull/1280))
18
+ ```ruby
19
+ config.plugin(PageflowPaged.plugin)
20
+ ```
27
21
 
28
- Starting with Active Admin 2.0, using `unshift` (or any other
29
- mutating method) to add load paths no longer work reliably (see
30
- [activeadmin/activeadmin#5995](https://github.com/activeadmin/activeadmin/issues/5995).
31
- Apply the following change to your host application's
32
- `active_admin.rb` initializer:
22
+ If you are already using the experimental Scrolled entry type, also
23
+ add:
33
24
 
34
- ```diff
35
- - ActiveAdmin.application.unshift(Pageflow.active_admin_load_path)
36
- + ActiveAdmin.application.load_paths += [Pageflow.active_admin_load_path]
25
+ ```ruby
26
+ config.plugin(PageflowScrolled.plugin)
37
27
  ```
38
28
 
39
- - Improve support for Webpack setup in host appplication
40
- ([#1276](https://github.com/codevise/pageflow/pull/1276),
41
- [#1279](https://github.com/codevise/pageflow/pull/1279))
29
+ - Install and run migrations.
42
30
 
43
31
  ##### Admin
44
32
 
45
- - Improve add member button
46
- ([#1195](https://github.com/codevise/pageflow/pull/1195))
33
+ - Make entry templates editable
34
+ ([#1420](https://github.com/codevise/pageflow/pull/1420),
35
+ [#1558](https://github.com/codevise/pageflow/pull/1558),
36
+ [#1553](https://github.com/codevise/pageflow/pull/1553))
37
+ - Bug fix: Repair user invite form for admin users
38
+ ([#1399](https://github.com/codevise/pageflow/pull/1399))
39
+ - Bug fix: Fix disabling home button input in account form based on theme
40
+ ([#1375](https://github.com/codevise/pageflow/pull/1375))
47
41
 
48
42
  ##### Editor
49
43
 
50
- - Bug fix: Prevent including pageflow/ui in pageflow/editor
51
- ([#1309](https://github.com/codevise/pageflow/pull/1309))
44
+ - Default to empty link url in text area input view
45
+ ([#1549](https://github.com/codevise/pageflow/pull/1549))
46
+ - Turn emulation menu into toggle
47
+ ([#1563](https://github.com/codevise/pageflow/pull/1563))
48
+ - Bug fix: Hide vertical scroll bar in editor sidebar
49
+ ([#1479](https://github.com/codevise/pageflow/pull/1479))
52
50
 
53
- ##### Engine Config
51
+ ##### JavaScript API
54
52
 
55
- - Add entry type concept
56
- ([#1249](https://github.com/codevise/pageflow/pull/1249))
57
- - Render entry type specific editor seed data
58
- ([#1265](https://github.com/codevise/pageflow/pull/1265))
59
- - Entry type specific editor views
60
- ([#1262](https://github.com/codevise/pageflow/pull/1262))
61
- - Entry type specific editor assets
62
- ([#1257](https://github.com/codevise/pageflow/pull/1257))
63
- - Let entry types provide frontend apps to render entries
64
- ([#1254](https://github.com/codevise/pageflow/pull/1254),
65
- [#1255](https://github.com/codevise/pageflow/pull/1255))
66
- - Extend config DSL for entry types
67
- ([#1267](https://github.com/codevise/pageflow/pull/1267))
68
- - Allow scoping file types and widget types by entry types
69
- ([#1283](https://github.com/codevise/pageflow/pull/1283))
70
- - Decouple revision components and file types from page types
71
- ([#1256](https://github.com/codevise/pageflow/pull/1256),
72
- [#1259](https://github.com/codevise/pageflow/pull/1259))
73
- - Consider feature flags for file types available in editor
74
- ([#1275](https://github.com/codevise/pageflow/pull/1275))
75
- - Extract part of appearance options into paged entry type
76
- ([#1304](https://github.com/codevise/pageflow/pull/1304),
77
- [#1321](https://github.com/codevise/pageflow/pull/1321))
78
- - Scope existing built ins to paged entry type
79
- ([#1296](https://github.com/codevise/pageflow/pull/1296))
80
- - Integrate entry type specific config with feature flags
81
- ([#1295](https://github.com/codevise/pageflow/pull/1295))
82
- - Decouple editor layout
83
- ([#1284](https://github.com/codevise/pageflow/pull/1284))
84
- - Let entry types define editor controllers
85
- ([#1271](https://github.com/codevise/pageflow/pull/1271))
86
- - Add authentication provider
87
- ([#1236](https://github.com/codevise/pageflow/pull/1236))
88
- - Bug fix: Change revision#locale to always return string
89
- ([#1239](https://github.com/codevise/pageflow/pull/1239))
90
-
91
- ##### File Importers
92
-
93
- - Introduce file importer API
94
- ([#1250](https://github.com/codevise/pageflow/pull/1250),
95
- [#1266](https://github.com/codevise/pageflow/pull/1266),
96
- [#1258](https://github.com/codevise/pageflow/pull/1258),
97
- [#1269](https://github.com/codevise/pageflow/pull/1269),
98
- [#1323](https://github.com/codevise/pageflow/pull/1323))
53
+ - Media-API
54
+ ([#1394](https://github.com/codevise/pageflow/pull/1394))
55
+ - Extend editor api to detect browser
56
+ ([#1510](https://github.com/codevise/pageflow/pull/1510))
57
+ - Add logic to detect IOS 13 Safari on iPad
58
+ ([#1519](https://github.com/codevise/pageflow/pull/1519))
59
+ - Extend the existing user agent detection code for desktop browsers
60
+ ([#1512](https://github.com/codevise/pageflow/pull/1512))
99
61
 
100
- ##### Internal
62
+ ##### Documentation
101
63
 
102
- - Add configuration to revisions
103
- ([#1306](https://github.com/codevise/pageflow/pull/1306))
104
- - Add entry type engines
105
- ([#1247](https://github.com/codevise/pageflow/pull/1247))
106
- - Migrate legacy JavaScript to Rollup/Jest
107
- ([#1241](https://github.com/codevise/pageflow/pull/1241))
108
- - Update pageflow-react build stack
109
- ([#1240](https://github.com/codevise/pageflow/pull/1240))
110
- - Modernize editor JavaScript build stack
111
- ([#1238](https://github.com/codevise/pageflow/pull/1238))
112
- - Replace chromedriver-helper by webdrivers
113
- ([#1251](https://github.com/codevise/pageflow/pull/1251))
64
+ - Add troubleshooting section to Rails Engine Development docs
65
+ ([#1397](https://github.com/codevise/pageflow/pull/1397))
114
66
 
115
- #### Paged Entry Type
67
+ ##### Internal
116
68
 
117
- ##### Editor
69
+ - Decouple shared frontend code from jQuery and Backbone
70
+ ([#1396](https://github.com/codevise/pageflow/pull/1396),
71
+ [#1480](https://github.com/codevise/pageflow/pull/1480),
72
+ [#1560](https://github.com/codevise/pageflow/pull/1560))
73
+ - Update edge script
74
+ ([#1402](https://github.com/codevise/pageflow/pull/1402))
75
+ - Fix dummy app generation with Thor 1.0
76
+ ([#1522](https://github.com/codevise/pageflow/pull/1522))
77
+ - Add inline documentation to membership admin
78
+ ([#1425](https://github.com/codevise/pageflow/pull/1425))
79
+ - No longer pin chrome driver in scrolled Capybara specs
80
+ ([#1380](https://github.com/codevise/pageflow/pull/1380))
118
81
 
119
- - Bug fix: Fix page selection view
120
- ([#1281](https://github.com/codevise/pageflow/pull/1281))
82
+ #### Paged Entry Type
121
83
 
122
84
  ##### Published Entry
123
85
 
124
- - Add width/height to social share images to make Facebook display
125
- them faster.
126
- ([#1223](https://github.com/codevise/pageflow/pull/1223))
127
- - Add translations for some text track languages
128
- ([#1237](https://github.com/codevise/pageflow/pull/1237))
129
- - Add meta charset tag in application layout of paged entries
130
- ([#1322](https://github.com/codevise/pageflow/pull/1322))
131
- - Bug fix: Invalidate page partial cache on locale change
132
- ([#1311](https://github.com/codevise/pageflow/pull/1311))
133
- - Bug fix: Do not prefix partial paths with pageflow_paged
134
- ([#1320](https://github.com/codevise/pageflow/pull/1320))
135
- - Bug fix: Fix `link_to home_button` raises URLGenerationError
136
- ([#1310](https://github.com/codevise/pageflow/pull/1310))
86
+ - Loading spinner configurable animation time
87
+ ([#1481](https://github.com/codevise/pageflow/pull/1481))
88
+ - Loading spinner image positioning
89
+ ([#1378](https://github.com/codevise/pageflow/pull/1378))
137
90
 
138
91
  ##### Internal
139
92
 
140
- - Move PagedEntriesController to paged entry type engine
141
- ([#1285](https://github.com/codevise/pageflow/pull/1285))
142
- - Move editor actions into editor controller
143
- ([#1282](https://github.com/codevise/pageflow/pull/1282))
93
+ - Rename pageflow-react to pageflow-paged-react
94
+ ([#1387](https://github.com/codevise/pageflow/pull/1387))
95
+ - Update package path in jshintignore
96
+ ([#1395](https://github.com/codevise/pageflow/pull/1395))
97
+ - Refactor and move paged specific js from pageflow/frontend to pageflow-paged/frontend package
98
+ ([#1370](https://github.com/codevise/pageflow/pull/1370))
99
+ - Rewrite build scripts to use gemspec files
100
+ ([#1415](https://github.com/codevise/pageflow/pull/1415))
144
101
 
145
102
  #### Scrolled Entry Type
146
103
 
104
+ ##### Admin
105
+
106
+ - Create scrolled entries
107
+ ([#1361](https://github.com/codevise/pageflow/pull/1361))
108
+
147
109
  ##### Published Entry
148
110
 
149
- - Import scrolled entry type React app
150
- ([#1264](https://github.com/codevise/pageflow/pull/1264))
151
- - Use seed data in scrolled entries
152
- ([#1248](https://github.com/codevise/pageflow/pull/1248),
153
- [#1270](https://github.com/codevise/pageflow/pull/1270),
154
- [#1278](https://github.com/codevise/pageflow/pull/1278),
155
- [#1286](https://github.com/codevise/pageflow/pull/1286),
156
- [#1314](https://github.com/codevise/pageflow/pull/1314),
157
- [#1242](https://github.com/codevise/pageflow/pull/1242))
158
- - Fix section index and references to adjacent chapters
159
- ([#1316](https://github.com/codevise/pageflow/pull/1316))
160
- - Render uploaded images in scrolled entries
161
- ([#1299](https://github.com/codevise/pageflow/pull/1299),
162
- [#1303](https://github.com/codevise/pageflow/pull/1303))
163
- - Use chapters from db in navigaition bar
164
- ([#1298](https://github.com/codevise/pageflow/pull/1298),
165
- [#1300](https://github.com/codevise/pageflow/pull/1300),
166
- [#1308](https://github.com/codevise/pageflow/pull/1308))
167
- - Sharing, imprint, privacy in navigation
168
- ([#1319](https://github.com/codevise/pageflow/pull/1319))
111
+ - Server side rendering for scrolled entries
112
+ ([#1552](https://github.com/codevise/pageflow/pull/1552),
113
+ [#1551](https://github.com/codevise/pageflow/pull/1551))
114
+ - Add meta tags in scrolled
115
+ ([#1539](https://github.com/codevise/pageflow/pull/1539))
116
+ - Make link color match inverted text color
117
+ ([#1516](https://github.com/codevise/pageflow/pull/1516))
118
+ - Atmo for scrolled entries
119
+ ([#1500](https://github.com/codevise/pageflow/pull/1500),
120
+ [#1531](https://github.com/codevise/pageflow/pull/1531))
121
+ - Structured data for scrolled entries
122
+ ([#1555](https://github.com/codevise/pageflow/pull/1555))
123
+ - Waveform Player Controls
124
+ ([#1541](https://github.com/codevise/pageflow/pull/1541),
125
+ [#1564](https://github.com/codevise/pageflow/pull/1564))
126
+ - Hide mobile sharing icons on desktop
127
+ ([#1559](https://github.com/codevise/pageflow/pull/1559))
128
+ - Let first chapter begin at the very top
129
+ ([#1568](https://github.com/codevise/pageflow/pull/1568))
130
+ - Only show focus outline after keyboard input
131
+ ([#1503](https://github.com/codevise/pageflow/pull/1503),
132
+ [#1508](https://github.com/codevise/pageflow/pull/1508))
133
+ - Improve cards appearance variant
134
+ ([#1507](https://github.com/codevise/pageflow/pull/1507),
135
+ [#1517](https://github.com/codevise/pageflow/pull/1517),
136
+ [#1477](https://github.com/codevise/pageflow/pull/1477))
137
+ - Improve gradient shadow appearance variant
138
+ ([#1487](https://github.com/codevise/pageflow/pull/1487),
139
+ [#1483](https://github.com/codevise/pageflow/pull/1483),
140
+ [#1478](https://github.com/codevise/pageflow/pull/1478))
141
+ - Use consistent margins around content elements
142
+ ([#1476](https://github.com/codevise/pageflow/pull/1476))
143
+ - Media Blessed Player Pool
144
+ ([#1452](https://github.com/codevise/pageflow/pull/1452),
145
+ [#1474](https://github.com/codevise/pageflow/pull/1474))
146
+ - Ensure empty paragraphs have height
147
+ ([#1468](https://github.com/codevise/pageflow/pull/1468))
148
+ - Support headings of different levels
149
+ ([#1364](https://github.com/codevise/pageflow/pull/1364))
150
+ - Improve Backdrop videos
151
+ ([#1461](https://github.com/codevise/pageflow/pull/1461),
152
+ [#1454](https://github.com/codevise/pageflow/pull/1454),
153
+ [#1441](https://github.com/codevise/pageflow/pull/1441),
154
+ [#1534](https://github.com/codevise/pageflow/pull/1534))
155
+ - Mute media in background
156
+ ([#1521](https://github.com/codevise/pageflow/pull/1521))
157
+ - Improve Safari/IE 11 compatibility of reveal transitions
158
+ ([#1391](https://github.com/codevise/pageflow/pull/1391))
159
+ - Install polyfills to make scrolled frontend work in IE 11
160
+ ([#1389](https://github.com/codevise/pageflow/pull/1389))
161
+ - Bug fix: Prevent empty space below entry
162
+ ([#1561](https://github.com/codevise/pageflow/pull/1561))
163
+ - Bug fix: Prevent display of horizontal scroll bar
164
+ ([#1464](https://github.com/codevise/pageflow/pull/1464))
165
+ - Bug fix: Deal with duplicated rules in extracted CSS
166
+ ([#1562](https://github.com/codevise/pageflow/pull/1562))
167
+
168
+ ##### Content Elements
169
+
170
+ - Responsive Datawrapper chart height
171
+ ([#1533](https://github.com/codevise/pageflow/pull/1533),
172
+ [#1547](https://github.com/codevise/pageflow/pull/1547))
173
+ - Fix heading default value logic
174
+ ([#1536](https://github.com/codevise/pageflow/pull/1536))
175
+ - Improve inline media
176
+ ([#1523](https://github.com/codevise/pageflow/pull/1523))
177
+ - Display text tracks in inline videos and audios
178
+ ([#1502](https://github.com/codevise/pageflow/pull/1502))
179
+ - Add quality menu to inline video player controls
180
+ ([#1497](https://github.com/codevise/pageflow/pull/1497))
181
+ - Menus and accessibily improvements for player controls
182
+ ([#1496](https://github.com/codevise/pageflow/pull/1496))
183
+ - Add text tracks menu to player controls
184
+ ([#1501](https://github.com/codevise/pageflow/pull/1501))
185
+ - Prevent progress bar with more than 100%
186
+ ([#1515](https://github.com/codevise/pageflow/pull/1515))
187
+ - Fix segfault on media playback in Chrome
188
+ ([#1511](https://github.com/codevise/pageflow/pull/1511))
189
+ - Display black poster in empty inline video
190
+ ([#1506](https://github.com/codevise/pageflow/pull/1506))
191
+ - Make player controls visible on boxes
192
+ ([#1505](https://github.com/codevise/pageflow/pull/1505))
193
+ - Use active quality in VideoPlayer
194
+ ([#1504](https://github.com/codevise/pageflow/pull/1504))
195
+ - Display pillar boxes for full width inline images
196
+ ([#1471](https://github.com/codevise/pageflow/pull/1471))
197
+ - Use smaller variants for inline images
198
+ ([#1466](https://github.com/codevise/pageflow/pull/1466))
199
+ - Lazy load inline images
200
+ ([#1465](https://github.com/codevise/pageflow/pull/1465))
201
+ - Inline audio with posterframe
202
+ ([#1457](https://github.com/codevise/pageflow/pull/1457))
203
+ - Display black pillar boxes for full width embed videos
204
+ ([#1456](https://github.com/codevise/pageflow/pull/1456))
205
+ - Use lifecycle hook in media content elements
206
+ ([#1458](https://github.com/codevise/pageflow/pull/1458))
207
+ - Improve video embed content element
208
+ ([#1450](https://github.com/codevise/pageflow/pull/1450))
209
+ - Chart content element fixes
210
+ ([#1449](https://github.com/codevise/pageflow/pull/1449))
211
+ - External links fixes
212
+ ([#1447](https://github.com/codevise/pageflow/pull/1447))
213
+ - Added placeholder images for before/after
214
+ ([#1445](https://github.com/codevise/pageflow/pull/1445))
215
+ - Replace useOnScreen with useContentElementLifecycle in before/after
216
+ ([#1451](https://github.com/codevise/pageflow/pull/1451))
217
+ - Remove css custom properties in before/after
218
+ ([#1436](https://github.com/codevise/pageflow/pull/1436))
219
+ - Give height to element in case of no images
220
+ ([#1435](https://github.com/codevise/pageflow/pull/1435))
221
+ - Delay label fadeout on mousedown/touchstart
222
+ ([#1434](https://github.com/codevise/pageflow/pull/1434))
223
+ - Removed label dependency for before/after
224
+ ([#1433](https://github.com/codevise/pageflow/pull/1433))
225
+ - Player controls component
226
+ ([#1400](https://github.com/codevise/pageflow/pull/1400))
227
+ - Hide player controls after timeout for full width content elements
228
+ ([#1472])(https://github.com/codevise/pageflow/pull/1472)
169
229
 
170
230
  ##### Editor
171
231
 
172
- - Render demo in editor
173
- ([#1268](https://github.com/codevise/pageflow/pull/1268))
174
- - Use data from Backbone collections in scrolled editor preview
175
- ([#1288](https://github.com/codevise/pageflow/pull/1288),
176
- [#1293](https://github.com/codevise/pageflow/pull/1293),
177
- [#1292](https://github.com/codevise/pageflow/pull/1292),
178
- [#1294](https://github.com/codevise/pageflow/pull/1294),
179
- [#1305](https://github.com/codevise/pageflow/pull/1305))
180
- - Outline editing for scrolled entries
181
- ([#1318](https://github.com/codevise/pageflow/pull/1318))
232
+ - Add blank slate for scrolled entries
233
+ ([#1550](https://github.com/codevise/pageflow/pull/1550),
234
+ [#1565](https://github.com/codevise/pageflow/pull/1565))
235
+ - Add phone emulation mode to scrolled editor
236
+ ([#1340](https://github.com/codevise/pageflow/pull/1340))
237
+ - Preview thumbnails for section transitions
238
+ ([#1499](https://github.com/codevise/pageflow/pull/1499),
239
+ [#1470](https://github.com/codevise/pageflow/pull/1470))
240
+ - Support inserting text links
241
+ ([#1443](https://github.com/codevise/pageflow/pull/1443),
242
+ [#1524](https://github.com/codevise/pageflow/pull/1524))
243
+ - Improve section defaults
244
+ ([#1469](https://github.com/codevise/pageflow/pull/1469))
245
+ - Display insert button when section is selected
246
+ ([#1486](https://github.com/codevise/pageflow/pull/1486))
247
+ - Hide background position option for inline image
248
+ ([#1548](https://github.com/codevise/pageflow/pull/1548))
249
+ - Wrap content elements in error boundary
250
+ ([#1535](https://github.com/codevise/pageflow/pull/1535))
251
+ - Render placeholder for content element of missing type
252
+ ([#1406](https://github.com/codevise/pageflow/pull/1406))
253
+ - Inline text editing
254
+ ([#1410](https://github.com/codevise/pageflow/pull/1410),
255
+ [#1529](https://github.com/codevise/pageflow/pull/1529),
256
+ [#1408](https://github.com/codevise/pageflow/pull/1408),
257
+ [#1546](https://github.com/codevise/pageflow/pull/1546))
258
+ - Display content element type selection in dialog
259
+ ([#1407](https://github.com/codevise/pageflow/pull/1407))
260
+ - Improve section handling in editor
261
+ ([#1473](https://github.com/codevise/pageflow/pull/1473))
262
+ - Allow selecting processing images
263
+ ([#1514](https://github.com/codevise/pageflow/pull/1514))
264
+ - Separate scrolled and paged help entries
265
+ ([#1527](https://github.com/codevise/pageflow/pull/1527))
266
+ - Debounce saving editable text also when rerendered
267
+ ([#1485](https://github.com/codevise/pageflow/pull/1485))
268
+ - Modify browser not supported view and make it responsive.
269
+ ([#1513](https://github.com/codevise/pageflow/pull/1513))
270
+ - Fix external link file selection handler referer
271
+ ([#1467](https://github.com/codevise/pageflow/pull/1467))
272
+ - Add imageMobile configuration for section
273
+ ([#1459](https://github.com/codevise/pageflow/pull/1459))
274
+ - Make delete button remove text block elements
275
+ ([#1440](https://github.com/codevise/pageflow/pull/1440))
276
+ - Allow overriding 100vh height of Fullscreen component
277
+ ([#1438](https://github.com/codevise/pageflow/pull/1438))
278
+ - Allow editing motif areas in scrolled editor
279
+ ([#1430](https://github.com/codevise/pageflow/pull/1430),
280
+ [#1463](https://github.com/codevise/pageflow/pull/1463),
281
+ [#1544](https://github.com/codevise/pageflow/pull/1544),
282
+ [#1570](https://github.com/codevise/pageflow/pull/1570))
283
+ - Handle available section transitions
284
+ ([#1428](https://github.com/codevise/pageflow/pull/1428))
285
+ - Inline editing for section and transtions
286
+ ([#1427](https://github.com/codevise/pageflow/pull/1427))
287
+ - Drag handles for chapter and section outline items
288
+ ([#1567](https://github.com/codevise/pageflow/pull/1567))
289
+ - Improve editor inline help and labels
290
+ ([#1566](https://github.com/codevise/pageflow/pull/1566))
291
+
292
+ ##### Engine Config
293
+
294
+ - Theme specific navigation logo for scrolled entries
295
+ ([#1554](https://github.com/codevise/pageflow/pull/1554))
296
+ - Widgets for scrolled entries
297
+ ([#1446](https://github.com/codevise/pageflow/pull/1446),
298
+ [#1532](https://github.com/codevise/pageflow/pull/1532))
299
+
300
+ ##### JavaScript API
301
+
302
+ - Turn react and react-dom into peer dependencies of pageflow-scrolled
303
+ ([#1545](https://github.com/codevise/pageflow/pull/1545))
304
+ - React media api
305
+ ([#1398](https://github.com/codevise/pageflow/pull/1398))
306
+ - Improve handling of light and dark backgrounds
307
+ ([#1509](https://github.com/codevise/pageflow/pull/1509))
308
+ - Viewport dependent pillar boxes
309
+ ([#1442](https://github.com/codevise/pageflow/pull/1442))
310
+ - Add useContentElementLifecycle hook
311
+ ([#1444](https://github.com/codevise/pageflow/pull/1444))
312
+ - Add useContentElementEditorState hook
313
+ ([#1439](https://github.com/codevise/pageflow/pull/1439))
314
+ - Make useEntryStructure/useSectionStructure hooks private
315
+ ([#1431](https://github.com/codevise/pageflow/pull/1431))
316
+ - Add supportedPositions option for content element types
317
+ ([#1429](https://github.com/codevise/pageflow/pull/1429))
318
+ - Let content elements update their own configuration
319
+ ([#1424](https://github.com/codevise/pageflow/pull/1424))
320
+ - Media player state hook
321
+ ([#1412](https://github.com/codevise/pageflow/pull/1412))
322
+ - Media player context data
323
+ ([#1520](https://github.com/codevise/pageflow/pull/1520))
182
324
 
183
325
  ##### Internal
184
326
 
185
- - Pass scrolled entry to watchCollections in tests
186
- ([#1317](https://github.com/codevise/pageflow/pull/1317))
187
- - Setup Capybara for scrolled engine
188
- ([#1289](https://github.com/codevise/pageflow/pull/1289))
189
- - Set PAGEFLOW_EDITOR global in scrolled editor
190
- ([#1287](https://github.com/codevise/pageflow/pull/1287))
191
-
192
- #### Development Setup
193
-
194
- - DB seed data for scrolled entries
195
- ([#1274](https://github.com/codevise/pageflow/pull/1274),
196
- [#1302](https://github.com/codevise/pageflow/pull/1302))
197
- - Split Travis run into multiple jobs
198
- ([#1261](https://github.com/codevise/pageflow/pull/1261))
199
- - Generate JSDoc and SassDoc in GitHub workflow
200
- ([#1307](https://github.com/codevise/pageflow/pull/1307))
201
- - Add needed command to node package development docs
202
- ([#1290](https://github.com/codevise/pageflow/pull/1290))
203
- - Improve Capybara Chrome setup
204
- ([#1291](https://github.com/codevise/pageflow/pull/1291))
327
+ - Provide locale via separate context
328
+ ([#1492](https://github.com/codevise/pageflow/pull/1492))
329
+ - Add story to test media autoplay
330
+ ([#1525](https://github.com/codevise/pageflow/pull/1525))
331
+ - Use empty inline images in appearance stories
332
+ ([#1518](https://github.com/codevise/pageflow/pull/1518))
333
+ - Remove unused CSS
334
+ ([#1488](https://github.com/codevise/pageflow/pull/1488))
335
+ - Sync entry metadata model into entry state
336
+ ([#1530](https://github.com/codevise/pageflow/pull/1530))
337
+ - Decompose Entry spec into feature specs
338
+ ([#1482](https://github.com/codevise/pageflow/pull/1482))
339
+ - Add stories for appearance/layout/positions
340
+ ([#1475](https://github.com/codevise/pageflow/pull/1475))
341
+ - Introduce fakeMedia test helpers
342
+ ([#1460](https://github.com/codevise/pageflow/pull/1460))
343
+ - Hide Datawrapper chart in Percy snapshot
344
+ ([#1448](https://github.com/codevise/pageflow/pull/1448))
345
+ - Make scrolled API respond with no content for PUT/DELETE
346
+ ([#1423](https://github.com/codevise/pageflow/pull/1423))
347
+ - Ignore new records in watchCollection
348
+ ([#1422](https://github.com/codevise/pageflow/pull/1422))
349
+ - Use batch action to destroy content elements
350
+ ([#1421](https://github.com/codevise/pageflow/pull/1421))
351
+ - Add batch endpoint to edit content elements
352
+ ([#1403](https://github.com/codevise/pageflow/pull/1403))
353
+ - Enable scrolled entry type for storybook seed
354
+ ([#1419](https://github.com/codevise/pageflow/pull/1419))
355
+ - Update Babel preset to fix duplicate helpers in build output
356
+ ([#1413](https://github.com/codevise/pageflow/pull/1413))
357
+ - Memoize section properties
358
+ ([#1409](https://github.com/codevise/pageflow/pull/1409))
359
+ - Lazy load inline editing components in editor
360
+ ([#1404](https://github.com/codevise/pageflow/pull/1404))
361
+ - Publish pageflow-scrolled storybook via Travis
362
+ ([#1393](https://github.com/codevise/pageflow/pull/1393),
363
+ [#1392](https://github.com/codevise/pageflow/pull/1392))
364
+ - Decouple scrolled editor from paged frontend code
365
+ ([#1385](https://github.com/codevise/pageflow/pull/1385))
366
+ - Add stories for section transitions
367
+ ([#1390](https://github.com/codevise/pageflow/pull/1390))
368
+ - Add audio file reference in storybook seed tasks
369
+ ([#1382](https://github.com/codevise/pageflow/pull/1382))
370
+ - Abort and retry scrolled Capybara specs when Chromedriver hangs
371
+ ([#1383](https://github.com/codevise/pageflow/pull/1383))
372
+ - Seed data integration for audio files
373
+ ([#1377](https://github.com/codevise/pageflow/pull/1377))
374
+ - Include scrolled content element js files in gem
375
+ ([#1373](https://github.com/codevise/pageflow/pull/1373))
376
+ - Entry state integration for video files
377
+ ([#1345](https://github.com/codevise/pageflow/pull/1345))
378
+ - Use files in CI/storybook seed
379
+ ([#1401])(https://github.com/codevise/pageflow/pull/1401)
205
380
 
206
381
  See
207
- [15-0-stable branch](https://github.com/codevise/pageflow/blob/15-0-stable/CHANGELOG.md)
382
+ [15-2-stable branch](https://github.com/codevise/pageflow/blob/15-2-stable/CHANGELOG.md)
208
383
  for previous changes.