pageflow 16.0.0 → 16.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (188) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +86 -33
  3. data/README.md +6 -6
  4. data/Rakefile +1 -1
  5. data/admins/pageflow/entry.rb +0 -1
  6. data/admins/pageflow/sites.rb +3 -0
  7. data/app/assets/images/pageflow/admin/icons/published_with_noindex.svg +4 -0
  8. data/app/assets/javascripts/pageflow/dist/ui.js +299 -72
  9. data/app/assets/stylesheets/pageflow/admin/active_admin_patches.scss +1 -1
  10. data/app/assets/stylesheets/pageflow/admin/entries.scss +4 -0
  11. data/app/assets/stylesheets/pageflow/admin/permalink_input.scss +10 -0
  12. data/app/assets/stylesheets/pageflow/admin/publication_state_indicator.scss +4 -0
  13. data/app/assets/stylesheets/pageflow/editor/base.scss +0 -1
  14. data/app/assets/stylesheets/pageflow/editor/drop_down_button.scss +61 -7
  15. data/app/assets/stylesheets/pageflow/editor/file_meta_data.scss +12 -1
  16. data/app/assets/stylesheets/pageflow/editor/file_thumbnails.scss +4 -0
  17. data/app/assets/stylesheets/pageflow/editor/help.scss +3 -3
  18. data/app/assets/stylesheets/pageflow/editor/info_box.scss +7 -0
  19. data/app/assets/stylesheets/pageflow/editor/inputs/file_input.scss +0 -5
  20. data/app/assets/stylesheets/pageflow/ui/forms.scss +4 -4
  21. data/app/assets/stylesheets/pageflow/{editor/wysihtml5.scss → ui/input/text_area_input.scss} +13 -1
  22. data/app/assets/stylesheets/pageflow/ui.scss +1 -0
  23. data/app/controllers/pageflow/chapters_controller.rb +2 -2
  24. data/app/controllers/pageflow/editor/entry_publications_controller.rb +5 -1
  25. data/app/controllers/pageflow/editor/file_import_controller.rb +1 -1
  26. data/app/controllers/pageflow/editor/files_controller.rb +1 -1
  27. data/app/controllers/pageflow/entries_controller.rb +12 -2
  28. data/app/controllers/pageflow/feeds_controller.rb +18 -0
  29. data/app/controllers/pageflow/pages_controller.rb +2 -2
  30. data/app/controllers/pageflow/sitemaps_controller.rb +15 -0
  31. data/app/controllers/pageflow/storylines_controller.rb +2 -2
  32. data/app/helpers/pageflow/entries_helper.rb +4 -1
  33. data/app/helpers/pageflow/feeds_helper.rb +66 -0
  34. data/app/helpers/pageflow/meta_tags_helper.rb +2 -1
  35. data/app/helpers/pageflow/page_types_helper.rb +10 -10
  36. data/app/helpers/pageflow/revision_file_helper.rb +3 -3
  37. data/app/helpers/pageflow/social_share_helper.rb +2 -2
  38. data/app/inputs/pageflow_permalink_input.rb +15 -3
  39. data/app/models/concerns/pageflow/entry_publication_states.rb +9 -0
  40. data/app/models/concerns/pageflow/reusable_file.rb +3 -3
  41. data/app/models/concerns/pageflow/uploadable_file.rb +5 -0
  42. data/app/models/pageflow/account.rb +8 -0
  43. data/app/models/pageflow/audio_file_url_templates.rb +2 -1
  44. data/app/models/pageflow/draft_entry.rb +1 -1
  45. data/app/models/pageflow/entries_feed.rb +32 -0
  46. data/app/models/pageflow/entry.rb +7 -5
  47. data/app/models/pageflow/entry_at_revision.rb +2 -0
  48. data/app/models/pageflow/image_file.rb +34 -8
  49. data/app/models/pageflow/image_file_url_templates.rb +7 -1
  50. data/app/models/pageflow/membership.rb +3 -2
  51. data/app/models/pageflow/other_file.rb +5 -0
  52. data/app/models/pageflow/other_file_url_templates.rb +16 -0
  53. data/app/models/pageflow/published_entry.rb +6 -0
  54. data/app/models/pageflow/revision.rb +6 -0
  55. data/app/models/pageflow/site.rb +8 -0
  56. data/app/models/pageflow/sitemaps.rb +14 -0
  57. data/app/models/pageflow/used_file.rb +10 -2
  58. data/app/models/pageflow/video_file_url_templates.rb +3 -1
  59. data/app/models/pageflow/widget.rb +9 -1
  60. data/app/views/admin/entries/_permalink_inputs.html.erb +1 -2
  61. data/app/views/admin/sites/_attributes_table.html.arb +3 -0
  62. data/app/views/admin/sites/_fields.html.erb +6 -0
  63. data/app/views/components/pageflow/admin/extensible_attributes_table.rb +2 -2
  64. data/app/views/components/pageflow/admin/revisions_tab.rb +8 -0
  65. data/app/views/components/pageflow/admin/sites_tab.rb +3 -0
  66. data/app/views/pageflow/editor/config/_seeds.json.jbuilder +2 -0
  67. data/app/views/pageflow/editor/entries/_entry.json.jbuilder +1 -0
  68. data/app/views/pageflow/editor/entry_publications/check.json.jbuilder +1 -0
  69. data/app/views/pageflow/feeds/index.atom.builder +20 -0
  70. data/app/views/pageflow/image_files/_image_file.json.jbuilder +1 -0
  71. data/app/views/pageflow/meta_tags/_entry.html.erb +1 -0
  72. data/app/views/pageflow/sitemaps/index.xml.builder +9 -0
  73. data/config/initializers/features.rb +3 -0
  74. data/config/initializers/paperclip.rb +8 -0
  75. data/config/locales/de.yml +77 -6
  76. data/config/locales/en.yml +79 -4
  77. data/config/routes.rb +3 -0
  78. data/config/spring.rb +1 -1
  79. data/db/migrate/20230120092923_create_other_files.rb +23 -0
  80. data/db/migrate/20230323115745_add_feeds_enabled_to_sites.rb +5 -0
  81. data/db/migrate/20230323154323_add_sitemap_enabled_to_sites.rb +5 -0
  82. data/db/migrate/20230331103823_add_title_to_sites.rb +5 -0
  83. data/db/migrate/20230405103612_add_custom_feed_url_to_sites.rb +5 -0
  84. data/db/migrate/20231024062501_add_output_presences_to_image_files.rb +5 -0
  85. data/db/migrate/20231128124523_add_noindex_to_revisions.rb +5 -0
  86. data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/editor.js +710 -259
  87. data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/frontend.js +34 -5
  88. data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/react-client.js +1 -1
  89. data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/react-server.js +1 -1
  90. data/entry_types/paged/app/controllers/pageflow_paged/editor/entries_controller.rb +0 -2
  91. data/entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb +2 -1
  92. data/entry_types/paged/app/views/pageflow_paged/entries/show.html.erb +1 -0
  93. data/entry_types/paged/config/initializers/features.rb +0 -1
  94. data/entry_types/paged/lib/pageflow_paged/engine.rb +13 -1
  95. data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/chapters_controller.rb +2 -2
  96. data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/content_elements_controller.rb +3 -4
  97. data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/sections_controller.rb +13 -6
  98. data/entry_types/scrolled/app/controllers/pageflow_scrolled/entries_controller.rb +11 -3
  99. data/entry_types/scrolled/app/helpers/pageflow_scrolled/cache_helper.rb +11 -0
  100. data/entry_types/scrolled/app/helpers/pageflow_scrolled/editor/entry_json_seed_helper.rb +42 -0
  101. data/entry_types/scrolled/app/helpers/pageflow_scrolled/editor/seed_html_helper.rb +8 -5
  102. data/entry_types/scrolled/app/helpers/pageflow_scrolled/packs_helper.rb +17 -12
  103. data/entry_types/scrolled/app/helpers/pageflow_scrolled/react_server_side_rendering_helper.rb +9 -1
  104. data/entry_types/scrolled/app/helpers/pageflow_scrolled/themes_helper.rb +1 -1
  105. data/entry_types/scrolled/app/models/pageflow_scrolled/chapter.rb +23 -0
  106. data/entry_types/scrolled/app/views/pageflow_scrolled/editor/entries/_head.html.erb +1 -1
  107. data/entry_types/scrolled/app/views/pageflow_scrolled/editor/entries/_seed.json.jbuilder +1 -5
  108. data/entry_types/scrolled/app/views/pageflow_scrolled/editor/sections/_section_with_content_elements.json.jbuilder +10 -0
  109. data/entry_types/scrolled/app/views/pageflow_scrolled/entries/show.html.erb +44 -41
  110. data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_consent_vendors.json.jbuilder +16 -0
  111. data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_entry.json.jbuilder +7 -0
  112. data/entry_types/scrolled/config/initializers/features.rb +5 -0
  113. data/entry_types/scrolled/config/locales/consent_widget.de.yml +4 -0
  114. data/entry_types/scrolled/config/locales/consent_widget.en.yml +4 -0
  115. data/entry_types/scrolled/config/locales/de.yml +225 -8
  116. data/entry_types/scrolled/config/locales/en.yml +239 -2
  117. data/entry_types/scrolled/config/routes.rb +4 -0
  118. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/install_generator.rb +69 -44
  119. data/entry_types/scrolled/lib/pageflow_scrolled/additional_packs.rb +2 -1
  120. data/entry_types/scrolled/lib/pageflow_scrolled/additional_seed_data.rb +1 -1
  121. data/entry_types/scrolled/lib/pageflow_scrolled/configuration.rb +96 -0
  122. data/entry_types/scrolled/lib/pageflow_scrolled/content_element_consent_vendors.rb +38 -0
  123. data/entry_types/scrolled/lib/pageflow_scrolled/engine.rb +13 -1
  124. data/entry_types/scrolled/lib/pageflow_scrolled/plugin.rb +30 -0
  125. data/entry_types/scrolled/lib/pageflow_scrolled/react_widget_type.rb +6 -1
  126. data/entry_types/scrolled/lib/pageflow_scrolled/web_app_manifest.rb +1 -1
  127. data/entry_types/scrolled/lib/tasks/pageflow_scrolled/dummy.rake +1 -1
  128. data/entry_types/scrolled/lib/tasks/pageflow_scrolled/storybook.rake +1 -2
  129. data/entry_types/scrolled/package/config/webpack.js +26 -0
  130. data/entry_types/scrolled/package/contentElements-editor.js +330 -32
  131. data/entry_types/scrolled/package/contentElements-frontend.css +1 -1
  132. data/entry_types/scrolled/package/contentElements-frontend.js +920 -145
  133. data/entry_types/scrolled/package/editor.js +819 -239
  134. data/entry_types/scrolled/package/frontend/{EditableInlineText.module-14c7b097.js → EditableInlineText.module-6ee0e024.js} +1975 -1792
  135. data/entry_types/scrolled/package/frontend/PhonePlatformContext-b28d991a.js +32 -0
  136. data/entry_types/scrolled/package/frontend/ToggleFullscreenCornerButton-8242f213.js +107 -0
  137. data/entry_types/scrolled/package/frontend/Viewer-32cd1ac1.js +154 -0
  138. data/entry_types/scrolled/package/frontend/{Viewer-b6becc57.js → Viewer-6e4d14ed.js} +32 -161
  139. data/entry_types/scrolled/package/frontend/arrowRight-e42e6011.js +77 -0
  140. data/entry_types/scrolled/package/frontend/{components-b3160dd7.js → components-24363f97.js} +188 -47
  141. data/entry_types/scrolled/package/frontend/{PhonePlatformContext-f6093cc6.js → i18n-71c39823.js} +191 -111
  142. data/entry_types/scrolled/package/frontend/index-fc4b13e6.js +118 -0
  143. data/entry_types/scrolled/package/frontend/index.css +1 -1
  144. data/entry_types/scrolled/package/frontend/index.js +252 -76
  145. data/entry_types/scrolled/package/frontend/useContentElementEditorState-245f1986.js +52 -0
  146. data/entry_types/scrolled/package/package.json +6 -4
  147. data/entry_types/scrolled/package/testHelpers.js +11 -2
  148. data/entry_types/scrolled/package/values/colors.module.css +15 -0
  149. data/entry_types/scrolled/package/widgets/consentBar.css +1 -0
  150. data/entry_types/scrolled/package/widgets/consentBar.js +426 -0
  151. data/entry_types/scrolled/package/widgets/defaultNavigation.css +2 -2
  152. data/entry_types/scrolled/package/widgets/defaultNavigation.js +39 -4
  153. data/entry_types/scrolled/package/widgets/iconInlineFileRights.css +1 -0
  154. data/entry_types/scrolled/package/widgets/iconInlineFileRights.js +49 -0
  155. data/entry_types/scrolled/package/widgets/textInlineFileRights.css +1 -0
  156. data/entry_types/scrolled/package/widgets/textInlineFileRights.js +37 -0
  157. data/lib/generators/pageflow/resque/resque_generator.rb +1 -1
  158. data/lib/generators/pageflow/resque/templates/resque.rake +1 -1
  159. data/lib/generators/pageflow/resque/templates/resque.rb +1 -1
  160. data/lib/generators/pageflow/routes/routes_generator.rb +1 -1
  161. data/lib/pageflow/ability_mixin.rb +5 -5
  162. data/lib/pageflow/active_admin_can_can_fix.rb +2 -2
  163. data/lib/pageflow/built_in_file_type.rb +7 -0
  164. data/lib/pageflow/configuration.rb +29 -1
  165. data/lib/pageflow/engine.rb +18 -40
  166. data/lib/pageflow/entry_export_import/revision_serialization.rb +1 -1
  167. data/lib/pageflow/file_type.rb +2 -2
  168. data/lib/pageflow/global_config_api.rb +2 -2
  169. data/lib/pageflow/nested_revision_component.rb +23 -5
  170. data/lib/pageflow/page_type.rb +1 -1
  171. data/lib/pageflow/paperclip_processors/webp.rb +63 -0
  172. data/lib/pageflow/rails_version.rb +19 -0
  173. data/lib/pageflow/seeds.rb +10 -7
  174. data/lib/pageflow/user_mixin.rb +1 -1
  175. data/lib/pageflow/version.rb +1 -1
  176. data/lib/pageflow/widget_types.rb +4 -0
  177. data/package/config/jest/index.js +3 -1
  178. data/package/config/webpack5.js +14 -0
  179. data/package/editor.js +410 -181
  180. data/package/frontend.js +34 -4
  181. data/package/testHelpers.js +1 -1
  182. data/package/ui.js +297 -71
  183. data/spec/factories/entries.rb +34 -3
  184. data/spec/factories/sites.rb +3 -0
  185. data/vendor/assets/javascripts/iscroll.js +4 -7
  186. metadata +118 -80
  187. data/app/helpers/pageflow/admin/permalinks_helper.rb +0 -15
  188. data/entry_types/scrolled/package/frontend/arrowRight-78a7cee4.js +0 -42
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f961d4e469b058f29cbba131a2ab69068547a6215111a1e9dae04040b956ddcf
4
- data.tar.gz: 91b70f55119f6c1b8f8b8f4d1b98555f9d58bf73160165d7e4d16f8026384d81
3
+ metadata.gz: 2de029a582b4579bf3d667b9ca755e33d9c6417913c246ada15dc130802ac3bc
4
+ data.tar.gz: ccda39ce46e52b370cdc6825caf10e6c4d3c8582778eaa11a53ed9ec6a6923f4
5
5
  SHA512:
6
- metadata.gz: 82ac9717c4501f56715a6afc1a855ea9ce82f8cf1d3b6c3627ca8785960753a2967ba5114f5c348aa95608160c70b59edf338b9ea21d94fe1aee98cd7704adba
7
- data.tar.gz: 0abd22f0d5bf02e29f6ac4b9fb6bc03732eec4a5e3cbd596aed79498f218e333a915bbbe1eee3b923bfe14ce213767f380c433c22180e5cb6294e38aa2694ab8
6
+ metadata.gz: f7db71d84a68c3e57bef37a4f8856d083e26bfacd09315f93cbd6235af33891bec7c24bf5e57a36ae145bce6ac10948f7ed1e413cef52c47acc82e9955ca6f14
7
+ data.tar.gz: 37dd7203da4beee0da742d22a92dfb4d37ef0b75110c8d60430951de73a16a4e99293f04e3a9f085a3b2b49b864e7a9c2dcaa65a3717770f18cc7416a9068193
data/CHANGELOG.md CHANGED
@@ -1,55 +1,108 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 16.0.0
3
+ ### Version 16.2.0
4
4
 
5
- 2023-01-11
5
+ 2024-01-12
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow/compare/15-x-stable...v16.0.0)
7
+ [Compare changes](https://github.com/codevise/pageflow/compare/16-1-stable...v16.2.0)
8
8
 
9
9
  #### Core
10
10
 
11
- ##### Breaking Changes
11
+ ##### Manual Update Steps
12
12
 
13
- - The `Theming` model has been renamed to `Site`.
14
- ([#1903](https://github.com/codevise/pageflow/pull/1903),
15
- [#1914](https://github.com/codevise/pageflow/pull/1914))
13
+ - Decouple host application from scrolled widget packs
14
+ ([#2035](https://github.com/codevise/pageflow/pull/2035))
16
15
 
17
- Related associations like `Entry#theming` or
18
- `Account#default_theming` have been renamed to `Entry#site` and
19
- `Account#default_site` accordingly.
16
+ Remove `defaultNavigation.js` and `consentBar.js` from
17
+ `app/javascript/packs/pageflow-scrolled/widgets`. Import
18
+ `pageflow-scrolled/widgets-server` instead of
19
+ `pageflow-scrolled/widgets/defaultNavigation` and
20
+ `pageflow-scrolled/widgets/consentBar` in
21
+ `app/javascript/packs/pageflow-scrolled-server.js`.
20
22
 
21
- - Entry templates and theme customizations now belong to sites instead
22
- of accounts.
23
- ([#1904](https://github.com/codevise/pageflow/pull/1904),
24
- [#1915](https://github.com/codevise/pageflow/pull/1915))
23
+ - Add experimental webp support
24
+ ([#2020](https://github.com/codevise/pageflow/pull/2020),
25
+ [#2027](https://github.com/codevise/pageflow/pull/2027))
25
26
 
26
- Accounts can now contain multiple sites with their own set of
27
- templates and customized theme.
27
+ Pageflow now requires the `libvips` binary to be installed. See
28
+ [`libvips` install
29
+ instructions](https://www.libvips.org/install.html).
30
+
31
+ ##### Published Entry
32
+
33
+ - Allow publishing entries with noindex robots meta tag
34
+ ([#2032](https://github.com/codevise/pageflow/pull/2032))
35
+ - Allow removing cname domain suffix from entry title
36
+ ([#2028](https://github.com/codevise/pageflow/pull/2028))
37
+
38
+ ##### Editor
39
+
40
+ - Bug fix: Prevent caching wrong file perma ids
41
+ ([#2049](https://github.com/codevise/pageflow/pull/2049))
42
+
43
+ ##### Rails Engine
44
+
45
+ - Do not require auth object for ransackable_* methods
46
+ ([#2037](https://github.com/codevise/pageflow/pull/2037))
47
+
48
+ ##### JavaScript API
49
+
50
+ - Improve `TextAreaInputView` for usage outside editor
51
+ ([#2038](https://github.com/codevise/pageflow/pull/2038))
28
52
 
29
53
  ##### Internal
30
54
 
31
- - Add reusable GitHub workflow to run RSpec tests
32
- ([#1905](https://github.com/codevise/pageflow/pull/1905))
55
+ - Rails 7.1 compatibility
56
+ ([#2025](https://github.com/codevise/pageflow/pull/2025))
57
+ ([#2024](https://github.com/codevise/pageflow/pull/2024))
58
+ ([#2023](https://github.com/codevise/pageflow/pull/2023))
59
+ ([#2048](https://github.com/codevise/pageflow/pull/2048))
60
+ ([#2045](https://github.com/codevise/pageflow/pull/2045))
61
+ ([#2044](https://github.com/codevise/pageflow/pull/2044))
62
+ ([#2043](https://github.com/codevise/pageflow/pull/2043))
63
+ ([#2029](https://github.com/codevise/pageflow/pull/2029))
64
+ ([#2021](https://github.com/codevise/pageflow/pull/2021))
65
+ - Use Node 18 in CI
66
+ ([#2046](https://github.com/codevise/pageflow/pull/2046))
67
+ - Replace webdrivers with selenium-webdriver 4.15
68
+ ([#2026](https://github.com/codevise/pageflow/pull/2026))
69
+ - Fix accessing logs in headless Chrome 120
70
+ ([#2040](https://github.com/codevise/pageflow/pull/2040))
71
+ - Vendor jQuery UI sortable for tests
72
+ ([#2039](https://github.com/codevise/pageflow/pull/2039))
73
+
74
+ #### Paged Entry Type
75
+
76
+ ##### Published Entry
77
+
78
+ - Add theme option to hide legal info button
79
+ ([#2041](https://github.com/codevise/pageflow/pull/2041))
80
+ - Allow additional frontend packs without content element types
81
+ ([#2042](https://github.com/codevise/pageflow/pull/2042))
82
+ - Bug fix: Fall back to entry when share page is missing
83
+ ([#2050](https://github.com/codevise/pageflow/pull/2050))
33
84
 
34
85
  #### Scrolled Entry Type
35
86
 
36
- - Simplify borders in default navigation mobile chapter menu
37
- ([#1913](https://github.com/codevise/pageflow/pull/1913))
38
- - Add theme property for chapter link separator color
39
- ([#1912](https://github.com/codevise/pageflow/pull/1912))
40
- - Add widget slot to default navigation
41
- ([#1911](https://github.com/codevise/pageflow/pull/1911))
42
- - Improve theme property for default navigation progress bar height
43
- ([#1910](https://github.com/codevise/pageflow/pull/1910))
44
- - Add theme option to use smaller menu icon variant
45
- ([#1909](https://github.com/codevise/pageflow/pull/1909))
46
- - Allow using custom icons for share options
47
- ([#1907](https://github.com/codevise/pageflow/pull/1907))
87
+ ##### Published Entry
48
88
 
49
- [Compare changes](https://github.com/codevise/pageflow/compare/15-x-stable...master)
89
+ - Inline file rights
90
+ ([#2033](https://github.com/codevise/pageflow/pull/2033))
91
+ ([#2036](https://github.com/codevise/pageflow/pull/2036))
92
+ - Backdrop animations/stand alone position
93
+ ([#2047](https://github.com/codevise/pageflow/pull/2047))
94
+ - Add tagline and subtitle to heading content element
95
+ ([#2022](https://github.com/codevise/pageflow/pull/2022))
96
+ - Add feature flag to enlarge player pool
97
+ ([#2031](https://github.com/codevise/pageflow/pull/2031))
98
+ - Use theme entry font for captions of fullscreen image galleries
99
+ ([#2030](https://github.com/codevise/pageflow/pull/2030))
100
+
101
+ ##### Internal
50
102
 
51
- None so far.
103
+ - Do not force local Paperclip storage in storybook seeds
104
+ ([#2034](https://github.com/codevise/pageflow/pull/2034))
52
105
 
53
106
  See
54
- [15-x-stable branch](https://github.com/codevise/pageflow/blob/15-x-stable/CHANGELOG.md)
107
+ [16-1-stable branch](https://github.com/codevise/pageflow/blob/16-1-stable/CHANGELOG.md)
55
108
  for previous changes.
data/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/pageflow.svg)](http://badge.fury.io/rb/pageflow)
4
4
  [![Build Status](https://github.com/codevise/pageflow/workflows/tests/badge.svg)](https://github.com/codevise/pageflow/actions)
5
- [![Coverage Status](https://coveralls.io/repos/github/codevise/pageflow/badge.svg?branch=master)](https://coveralls.io/github/codevise/pageflow?branch=master)
6
5
  [![Code Climate](https://codeclimate.com/github/codevise/pageflow/badges/gpa.svg)](https://codeclimate.com/github/codevise/pageflow)
7
6
  [![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)
8
7
 
@@ -50,12 +49,13 @@ Pageflow assumes the following choice of libraries:
50
49
 
51
50
  Pageflow runs in environments with:
52
51
 
53
- * Ruby >= 2.1 (see `.travis.yml` for supported versions)
54
- * Node >= 10.18
55
- * Rails 4.2
52
+ * Ruby >= 3.2
53
+ * Node >= 18
54
+ * Rails 6.1
56
55
  * Redis server (for Resque)
57
56
  * A database server supported by Active Record (tested with MySQL)
58
57
  * ImageMagick
58
+ * [libvips](https://github.com/libvips/ruby-vips)
59
59
  * [Audio Waveform Image Generator](https://github.com/bbc/audiowaveform#installation)
60
60
 
61
61
  Accounts of the following cloud services have to be registered:
@@ -95,8 +95,8 @@ for details.
95
95
 
96
96
  # The install generator sets up Resque as Active Job backend
97
97
  gem 'resque', '~> 1.25'
98
- gem 'resque-scheduler', '~> 2.5'
99
- gem 'ar_after_transaction', '~> 0.5.0'
98
+ gem 'resque-scheduler', '~> 4.10'
99
+ gem 'ar_after_transaction', '~> 0.8.0'
100
100
  gem 'redis', '~> 3.0'
101
101
  gem 'redis-namespace', '~> 1.5'
102
102
 
data/Rakefile CHANGED
@@ -30,7 +30,7 @@ end
30
30
  require File.expand_path('spec/support/pageflow/dummy/app', File.dirname(__FILE__))
31
31
  APP_RAKEFILE = File.expand_path("../#{Pageflow::Dummy::App.new.directory}/Rakefile", __FILE__)
32
32
 
33
- load 'rails/tasks/engine.rake' if File.exists?(APP_RAKEFILE)
33
+ load 'rails/tasks/engine.rake' if File.exist?(APP_RAKEFILE)
34
34
  load File.expand_path('lib/tasks/pageflow_tasks.rake', File.dirname(__FILE__))
35
35
 
36
36
  Bundler::GemHelper.install_tasks
@@ -204,7 +204,6 @@ module Pageflow
204
204
  helper Admin::FeaturesHelper
205
205
  helper Admin::FormHelper
206
206
  helper Admin::MembershipsHelper
207
- helper Admin::PermalinksHelper
208
207
  helper Admin::RevisionsHelper
209
208
 
210
209
  helper_method :account_policy_scope
@@ -19,8 +19,11 @@ module Pageflow
19
19
  permit_params do
20
20
  [
21
21
  :name,
22
+ :title,
22
23
  :cname,
23
24
  :additional_cnames,
25
+ :feeds_enabled,
26
+ :sitemap_enabled,
24
27
  :imprint_link_url,
25
28
  :imprint_link_label,
26
29
  :copyright_link_url,
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="#5d5d5d">
3
+ <path stroke-linecap="round" stroke-linejoin="round" d="M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88" />
4
+ </svg>