pageflow 16.0.0 → 16.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +210 -33
  3. data/README.md +0 -1
  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/javascripts/pageflow/dist/ui.js +298 -72
  8. data/app/assets/stylesheets/pageflow/admin/permalink_input.scss +10 -0
  9. data/app/assets/stylesheets/pageflow/editor/drop_down_button.scss +6 -1
  10. data/app/assets/stylesheets/pageflow/editor/file_thumbnails.scss +4 -0
  11. data/app/assets/stylesheets/pageflow/editor/help.scss +3 -3
  12. data/app/assets/stylesheets/pageflow/editor/info_box.scss +7 -0
  13. data/app/assets/stylesheets/pageflow/editor/inputs/file_input.scss +0 -5
  14. data/app/assets/stylesheets/pageflow/ui/forms.scss +1 -1
  15. data/app/controllers/pageflow/chapters_controller.rb +2 -2
  16. data/app/controllers/pageflow/editor/files_controller.rb +1 -1
  17. data/app/controllers/pageflow/entries_controller.rb +10 -0
  18. data/app/controllers/pageflow/feeds_controller.rb +18 -0
  19. data/app/controllers/pageflow/pages_controller.rb +2 -2
  20. data/app/controllers/pageflow/sitemaps_controller.rb +15 -0
  21. data/app/controllers/pageflow/storylines_controller.rb +2 -2
  22. data/app/helpers/pageflow/entries_helper.rb +2 -1
  23. data/app/helpers/pageflow/feeds_helper.rb +66 -0
  24. data/app/helpers/pageflow/page_types_helper.rb +9 -9
  25. data/app/inputs/pageflow_permalink_input.rb +15 -3
  26. data/app/models/concerns/pageflow/reusable_file.rb +3 -3
  27. data/app/models/pageflow/account.rb +8 -0
  28. data/app/models/pageflow/audio_file_url_templates.rb +2 -1
  29. data/app/models/pageflow/draft_entry.rb +1 -1
  30. data/app/models/pageflow/entries_feed.rb +32 -0
  31. data/app/models/pageflow/image_file.rb +14 -3
  32. data/app/models/pageflow/membership.rb +3 -2
  33. data/app/models/pageflow/other_file.rb +5 -0
  34. data/app/models/pageflow/other_file_url_templates.rb +16 -0
  35. data/app/models/pageflow/published_entry.rb +6 -0
  36. data/app/models/pageflow/revision.rb +4 -0
  37. data/app/models/pageflow/site.rb +8 -0
  38. data/app/models/pageflow/sitemaps.rb +13 -0
  39. data/app/models/pageflow/used_file.rb +2 -2
  40. data/app/models/pageflow/video_file_url_templates.rb +3 -1
  41. data/app/models/pageflow/widget.rb +9 -1
  42. data/app/views/admin/entries/_permalink_inputs.html.erb +1 -2
  43. data/app/views/admin/sites/_attributes_table.html.arb +3 -0
  44. data/app/views/admin/sites/_fields.html.erb +6 -0
  45. data/app/views/components/pageflow/admin/extensible_attributes_table.rb +8 -2
  46. data/app/views/components/pageflow/admin/sites_tab.rb +3 -0
  47. data/app/views/pageflow/editor/config/_seeds.json.jbuilder +1 -0
  48. data/app/views/pageflow/feeds/index.atom.builder +20 -0
  49. data/app/views/pageflow/sitemaps/index.xml.builder +9 -0
  50. data/config/initializers/features.rb +1 -0
  51. data/config/initializers/paperclip.rb +4 -0
  52. data/config/locales/de.yml +27 -6
  53. data/config/locales/en.yml +30 -4
  54. data/config/routes.rb +3 -0
  55. data/config/spring.rb +1 -1
  56. data/db/migrate/20230120092923_create_other_files.rb +23 -0
  57. data/db/migrate/20230323115745_add_feeds_enabled_to_sites.rb +5 -0
  58. data/db/migrate/20230323154323_add_sitemap_enabled_to_sites.rb +5 -0
  59. data/db/migrate/20230331103823_add_title_to_sites.rb +5 -0
  60. data/db/migrate/20230405103612_add_custom_feed_url_to_sites.rb +5 -0
  61. data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/editor.js +445 -109
  62. data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/frontend.js +26 -3
  63. data/entry_types/paged/app/controllers/pageflow_paged/editor/entries_controller.rb +0 -2
  64. data/entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb +1 -0
  65. data/entry_types/paged/app/views/pageflow_paged/entries/show.html.erb +1 -0
  66. data/entry_types/paged/config/initializers/features.rb +0 -1
  67. data/entry_types/paged/lib/pageflow_paged/engine.rb +17 -1
  68. data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/chapters_controller.rb +2 -2
  69. data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/content_elements_controller.rb +3 -4
  70. data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/sections_controller.rb +13 -6
  71. data/entry_types/scrolled/app/controllers/pageflow_scrolled/entries_controller.rb +2 -0
  72. data/entry_types/scrolled/app/helpers/pageflow_scrolled/cache_helper.rb +11 -0
  73. data/entry_types/scrolled/app/helpers/pageflow_scrolled/editor/entry_json_seed_helper.rb +42 -0
  74. data/entry_types/scrolled/app/helpers/pageflow_scrolled/editor/seed_html_helper.rb +3 -0
  75. data/entry_types/scrolled/app/helpers/pageflow_scrolled/packs_helper.rb +31 -10
  76. data/entry_types/scrolled/app/helpers/pageflow_scrolled/react_server_side_rendering_helper.rb +9 -1
  77. data/entry_types/scrolled/app/helpers/pageflow_scrolled/themes_helper.rb +3 -1
  78. data/entry_types/scrolled/app/models/pageflow_scrolled/chapter.rb +23 -0
  79. data/entry_types/scrolled/app/views/pageflow_scrolled/editor/entries/_head.html.erb +6 -1
  80. data/entry_types/scrolled/app/views/pageflow_scrolled/editor/entries/_seed.json.jbuilder +1 -5
  81. data/entry_types/scrolled/app/views/pageflow_scrolled/editor/sections/_section_with_content_elements.json.jbuilder +10 -0
  82. data/entry_types/scrolled/app/views/pageflow_scrolled/entries/show.html.erb +44 -41
  83. data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_consent_vendors.json.jbuilder +16 -0
  84. data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_entry.json.jbuilder +3 -0
  85. data/entry_types/scrolled/config/initializers/features.rb +5 -0
  86. data/entry_types/scrolled/config/locales/consent_widget.de.yml +4 -0
  87. data/entry_types/scrolled/config/locales/consent_widget.en.yml +4 -0
  88. data/entry_types/scrolled/config/locales/de.yml +189 -8
  89. data/entry_types/scrolled/config/locales/en.yml +207 -2
  90. data/entry_types/scrolled/config/routes.rb +4 -0
  91. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/install_generator.rb +97 -5
  92. data/entry_types/scrolled/lib/pageflow_scrolled/additional_seed_data.rb +1 -1
  93. data/entry_types/scrolled/lib/pageflow_scrolled/configuration.rb +96 -0
  94. data/entry_types/scrolled/lib/pageflow_scrolled/content_element_consent_vendors.rb +38 -0
  95. data/entry_types/scrolled/lib/pageflow_scrolled/engine.rb +17 -1
  96. data/entry_types/scrolled/lib/pageflow_scrolled/plugin.rb +24 -0
  97. data/entry_types/scrolled/lib/pageflow_scrolled/react_widget_type.rb +6 -1
  98. data/entry_types/scrolled/lib/tasks/pageflow_scrolled/storybook.rake +1 -2
  99. data/entry_types/scrolled/package/contentElements-editor.js +307 -22
  100. data/entry_types/scrolled/package/contentElements-frontend.css +1 -1
  101. data/entry_types/scrolled/package/contentElements-frontend.js +690 -71
  102. data/entry_types/scrolled/package/editor.js +616 -220
  103. data/entry_types/scrolled/package/frontend/{EditableInlineText.module-14c7b097.js → EditableInlineText.module-fa9e3aff.js} +1669 -1674
  104. data/entry_types/scrolled/package/frontend/PhonePlatformContext-10a1d600.js +32 -0
  105. data/entry_types/scrolled/package/frontend/ToggleFullscreenCornerButton-727cce0d.js +107 -0
  106. data/entry_types/scrolled/package/frontend/Viewer-169e14ca.js +154 -0
  107. data/entry_types/scrolled/package/frontend/{Viewer-b6becc57.js → Viewer-ee1aa590.js} +32 -161
  108. data/entry_types/scrolled/package/frontend/arrowRight-92a34ccc.js +77 -0
  109. data/entry_types/scrolled/package/frontend/{components-b3160dd7.js → components-4a09bfa3.js} +185 -45
  110. data/entry_types/scrolled/package/frontend/{PhonePlatformContext-f6093cc6.js → i18n-ddd92820.js} +149 -107
  111. data/entry_types/scrolled/package/frontend/index-02378634.js +118 -0
  112. data/entry_types/scrolled/package/frontend/index.css +1 -1
  113. data/entry_types/scrolled/package/frontend/index.js +206 -54
  114. data/entry_types/scrolled/package/frontend/useContentElementEditorState-63045393.js +52 -0
  115. data/entry_types/scrolled/package/package.json +2 -1
  116. data/entry_types/scrolled/package/testHelpers.js +9 -2
  117. data/entry_types/scrolled/package/values/colors.module.css +15 -0
  118. data/entry_types/scrolled/package/widgets/consentBar.css +1 -0
  119. data/entry_types/scrolled/package/widgets/consentBar.js +426 -0
  120. data/entry_types/scrolled/package/widgets/defaultNavigation.css +1 -1
  121. data/lib/generators/pageflow/resque/resque_generator.rb +1 -1
  122. data/lib/pageflow/ability_mixin.rb +5 -5
  123. data/lib/pageflow/active_admin_can_can_fix.rb +2 -2
  124. data/lib/pageflow/built_in_file_type.rb +7 -0
  125. data/lib/pageflow/configuration.rb +21 -0
  126. data/lib/pageflow/engine.rb +60 -39
  127. data/lib/pageflow/entry_export_import/revision_serialization.rb +1 -1
  128. data/lib/pageflow/file_type.rb +2 -2
  129. data/lib/pageflow/global_config_api.rb +2 -2
  130. data/lib/pageflow/nested_revision_component.rb +23 -5
  131. data/lib/pageflow/rails_version.rb +19 -0
  132. data/lib/pageflow/seeds.rb +10 -7
  133. data/lib/pageflow/version.rb +1 -1
  134. data/lib/pageflow/widget_types.rb +4 -0
  135. data/package/config/webpack5.js +14 -0
  136. data/package/editor.js +141 -30
  137. data/package/frontend.js +26 -2
  138. data/package/testHelpers.js +1 -1
  139. data/package/ui.js +296 -71
  140. data/spec/factories/entries.rb +17 -3
  141. data/spec/factories/sites.rb +3 -0
  142. data/vendor/assets/javascripts/iscroll.js +4 -7
  143. metadata +65 -49
  144. data/app/helpers/pageflow/admin/permalinks_helper.rb +0 -15
  145. data/entry_types/scrolled/package/frontend/arrowRight-78a7cee4.js +0 -42
@@ -266,15 +266,19 @@ de:
266
266
  published_until: Publiziert bis
267
267
  updated_at: Geändert am
268
268
  pageflow/site:
269
+ account: Konto
269
270
  additional_cnames: Zusätzliche CNAMES
270
271
  cname: CNAME
271
272
  copyright_link_label: Copyright-Link Text
272
273
  copyright_link_url: Copyright-Link URL
274
+ feeds_enabled: Atom-Feeds
273
275
  home_url: Redirect URL
274
276
  imprint_link_label: Impressum-Link Text
275
277
  imprint_link_url: Impressum-Link URL
276
278
  privacy_link_url: Datenschutz-Link URL
277
279
  share_providers: Standard Share Links
280
+ sitemap_enabled: XML-Sitemap
281
+ title: Titel
278
282
  pageflow/text_track_file:
279
283
  kind: Art
280
284
  label: Label
@@ -403,6 +407,9 @@ de:
403
407
  pageflow/membership:
404
408
  one: Mitgliedschaft
405
409
  other: Mitgliedschaften
410
+ pageflow/other_file:
411
+ many: Unbekannte Dateien
412
+ one: Unbekannte Datei
406
413
  pageflow/revision:
407
414
  one: Revision
408
415
  other: Revisionen
@@ -499,7 +506,7 @@ de:
499
506
  - Fr
500
507
  - Sa
501
508
  abbr_month_names:
502
- -
509
+ -
503
510
  - Jan
504
511
  - Feb
505
512
  - Mär
@@ -525,7 +532,7 @@ de:
525
532
  long: "%e. %B %Y"
526
533
  short: "%e. %b"
527
534
  month_names:
528
- -
535
+ -
529
536
  - Januar
530
537
  - Februar
531
538
  - März
@@ -894,10 +901,24 @@ de:
894
901
  default_locale_hint: Voreinstellung Sprache für Einträge
895
902
  default_name: "(Standard)"
896
903
  default_publisher_hint: Voreinstellung 'publisher' Meta-Feld für Eintrage
904
+ feeds_hint: |-
905
+ Wenn diese Option aktiviert ist, stehen Feeds mit allen
906
+ veröffentlichten Beiträgen der Site über URLs der Form
907
+ https://%{site_host}/feeds/de.atom zu Verfügung, wobei "en"
908
+ durch ein beliebiges Sprachkürzel ersetzt werden kann, nach
909
+ dem gefiltert werden soll.
897
910
  home_url_hint: Wird einer der obigen CNAMES ohne Pfad in der URL verwendet, wird zu dieser URL umgeleitet. Standard Link Ziel des Home Buttons.
898
911
  name: "%{account_name}"
899
912
  remove_logo: Logo entfernen
900
913
  show: Anzeigen
914
+ sitemap_hint: |-
915
+ Wenn diese Option aktiviert ist, steht eine Sitemap mit
916
+ allen veröffentlichten Einträgen der Site unter
917
+ https://%{site_host}/sitemap.xml zur Verfügung. Registriere
918
+ die URL in Google Search Console oder ähnlichen Tools.
919
+ title_hint: |-
920
+ Wird in Titeln der Beiträge und als Titel für den Atom-Feed
921
+ verwendet.
901
922
  user:
902
923
  cannot_add: Was Sie tun möchten, ist nicht möglich. Sie müssen aktualisieren.
903
924
  none_addable_tooltip: Kein Benutzer verfügbar
@@ -1148,6 +1169,7 @@ de:
1148
1169
  tabs:
1149
1170
  audio_files: Audios
1150
1171
  image_files: Bilder
1172
+ other_files: Andere
1151
1173
  video_files: Videos
1152
1174
  media_loading_spinner:
1153
1175
  widget_type_info_box_text: Dies ist eine Vorschau der Lade-Ansicht von 'Bild'. Die Animation wird ausgeführt, während die Seite geladen wird.
@@ -1290,7 +1312,7 @@ de:
1290
1312
  close: Schließen
1291
1313
  title: Hilfe
1292
1314
  help_button:
1293
- open_help: Hilfe anzeigen
1315
+ open_help: Hilfe
1294
1316
  list_blank_slate:
1295
1317
  text: "(Keine Einträge)"
1296
1318
  list_item:
@@ -1804,9 +1826,7 @@ de:
1804
1826
  publisher: Name oder Firmenname des Herausgeber.
1805
1827
  share_providers: Social Media Plattformen, die unter dem Menüpunkt "Teilen" des Beitrags angezeigt werden sollen
1806
1828
  share_url: URL, die geteilt werden soll, wenn der Benutzer auf einen der Social Media Buttons klickt. Feld frei lassen, um URL des veröffentlichten Beitrags zu verwenden.
1807
- summary: 'Trage hier ein, welcher Beschreibungstext beim Teilen in sozialen Netzwerken angezeigt wird.
1808
-
1809
- '
1829
+ summary: Trage hier ein, welcher Beschreibungstext beim Teilen in sozialen Netzwerken angezeigt wird.
1810
1830
  title: Hier kannst Du Deinem Pageflow einen Titel geben, der in der Titelleiste des Browserfensters angezeigt wird. Unter diesem Titel wird Dein Pageflow nach der Veröffentlichung auch in Suchmaschinen indiziert werden
1811
1831
  pageflow/page:
1812
1832
  additional_title: Die Infobox wird über den Steuerelementen zum Starten und Stoppen der Wiedegabe angezeigt.
@@ -1905,6 +1925,7 @@ de:
1905
1925
  roles:
1906
1926
  analytics: Zählpixel
1907
1927
  background_media_control: Hintergrund-Media-Control
1928
+ consent: Privatsphäre-Einstellungen
1908
1929
  cookie_notice: Privatsphäre-Einstellungen
1909
1930
  loading_spinner: Lade-Ansicht
1910
1931
  mobile_navigation: Mobile Navigation
@@ -266,15 +266,19 @@ en:
266
266
  published_until: Published until
267
267
  updated_at: Updated at
268
268
  pageflow/site:
269
+ account: Account
269
270
  additional_cnames: Additional CNAMES
270
271
  cname: CNAME
271
272
  copyright_link_label: Copyright link Text
272
273
  copyright_link_url: Copyright link URL
274
+ feeds_enabled: Atom feeds
273
275
  home_url: Redirect URL
274
276
  imprint_link_label: Legal notice link label
275
277
  imprint_link_url: Legal notice link URL
276
278
  privacy_link_url: Privacy link URL
277
279
  share_providers: Default Share Links
280
+ sitemap_enabled: XML sitemap
281
+ title: Title
278
282
  pageflow/text_track_file:
279
283
  kind: Kind
280
284
  label: Label
@@ -403,6 +407,9 @@ en:
403
407
  pageflow/membership:
404
408
  one: Membership
405
409
  other: Memberships
410
+ pageflow/other_file:
411
+ many: Unknown files
412
+ one: Unknown file
406
413
  pageflow/revision:
407
414
  one: Version
408
415
  other: Versions
@@ -499,7 +506,7 @@ en:
499
506
  - Fri
500
507
  - Sat
501
508
  abbr_month_names:
502
- -
509
+ -
503
510
  - Jan
504
511
  - Feb
505
512
  - Mar
@@ -525,7 +532,7 @@ en:
525
532
  long: "%B %d, %Y"
526
533
  short: "%b %d"
527
534
  month_names:
528
- -
535
+ -
529
536
  - January
530
537
  - February
531
538
  - March
@@ -732,6 +739,12 @@ en:
732
739
  create: Create %{model}
733
740
  submit: Save %{model}
734
741
  update: Update %{model}
742
+ i18n:
743
+ transliterate:
744
+ rule:
745
+ ä:
746
+ ö:
747
+ ü:
735
748
  language: English
736
749
  number:
737
750
  currency:
@@ -888,10 +901,21 @@ en:
888
901
  default_locale_hint: Default language for stories
889
902
  default_name: "(Default)"
890
903
  default_publisher_hint: Default 'publisher' meta field for stories
904
+ feeds_hint: |-
905
+ When enabled, feeds containing all published entries of the
906
+ site are available via URLs of the form
907
+ https://%{site_host}/feeds/en.atom where "en" can be
908
+ replaced with any locale you want to filter by.
891
909
  home_url_hint: Used for requests to the root path with one of the above CNAMES. Default target location for the home button.
892
910
  name: "%{account_name}"
893
911
  remove_logo: Remove logo
894
912
  show: View
913
+ sitemap_hint: |-
914
+ When enabled, a sitemap with all published entries of the
915
+ site is available at
916
+ https://%{site_host}/sitemap.xml. Register the URL in Google
917
+ Search Console or similar tools.
918
+ title_hint: Used in entry titles and as title for the atom feed.
895
919
  user:
896
920
  cannot_add: What you want to do is not possible. You need to upgrade.
897
921
  none_addable_tooltip: No user available
@@ -1143,6 +1167,7 @@ en:
1143
1167
  tabs:
1144
1168
  audio_files: Audios
1145
1169
  image_files: Images
1170
+ other_files: Other
1146
1171
  video_files: Videos
1147
1172
  media_loading_spinner:
1148
1173
  widget_type_info_box_text: This is a preview of the 'Image' loading view. The animation runs while the page is loading.
@@ -1285,7 +1310,7 @@ en:
1285
1310
  close: Close
1286
1311
  title: Help
1287
1312
  help_button:
1288
- open_help: Open help
1313
+ open_help: Help
1289
1314
  list_blank_slate:
1290
1315
  text: "(No items)"
1291
1316
  list_item:
@@ -1816,7 +1841,7 @@ en:
1816
1841
  The text-block can be formatted with the buttons underneath the input field. [B= bold / I=italic / U=underlined / infinity symbol= Link/URL to an external website]
1817
1842
 
1818
1843
  All changes are visible in the left front-end-view as soon as you leave the appropriate input field in the editor.
1819
- thumbnail_image_id: 'The thumbnail replaces the automatically generated preview-picture in the navigation and overview.'
1844
+ thumbnail_image_id: The thumbnail replaces the automatically generated preview-picture in the navigation and overview.
1820
1845
  transition: Choose the animation, that will be used when users scroll to this page.
1821
1846
  templates:
1822
1847
  inputs:
@@ -1896,6 +1921,7 @@ en:
1896
1921
  roles:
1897
1922
  analytics: Tracking
1898
1923
  background_media_control: Background media control
1924
+ consent: Privacy settings
1899
1925
  cookie_notice: Privacy settings
1900
1926
  loading_spinner: Loading View
1901
1927
  mobile_navigation: Mobile navigation
data/config/routes.rb CHANGED
@@ -88,6 +88,9 @@ Pageflow::Engine.routes.draw do
88
88
  # Authentication provider call back
89
89
  get '/auth/:provider/callback', to: 'users/omniauth_callbacks#auth_callback'
90
90
 
91
+ get 'feeds/:locale', to: 'feeds#index', as: :feed
92
+ get 'sitemap', to: 'sitemaps#index', as: :sitemap
93
+
91
94
  get ':id/manifest', to: 'entries#manifest', as: :entry_manifest
92
95
  get ':id/embed', to: 'entries#show', defaults: {embed: '1'}, as: :entry_embed
93
96
 
data/config/spring.rb CHANGED
@@ -1,2 +1,2 @@
1
- require File.expand_path('../spec/support/pageflow/rails_version', File.dirname(__FILE__))
1
+ require File.expand_path('../lib/pageflow/rails_version', File.dirname(__FILE__))
2
2
  Spring.application_root = File.join(__FILE__, "../../spec/dummy/rails-#{Pageflow::RailsVersion.detect}")
@@ -0,0 +1,23 @@
1
+ class CreateOtherFiles < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :pageflow_other_files do |t|
4
+ t.belongs_to :entry, index: true
5
+ t.belongs_to :uploader, index: true
6
+
7
+ t.bigint 'parent_file_id'
8
+ t.string 'parent_file_model_type'
9
+
10
+ t.string 'state'
11
+ t.string 'rights'
12
+
13
+ t.string 'attachment_on_s3_file_name'
14
+ t.string 'attachment_on_s3_content_type'
15
+ t.bigint 'attachment_on_s3_file_size'
16
+ t.datetime 'attachment_on_s3_updated_at'
17
+
18
+ t.timestamps
19
+
20
+ t.index ['parent_file_id', 'parent_file_model_type'], name: 'index_other_files_on_parent_id_and_parent_model_type'
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,5 @@
1
+ class AddFeedsEnabledToSites < ActiveRecord::Migration[5.2]
2
+ def change
3
+ add_column :pageflow_sites, :feeds_enabled, :boolean
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddSitemapEnabledToSites < ActiveRecord::Migration[5.2]
2
+ def change
3
+ add_column :pageflow_sites, :sitemap_enabled, :boolean
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddTitleToSites < ActiveRecord::Migration[5.2]
2
+ def change
3
+ add_column :pageflow_sites, :title, :string
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddCustomFeedUrlToSites < ActiveRecord::Migration[5.2]
2
+ def change
3
+ add_column :pageflow_sites, :custom_feed_url, :string
4
+ end
5
+ end