pageflow 0.8.2 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pageflow might be problematic. Click here for more details.

Files changed (293) hide show
  1. checksums.yaml +8 -8
  2. data/CHANGELOG.md +810 -0
  3. data/README.md +179 -0
  4. data/admins/pageflow/accounts.rb +46 -3
  5. data/admins/pageflow/entry.rb +35 -7
  6. data/app/assets/javascripts/pageflow/audio.js +62 -0
  7. data/app/assets/javascripts/pageflow/audio/multi_player.js +127 -0
  8. data/app/assets/javascripts/pageflow/audio/player_pool.js +15 -0
  9. data/app/assets/javascripts/pageflow/audio_player.js +23 -1
  10. data/app/assets/javascripts/pageflow/audio_player/null.js +37 -0
  11. data/app/assets/javascripts/pageflow/audio_player/pause_in_background.js +34 -0
  12. data/app/assets/javascripts/pageflow/audio_player/rewind_method.js +17 -0
  13. data/app/assets/javascripts/pageflow/audio_player/seek_with_invalid_state_handling.js +41 -0
  14. data/app/assets/javascripts/pageflow/base.js +10 -0
  15. data/app/assets/javascripts/pageflow/browser.js +123 -0
  16. data/app/assets/javascripts/pageflow/{features → browser}/hashchange_support.js +1 -1
  17. data/app/assets/javascripts/pageflow/{features → browser}/high_bandwidth.js +1 -1
  18. data/app/assets/javascripts/pageflow/{features → browser}/ie_platform.js +1 -1
  19. data/app/assets/javascripts/pageflow/browser/ios_platform.js +6 -0
  20. data/app/assets/javascripts/pageflow/{features → browser}/mobile_platform.js +1 -1
  21. data/app/assets/javascripts/pageflow/{features → browser}/phone_platform.js +1 -1
  22. data/app/assets/javascripts/pageflow/browser/pushstate_support.js +3 -0
  23. data/app/assets/javascripts/pageflow/{features → browser}/touch_support.js +1 -1
  24. data/app/assets/javascripts/pageflow/browser/video.js +16 -0
  25. data/app/assets/javascripts/pageflow/browser/volume_control_support.js +3 -0
  26. data/app/assets/javascripts/pageflow/chapter_filter.js +56 -0
  27. data/app/assets/javascripts/pageflow/editor/api.js +29 -0
  28. data/app/assets/javascripts/pageflow/editor/api/page_type.js +42 -0
  29. data/app/assets/javascripts/pageflow/editor/api/page_types.js +47 -0
  30. data/app/assets/javascripts/pageflow/editor/base.js +7 -1
  31. data/app/assets/javascripts/pageflow/editor/collections/subset_collection.js +5 -1
  32. data/app/assets/javascripts/pageflow/editor/initializers/boot.js +10 -2
  33. data/app/assets/javascripts/pageflow/editor/initializers/setup_audio.js +8 -0
  34. data/app/assets/javascripts/pageflow/editor/initializers/setup_collections.js +7 -0
  35. data/app/assets/javascripts/pageflow/editor/initializers/setup_features.js +3 -0
  36. data/app/assets/javascripts/pageflow/editor/initializers/setup_hotkeys.js +20 -0
  37. data/app/assets/javascripts/pageflow/editor/initializers/setup_page_types.js +1 -6
  38. data/app/assets/javascripts/pageflow/editor/models/audio_file.js +8 -0
  39. data/app/assets/javascripts/pageflow/editor/models/chapter.js +23 -4
  40. data/app/assets/javascripts/pageflow/editor/models/chapter_configuration.js +7 -0
  41. data/app/assets/javascripts/pageflow/editor/models/configuration.js +5 -3
  42. data/app/assets/javascripts/pageflow/editor/models/entry.js +6 -4
  43. data/app/assets/javascripts/pageflow/editor/models/mixins/delayed_destroying.js +1 -1
  44. data/app/assets/javascripts/pageflow/editor/models/mixins/stage_provider.js +3 -2
  45. data/app/assets/javascripts/pageflow/editor/models/page.js +11 -4
  46. data/app/assets/javascripts/pageflow/editor/models/preview_entry_data.js +31 -0
  47. data/app/assets/javascripts/pageflow/editor/models/theming.js +8 -0
  48. data/app/assets/javascripts/pageflow/editor/models/uploaded_file.js +8 -0
  49. data/app/assets/javascripts/pageflow/editor/templates/drop_down_button.jst.ejs +6 -0
  50. data/app/assets/javascripts/pageflow/editor/templates/drop_down_button_item.jst.ejs +1 -0
  51. data/app/assets/javascripts/pageflow/editor/templates/files_explorer.jst.ejs +2 -2
  52. data/app/assets/javascripts/pageflow/editor/templates/inputs/reference.jst.ejs +7 -0
  53. data/app/assets/javascripts/pageflow/editor/templates/list.jst.ejs +5 -0
  54. data/app/assets/javascripts/pageflow/editor/templates/list_blank_slate.jst.ejs +1 -0
  55. data/app/assets/javascripts/pageflow/editor/templates/list_item.jst.ejs +11 -0
  56. data/app/assets/javascripts/pageflow/editor/templates/loading.jst.ejs +7 -1
  57. data/app/assets/javascripts/pageflow/editor/templates/other_entries_blank_slate.jst.ejs +1 -1
  58. data/app/assets/javascripts/pageflow/editor/templates/page_link_item.jst.ejs +7 -0
  59. data/app/assets/javascripts/pageflow/editor/templates/page_links.jst.ejs +6 -0
  60. data/app/assets/javascripts/pageflow/editor/templates/page_selection.jst.ejs +12 -0
  61. data/app/assets/javascripts/pageflow/editor/templates/publish_entry.jst.ejs +44 -8
  62. data/app/assets/javascripts/pageflow/editor/views/chapter_item_view.js +3 -1
  63. data/app/assets/javascripts/pageflow/editor/views/configuration_editors/audio.js +1 -1
  64. data/app/assets/javascripts/pageflow/editor/views/configuration_editors/groups/options.js +34 -2
  65. data/app/assets/javascripts/pageflow/editor/views/configuration_editors/groups/page_transitions.js +6 -0
  66. data/app/assets/javascripts/pageflow/editor/views/configuration_editors/video.js +6 -1
  67. data/app/assets/javascripts/pageflow/editor/views/disabled_atmo_indicator_view.js +27 -0
  68. data/app/assets/javascripts/pageflow/editor/views/drop_down_button_item_view.js +33 -0
  69. data/app/assets/javascripts/pageflow/editor/views/drop_down_button_view.js +80 -0
  70. data/app/assets/javascripts/pageflow/editor/views/edit_chapter_view.js +25 -5
  71. data/app/assets/javascripts/pageflow/editor/views/edit_entry_view.js +9 -1
  72. data/app/assets/javascripts/pageflow/editor/views/edit_page_view.js +7 -5
  73. data/app/assets/javascripts/pageflow/editor/views/edit_widget_view.js +1 -1
  74. data/app/assets/javascripts/pageflow/editor/views/embedded/background_image_embedded_view.js +4 -1
  75. data/app/assets/javascripts/pageflow/editor/views/embedded/lazy_video_embedded_view.js +41 -0
  76. data/app/assets/javascripts/pageflow/editor/views/entry_preview_view.js +6 -6
  77. data/app/assets/javascripts/pageflow/editor/views/inputs/page_link_input_view.js +9 -0
  78. data/app/assets/javascripts/pageflow/editor/views/inputs/reference_input_view.js +66 -0
  79. data/app/assets/javascripts/pageflow/editor/views/list_item_view.js +95 -0
  80. data/app/assets/javascripts/pageflow/editor/views/list_view.js +59 -0
  81. data/app/assets/javascripts/pageflow/editor/views/loading_view.js +5 -0
  82. data/app/assets/javascripts/pageflow/editor/views/model_thumbnail_view.js +37 -0
  83. data/app/assets/javascripts/pageflow/editor/views/navigatable_page_item_view.js +1 -0
  84. data/app/assets/javascripts/pageflow/editor/views/other_entries_collection_view.js +4 -4
  85. data/app/assets/javascripts/pageflow/editor/views/other_entry_item_view.js +2 -1
  86. data/app/assets/javascripts/pageflow/editor/views/page_item_view.js +2 -2
  87. data/app/assets/javascripts/pageflow/editor/views/page_link_item_view.js +51 -0
  88. data/app/assets/javascripts/pageflow/editor/views/page_links_view.js +45 -0
  89. data/app/assets/javascripts/pageflow/editor/views/page_preview_view.js +24 -16
  90. data/app/assets/javascripts/pageflow/editor/views/page_selection_view.js +46 -0
  91. data/app/assets/javascripts/pageflow/editor/views/page_thumbnail_view.js +2 -29
  92. data/app/assets/javascripts/pageflow/editor/views/publish_entry_view.js +95 -10
  93. data/app/assets/javascripts/pageflow/editor/views/scrolling_view.js +24 -0
  94. data/app/assets/javascripts/pageflow/entry_data.js +35 -0
  95. data/app/assets/javascripts/pageflow/features.js +68 -98
  96. data/app/assets/javascripts/pageflow/fullscreen.js +24 -0
  97. data/app/assets/javascripts/pageflow/highlighted_page.js +48 -0
  98. data/app/assets/javascripts/pageflow/history.js +50 -18
  99. data/app/assets/javascripts/pageflow/history/hash_adapter.js +36 -0
  100. data/app/assets/javascripts/pageflow/history/push_state_adapter.js +37 -0
  101. data/app/assets/javascripts/pageflow/history/simulated_adapter.js +44 -0
  102. data/app/assets/javascripts/pageflow/media_player.js +25 -0
  103. data/app/assets/javascripts/pageflow/media_player/async_play.js +54 -0
  104. data/app/assets/javascripts/pageflow/media_player/hooks.js +24 -0
  105. data/app/assets/javascripts/pageflow/media_player/load_waiting.js +11 -0
  106. data/app/assets/javascripts/pageflow/media_player/volume_binding.js +72 -0
  107. data/app/assets/javascripts/pageflow/media_player/volume_fading.js +62 -0
  108. data/app/assets/javascripts/pageflow/multimedia_alert.js +13 -0
  109. data/app/assets/javascripts/pageflow/object.js +14 -0
  110. data/app/assets/javascripts/pageflow/page_transitions.js +27 -0
  111. data/app/assets/javascripts/pageflow/page_type.js +6 -0
  112. data/app/assets/javascripts/pageflow/page_types/audio.js +17 -21
  113. data/app/assets/javascripts/pageflow/page_types/background_video.js +18 -17
  114. data/app/assets/javascripts/pageflow/page_types/mixins/common_page_css_classes.js +29 -4
  115. data/app/assets/javascripts/pageflow/page_types/video.js +73 -36
  116. data/app/assets/javascripts/pageflow/preload.js +9 -6
  117. data/app/assets/javascripts/pageflow/ready.js +18 -14
  118. data/app/assets/javascripts/pageflow/seed_entry_data.js +43 -0
  119. data/app/assets/javascripts/pageflow/settings.js +17 -4
  120. data/app/assets/javascripts/pageflow/slideshow.js +103 -23
  121. data/app/assets/javascripts/pageflow/slideshow/adjacent_pages.js +26 -0
  122. data/app/assets/javascripts/pageflow/slideshow/adjacent_preparer.js +44 -0
  123. data/app/assets/javascripts/pageflow/slideshow/atmo.js +105 -0
  124. data/app/assets/javascripts/pageflow/slideshow/dom_order_scroll_navigator.js +29 -0
  125. data/app/assets/javascripts/pageflow/slideshow/lazy_page_widget.js +49 -0
  126. data/app/assets/javascripts/pageflow/slideshow/page_widget.js +60 -26
  127. data/app/assets/javascripts/pageflow/slideshow/progressive_preload.js +16 -7
  128. data/app/assets/javascripts/pageflow/slideshow/scroll_indicator_widget.js +45 -7
  129. data/app/assets/javascripts/pageflow/slideshow/scroller_widget.js +42 -5
  130. data/app/assets/javascripts/pageflow/ui.js +1 -0
  131. data/app/assets/javascripts/pageflow/ui/object.js +4 -13
  132. data/app/assets/javascripts/pageflow/ui/utils/i18n_utils.js +23 -0
  133. data/app/assets/javascripts/pageflow/ui/views/collection_view.js +8 -4
  134. data/app/assets/javascripts/pageflow/ui/views/configuration_editor_tab_view.js +6 -5
  135. data/app/assets/javascripts/pageflow/ui/views/configuration_editor_view.js +2 -11
  136. data/app/assets/javascripts/pageflow/ui/views/inputs/select_input_view.js +6 -1
  137. data/app/assets/javascripts/pageflow/ui/views/inputs/text_input_view.js +4 -0
  138. data/app/assets/javascripts/pageflow/ui/views/mixins/input_view.js +149 -6
  139. data/app/assets/javascripts/pageflow/ui/views/mixins/subview_container.js +4 -0
  140. data/app/assets/javascripts/pageflow/video_player.js +5 -0
  141. data/app/assets/javascripts/pageflow/video_player/buffer_underrun_waiting.js +1 -1
  142. data/app/assets/javascripts/pageflow/video_player/lazy.js +8 -4
  143. data/app/assets/javascripts/pageflow/video_player/media_events.js +1 -1
  144. data/app/assets/javascripts/pageflow/video_player/play_button_patch.js +1 -1
  145. data/app/assets/javascripts/pageflow/video_player/prebuffering.js +1 -1
  146. data/app/assets/javascripts/pageflow/widgets/fullscreen_button.js +26 -0
  147. data/app/assets/javascripts/pageflow/widgets/multimedia_alert.js +21 -5
  148. data/app/assets/javascripts/pageflow/widgets/mute_button.js +42 -0
  149. data/app/assets/javascripts/pageflow/widgets/navigation.js +5 -78
  150. data/app/assets/javascripts/pageflow/widgets/navigation_mobile.js +4 -0
  151. data/app/assets/javascripts/pageflow/widgets/page_navigation_list.js +28 -34
  152. data/app/assets/javascripts/pageflow/widgets/parent_page_button.js +27 -0
  153. data/app/assets/javascripts/pageflow/widgets/skip_page_button.js +22 -0
  154. data/app/assets/javascripts/pageflow/widgets/top_button.js +6 -7
  155. data/app/assets/javascripts/pageflow/widgets/volume_slider.js +62 -0
  156. data/app/assets/stylesheets/pageflow/admin/entries.css.scss +10 -0
  157. data/app/assets/stylesheets/pageflow/animations.css.scss +1 -0
  158. data/app/assets/stylesheets/pageflow/animations/loading.css.scss +8 -0
  159. data/app/assets/stylesheets/pageflow/animations/scroll.css.scss +18 -0
  160. data/app/assets/stylesheets/pageflow/base.css.scss +3 -1
  161. data/app/assets/stylesheets/pageflow/delayed_text_fade_in.css.scss +49 -0
  162. data/app/assets/stylesheets/pageflow/editor/base.css.scss +15 -2
  163. data/app/assets/stylesheets/pageflow/editor/disabled_atmo_indicator.css.scss +13 -0
  164. data/app/assets/stylesheets/pageflow/editor/drop_down_button.css.scss +54 -0
  165. data/app/assets/stylesheets/pageflow/editor/files_explorer.css.scss +6 -0
  166. data/app/assets/stylesheets/pageflow/editor/indicators.css.scss +5 -0
  167. data/app/assets/stylesheets/pageflow/editor/inputs.css.scss +1 -0
  168. data/app/assets/stylesheets/pageflow/editor/inputs/reference.css.scss +51 -0
  169. data/app/assets/stylesheets/pageflow/editor/list.css.scss +108 -0
  170. data/app/assets/stylesheets/pageflow/editor/loading.css.scss +31 -0
  171. data/app/assets/stylesheets/pageflow/editor/outline.css.scss +7 -5
  172. data/app/assets/stylesheets/pageflow/editor/page_links.css.scss +58 -0
  173. data/app/assets/stylesheets/pageflow/editor/page_selection.css.scss +39 -0
  174. data/app/assets/stylesheets/pageflow/editor/publish_entry.css.scss +38 -1
  175. data/app/assets/stylesheets/pageflow/entries.css.scss +17 -9
  176. data/app/assets/stylesheets/pageflow/navigation_bar.css.scss +4 -0
  177. data/app/assets/stylesheets/pageflow/page_transitions.css.scss +10 -0
  178. data/app/assets/stylesheets/pageflow/page_transitions/crossfade.css.scss +29 -0
  179. data/app/assets/stylesheets/pageflow/page_transitions/cut.css.scss +23 -0
  180. data/app/assets/stylesheets/pageflow/page_transitions/fade.css.scss +78 -0
  181. data/app/assets/stylesheets/pageflow/page_transitions/fade_to_black.css.scss +107 -0
  182. data/app/assets/stylesheets/pageflow/page_transitions/scroll.css.scss +20 -0
  183. data/app/assets/stylesheets/pageflow/page_transitions/scroll_in.css.scss +66 -0
  184. data/app/assets/stylesheets/pageflow/page_transitions/scroll_in_right.css.scss +68 -0
  185. data/app/assets/stylesheets/pageflow/page_transitions/scroll_left.css.scss +20 -0
  186. data/app/assets/stylesheets/pageflow/page_transitions/scroll_right.css.scss +20 -0
  187. data/app/assets/stylesheets/pageflow/page_types.css.scss +1 -3
  188. data/app/assets/stylesheets/pageflow/page_types/video.css.scss +0 -4
  189. data/app/assets/stylesheets/pageflow/slideshow.css.scss +0 -145
  190. data/app/assets/stylesheets/pageflow/text_variants.css.scss +0 -4
  191. data/app/assets/stylesheets/pageflow/themes/default/navigation.css.scss +0 -3
  192. data/app/controllers/concerns/pageflow/public_https_mode.rb +13 -0
  193. data/app/controllers/pageflow/application_controller.rb +0 -6
  194. data/app/controllers/pageflow/chapters_controller.rb +2 -1
  195. data/app/controllers/pageflow/editor/entries_controller.rb +2 -0
  196. data/app/controllers/pageflow/editor/entry_publications_controller.rb +3 -1
  197. data/app/controllers/pageflow/entries_controller.rb +16 -3
  198. data/app/controllers/pageflow/files_controller.rb +3 -1
  199. data/app/helpers/pageflow/admin/features_helper.rb +25 -0
  200. data/app/helpers/pageflow/background_image_helper.rb +40 -9
  201. data/app/helpers/pageflow/entries_helper.rb +10 -11
  202. data/app/helpers/pageflow/entry_json_seed_helper.rb +44 -0
  203. data/app/helpers/pageflow/help_entries_helper.rb +4 -4
  204. data/app/helpers/pageflow/page_types_helper.rb +4 -2
  205. data/app/helpers/pageflow/pages_helper.rb +20 -27
  206. data/app/helpers/pageflow/widgets_helper.rb +4 -4
  207. data/app/models/concerns/pageflow/feature_target.rb +37 -0
  208. data/app/models/pageflow/account.rb +2 -0
  209. data/app/models/pageflow/chapter.rb +6 -0
  210. data/app/models/pageflow/draft_entry.rb +2 -0
  211. data/app/models/pageflow/entry.rb +47 -9
  212. data/app/models/pageflow/entry_duplicate.rb +51 -0
  213. data/app/models/pageflow/image_file.rb +33 -13
  214. data/app/models/pageflow/page.rb +2 -2
  215. data/app/models/pageflow/published_entry.rb +7 -1
  216. data/app/views/admin/accounts/_form.html.erb +11 -1
  217. data/app/views/admin/features/_form.html.erb +16 -0
  218. data/app/views/components/pageflow/admin/features_tab.rb +10 -0
  219. data/app/views/components/pageflow/admin/revisions_tab.rb +4 -0
  220. data/app/views/layouts/pageflow/_meta_tags.html.erb +1 -1
  221. data/app/views/layouts/pageflow/application.html.erb +2 -2
  222. data/app/views/pageflow/editor/accounts/_account.json.jbuilder +1 -0
  223. data/app/views/pageflow/editor/entries/_entry.json.jbuilder +2 -1
  224. data/app/views/pageflow/editor/entries/_help_entries_seed.html.erb +2 -2
  225. data/app/views/pageflow/editor/entries/_indicators_seed.html.erb +3 -0
  226. data/app/views/pageflow/editor/entries/seed.json.erb +3 -2
  227. data/app/views/pageflow/editor/entry_publications/check.json.jbuilder +1 -0
  228. data/app/views/pageflow/editor/image_files/_image_file.json.jbuilder +1 -1
  229. data/app/views/pageflow/editor/themings/_theming.json.jbuilder +4 -0
  230. data/app/views/pageflow/editor/video_files/_video_file.json.jbuilder +1 -0
  231. data/app/views/pageflow/entries/_entry.html.erb +4 -3
  232. data/app/views/pageflow/entries/_indicators.html.erb +13 -0
  233. data/app/views/pageflow/entries/_mobile_navigation.html.erb +3 -15
  234. data/app/views/pageflow/entries/edit.html.erb +9 -1
  235. data/app/views/pageflow/entries/navigation/_bar_top.html.erb +3 -15
  236. data/app/views/pageflow/entries/share_menu/_facebook_link.html.erb +12 -0
  237. data/app/views/pageflow/entries/share_menu/_google_link.html.erb +12 -0
  238. data/app/views/pageflow/entries/share_menu/_twitter_link.html.erb +12 -0
  239. data/app/views/pageflow/entries/show.css.erb +12 -2
  240. data/app/views/pageflow/entries/show.html.erb +5 -1
  241. data/app/views/pageflow/page_types/_page_type.json.jbuilder +7 -1
  242. data/app/views/pageflow/pages/_page.html.erb +2 -2
  243. data/app/views/pageflow/pages/templates/_audio.html.erb +10 -0
  244. data/config/initializers/admin_resource_tabs.rb +1 -0
  245. data/config/initializers/features.rb +9 -0
  246. data/config/initializers/page_type_helpers.rb +1 -1
  247. data/config/initializers/paperclip.rb +1 -1
  248. data/config/initializers/zencoder.rb +1 -1
  249. data/config/locales/de.yml +132 -71
  250. data/config/locales/en.yml +118 -191
  251. data/db/migrate/20141211110226_add_configuration_to_chapters.rb +5 -0
  252. data/db/migrate/20150115175116_add_features_configuration_to_accounts.rb +5 -0
  253. data/db/migrate/20150115175207_add_features_configuration_to_entries.rb +5 -0
  254. data/db/migrate/20150603091823_add_password_attributes_to_revisions.rb +6 -0
  255. data/db/migrate/20151022080518_add_first_published_at_to_entries.rb +14 -0
  256. data/lib/generators/pageflow/initializer/templates/pageflow.rb +26 -17
  257. data/lib/generators/pageflow/theme/theme_generator.rb +2 -1
  258. data/lib/pageflow.rb +2 -46
  259. data/lib/pageflow/admin/form_input.rb +18 -0
  260. data/lib/pageflow/admin/form_inputs.rb +41 -0
  261. data/lib/pageflow/built_in_page_type.rb +0 -4
  262. data/lib/pageflow/configuration.rb +74 -18
  263. data/lib/pageflow/feature.rb +33 -0
  264. data/lib/pageflow/features.rb +68 -0
  265. data/lib/pageflow/global_config_api.rb +118 -0
  266. data/lib/pageflow/page_type_feature.rb +21 -0
  267. data/lib/pageflow/page_types.rb +29 -0
  268. data/lib/pageflow/theme.rb +20 -0
  269. data/lib/pageflow/themes.rb +26 -0
  270. data/lib/pageflow/version.rb +1 -1
  271. data/spec/factories/entries.rb +6 -0
  272. data/spec/factories/feature_targets.rb +4 -0
  273. data/spec/fixtures/image.gif +0 -0
  274. data/spec/fixtures/video.mp4 +0 -0
  275. data/vendor/assets/javascripts/audio5.min.js +12 -8
  276. data/vendor/assets/javascripts/iscroll.js +1 -1
  277. metadata +144 -24
  278. data/app/assets/images/pageflow/internal_links_pictogram.png +0 -0
  279. data/app/assets/images/pageflow/internal_links_pictogram_small.png +0 -0
  280. data/app/assets/images/pageflow/internal_links_sprite.png +0 -0
  281. data/app/assets/images/pageflow/ov-internal_links.png +0 -0
  282. data/app/assets/images/pageflow/themes/default/internal_links_sprite.png +0 -0
  283. data/app/assets/javascripts/pageflow/editor/templates/embedded/page_link.jst.ejs +0 -3
  284. data/app/assets/javascripts/pageflow/editor/views/configuration_editors/internal_links.js +0 -24
  285. data/app/assets/javascripts/pageflow/editor/views/draggable_page_item_view.js +0 -31
  286. data/app/assets/javascripts/pageflow/editor/views/embedded/page_link_embedded_view.js +0 -176
  287. data/app/assets/javascripts/pageflow/features/video.js +0 -16
  288. data/app/assets/javascripts/pageflow/page_types/internal_links.js +0 -55
  289. data/app/assets/javascripts/pageflow/ui/templates/inputs/page_reference.jst.ejs +0 -6
  290. data/app/assets/javascripts/pageflow/ui/views/inputs/page_reference_input_view.js +0 -44
  291. data/app/assets/stylesheets/pageflow/editor/embedded.css.scss +0 -104
  292. data/app/assets/stylesheets/pageflow/page_types/internal_links.css.scss +0 -222
  293. data/app/views/pageflow/pages/templates/_internal_links.html.erb +0 -31
@@ -163,6 +163,9 @@ en:
163
163
  duration: Duration
164
164
  format: Format
165
165
  pageflow/chapter:
166
+ display_parent_page_button: Display parent page button
167
+ navigation_bar_mode: Navigation Bar
168
+ parent_page_perma_id: Parent Page
166
169
  title: Title
167
170
  pageflow/entry:
168
171
  account: Account
@@ -192,12 +195,17 @@ en:
192
195
  additional_description: Infobox Description
193
196
  additional_title: Infobox Title
194
197
  allow_full_screen: Allow fullscreen
198
+ atmo_audio_file_id: Atmo Audio
199
+ atmo_during_playback: Atmo during playback
195
200
  audio_file_id: Audio
201
+ auto_change_page_on_ended: Go to next page on end
196
202
  autoplay: Autoplay
197
203
  background_image_id: Background-Image
198
204
  background_video_id: Background-Video
205
+ delayed_text_fade_in: Fade in text after delay
199
206
  description: Description (Overview)
200
207
  display_in_navigation: Show in navigationbar
208
+ emphasize_in_navigation: Emphasize in navigationbar
201
209
  gradient_opacity: Gradient opacity
202
210
  hide_title: Hide titles
203
211
  invert: Invert colors
@@ -205,6 +213,8 @@ en:
205
213
  linked_pages_layout: Hero
206
214
  mobile_poster_image_id: Posterimage (mobile)
207
215
  poster_image_id: Posterimage
216
+ scroll_indicator_mode: Visible scroll indicators
217
+ scroll_indicator_orientation: Scroll indicator orientation
208
218
  subtitle: Subtitle
209
219
  tagline: Tagline
210
220
  template: Pagetype
@@ -341,11 +351,36 @@ en:
341
351
  one: User
342
352
  other: Users
343
353
  values:
354
+ pageflow/chapter:
355
+ navigation_bar_mode:
356
+ all: All pages
357
+ current_chapter: Current chapter only
358
+ inherit_from_parent: Inherit from parent chapter
359
+ non: Hide
360
+ same_parent_chapter: Chapters with same parent chapter only
361
+ same_parent_page: Chapters with same parent page only
344
362
  pageflow/page:
363
+ atmo_during_playback:
364
+ mute: Mute
365
+ play: Keep playing
366
+ turn_down: Keep playing at lower volume
367
+ delayed_text_fade_in:
368
+ long: Long delay
369
+ medium: Medium delay
370
+ no_fade: No fade in
371
+ short: Short delay
345
372
  linked_pages_layout:
346
373
  default: (none)
347
374
  hero_top_left: Top left
348
375
  hero_top_right: Top right
376
+ scroll_indicator_mode:
377
+ all: Forwards and Backwards
378
+ non: Non
379
+ only_back: Backwards only
380
+ only_next: Forwards only
381
+ scroll_indicator_orientation:
382
+ horizontal: Horizontal
383
+ vertical: Vertical
349
384
  template:
350
385
  audio: Audio
351
386
  audio_loop: Background-Audio
@@ -663,8 +698,10 @@ en:
663
698
  entries:
664
699
  add_folder: Add folder
665
700
  confirm_depublish: Unpublish this story?
701
+ confirm_duplicate: Duplicate this story?
666
702
  confirm_restore: Restore story to the selected version? A snapshot will be created, so that you can roll back later.
667
703
  depublish: Unpublish story
704
+ duplicate: Copy Story
668
705
  edit: Edit
669
706
  edit_config: Edit configuration
670
707
  edit_revision: Edit
@@ -675,6 +712,7 @@ en:
675
712
  no_members: No members assigned
676
713
  no_revisions: No versions yet
677
714
  not_published: Not yet published
715
+ password_protected: Password protected
678
716
  preview: Preview
679
717
  published_forever: Published
680
718
  published_revision_legend: Currently published version
@@ -696,6 +734,11 @@ en:
696
734
  show_public: Public
697
735
  snapshot: Save current version
698
736
  title_hint: This field determines the URL for this story.
737
+ features:
738
+ states:
739
+ disabled: Disabled
740
+ enabled: Enabled
741
+ undefined: (Default)
699
742
  folders:
700
743
  all: All
701
744
  confirm_destroy: ! 'Delete folder? Note: Containing stories will be preserved.'
@@ -748,8 +791,12 @@ en:
748
791
  suspended: ! 'The user was suspended and will not be able to sign-in again. '
749
792
  unsuspend: Unsuspend
750
793
  unsuspended: The user was unsuspended.
794
+ atmo:
795
+ feature_name: Atmo Audios
751
796
  audio:
752
797
  open: Play audio
798
+ auto_change_page:
799
+ feature_name: Automatic Page Change
753
800
  built_in_page_type:
754
801
  audio:
755
802
  page_type_category_name: Audio
@@ -769,6 +816,10 @@ en:
769
816
  video:
770
817
  page_type_category_name: Video
771
818
  page_type_description: Video player with controls
819
+ chapter_hierachy:
820
+ feature_name: Chapter Hierachy
821
+ delayed_text_fade_in:
822
+ feature_name: Delayed text fade in
772
823
  devise:
773
824
  mailer:
774
825
  reset_password_instructions:
@@ -792,6 +843,8 @@ en:
792
843
  required: This action cannot be executed because this story has been opened in another editor session.
793
844
  required_but_held_by_other_user: This action cannot be executed because this story has been opened by another user.
794
845
  editor:
846
+ atmo:
847
+ disabled: Atmo disabled
795
848
  blank_entry:
796
849
  create_chapter: Click <em>New chapter</em> to create your first chapter.
797
850
  create_page: Use the <em>New page</em> button within the chapter to add pages.
@@ -834,6 +887,8 @@ en:
834
887
  audio_files: Audios
835
888
  image_files: Images
836
889
  video_files: Videos
890
+ quotas:
891
+ loading: Checking quotas...
837
892
  templates:
838
893
  back_button_decorator:
839
894
  outline: Outline
@@ -912,6 +967,15 @@ en:
912
967
  title: Help
913
968
  help_button:
914
969
  open_help: Open help
970
+ inputs:
971
+ reference:
972
+ edit: Edit
973
+ reset: Reset
974
+ list_blank_slate:
975
+ text: (No items)
976
+ list_item:
977
+ edit: Edit
978
+ remove: Delete
915
979
  loading:
916
980
  loading: Loading...
917
981
  locked:
@@ -930,10 +994,25 @@ en:
930
994
  none_available: There are no other stories yet
931
995
  page_item:
932
996
  save_error: There were errors while saving page.
997
+ page_link_item:
998
+ edit: Edit page
999
+ page_links:
1000
+ add: Add
1001
+ label: Linked pages
1002
+ page_selection:
1003
+ cancel: Cancel
1004
+ ok: OK
1005
+ title: Select target page
933
1006
  publish_entry:
1007
+ already_published_with_password_help: This entry is already published with a password. Leave password field blank to keep the previous password.
1008
+ already_published_without_password_help: This entry is published without a password at the moment. Setting a password will prevent public access from now on.
934
1009
  date: Date
935
1010
  files_pending_notice: Please wait until all files have been processed and check the results. You may then publish your story.
936
1011
  not_published_notice: This story is currently not published.
1012
+ password: Password
1013
+ password_help: Restrict access to the published version of this entry. Visiters will have to enter a password.
1014
+ password_protected: Protect with Password
1015
+ previously_published_with_password_help: This entry was published with a password before. Leave password field blank to keep the previous password.
937
1016
  publish: Publish
938
1017
  publish_current: Publish current version
939
1018
  publish_success: Your story has been sucessfully published.
@@ -943,6 +1022,7 @@ en:
943
1022
  time: Time
944
1023
  unlimited: indefinitely
945
1024
  until_including: Until including
1025
+ user_name: User name
946
1026
  view_revisions: View versions
947
1027
  select_button:
948
1028
  select: Select
@@ -968,8 +1048,14 @@ en:
968
1048
  add: Add
969
1049
  reuse: Reuse
970
1050
  upload: Upload
1051
+ inputs:
1052
+ reference_input_view:
1053
+ none: (None)
971
1054
  page_item_view:
972
1055
  unnamed: (New page)
1056
+ page_link_item_view:
1057
+ no_page: (No page)
1058
+ unnamed: (No title)
973
1059
  entries:
974
1060
  entry:
975
1061
  print_logo: Logo
@@ -977,7 +1063,7 @@ en:
977
1063
  swipe_indicator: Swipe to continue
978
1064
  ie8_hint:
979
1065
  close: Close
980
- deprecated_browser: <p>Your browser is outdated and this page might not work as intended. We recommend upgrading to a current browser version. Please visit <a href="http://www.browserchoice.eu/">http://www.browserchoice.eu/</a> for download suggestions.</p>
1066
+ deprecated_browser: <p>Your browser is outdated and this page might not work as intended. We recommend upgrading to a current browser version.</p>
981
1067
  mobile_navigation:
982
1068
  imprint: Imprint
983
1069
  overview: Overview
@@ -1025,7 +1111,26 @@ en:
1025
1111
  goto_content: Goto content
1026
1112
  goto_navigation: Goto navigation
1027
1113
  goto_topnavigation: Goto main navigation
1114
+ entry:
1115
+ duplicated_title: Copy of %{title}
1028
1116
  help_entries:
1117
+ atmo:
1118
+ menu_item: Atmo Audio
1119
+ text: ! '# Atmo Audio
1120
+
1121
+ This feature lets you add background audio to every page regardless of its page type. You can define if a sound should play only for one page or continue playing for more pages without interruption. Simply select the same atmo audio file for some adjacent pages.
1122
+
1123
+
1124
+ That way chapters can be seperated acoustically and pages that belong together can be weaved to a stronger unit.
1125
+
1126
+
1127
+ For the page type „Video“ there is a special option to pause background audio or continue at lower volume while the video is playing.
1128
+
1129
+
1130
+ You find the atmo settings on the „Options“ tab of each page.
1131
+
1132
+
1133
+ Should you ever feel distracted by the atmo audio while working on your entry, you can use the hot key „Alt + a“ to temporarily mute it. Simply press „Alt + a“ again to reactivate atmo audio. '
1029
1134
  built_in_page_type:
1030
1135
  audio:
1031
1136
  menu_item: Audio
@@ -1159,35 +1264,7 @@ en:
1159
1264
  '
1160
1265
  video:
1161
1266
  menu_item: Video
1162
- text: ! '# Video
1163
-
1164
-
1165
- Playing a video with control
1166
-
1167
-
1168
- In contrast to „Background-Videos“ the text elements fade
1169
-
1170
- out after a few seconds, in order to draw attention to the
1171
-
1172
- video. With controls the user can start and pause the
1173
-
1174
- video or even fast-forward and rewind it. You can choose
1175
-
1176
- whether the video should start automatically as soon as
1177
-
1178
- the page is opened.
1179
-
1180
-
1181
- As an alternative to the normal text input, you can write
1182
-
1183
- a description into an „Infobox“ with text.
1184
-
1185
-
1186
- Examples of application: Videos of all kinds, interviews,
1187
-
1188
- portraits
1189
-
1190
- '
1267
+ text: ! "# Video\n\nPlaying a video with control\n\nIn contrast to „Background-Videos“ the text elements fade\nout after a few seconds, in order to draw attention to the\nvideo. With controls the user can start and pause the\nvideo or even fast-forward and rewind it. You can choose\nwhether the video should start automatically as soon as\nthe page is opened.\n\nAs an alternative to the normal text input, you can write\na description into an „Infobox“ with text.\n\nOn the „Options“ tab you can activate auto-scrolling to the next page at the end of a video. \nThis can be useful to create a seamless transition.\n\nExamples of application: Videos of all kinds, interviews,\nportraits"
1191
1268
  files:
1192
1269
  menu_item: Manage Files
1193
1270
  text: ! '# Manage Files
@@ -1481,138 +1558,7 @@ en:
1481
1558
  For more details see: [Chapter and Pages](#pageflow.help_entries.outline)'
1482
1559
  page_options:
1483
1560
  menu_item: General Page Options
1484
- text: ! '# General Page Options
1485
-
1486
-
1487
- ### Title
1488
-
1489
-
1490
- Here you can add the title of a particular page. This
1491
-
1492
- title is not only the headline of the text on the page, it
1493
-
1494
- also functions as the title in the navigation and
1495
-
1496
- overview. If a single page is shared in social networks,
1497
-
1498
- this title is also the title of the social media post.
1499
-
1500
-
1501
- ### Hide the title
1502
-
1503
-
1504
- Optionally you can hide the title. Thus the title is not shown as the
1505
-
1506
- heading of the text body. For the identification of the page it
1507
-
1508
- remains visible in the navigation, overview and on social media posts.
1509
-
1510
-
1511
- ### Tagline and Subtitle
1512
-
1513
-
1514
- Here you can optionally enter a tagline and/or a
1515
-
1516
- subtitle. If you click on „Hide title“ the tagline and
1517
-
1518
- subtitle are not shown either.
1519
-
1520
-
1521
- ### Text
1522
-
1523
-
1524
- The text-block can be formatted with the buttons underneath
1525
-
1526
- the input field. [B= bold / I=italic / U=underlined /
1527
-
1528
- infinity symbol= Link/URL to an external website]
1529
-
1530
-
1531
- All changes are visible in the left front-end-view as soon
1532
-
1533
- as you leave the appropriate input field in the editor.
1534
-
1535
-
1536
- ### Textposition
1537
-
1538
-
1539
- Decide if the text should be shown on the left or right side.
1540
-
1541
-
1542
- ### Opacity of the gradient
1543
-
1544
-
1545
- The opacity of the gradient improves the legibility of
1546
-
1547
- the text on background-videos or pictures.
1548
-
1549
-
1550
- You can use the slider to darken or lighten up the
1551
-
1552
- background until the contrast between text and background is
1553
-
1554
- optimal.
1555
-
1556
-
1557
- ### Invert colors
1558
-
1559
-
1560
- If you invert the colors, „bright“ and „dark“ are
1561
-
1562
- interchanged. Thus the normally white font changes into
1563
-
1564
- black.
1565
-
1566
-
1567
- A general rule: Bright font for dark pictures, dark font for
1568
-
1569
- bright pictures.
1570
-
1571
-
1572
- ### Thumbnail
1573
-
1574
-
1575
- The thumbnail replaces the automatically generated
1576
-
1577
- preview-picture in the navigation and overview.
1578
-
1579
-
1580
- ### Display in navigation
1581
-
1582
-
1583
- If this option is not taken, the particular page is not
1584
-
1585
- represented in the navigation and therefore cannot be
1586
-
1587
- reached through it. You can use this option if a page is
1588
-
1589
- supposed to read more like a subpage of another page.
1590
-
1591
-
1592
- ### Transition effect
1593
-
1594
-
1595
- There are two two different effects, which are visible when
1596
-
1597
- the user scrolls or swipe to the next page: cross-fade or
1598
-
1599
- scrolling. You can determine which effect should be used for
1600
-
1601
- each individual page.
1602
-
1603
-
1604
- ### Description for the overview
1605
-
1606
-
1607
- You can enter a text, which appears when the user navigates
1608
-
1609
- with the mouse over the particular page. This text matches
1610
-
1611
- with the mouse-over-text for the page-type „Page References“
1612
-
1613
- as well as with the text, which appears when you share the
1614
-
1615
- Pageflow in social networks.'
1561
+ text: ! "# General Page Options\n\n### Title\n\nHere you can add the title of a particular page. This\ntitle is not only the headline of the text on the page, it\nalso functions as the title in the navigation and\noverview. If a single page is shared in social networks,\nthis title is also the title of the social media post.\n\n### Hide the title\n\nOptionally you can hide the title. Thus the title is not shown as the\nheading of the text body. For the identification of the page it\nremains visible in the navigation, overview and on social media posts.\n\n### Tagline and Subtitle\n\nHere you can optionally enter a tagline and/or a\nsubtitle. If you click on „Hide title“ the tagline and\nsubtitle are not shown either.\n\n### Text\n\nThe text-block can be formatted with the buttons underneath\nthe input field. [B= bold / I=italic / U=underlined /\ninfinity symbol= Link/URL to an external website]\n\nAll changes are visible in the left front-end-view as soon\nas you leave the appropriate input field in the editor.\n\n### Textposition\n\nDecide if the text should be shown on the left or right side.\n\n### Opacity of the gradient\n\nThe opacity of the gradient improves the legibility of\nthe text on background-videos or pictures.\n\nYou can use the slider to darken or lighten up the\nbackground until the contrast between text and background is\noptimal.\n\n### Invert colors\n\nIf you invert the colors, „bright“ and „dark“ are\ninterchanged. Thus the normally white font changes into\nblack.\n\nA general rule: Bright font for dark pictures, dark font for\nbright pictures.\n\n### Thumbnail\n\nThe thumbnail replaces the automatically generated\npreview-picture in the navigation and overview.\n\n### Display in navigation\n\nIf this option is not taken, the particular page is not\nrepresented in the navigation and therefore cannot be\nreached through it. You can use this option if a page is\nsupposed to read more like a subpage of another page.\n\n### Transition effect\n\nThere are two two different effects, which are visible when\nthe user scrolls or swipe to the next page: cross-fade or\nscrolling. You can determine which effect should be used for\neach individual page.\n\n### Fade in text after delay\n\nDefine whether text and gradient of a page should appear with a delay. \nUsers will first see the background image, then title, tagline and subtitle until finally the content text will be displayed.\n\nThere are three different durations of delay: short = 1 second, medium = 3 seconds, long = 5 seconds.\n\nThis feature fits best for intros or beginnings of chapters.\n\n### Description for the overview\n\nYou can enter a text, which appears when the user navigates\nwith the mouse over the particular page. This text matches\nwith the mouse-over-text for the page-type „Page References“\nas well as with the text, which appears when you share the\nPageflow in social networks."
1616
1562
  page_types:
1617
1563
  menu_item: Page Types
1618
1564
  text: ! '# Page Types
@@ -1629,40 +1575,20 @@ en:
1629
1575
  '
1630
1576
  publishing:
1631
1577
  menu_item: Publishing
1632
- text: ! '# Publishing
1633
-
1634
-
1635
- Click on the „Publish“ button to publish your Pageflow. A
1636
-
1637
- Pageflow can be published at any point in time. Published
1638
-
1639
- Pageflows can also be unpublished manually at any time. If a
1640
-
1641
- Pageflow has already been published, changes will not be
1642
-
1643
- shown until you publish your report again. A Pageflow can
1644
-
1645
- only be edited by one author at one time.
1646
-
1647
-
1648
- Thumbnail for embedding the Pageflow on external websites
1649
-
1650
- After publishing your Pageflow, the system generates a
1651
-
1652
- thumbnail, which can be embedded as an iframe to the
1653
-
1654
- hyperlink of another website. By means of the code, the size
1655
-
1656
- of the iframe can be adjusted. The minimum size is a height
1657
-
1658
- 150px and a width of 220px.
1659
-
1660
- '
1578
+ 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."
1661
1579
  helpers:
1662
1580
  entries:
1663
1581
  global_links: Global links
1664
1582
  image_rights: Credits
1665
1583
  invalid_transition: Invalid transition
1584
+ page_transitions:
1585
+ crossfade: Crossfade
1586
+ cut: Cut
1587
+ fade: Fade
1588
+ fade_to_black: Fade to black
1589
+ scroll: Scroll
1590
+ scroll_left: Scroll left
1591
+ scroll_right: Scroll right
1666
1592
  pages:
1667
1593
  templates:
1668
1594
  audio:
@@ -1702,6 +1628,7 @@ en:
1702
1628
  title: Here you can choose a title for your Pageflow. It will be shown on the title bar of the browser window. It also acts as an indicator for search engines once the report is published.
1703
1629
  pageflow/page:
1704
1630
  additional_title: The info box appears close to the player controls.
1631
+ delayed_text_fade_in: Fades in the page contents after a delay such that the background image can be viewed initially.
1705
1632
  description: You can enter a text, which appears when the user navigates with the mouse over the particular page. This text matches with the mouse-over-text for the page-type „Page References“ as well as with the text, which appears when you share the Pageflow in social networks.
1706
1633
  gradient_opacity: ! 'The opacity of the gradient improves the legibility of the text on background-videos or pictures.
1707
1634