pageflow 12.6.0 → 13.0.0.beta1

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 (215) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +78 -16
  3. data/README.md +8 -1
  4. data/Rakefile +0 -4
  5. data/admins/pageflow/accounts.rb +6 -9
  6. data/admins/pageflow/entry.rb +1 -1
  7. data/admins/pageflow/folder.rb +1 -1
  8. data/admins/pageflow/user.rb +4 -4
  9. data/app/assets/javascripts/pageflow/asset_urls.js.erb +1 -1
  10. data/app/assets/javascripts/pageflow/audio/multi_player.js +0 -4
  11. data/app/assets/javascripts/pageflow/audio_player.js +1 -1
  12. data/app/assets/javascripts/pageflow/base.js +0 -2
  13. data/app/assets/javascripts/pageflow/browser/agent.js +78 -92
  14. data/app/assets/javascripts/pageflow/browser/autoplay_support.js +2 -2
  15. data/app/assets/javascripts/pageflow/browser/video.js +1 -6
  16. data/app/assets/javascripts/pageflow/dist/react.js +1100 -2209
  17. data/app/assets/javascripts/pageflow/editor/models/configuration.js +5 -5
  18. data/app/assets/javascripts/pageflow/editor/templates/background_positioning_sliders.jst.ejs +0 -8
  19. data/app/assets/javascripts/pageflow/editor/views/background_positioning_sliders_view.js +23 -37
  20. data/app/assets/javascripts/pageflow/editor/views/background_positioning_view.js +2 -2
  21. data/app/assets/javascripts/pageflow/editor/views/configuration_editors/video.js +1 -1
  22. data/app/assets/javascripts/pageflow/editor/views/edit_widget_view.js +0 -9
  23. data/app/assets/javascripts/pageflow/jquery_utils.js +0 -10
  24. data/app/assets/javascripts/pageflow/media_player.js +3 -7
  25. data/app/assets/javascripts/pageflow/media_player/catch_play_promise.js +23 -0
  26. data/app/assets/javascripts/pageflow/media_player/volume_binding.js +1 -2
  27. data/app/assets/javascripts/pageflow/media_player/volume_fading/web_audio.js +24 -73
  28. data/app/assets/javascripts/pageflow/ready.js +1 -2
  29. data/app/assets/javascripts/pageflow/seed_entry_data.js +3 -3
  30. data/app/assets/javascripts/pageflow/slideshow.js +9 -17
  31. data/app/assets/javascripts/pageflow/slideshow/adjacent_pages.js +4 -9
  32. data/app/assets/javascripts/pageflow/slideshow/{successor_preparer.js → adjacent_preparer.js} +11 -14
  33. data/app/assets/javascripts/pageflow/slideshow/atmo.js +12 -23
  34. data/app/assets/javascripts/pageflow/slideshow/lazy_page_widget.js +2 -2
  35. data/app/assets/javascripts/pageflow/slideshow/progressive_preload.js +42 -0
  36. data/app/assets/javascripts/pageflow/ui/views/configuration_editor_view.js +2 -2
  37. data/app/assets/javascripts/pageflow/video_player/filter_sources.js +2 -16
  38. data/app/assets/javascripts/pageflow/video_player/lazy.js +1 -1
  39. data/app/assets/javascripts/pageflow/visited.js +0 -2
  40. data/app/assets/javascripts/pageflow/widgets.js +0 -1
  41. data/app/assets/javascripts/pageflow/widgets/multimedia_alert.js +1 -2
  42. data/app/assets/javascripts/pageflow/widgets/navigation.js +0 -1
  43. data/app/assets/javascripts/pageflow/widgets/navigation_mobile.js +0 -1
  44. data/app/assets/javascripts/pageflow/widgets/overview.js +1 -3
  45. data/app/assets/stylesheets/pageflow/admin.scss +2 -0
  46. data/app/assets/stylesheets/pageflow/admin/status_tags.scss +13 -0
  47. data/app/assets/stylesheets/pageflow/editor/background_positioning.scss +10 -34
  48. data/app/assets/stylesheets/pageflow/navigation_bar.scss +4 -0
  49. data/app/assets/stylesheets/pageflow/page_types/video.scss +4 -1
  50. data/app/assets/stylesheets/pageflow/themes/default/anchors.scss +0 -5
  51. data/app/assets/stylesheets/pageflow/themes/default/base.scss +0 -2
  52. data/app/assets/stylesheets/pageflow/themes/default/overview/icons/icon_font.scss +1 -4
  53. data/app/assets/stylesheets/pageflow/themes/default/page.scss +0 -19
  54. data/app/assets/stylesheets/pageflow/themes/default/page/anchors.scss +0 -4
  55. data/app/assets/stylesheets/pageflow/themes/default/slideshow.scss +0 -1
  56. data/app/controllers/concerns/pageflow/edit_locking.rb +2 -2
  57. data/app/controllers/concerns/pageflow/public_https_mode.rb +1 -5
  58. data/app/controllers/concerns/pageflow/quota_verification.rb +1 -1
  59. data/app/controllers/pageflow/application_controller.rb +2 -2
  60. data/app/controllers/pageflow/chapters_controller.rb +2 -2
  61. data/app/controllers/pageflow/edit_locks_controller.rb +1 -1
  62. data/app/controllers/pageflow/editor/encoding_confirmations_controller.rb +1 -1
  63. data/app/controllers/pageflow/editor/entries_controller.rb +1 -1
  64. data/app/controllers/pageflow/editor/entry_publications_controller.rb +1 -1
  65. data/app/controllers/pageflow/editor/files_controller.rb +1 -1
  66. data/app/controllers/pageflow/entries_controller.rb +5 -11
  67. data/app/controllers/pageflow/files_controller.rb +1 -1
  68. data/app/controllers/pageflow/pages_controller.rb +2 -2
  69. data/app/controllers/pageflow/revisions_controller.rb +1 -1
  70. data/app/controllers/pageflow/storylines_controller.rb +2 -3
  71. data/app/helpers/pageflow/common_entry_seed_helper.rb +0 -1
  72. data/app/helpers/pageflow/entries_helper.rb +6 -31
  73. data/app/helpers/pageflow/entry_json_seed_helper.rb +1 -1
  74. data/app/helpers/pageflow/public_i18n_helper.rb +1 -6
  75. data/app/jobs/pageflow/application_job.rb +6 -0
  76. data/app/jobs/pageflow/poll_meta_data_from_zencoder_job.rb +2 -4
  77. data/app/jobs/pageflow/poll_zencoder_job.rb +8 -8
  78. data/app/jobs/pageflow/process_file_job.rb +4 -4
  79. data/app/jobs/pageflow/prune_auto_snapshots_job.rb +3 -3
  80. data/app/jobs/pageflow/request_meta_data_from_zencoder_job.rb +4 -4
  81. data/app/jobs/pageflow/submit_file_to_zencoder_job.rb +4 -4
  82. data/app/jobs/pageflow/upload_file_to_s3_job.rb +5 -5
  83. data/app/mailers/pageflow/user_mailer.rb +1 -15
  84. data/app/models/concerns/pageflow/uploaded_file.rb +3 -3
  85. data/app/models/pageflow/audio_file.rb +1 -1
  86. data/app/models/pageflow/chapter.rb +1 -1
  87. data/app/models/pageflow/entry.rb +1 -1
  88. data/app/models/pageflow/invited_user.rb +1 -1
  89. data/app/models/pageflow/membership.rb +4 -2
  90. data/app/models/pageflow/page.rb +1 -1
  91. data/app/models/pageflow/published_entry.rb +3 -4
  92. data/app/models/pageflow/revision.rb +5 -3
  93. data/app/models/pageflow/storyline.rb +5 -1
  94. data/app/models/pageflow/theming.rb +1 -2
  95. data/app/models/pageflow/used_file.rb +12 -0
  96. data/app/models/pageflow/video_file.rb +1 -1
  97. data/app/views/admin/accounts/_form.html.erb +0 -8
  98. data/app/views/admin/accounts/_theming_details.html.arb +0 -3
  99. data/app/views/pageflow/entries/_mobile_navigation.html.erb +3 -2
  100. data/app/views/pageflow/entries/navigation/_page.html.erb +1 -3
  101. data/app/views/pageflow/entries/overview/_page.html.erb +1 -1
  102. data/app/views/pageflow/entry_json_seed/_entry.json.jbuilder +1 -1
  103. data/app/views/pageflow/user_mailer/invitation.html.erb +2 -2
  104. data/app/views/pageflow/user_mailer/invitation.text.erb +1 -1
  105. data/config/locales/de.yml +6 -16
  106. data/config/locales/en.yml +8 -18
  107. data/config/routes.rb +0 -6
  108. data/db/migrate/20140418225525_setup_schema.rb +295 -203
  109. data/db/migrate/20140418240000_add_attributes_to_users.rb +3 -6
  110. data/lib/generators/pageflow/resque/resque_generator.rb +6 -3
  111. data/lib/pageflow.rb +1 -1
  112. data/lib/pageflow/ability_mixin.rb +0 -1
  113. data/lib/pageflow/active_admin_patches/views/attributes_table.rb +1 -1
  114. data/lib/pageflow/active_admin_patches/views/table_for.rb +1 -1
  115. data/lib/pageflow/built_in_widget_type.rb +0 -8
  116. data/lib/pageflow/built_in_widget_types_plugin.rb +0 -2
  117. data/lib/pageflow/configuration.rb +0 -10
  118. data/lib/pageflow/engine.rb +5 -9
  119. data/lib/pageflow/user_mixin.rb +5 -0
  120. data/lib/pageflow/version.rb +1 -1
  121. data/lib/tasks/pageflow_tasks.rake +1 -11
  122. data/spec/factories/accounts.rb +1 -1
  123. data/spec/factories/audio_files.rb +1 -1
  124. data/spec/factories/chapters.rb +1 -3
  125. data/spec/factories/edit_locks.rb +2 -4
  126. data/spec/factories/entries.rb +1 -1
  127. data/spec/factories/feature_targets.rb +1 -1
  128. data/spec/factories/file_usages.rb +1 -1
  129. data/spec/factories/folders.rb +1 -1
  130. data/spec/factories/hosted_files.rb +6 -6
  131. data/spec/factories/image_files.rb +1 -1
  132. data/spec/factories/invited_user.rb +1 -1
  133. data/spec/factories/memberships.rb +1 -1
  134. data/spec/factories/pages.rb +1 -1
  135. data/spec/factories/revisions.rb +1 -1
  136. data/spec/factories/storylines.rb +1 -1
  137. data/spec/factories/text_track_files.rb +1 -1
  138. data/spec/factories/themings.rb +1 -1
  139. data/spec/factories/users.rb +1 -1
  140. data/spec/factories/video_files.rb +1 -1
  141. data/spec/factories/widgets.rb +1 -1
  142. data/vendor/assets/javascripts/audio5.min.js +129 -280
  143. metadata +103 -219
  144. data/app/assets/audios/pageflow/unmute.mp3 +0 -0
  145. data/app/assets/javascripts/pageflow/background_media.js +0 -22
  146. data/app/assets/javascripts/pageflow/cookie_notice.js +0 -7
  147. data/app/assets/javascripts/pageflow/editor/views/info_box_view.js +0 -8
  148. data/app/assets/javascripts/pageflow/editor/views/widget_types/cookie_notice_bar.js +0 -15
  149. data/app/assets/javascripts/pageflow/media_player/handle_failed_play.js +0 -34
  150. data/app/assets/javascripts/pageflow/slideshow/adjacent_preloader.js +0 -26
  151. data/app/assets/stylesheets/pageflow/page_types/video/mobile_poster.scss +0 -15
  152. data/app/assets/stylesheets/pageflow/themes/default/background_media_unmute_button.scss +0 -77
  153. data/app/assets/stylesheets/pageflow/themes/default/cookie_notice_bar.scss +0 -57
  154. data/app/assets/stylesheets/pageflow/themes/default/page/hyphenate.scss +0 -24
  155. data/app/controllers/pageflow/admin/initial_passwords_controller.rb +0 -8
  156. data/app/views/pageflow/admin/initial_passwords/edit.html.erb +0 -16
  157. data/app/views/pageflow/entries/mobile_navigation/_page.html.erb +0 -5
  158. data/db/migrate/20140624135420_create_themings.rb +0 -15
  159. data/db/migrate/20140624135421_create_themings_for_existing_accounts.rb +0 -26
  160. data/db/migrate/20140624135422_change_theme_references_to_theming_references.rb +0 -45
  161. data/db/migrate/20140624135423_remove_attributes_from_themes.rb +0 -10
  162. data/db/migrate/20140624135424_create_accounts_themes_join_table.rb +0 -8
  163. data/db/migrate/20140624135425_move_cname_from_account_to_theming.rb +0 -21
  164. data/db/migrate/20140625184800_drop_themes.rb +0 -14
  165. data/db/migrate/20140704110631_add_confirmed_by_to_encoded_files.rb +0 -6
  166. data/db/migrate/20140819081454_add_home_url_attributes_to_themings_and_revisions.rb +0 -9
  167. data/db/migrate/20141027102310_create_widgets.rb +0 -11
  168. data/db/migrate/20141028125408_add_emphasize_chapter_beginning_to_revisions.rb +0 -5
  169. data/db/migrate/20141119164526_add_emphasize_new_pages_to_revisions.rb +0 -5
  170. data/db/migrate/20141119174032_add_sharing_image_to_revisions.rb +0 -7
  171. data/db/migrate/20141128150305_add_locale_to_users.rb +0 -5
  172. data/db/migrate/20141208161030_add_locale_to_revisions.rb +0 -5
  173. data/db/migrate/20141211110226_add_configuration_to_chapters.rb +0 -5
  174. data/db/migrate/20150115175116_add_features_configuration_to_accounts.rb +0 -5
  175. data/db/migrate/20150115175207_add_features_configuration_to_entries.rb +0 -5
  176. data/db/migrate/20150603091823_add_password_attributes_to_revisions.rb +0 -6
  177. data/db/migrate/20150825133449_update_audio_loop_pages_to_use_atmo.rb +0 -24
  178. data/db/migrate/20150826125417_create_pageflow_storylines.rb +0 -12
  179. data/db/migrate/20150826125744_add_storyline_id_to_chapters.rb +0 -6
  180. data/db/migrate/20150826125745_insert_main_storylines.rb +0 -28
  181. data/db/migrate/20150830105831_remove_revision_id_from_chapters.rb +0 -5
  182. data/db/migrate/20150830110006_remove_entry_id_from_chapters.rb +0 -5
  183. data/db/migrate/20151022080518_add_first_published_at_to_entries.rb +0 -14
  184. data/db/migrate/20160131222203_add_cache_counters.rb +0 -23
  185. data/db/migrate/20160201130118_add_additional_cnames_to_themings.rb +0 -5
  186. data/db/migrate/20160216130336_add_meta_fields_to_revision.rb +0 -7
  187. data/db/migrate/20160225075853_add_overview_button_enabled_to_revisions.rb +0 -5
  188. data/db/migrate/20160304072911_rename_membership_entry_and_make_polymorphic.rb +0 -19
  189. data/db/migrate/20160304151327_add_role_to_membership.rb +0 -19
  190. data/db/migrate/20160310080213_add_edited_at_to_entries.rb +0 -9
  191. data/db/migrate/20160425192648_add_index_for_revision_publication_timestamps.rb +0 -5
  192. data/db/migrate/20160504093145_replace_role_and_account_on_user.rb +0 -42
  193. data/db/migrate/20160531152500_update_users_count.rb +0 -27
  194. data/db/migrate/20160617123557_add_meta_fields_to_theming.rb +0 -7
  195. data/db/migrate/20160707125400_add_output_presences_to_video_files.rb +0 -5
  196. data/db/migrate/20160715105408_add_share_url_to_revisions.rb +0 -5
  197. data/db/migrate/20160824115000_add_parent_file_to_video_files.rb +0 -8
  198. data/db/migrate/20160824115100_add_parent_file_to_audio_files.rb +0 -8
  199. data/db/migrate/20160824115200_add_parent_file_to_image_files.rb +0 -8
  200. data/db/migrate/20160929102700_add_configuration_to_files.rb +0 -7
  201. data/db/migrate/20161007144500_add_text_track_files.rb +0 -31
  202. data/db/migrate/20161216175734_move_configuration_from_file_to_file_usage.rb +0 -27
  203. data/db/migrate/20161230144429_add_processed_attachment_to_text_track_files.rb +0 -8
  204. data/db/migrate/20170201074328_add_configuration_to_widgets.rb +0 -5
  205. data/db/migrate/20170222124848_update_video_file_output_presences.rb +0 -12
  206. data/db/migrate/20170315130000_add_theme_name_to_revisions.rb +0 -12
  207. data/db/migrate/20170421112300_turn_background_video_pages_into_background_image_pages.rb +0 -22
  208. data/db/migrate/20170912165050_reset_copied_snapshot_type.rb +0 -24
  209. data/db/migrate/20170913105048_fix_hls_output_presences_for_legacy_video_files.rb +0 -12
  210. data/db/migrate/20180528144334_add_privacy_link_url_to_themings.rb +0 -5
  211. data/db/migrate/20190109085744_add_default_locale_to_themings.rb +0 -6
  212. data/lib/generators/pageflow/resque/templates/devise_async.rb +0 -6
  213. data/lib/generators/pageflow/resque/templates/resque_logger.rb +0 -16
  214. data/lib/generators/pageflow/resque/templates/resque_mailer.rb +0 -4
  215. data/lib/pageflow/primary_domain_entry_redirect.rb +0 -25
@@ -2,7 +2,7 @@
2
2
 
3
3
  <%= t('.instruction') %>
4
4
 
5
- <%= edit_admin_initial_password_url(reset_password_token: @password_token) %>
5
+ <%= main_app.edit_user_password_url(@user, reset_password_token: @password_token) %>
6
6
 
7
7
  <%= t('.ending') %>
8
8
 
@@ -263,13 +263,11 @@ de:
263
263
  copyright_link_url: Copyright-Link URL
264
264
  default_author: Standard Autor
265
265
  default_keywords: Standard Schlüsselwörter
266
- default_locale: Standard Sprache
267
266
  default_publisher: Standard Herausgeber
268
267
  home_button_enabled_by_default: Home-Button in neuen Beiträgen anzeigen
269
268
  home_url: Redirect URL
270
269
  imprint_link_label: Impressum-Link Text
271
270
  imprint_link_url: Impressum-Link URL
272
- privacy_link_url: Datenschutz-Link URL
273
271
  theme_name: Theme
274
272
  pageflow/video_file:
275
273
  dimensions: Maße
@@ -758,6 +756,7 @@ de:
758
756
  no_entries: Keine Beiträge
759
757
  no_members: Keine Benutzer
760
758
  theming_defaults_inline_help: Die folgenden Einstellungen werden als Standard für neue Beiträge des Kontos verwendet. Änderungen wirken sich nicht auf existierende Beiträge aus.
759
+ widgets_inline_help: DELETED
761
760
  entries:
762
761
  add_folder: Ordner hinzufügen
763
762
  confirm_depublish: Soll der Beitrag wirklich depubliziert werden?
@@ -837,7 +836,6 @@ de:
837
836
  cname_hint: Wird in Share Links verwendet.
838
837
  default_author_hint: Voreinstellung 'author' Meta-Feld für Eintrage
839
838
  default_keywords_hint: Voreinstellung 'keywords' Meta-Feld für Eintrage
840
- default_locale_hint: Voreinstellung Sprache für Einträge
841
839
  default_publisher_hint: Voreinstellung 'publisher' Meta-Feld für Eintrage
842
840
  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.
843
841
  name: "%{account_name}"
@@ -985,8 +983,6 @@ de:
985
983
  captions: Ton-Ersatz-Textspur
986
984
  descriptions: Bild-Ersatz-Textspur
987
985
  subtitles: Übersetzungs-Textspur
988
- cookie_notice_bar:
989
- widget_type_name: Leiste am unteren Seitenrand
990
986
  default_theme:
991
987
  name: Standard
992
988
  delayed_text_fade_in:
@@ -1021,8 +1017,6 @@ de:
1021
1017
  header: Dies ist ein leerer Pageflow
1022
1018
  intro: Pageflows bestehen aus Kapiteln und Seiten. In der Seitenleiste rechts findest Du die Gliederung.
1023
1019
  outro: Hier siehst Du dann eine Vorschau deines Pageflows.
1024
- cookie_notice_bar:
1025
- widget_type_info_box_text: Der Hinweis wird beim ersten Öffnen von Beiträgen, die Cookies verwenden, am unteren Seitenrand angezeigt. Cookies werden gesetzt, falls ein Dienst zur Erhebnung von Nutzungsdaten (z.B. Google Analytics) verwendet wird oder wenn die Funktion 'Neue Seiten hervorheben' aktiv ist.
1026
1020
  entries:
1027
1021
  unsupported_browser_hint:
1028
1022
  message: Die Version Ihres Browsers wird vom Pageflow Editor nicht unterstützt. Bitte benutzen Sie einen aktuellen Browser.
@@ -1222,6 +1216,10 @@ de:
1222
1216
  title: Hilfe
1223
1217
  help_button:
1224
1218
  open_help: Hilfe anzeigen
1219
+ inputs:
1220
+ reference:
1221
+ edit: DELETED
1222
+ reset: DELETED
1225
1223
  list_blank_slate:
1226
1224
  text: "(Keine Einträge)"
1227
1225
  list_item:
@@ -1654,9 +1652,6 @@ de:
1654
1652
  image_rights: Bildrechte
1655
1653
  highdef_video_encoding:
1656
1654
  feature_name: Full HD und 4K Videos
1657
- initial_password:
1658
- submit: Speichern und anmelden
1659
- title: Passwort festlegen
1660
1655
  invalid_transition: Der gewünschte Statuswechsel ist nicht erlaubt.
1661
1656
  languages:
1662
1657
  ar: Arabisch
@@ -1723,7 +1718,6 @@ de:
1723
1718
  ui:
1724
1719
  configuration_editor:
1725
1720
  tabs:
1726
- cookie_notice_bar: Cookie Hinweis
1727
1721
  files: Dateien
1728
1722
  general: Allgemein
1729
1723
  links: Verweise
@@ -1769,7 +1763,7 @@ de:
1769
1763
 
1770
1764
  Alle Änderungen sind in der linken Frontend-Ansicht sichtbar, sobald das entsprechende Texteingabefeld im Editierbereich verlassen wurde.
1771
1765
  thumbnail_image_id: Das Thumbnail ersetzt das ansonsten automatisch generierte Vorschaubild in der Navigation und in der Übersicht.
1772
- transition: Wähle hier den Effekt, der beim Erreichen dieser Seite benutzt werden soll.
1766
+ transition: Wähle hier den Effekt, der beim Erreichen dieser der Seite benutzt werden soll.
1773
1767
  templates:
1774
1768
  inputs:
1775
1769
  file_input:
@@ -1809,8 +1803,6 @@ de:
1809
1803
  url_hint: URL muss mit http:// beginnen.
1810
1804
  url_hint_https: URL muss mit http:// oder https:// beginnen.
1811
1805
  unauthorized: Sie sind nicht berechtigt diese Seite anzuzeigen.
1812
- unmute_button:
1813
- widget_type_name: "'Ton ein'-Button"
1814
1806
  user_mailer:
1815
1807
  invitation:
1816
1808
  ending: Dankeschön und viel Spaß,
@@ -1833,8 +1825,6 @@ de:
1833
1825
  none: "(Kein)"
1834
1826
  roles:
1835
1827
  analytics: Zählpixel
1836
- background_media_control: Hintergrund-Media-Control
1837
- cookie_notice: Cookie Hinweis
1838
1828
  mobile_navigation: Mobile Navigation
1839
1829
  navigation: Navigationsleiste
1840
1830
  player_controls: Player Controls
@@ -263,13 +263,11 @@ en:
263
263
  copyright_link_url: Copyright link URL
264
264
  default_author: Default author
265
265
  default_keywords: Default keywords
266
- default_locale: Default locale
267
266
  default_publisher: Default publisher
268
267
  home_button_enabled_by_default: "'Home'-Button enabled by default"
269
268
  home_url: Redirect URL
270
269
  imprint_link_label: Legal notice link label
271
270
  imprint_link_url: Legal notice link URL
272
- privacy_link_url: Privacy link URL
273
271
  theme_name: Theme
274
272
  pageflow/video_file:
275
273
  dimensions: Dimensions
@@ -758,12 +756,13 @@ en:
758
756
  no_entries: No Stories
759
757
  no_members: No members
760
758
  theming_defaults_inline_help: The following settings will be used as defaults for new entries in this account. Changes do not affect existing entries.
759
+ widgets_inline_help: DELETED
761
760
  entries:
762
761
  add_folder: Add folder
763
- confirm_depublish: Depublish this story?
762
+ confirm_depublish: Unpublish this story?
764
763
  confirm_duplicate: Duplicate this story?
765
764
  confirm_restore: Restore story to the selected version? A snapshot will be created, so that you can roll back later.
766
- depublish: Depublish story
765
+ depublish: Unpublish story
767
766
  duplicate: Copy Story
768
767
  edit: Edit
769
768
  edit_config: Edit configuration
@@ -837,7 +836,6 @@ en:
837
836
  cname_hint: Used in public sharing URLs.
838
837
  default_author_hint: Default 'author' meta field for entries
839
838
  default_keywords_hint: Default 'keywords' meta field for entries
840
- default_locale_hint: Default language for entries
841
839
  default_publisher_hint: Default 'publisher' meta field for entries
842
840
  home_url_hint: Used for requests to the root path with one of the above CNAMES. Default target location for the home button.
843
841
  name: "%{account_name}"
@@ -983,8 +981,6 @@ en:
983
981
  captions: Audio Replacement Text Track
984
982
  descriptions: Image Description Text Track
985
983
  subtitles: Translation Text Track
986
- cookie_notice_bar:
987
- widget_type_name: Bar at lower page margin
988
984
  default_theme:
989
985
  name: Default
990
986
  delayed_text_fade_in:
@@ -1021,8 +1017,6 @@ en:
1021
1017
  header: This is an empty Pageflow
1022
1018
  intro: Each Pageflow consist of chapters and pages. The editor panel to your right shows the outline of your story.
1023
1019
  outro: In this area, a live preview will be shown.
1024
- cookie_notice_bar:
1025
- widget_type_info_box_text: The notice is displayed when visiting an entry that uses Cookies. Cookies are set, if an analytics integration is active or the 'Emphasize new pages' feature has been enabled.
1026
1020
  entries:
1027
1021
  unsupported_browser_hint:
1028
1022
  message: The Pageflow editor does not support the browser version you are using. We recommend upgrading your browser to the most recent version.
@@ -1222,6 +1216,10 @@ en:
1222
1216
  title: Help
1223
1217
  help_button:
1224
1218
  open_help: Open help
1219
+ inputs:
1220
+ reference:
1221
+ edit: DELETED
1222
+ reset: DELETED
1225
1223
  list_blank_slate:
1226
1224
  text: "(No items)"
1227
1225
  list_item:
@@ -1561,7 +1559,7 @@ en:
1561
1559
  click on a page type on the left column.
1562
1560
  publishing:
1563
1561
  menu_item: Publishing
1564
- text: "# Publishing\n\nClick on the „Publish“ button to publish your Pageflow. A\nPageflow can be published at any point in time. \n\nBesides this, there is the possibility to publish Pageflows with \na password protection. Just activate „Protect with password“. \nPageflow uses the name of the account as user name and \nautomatically generates a password, which can be changed afterwords. \n\nAlready published stories can also be protected with a password by \npublishing another version - the other way round works as well. \nFor this please just click on the „Publishing“ button. The following \nsteps will then be shown and explained within the dialog window.\n\nPublished\nPageflows can also be depublished manually at any time. If a\nPageflow has already been published, changes will not be\nshown until you publish your report again. A Pageflow can\nonly be edited by one author at one time.\n\nThumbnail for embedding the Pageflow on external websites\nAfter publishing your Pageflow, the system generates a\nthumbnail, which can be embedded as an iframe to the\nhyperlink of another website. By means of the code, the size\nof the iframe can be adjusted. The minimum size is a height\n150px and a width of 220px."
1562
+ text: "# Publishing\n\nClick on the „Publish“ button to publish your Pageflow. A\nPageflow can be published at any point in time. \n\nBesides this, there is the possibility to publish Pageflows with \na password protection. Just activate „Protect with password“. \nPageflow uses the name of the account as user name and \nautomatically generates a password, which can be changed afterwords. \n\nAlready published stories can also be protected with a password by \npublishing another version - the other way round works as well. \nFor this please just click on the „Publishing“ button. The following \nsteps will then be shown and explained within the dialog window.\n\nPublished\nPageflows can also be unpublished manually at any time. If a\nPageflow has already been published, changes will not be\nshown until you publish your report again. A Pageflow can\nonly be edited by one author at one time.\n\nThumbnail for embedding the Pageflow on external websites\nAfter publishing your Pageflow, the system generates a\nthumbnail, which can be embedded as an iframe to the\nhyperlink of another website. By means of the code, the size\nof the iframe can be adjusted. The minimum size is a height\n150px and a width of 220px."
1565
1563
  storylines:
1566
1564
  menu_item: Storylines
1567
1565
  text: "# Storylines\n\nIn addition to linear narrations from top to bottom, further storylines can be used as non linear excursions to enlarge upon parts of a story. A „Storyline“ consists of chapters and pages, which users scroll through. Distinguishable is the so called main storyline from further subordinate ones. The user starts off in the main storyline and can then navigate to different excursions.\n\nTo create such an excursion from the main storyline use one of the „Link“ pages (Mosaic, Collage, Hotspot) and create the desired connections via „Links“.\n\nBy choosing a „Parent page“ you can determine to which page users return after scrolling the storyline´s last page.\n\nTransitions to subordinate storylines are visually supported by a horizontal animation as the default setting for entering and leaving. \n\nStorylines are created by clicking onto the plus button next to the storyline menu. Thereby a new chapter opens automatically in which further pages can be added. \n\n\n### Parent pages\n\nIn every subordinate storyline a „Parent page“ must be determined to define where users land when scrolling back.\n\nThis target page can be chosen by clicking on the pen symbol next to the storyline menu. When a „Parent page“ is defined, a back button will be shown automatically in the subordinate storyline that will always lead users back to the „Parent page“.\n\n\n### Chapter hierarchy\n\nThe use of more than one „subordinary“ storylines and the definition of „Parent pages“ leads to a chapter hierarchy as known from books:\n\n1. (Main storyline), 1.1. (Superior sub storyline), 1.1.1. (Subordinate sub storyline) and so on.\n\nThis hierarchy can be edited afterwards by clicking on the pen symbol next to the storyline menu. A subordinate storyline can be turned into the main storyline as well.\n\n\n### Scroll successors\n\nIf you want to lead users from a last page of a subordinate chapter (1.1.1) to another position than\nthe „Parent page“ (e.g. to 2.1) you can define a „Scroll successor“. Therefore click on the blue pen symbol within the storyline settings. As an example the following sequence might be imaginable: 1 -> 1.1 -> 1.1.1 -> 2.1\n\nAttention: While editing only the selected chapter will be shown in the sidebar. To switch to the other chapters click onto the storyline menu."
@@ -1626,9 +1624,6 @@ en:
1626
1624
  image_rights: Credits
1627
1625
  highdef_video_encoding:
1628
1626
  feature_name: Full HD and 4K videos
1629
- initial_password:
1630
- submit: Save and sign in
1631
- title: Set your password
1632
1627
  invalid_transition: Invalid transition
1633
1628
  languages:
1634
1629
  ar: Arabic
@@ -1695,7 +1690,6 @@ en:
1695
1690
  ui:
1696
1691
  configuration_editor:
1697
1692
  tabs:
1698
- cookie_notice_bar: Cookie Notice
1699
1693
  files: Files
1700
1694
  general: General
1701
1695
  links: Links
@@ -1784,8 +1778,6 @@ en:
1784
1778
  url_hint: 'URL must start with http:// '
1785
1779
  url_hint_https: URL must start with http:// or https://
1786
1780
  unauthorized: You are not authorized to view this page.
1787
- unmute_button:
1788
- widget_type_name: Unmute button
1789
1781
  user_mailer:
1790
1782
  invitation:
1791
1783
  ending: Thank you and have fun,
@@ -1808,8 +1800,6 @@ en:
1808
1800
  none: "(none)"
1809
1801
  roles:
1810
1802
  analytics: Tracking
1811
- background_media_control: Background media control
1812
- cookie_notice: Cookie Notice
1813
1803
  mobile_navigation: Mobile navigation
1814
1804
  navigation: Navigation bar
1815
1805
  player_controls: Player Controls
data/config/routes.rb CHANGED
@@ -30,12 +30,6 @@ Pageflow::Engine.routes.draw do
30
30
  resource :edit_lock
31
31
  end
32
32
 
33
- namespace :admin do
34
- devise_scope :user do
35
- resource :initial_password, only: [:edit, :update]
36
- end
37
- end
38
-
39
33
  namespace :editor do
40
34
  resources :entries, :only => :index, :shallow => true do
41
35
  get :seed, :on => :member
@@ -1,207 +1,299 @@
1
- class SetupSchema < ActiveRecord::Migration
1
+ # rubocop:disable Metrics/LineLength, Metrics/BlockLength
2
+
3
+ class SetupSchema < ActiveRecord::Migration[5.2]
2
4
  def change
3
- create_table "friendly_id_slugs", force: true do |t|
4
- t.string "slug", null: false
5
- t.integer "sluggable_id", null: false
6
- t.string "sluggable_type", limit: 50
7
- t.string "scope"
8
- t.datetime "created_at"
9
- end
10
-
11
- add_index "friendly_id_slugs", ["slug", "sluggable_type", "scope"], name: "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope", unique: true, using: :btree
12
- add_index "friendly_id_slugs", ["slug", "sluggable_type"], name: "index_friendly_id_slugs_on_slug_and_sluggable_type", using: :btree
13
- add_index "friendly_id_slugs", ["sluggable_id"], name: "index_friendly_id_slugs_on_sluggable_id", using: :btree
14
- add_index "friendly_id_slugs", ["sluggable_type"], name: "index_friendly_id_slugs_on_sluggable_type", using: :btree
15
-
16
- create_table "pageflow_accounts", force: true do |t|
17
- t.string "name", default: "", null: false
18
- t.integer "default_theme_id"
19
- t.datetime "created_at"
20
- t.datetime "updated_at"
21
- t.string "default_file_rights", default: "", null: false
22
- t.string "cname", default: "", null: false
23
- t.string "landing_page_name", default: "", null: false
24
- end
25
-
26
- add_index "pageflow_accounts", ["cname"], name: "index_pageflow_accounts_on_cname", using: :btree
27
-
28
- create_table "pageflow_audio_files", force: true do |t|
29
- t.integer "entry_id"
30
- t.integer "uploader_id"
31
- t.string "attachment_on_filesystem_file_name"
32
- t.string "attachment_on_filesystem_content_type"
33
- t.integer "attachment_on_filesystem_file_size", limit: 8
34
- t.datetime "attachment_on_filesystem_updated_at"
35
- t.string "attachment_on_s3_file_name"
36
- t.string "attachment_on_s3_content_type"
37
- t.integer "attachment_on_s3_file_size", limit: 8
38
- t.datetime "attachment_on_s3_updated_at"
39
- t.integer "job_id"
40
- t.string "state"
41
- t.decimal "encoding_progress", precision: 5, scale: 2
42
- t.datetime "created_at"
43
- t.datetime "updated_at"
44
- t.string "encoding_error_message"
45
- t.integer "duration_in_ms"
46
- t.string "format"
47
- t.string "rights", default: "", null: false
48
- end
49
-
50
- create_table "pageflow_chapters", force: true do |t|
51
- t.integer "entry_id"
52
- t.datetime "created_at"
53
- t.datetime "updated_at"
54
- t.integer "position", default: 0, null: false
55
- t.string "title", default: "", null: false
56
- t.integer "revision_id"
57
- end
58
-
59
- add_index "pageflow_chapters", ["entry_id"], name: "index_pageflow_chapters_on_entry_id", using: :btree
60
- add_index "pageflow_chapters", ["revision_id"], name: "index_pageflow_chapters_on_revision_id", using: :btree
61
-
62
- create_table "pageflow_edit_locks", force: true do |t|
63
- t.integer "user_id"
64
- t.integer "entry_id"
65
- t.datetime "created_at"
66
- t.datetime "updated_at"
67
- end
68
-
69
- add_index "pageflow_edit_locks", ["entry_id"], name: "index_pageflow_edit_locks_on_entry_id", using: :btree
70
- add_index "pageflow_edit_locks", ["user_id"], name: "index_pageflow_edit_locks_on_user_id", using: :btree
71
-
72
- create_table "pageflow_entries", force: true do |t|
73
- t.string "title", default: "", null: false
74
- t.datetime "created_at"
75
- t.datetime "updated_at"
76
- t.string "slug", null: false
77
- t.integer "account_id"
78
- t.integer "theme_id"
79
- t.integer "folder_id"
80
- end
81
-
82
- add_index "pageflow_entries", ["account_id"], name: "index_pageflow_entries_on_account_id", using: :btree
83
- add_index "pageflow_entries", ["folder_id"], name: "index_pageflow_entries_on_folder_id", using: :btree
84
- add_index "pageflow_entries", ["slug"], name: "index_pageflow_entries_on_slug", unique: true, using: :btree
85
- add_index "pageflow_entries", ["theme_id"], name: "index_pageflow_entries_on_theme_id", using: :btree
86
-
87
- create_table "pageflow_file_usages", force: true do |t|
88
- t.integer "revision_id"
89
- t.integer "file_id"
90
- t.string "file_type"
91
- t.datetime "created_at"
92
- t.datetime "updated_at"
93
- end
94
-
95
- add_index "pageflow_file_usages", ["file_id", "file_type"], name: "index_pageflow_file_usages_on_file_id_and_file_type", using: :btree
96
- add_index "pageflow_file_usages", ["revision_id"], name: "index_pageflow_file_usages_on_revision_id", using: :btree
97
-
98
- create_table "pageflow_folders", force: true do |t|
99
- t.string "name"
100
- t.integer "account_id"
101
- t.datetime "created_at"
102
- t.datetime "updated_at"
103
- end
104
-
105
- add_index "pageflow_folders", ["account_id"], name: "index_pageflow_folders_on_account_id", using: :btree
106
-
107
- create_table "pageflow_image_files", force: true do |t|
108
- t.integer "entry_id"
109
- t.integer "uploader_id"
110
- t.string "unprocessed_attachment_file_name"
111
- t.string "unprocessed_attachment_content_type"
112
- t.integer "unprocessed_attachment_file_size", limit: 8
113
- t.datetime "unprocessed_attachment_updated_at"
114
- t.string "processed_attachment_file_name"
115
- t.string "processed_attachment_content_type"
116
- t.integer "processed_attachment_file_size", limit: 8
117
- t.datetime "processed_attachment_updated_at"
118
- t.string "state"
119
- t.datetime "created_at"
120
- t.datetime "updated_at"
121
- t.integer "width"
122
- t.integer "height"
123
- t.string "rights", default: "", null: false
124
- end
125
-
126
- create_table "pageflow_memberships", force: true do |t|
127
- t.integer "user_id"
128
- t.integer "entry_id"
129
- t.string "name"
130
- t.datetime "created_at"
131
- t.datetime "updated_at"
132
- end
133
-
134
- add_index "pageflow_memberships", ["entry_id"], name: "index_pageflow_memberships_on_entry_id", using: :btree
135
- add_index "pageflow_memberships", ["user_id"], name: "index_pageflow_memberships_on_user_id", using: :btree
136
-
137
- create_table "pageflow_pages", force: true do |t|
138
- t.integer "chapter_id"
139
- t.string "template", default: "", null: false
140
- t.text "configuration"
141
- t.datetime "created_at"
142
- t.datetime "updated_at"
143
- t.integer "position", default: 0, null: false
144
- t.boolean "display_in_navigation", default: true
145
- t.integer "perma_id"
146
- end
147
-
148
- add_index "pageflow_pages", ["chapter_id"], name: "index_pageflow_pages_on_chapter_id", using: :btree
149
- add_index "pageflow_pages", ["perma_id"], name: "index_pageflow_pages_on_perma_id", using: :btree
150
-
151
- create_table "pageflow_revisions", force: true do |t|
152
- t.integer "entry_id"
153
- t.integer "creator_id"
154
- t.datetime "published_at"
155
- t.datetime "published_until"
156
- t.datetime "created_at"
157
- t.datetime "updated_at"
158
- t.text "credits"
159
- t.string "title", default: "", null: false
160
- t.text "summary"
161
- t.boolean "manual_start", default: false
162
- t.integer "restored_from_id"
163
- t.datetime "frozen_at"
164
- t.string "snapshot_type"
165
- end
166
-
167
- add_index "pageflow_revisions", ["restored_from_id"], name: "index_pageflow_revisions_on_restored_from_id", using: :btree
168
-
169
- create_table "pageflow_themes", force: true do |t|
170
- t.string "name", default: "", null: false
171
- t.datetime "created_at"
172
- t.datetime "updated_at"
173
- t.string "imprint_link_url"
174
- t.string "imprint_link_label"
175
- t.string "copyright_link_url"
176
- t.string "copyright_link_label"
177
- end
178
-
179
- create_table "pageflow_video_files", force: true do |t|
180
- t.integer "entry_id"
181
- t.integer "uploader_id"
182
- t.string "attachment_on_filesystem_file_name"
183
- t.string "attachment_on_filesystem_content_type"
184
- t.integer "attachment_on_filesystem_file_size", limit: 8
185
- t.datetime "attachment_on_filesystem_updated_at"
186
- t.string "attachment_on_s3_file_name"
187
- t.string "attachment_on_s3_content_type"
188
- t.integer "attachment_on_s3_file_size", limit: 8
189
- t.datetime "attachment_on_s3_updated_at"
190
- t.integer "job_id"
191
- t.string "state"
192
- t.decimal "encoding_progress", precision: 5, scale: 2
193
- t.datetime "created_at"
194
- t.datetime "updated_at"
195
- t.string "encoding_error_message"
196
- t.string "thumbnail_file_name"
197
- t.integer "width"
198
- t.integer "height"
199
- t.integer "duration_in_ms"
200
- t.string "format"
201
- t.string "poster_file_name"
202
- t.string "poster_content_type"
203
- t.string "thumbnail_content_type"
204
- t.string "rights", default: "", null: false
5
+ create_table 'friendly_id_slugs', id: :integer, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8', force: :cascade do |t|
6
+ t.string 'slug', null: false
7
+ t.integer 'sluggable_id', null: false
8
+ t.string 'sluggable_type', limit: 50
9
+ t.string 'scope'
10
+ t.datetime 'created_at'
11
+ t.index ['slug', 'sluggable_type', 'scope'], name: 'index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope', unique: true
12
+ t.index ['slug', 'sluggable_type'], name: 'index_friendly_id_slugs_on_slug_and_sluggable_type'
13
+ t.index ['sluggable_id'], name: 'index_friendly_id_slugs_on_sluggable_id'
14
+ t.index ['sluggable_type'], name: 'index_friendly_id_slugs_on_sluggable_type'
15
+ end
16
+
17
+ create_table 'pageflow_accounts', id: :integer, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8', force: :cascade do |t|
18
+ t.string 'name', default: '', null: false
19
+ t.datetime 'created_at'
20
+ t.datetime 'updated_at'
21
+ t.string 'default_file_rights', default: '', null: false
22
+ t.string 'landing_page_name', default: '', null: false
23
+ t.integer 'default_theming_id'
24
+ t.text 'features_configuration'
25
+ t.integer 'users_count', default: 0, null: false
26
+ t.integer 'entries_count', default: 0, null: false
27
+ t.index ['default_theming_id'], name: 'index_pageflow_accounts_on_default_theming_id'
28
+ end
29
+
30
+ create_table 'pageflow_accounts_themes', id: false, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8', force: :cascade do |t|
31
+ t.integer 'account_id'
32
+ t.integer 'theme_name'
33
+ end
34
+
35
+ create_table 'pageflow_audio_files', id: :integer, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8', force: :cascade do |t|
36
+ t.integer 'entry_id'
37
+ t.integer 'uploader_id'
38
+ t.string 'attachment_on_filesystem_file_name'
39
+ t.string 'attachment_on_filesystem_content_type'
40
+ t.bigint 'attachment_on_filesystem_file_size'
41
+ t.datetime 'attachment_on_filesystem_updated_at'
42
+ t.string 'attachment_on_s3_file_name'
43
+ t.string 'attachment_on_s3_content_type'
44
+ t.bigint 'attachment_on_s3_file_size'
45
+ t.datetime 'attachment_on_s3_updated_at'
46
+ t.integer 'job_id'
47
+ t.string 'state'
48
+ t.decimal 'encoding_progress', precision: 5, scale: 2
49
+ t.datetime 'created_at'
50
+ t.datetime 'updated_at'
51
+ t.string 'encoding_error_message'
52
+ t.integer 'duration_in_ms'
53
+ t.string 'format'
54
+ t.string 'rights', default: '', null: false
55
+ t.integer 'confirmed_by_id'
56
+ t.integer 'parent_file_id'
57
+ t.string 'parent_file_model_type'
58
+ t.index ['parent_file_id', 'parent_file_model_type'], name: 'index_audio_files_on_parent_id_and_parent_model_type'
59
+ end
60
+
61
+ create_table 'pageflow_chapters', id: :integer, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8', force: :cascade do |t|
62
+ t.datetime 'created_at'
63
+ t.datetime 'updated_at'
64
+ t.integer 'position', default: 0, null: false
65
+ t.string 'title', default: '', null: false
66
+ t.text 'configuration'
67
+ t.integer 'storyline_id'
68
+ t.index ['storyline_id'], name: 'index_pageflow_chapters_on_storyline_id'
69
+ end
70
+
71
+ create_table 'pageflow_edit_locks', id: :integer, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8', force: :cascade do |t|
72
+ t.integer 'user_id'
73
+ t.integer 'entry_id'
74
+ t.datetime 'created_at'
75
+ t.datetime 'updated_at'
76
+ t.index ['entry_id'], name: 'index_pageflow_edit_locks_on_entry_id'
77
+ t.index ['user_id'], name: 'index_pageflow_edit_locks_on_user_id'
78
+ end
79
+
80
+ create_table 'pageflow_entries', id: :integer, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8', force: :cascade do |t|
81
+ t.string 'title', default: '', null: false
82
+ t.datetime 'created_at'
83
+ t.datetime 'updated_at'
84
+ t.string 'slug', null: false
85
+ t.integer 'account_id'
86
+ t.integer 'folder_id'
87
+ t.integer 'theming_id'
88
+ t.text 'features_configuration'
89
+ t.string 'password_digest'
90
+ t.datetime 'first_published_at'
91
+ t.datetime 'edited_at'
92
+ t.integer 'users_count', default: 0, null: false
93
+ t.index ['account_id'], name: 'index_pageflow_entries_on_account_id'
94
+ t.index ['folder_id'], name: 'index_pageflow_entries_on_folder_id'
95
+ t.index ['slug'], name: 'index_pageflow_entries_on_slug', unique: true
96
+ t.index ['theming_id'], name: 'index_pageflow_entries_on_theming_id'
97
+ end
98
+
99
+ create_table 'pageflow_file_usages', id: :integer, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8', force: :cascade do |t|
100
+ t.integer 'revision_id'
101
+ t.integer 'file_id'
102
+ t.string 'file_type'
103
+ t.datetime 'created_at'
104
+ t.datetime 'updated_at'
105
+ t.text 'configuration'
106
+ t.index ['file_id', 'file_type'], name: 'index_pageflow_file_usages_on_file_id_and_file_type'
107
+ t.index ['revision_id'], name: 'index_pageflow_file_usages_on_revision_id'
108
+ end
109
+
110
+ create_table 'pageflow_folders', id: :integer, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8', force: :cascade do |t|
111
+ t.string 'name'
112
+ t.integer 'account_id'
113
+ t.datetime 'created_at'
114
+ t.datetime 'updated_at'
115
+ t.index ['account_id'], name: 'index_pageflow_folders_on_account_id'
116
+ end
117
+
118
+ create_table 'pageflow_image_files', id: :integer, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8', force: :cascade do |t|
119
+ t.integer 'entry_id'
120
+ t.integer 'uploader_id'
121
+ t.string 'unprocessed_attachment_file_name'
122
+ t.string 'unprocessed_attachment_content_type'
123
+ t.bigint 'unprocessed_attachment_file_size'
124
+ t.datetime 'unprocessed_attachment_updated_at'
125
+ t.string 'processed_attachment_file_name'
126
+ t.string 'processed_attachment_content_type'
127
+ t.bigint 'processed_attachment_file_size'
128
+ t.datetime 'processed_attachment_updated_at'
129
+ t.string 'state'
130
+ t.datetime 'created_at'
131
+ t.datetime 'updated_at'
132
+ t.integer 'width'
133
+ t.integer 'height'
134
+ t.string 'rights', default: '', null: false
135
+ t.integer 'parent_file_id'
136
+ t.string 'parent_file_model_type'
137
+ t.index ['parent_file_id', 'parent_file_model_type'], name: 'index_image_files_on_parent_id_and_parent_model_type'
138
+ end
139
+
140
+ create_table 'pageflow_memberships', id: :integer, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8', force: :cascade do |t|
141
+ t.integer 'user_id'
142
+ t.integer 'entity_id'
143
+ t.string 'name'
144
+ t.datetime 'created_at'
145
+ t.datetime 'updated_at'
146
+ t.string 'entity_type'
147
+ t.string 'role', default: 'editor', null: false
148
+ t.index ['entity_id'], name: 'index_pageflow_memberships_on_entity_id'
149
+ t.index ['user_id'], name: 'index_pageflow_memberships_on_user_id'
150
+ end
151
+
152
+ create_table 'pageflow_pages', id: :integer, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8', force: :cascade do |t|
153
+ t.integer 'chapter_id'
154
+ t.string 'template', default: '', null: false
155
+ t.text 'configuration'
156
+ t.datetime 'created_at'
157
+ t.datetime 'updated_at'
158
+ t.integer 'position', default: 0, null: false
159
+ t.boolean 'display_in_navigation', default: true
160
+ t.integer 'perma_id'
161
+ t.index ['chapter_id'], name: 'index_pageflow_pages_on_chapter_id'
162
+ t.index ['perma_id'], name: 'index_pageflow_pages_on_perma_id'
163
+ end
164
+
165
+ create_table 'pageflow_revisions', id: :integer, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8', force: :cascade do |t|
166
+ t.integer 'entry_id'
167
+ t.integer 'creator_id'
168
+ t.datetime 'published_at'
169
+ t.datetime 'published_until'
170
+ t.datetime 'created_at'
171
+ t.datetime 'updated_at'
172
+ t.text 'credits'
173
+ t.string 'title', default: '', null: false
174
+ t.text 'summary'
175
+ t.boolean 'manual_start', default: false
176
+ t.integer 'restored_from_id'
177
+ t.datetime 'frozen_at'
178
+ t.string 'snapshot_type'
179
+ t.string 'home_url', default: '', null: false
180
+ t.boolean 'home_button_enabled', default: false, null: false
181
+ t.boolean 'emphasize_chapter_beginning', default: false, null: false
182
+ t.boolean 'emphasize_new_pages', default: false, null: false
183
+ t.integer 'share_image_id'
184
+ t.integer 'share_image_x'
185
+ t.integer 'share_image_y'
186
+ t.string 'locale'
187
+ t.boolean 'password_protected'
188
+ t.string 'author'
189
+ t.string 'publisher'
190
+ t.string 'keywords'
191
+ t.boolean 'overview_button_enabled', default: true, null: false
192
+ t.string 'share_url', default: '', null: false
193
+ t.string 'theme_name', default: 'default', null: false
194
+ t.index ['entry_id', 'published_at', 'published_until'], name: 'index_pageflow_revisions_on_publication_timestamps'
195
+ t.index ['restored_from_id'], name: 'index_pageflow_revisions_on_restored_from_id'
196
+ end
197
+
198
+ create_table 'pageflow_storylines', id: :integer, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8', force: :cascade do |t|
199
+ t.integer 'perma_id'
200
+ t.integer 'revision_id'
201
+ t.integer 'position'
202
+ t.text 'configuration'
203
+ t.datetime 'created_at'
204
+ t.datetime 'updated_at'
205
+ t.index ['revision_id'], name: 'index_pageflow_storylines_on_revision_id'
206
+ end
207
+
208
+ create_table 'pageflow_text_track_files', id: :integer, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8', force: :cascade do |t|
209
+ t.integer 'entry_id'
210
+ t.integer 'uploader_id'
211
+ t.string 'state'
212
+ t.string 'rights'
213
+ t.string 'attachment_on_filesystem_file_name'
214
+ t.string 'attachment_on_filesystem_content_type'
215
+ t.bigint 'attachment_on_filesystem_file_size'
216
+ t.datetime 'attachment_on_filesystem_updated_at'
217
+ t.string 'attachment_on_s3_file_name'
218
+ t.string 'attachment_on_s3_content_type'
219
+ t.bigint 'attachment_on_s3_file_size'
220
+ t.datetime 'attachment_on_s3_updated_at'
221
+ t.datetime 'created_at'
222
+ t.datetime 'updated_at'
223
+ t.integer 'parent_file_id'
224
+ t.string 'parent_file_model_type'
225
+ t.text 'configuration'
226
+ t.string 'processed_attachment_file_name'
227
+ t.string 'processed_attachment_content_type'
228
+ t.bigint 'processed_attachment_file_size'
229
+ t.datetime 'processed_attachment_updated_at'
230
+ t.index ['entry_id'], name: 'index_pageflow_text_track_files_on_entry_id'
231
+ t.index ['parent_file_id', 'parent_file_model_type'], name: 'index_text_track_files_on_parent_id_and_parent_model_type'
232
+ t.index ['uploader_id'], name: 'index_pageflow_text_track_files_on_uploader_id'
233
+ end
234
+
235
+ create_table 'pageflow_themings', id: :integer, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8', force: :cascade do |t|
236
+ t.string 'imprint_link_url'
237
+ t.string 'imprint_link_label'
238
+ t.string 'copyright_link_url'
239
+ t.string 'copyright_link_label'
240
+ t.integer 'account_id'
241
+ t.datetime 'created_at'
242
+ t.datetime 'updated_at'
243
+ t.string 'cname', default: '', null: false
244
+ t.string 'theme_name'
245
+ t.string 'home_url', default: '', null: false
246
+ t.boolean 'home_button_enabled_by_default', default: true, null: false
247
+ t.string 'additional_cnames'
248
+ t.string 'default_author'
249
+ t.string 'default_publisher'
250
+ t.string 'default_keywords'
251
+ t.index ['cname'], name: 'index_pageflow_themings_on_cname'
252
+ end
253
+
254
+ create_table 'pageflow_video_files', id: :integer, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8', force: :cascade do |t|
255
+ t.integer 'entry_id'
256
+ t.integer 'uploader_id'
257
+ t.string 'attachment_on_filesystem_file_name'
258
+ t.string 'attachment_on_filesystem_content_type'
259
+ t.bigint 'attachment_on_filesystem_file_size'
260
+ t.datetime 'attachment_on_filesystem_updated_at'
261
+ t.string 'attachment_on_s3_file_name'
262
+ t.string 'attachment_on_s3_content_type'
263
+ t.bigint 'attachment_on_s3_file_size'
264
+ t.datetime 'attachment_on_s3_updated_at'
265
+ t.integer 'job_id'
266
+ t.string 'state'
267
+ t.decimal 'encoding_progress', precision: 5, scale: 2
268
+ t.datetime 'created_at'
269
+ t.datetime 'updated_at'
270
+ t.string 'encoding_error_message'
271
+ t.string 'thumbnail_file_name'
272
+ t.integer 'width'
273
+ t.integer 'height'
274
+ t.integer 'duration_in_ms'
275
+ t.string 'format'
276
+ t.string 'poster_file_name'
277
+ t.string 'poster_content_type'
278
+ t.string 'thumbnail_content_type'
279
+ t.string 'rights', default: '', null: false
280
+ t.integer 'confirmed_by_id'
281
+ t.text 'output_presences'
282
+ t.integer 'parent_file_id'
283
+ t.string 'parent_file_model_type'
284
+ t.index ['parent_file_id', 'parent_file_model_type'], name: 'index_video_files_on_parent_id_and_parent_model_type'
285
+ end
286
+
287
+ create_table 'pageflow_widgets', id: :integer, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8', force: :cascade do |t|
288
+ t.string 'subject_type'
289
+ t.integer 'subject_id'
290
+ t.string 'type_name'
291
+ t.string 'role'
292
+ t.datetime 'created_at'
293
+ t.datetime 'updated_at'
294
+ t.text 'configuration'
205
295
  end
206
296
  end
207
297
  end
298
+
299
+ # rubocop:enable Metrics/LineLength, Metrics/BlockLength