pageflow 0.10.0 → 0.11.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +181 -0
- data/README.md +11 -37
- data/admins/pageflow/accounts.rb +20 -2
- data/admins/pageflow/entry.rb +55 -30
- data/admins/pageflow/membership.rb +1 -0
- data/admins/pageflow/revisions.rb +2 -0
- data/admins/pageflow/user.rb +25 -16
- data/app/assets/images/pageflow/editor/blank_entry/logo.png +0 -0
- data/app/assets/images/pageflow/themes/default/close_button_sprite.png +0 -0
- data/app/assets/images/pageflow/themes/default/favicon.ico +0 -0
- data/app/assets/images/pageflow/{touch_indicator.png → themes/default/indicators/hidden_text.png} +0 -0
- data/app/assets/images/pageflow/{touch_indicator_invert.png → themes/default/indicators/hidden_text_invert.png} +0 -0
- data/app/assets/images/pageflow/{scroll_down_indicator.png → themes/default/indicators/scroll_down.png} +0 -0
- data/app/assets/images/pageflow/{scroll_down_indicator_invert.png → themes/default/indicators/scroll_down_invert.png} +0 -0
- data/app/assets/images/pageflow/themes/default/loading_spinner/logo.png +0 -0
- data/app/assets/images/pageflow/themes/default/logo_header.png +0 -0
- data/app/assets/images/pageflow/themes/default/logo_header_invert.png +0 -0
- data/app/assets/images/pageflow/themes/default/logo_print.png +0 -0
- data/app/assets/images/pageflow/{menu_mobile_imprint.png → themes/default/mobile_navigation/imprint_sprite.png} +0 -0
- data/app/assets/images/pageflow/{menu_mobile_sprite3.png → themes/default/mobile_navigation/index_sprite.png} +0 -0
- data/app/assets/images/pageflow/{mobile_sharing.png → themes/default/mobile_navigation/sharing_icons_sprite.png} +0 -0
- data/app/assets/images/pageflow/{menu_mobile_sharing.png → themes/default/mobile_navigation/sharing_sprite.png} +0 -0
- data/app/assets/images/pageflow/{chapter_bottom.png → themes/default/overview_chapter_borders/bottom.png} +0 -0
- data/app/assets/images/pageflow/{chapter_end.png → themes/default/overview_chapter_borders/end.png} +0 -0
- data/app/assets/images/pageflow/{chapter_start.png → themes/default/overview_chapter_borders/start.png} +0 -0
- data/app/assets/images/pageflow/{chapter_bg.png → themes/default/overview_chapter_borders/tile.png} +0 -0
- data/app/assets/images/pageflow/{chapter_top.png → themes/default/overview_chapter_borders/top.png} +0 -0
- data/app/assets/images/pageflow/themes/default/{audio_sprite.png → page_type_pictograms/audio/sprite.png} +0 -0
- data/app/assets/images/pageflow/themes/default/page_type_pictograms/audio/wide.png +0 -0
- data/app/assets/images/pageflow/themes/default/{image_sprite.png → page_type_pictograms/audio_loop/sprite.png} +0 -0
- data/app/assets/images/pageflow/themes/default/page_type_pictograms/audio_loop/wide.png +0 -0
- data/app/assets/images/pageflow/themes/default/page_type_pictograms/background_image/sprite.png +0 -0
- data/app/assets/images/pageflow/themes/default/page_type_pictograms/background_image/wide.png +0 -0
- data/app/assets/images/pageflow/themes/default/page_type_pictograms/background_video/sprite.png +0 -0
- data/app/assets/images/pageflow/themes/default/page_type_pictograms/background_video/wide.png +0 -0
- data/app/assets/images/pageflow/themes/default/{video_sprite.png → page_type_pictograms/video/sprite.png} +0 -0
- data/app/assets/images/pageflow/themes/default/page_type_pictograms/video/wide.png +0 -0
- data/app/assets/images/pageflow/themes/default/player_controls/slim/scroller_mask.png +0 -0
- data/app/assets/images/pageflow/themes/default/{loading_small.png → player_controls_loading_spinner.png} +0 -0
- data/app/assets/images/pageflow/themes/default/{video_controls.png → player_controls_sprite.png} +0 -0
- data/app/assets/images/pageflow/{menu-arrow-short.png → themes/legacy/menu-arrow-short.png} +0 -0
- data/app/assets/images/pageflow/themes/legacy/menu_mobile_imprint.png +0 -0
- data/app/assets/images/pageflow/themes/legacy/menu_mobile_sharing.png +0 -0
- data/app/assets/images/pageflow/themes/legacy/menu_mobile_sprite3.png +0 -0
- data/app/assets/images/pageflow/themes/legacy/mobile_sharing.png +0 -0
- data/app/assets/images/pageflow/{page_thumbnail_mask.png → themes/legacy/page_thumbnail_mask.png} +0 -0
- data/app/assets/images/pageflow/themes/legacy/scroll_down_indicator.png +0 -0
- data/app/assets/images/pageflow/themes/legacy/scroll_down_indicator_invert.png +0 -0
- data/app/assets/images/pageflow/{scroll_indicator_sprite.png → themes/legacy/scroll_indicator_sprite.png} +0 -0
- data/app/assets/images/pageflow/themes/legacy/touch_indicator.png +0 -0
- data/app/assets/images/pageflow/themes/legacy/touch_indicator_invert.png +0 -0
- data/app/assets/images/pageflow/{volume_control_sprite.png → themes/legacy/volume_control_sprite.png} +0 -0
- data/app/assets/javascripts/pageflow/admin.js +2 -0
- data/app/assets/javascripts/pageflow/admin/entries.js +1 -1
- data/app/assets/javascripts/pageflow/base.js +2 -0
- data/app/assets/javascripts/pageflow/browser/agent.js +36 -0
- data/app/assets/javascripts/pageflow/browser/facebook.js +10 -0
- data/app/assets/javascripts/pageflow/browser/ios_platform.js +1 -4
- data/app/assets/javascripts/pageflow/editor/models/theming.js +4 -0
- data/app/assets/javascripts/pageflow/editor/views/edit_meta_data_view.js +17 -3
- data/app/assets/javascripts/pageflow/editor/views/editor_view.js +21 -0
- data/app/assets/javascripts/pageflow/editor/views/entry_preview_view.js +1 -0
- data/app/assets/javascripts/pageflow/focus_outline.js +44 -0
- data/app/assets/javascripts/pageflow/highlighted_page.js +10 -4
- data/app/assets/javascripts/pageflow/links.js +0 -7
- data/app/assets/javascripts/pageflow/page_types/audio.js +13 -0
- data/app/assets/javascripts/pageflow/page_types/mixins/info_box.js +5 -2
- data/app/assets/javascripts/pageflow/page_types/video.js +65 -59
- data/app/assets/javascripts/pageflow/ready.js +4 -2
- data/app/assets/javascripts/pageflow/slideshow.js +1 -0
- data/app/assets/javascripts/pageflow/slideshow/atmo.js +1 -1
- data/app/assets/javascripts/pageflow/slideshow/hide_text.js +5 -1
- data/app/assets/javascripts/pageflow/slideshow/page_widget.js +17 -0
- data/app/assets/javascripts/pageflow/slideshow/scroll_indicator.js +27 -0
- data/app/assets/javascripts/pageflow/slideshow/scroll_indicator_widget.js +53 -10
- data/app/assets/javascripts/pageflow/slideshow/scroller_widget.js +8 -1
- data/app/assets/javascripts/pageflow/ui/views/inputs/slider_input_view.js +15 -4
- data/app/assets/javascripts/pageflow/widgets.js +9 -0
- data/app/assets/javascripts/pageflow/widgets/auto_hide_player_controls.js +59 -0
- data/app/assets/javascripts/pageflow/widgets/header.js +11 -7
- data/app/assets/javascripts/pageflow/widgets/hide_content_during_playback.js +68 -0
- data/app/assets/javascripts/pageflow/widgets/loading_spinner.js +2 -0
- data/app/assets/javascripts/pageflow/widgets/mark_with_played_states.js +23 -0
- data/app/assets/javascripts/pageflow/widgets/multimedia_alert.js +2 -0
- data/app/assets/javascripts/pageflow/widgets/navigation.js +3 -5
- data/app/assets/javascripts/pageflow/widgets/navigation_mobile.js +2 -0
- data/app/assets/javascripts/pageflow/widgets/overview.js +2 -1
- data/app/assets/javascripts/pageflow/widgets/page_navigation_list.js +7 -3
- data/app/assets/javascripts/pageflow/widgets/player_controls.js +24 -19
- data/app/assets/javascripts/pageflow/widgets/share_menu.js +5 -4
- data/app/assets/stylesheets/pageflow/{admin.css.scss → admin.scss} +7 -5
- data/app/assets/stylesheets/pageflow/admin/{columns.css.scss → columns.scss} +0 -0
- data/app/assets/stylesheets/pageflow/admin/embedded_index_table.scss +14 -0
- data/app/assets/stylesheets/pageflow/admin/{entries.css.scss → entries.scss} +7 -11
- data/app/assets/stylesheets/pageflow/admin/entries/{folders.css.scss → folders.scss} +0 -0
- data/app/assets/stylesheets/pageflow/admin/entries/index_table.scss +15 -0
- data/app/assets/stylesheets/pageflow/admin/entries/{user_badge_list.css.scss → user_badge_list.scss} +0 -0
- data/app/assets/stylesheets/pageflow/admin/filters.scss +3 -0
- data/app/assets/stylesheets/pageflow/admin/icon_button.scss +25 -0
- data/app/assets/stylesheets/pageflow/admin/icon_link.scss +31 -0
- data/app/assets/stylesheets/pageflow/admin/publication_state_indicator.scss +18 -0
- data/app/assets/stylesheets/pageflow/admin/{quotas.css.scss → quotas.scss} +0 -0
- data/app/assets/stylesheets/pageflow/admin/{tabs_view.css.scss → tabs_view.scss} +3 -2
- data/app/assets/stylesheets/pageflow/admin/tooltip_bubble.scss +30 -0
- data/app/assets/stylesheets/pageflow/{animations.css.scss → animations.scss} +0 -0
- data/app/assets/stylesheets/pageflow/animations/{blink.css.scss → blink.scss} +0 -0
- data/app/assets/stylesheets/pageflow/animations/{bounce.css.scss → bounce.scss} +0 -0
- data/app/assets/stylesheets/pageflow/animations/{fade.css.scss → fade.scss} +0 -0
- data/app/assets/stylesheets/pageflow/animations/{loading.css.scss → loading.scss} +0 -0
- data/app/assets/stylesheets/pageflow/animations/{scroll.css.scss → scroll.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{application_with_simulated_media_queries.css.scss → application_with_simulated_media_queries.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{base.css.scss → base.scss} +15 -5
- data/app/assets/stylesheets/pageflow/{delayed_text_fade_in.css.scss → delayed_text_fade_in.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{back_button_decorator.css.scss → back_button_decorator.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{background_positioning.css.scss → background_positioning.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{base.css.scss → base.scss} +3 -1
- data/app/assets/stylesheets/pageflow/editor/{blank_entry.css.scss → blank_entry.scss} +6 -4
- data/app/assets/stylesheets/pageflow/editor/{colors.css.scss → colors.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{confirm_encoding.css.scss → confirm_encoding.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{dialogs.css.scss → dialogs.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{disabled_atmo_indicator.css.scss → disabled_atmo_indicator.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{drop_down_button.css.scss → drop_down_button.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{failures.css.scss → failures.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{file_meta_data.css.scss → file_meta_data.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{file_stages.css.scss → file_stages.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{file_thumbnails.css.scss → file_thumbnails.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{files.css.scss → files.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{files_explorer.css.scss → files_explorer.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{files_gallery.css.scss → files_gallery.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{help.css.scss → help.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{indicators.css.scss → indicators.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{inputs.css.scss → inputs.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/inputs/{reference.css.scss → reference.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{list.css.scss → list.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{loading.css.scss → loading.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{locked.css.scss → locked.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{manage_files.css.scss → manage_files.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{menu.css.scss → menu.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{notifications.css.scss → notifications.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{other_entry_item.css.scss → other_entry_item.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{outline.css.scss → outline.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{page_links.css.scss → page_links.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{page_selection.css.scss → page_selection.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{publish_entry.css.scss → publish_entry.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{quotas.css.scss → quotas.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{select_button.css.scss → select_button.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{storyline_picker.css.scss → storyline_picker.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/unsupported_browser_hint.scss +15 -0
- data/app/assets/stylesheets/pageflow/editor/{widgets.css.scss → widgets.scss} +0 -0
- data/app/assets/stylesheets/pageflow/editor/{wysihtml5.css.scss → wysihtml5.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{entries.css.scss → entries.scss} +16 -58
- data/app/assets/stylesheets/pageflow/focus_outline.scss +23 -0
- data/app/assets/stylesheets/pageflow/{fonts.css.scss → fonts.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{header.css.scss → header.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{hide_text.css.scss → hide_text.scss} +4 -6
- data/app/assets/stylesheets/pageflow/{ie9.css.scss → ie9.scss} +2 -1
- data/app/assets/stylesheets/pageflow/jquery_ui.scss +26 -0
- data/app/assets/stylesheets/pageflow/{loading_spinner.css.scss → loading_spinner.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{lt_ie9.css.scss → lt_ie9.scss} +0 -4
- data/app/assets/stylesheets/pageflow/{mixins.css.scss → mixins.scss} +2 -0
- data/app/assets/stylesheets/pageflow/mixins/{background_icons.css.scss → background_icons.scss} +13 -1
- data/app/assets/stylesheets/pageflow/mixins/{breakpoints.css.scss → breakpoints.scss} +0 -0
- data/app/assets/stylesheets/pageflow/mixins/{buttons.css.scss → buttons.scss} +0 -0
- data/app/assets/stylesheets/pageflow/mixins/{hidden_text.css.scss → hidden_text.scss} +0 -0
- data/app/assets/stylesheets/pageflow/mixins/{hover.css.scss → hover.scss} +0 -0
- data/app/assets/stylesheets/pageflow/mixins/{icons.css.scss → icons.scss} +4 -4
- data/app/assets/stylesheets/pageflow/mixins/icons/{entypo.css.scss → entypo.scss} +0 -0
- data/app/assets/stylesheets/pageflow/mixins/icons/{fontawesome.css.scss → fontawesome.scss} +1 -1
- data/app/assets/stylesheets/pageflow/mixins/ie_fixes.scss +4 -0
- data/app/assets/stylesheets/pageflow/mixins/{label.css.scss → label.scss} +0 -0
- data/app/assets/stylesheets/pageflow/mixins/map_to_css.scss +5 -0
- data/app/assets/stylesheets/pageflow/mixins/{pageflow.css.scss → pageflow.scss} +9 -1
- data/app/assets/stylesheets/pageflow/mixins/{pressed.css.scss → pressed.scss} +0 -0
- data/app/assets/stylesheets/pageflow/mixins/{shadow.css.scss → shadow.scss} +6 -1
- data/app/assets/stylesheets/pageflow/mixins/{text_size_adjust.css.scss → text_size_adjust.scss} +0 -0
- data/app/assets/stylesheets/pageflow/mixins/{unselectable.css.scss → unselectable.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{multimedia_alert.css.scss → multimedia_alert.scss} +1 -0
- data/app/assets/stylesheets/pageflow/{navigation_bar.css.scss → navigation_bar.scss} +7 -199
- data/app/assets/stylesheets/pageflow/{navigation_mobile.css.scss → navigation_mobile.scss} +1 -20
- data/app/assets/stylesheets/pageflow/{overview.css.scss → overview.scss} +6 -32
- data/app/assets/stylesheets/pageflow/{page.css.scss → page.scss} +1 -47
- data/app/assets/stylesheets/pageflow/{page_transitions.css.scss → page_transitions.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_transitions/{crossfade.css.scss → crossfade.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_transitions/{cut.css.scss → cut.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_transitions/{fade.css.scss → fade.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_transitions/{fade_to_black.css.scss → fade_to_black.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_transitions/{scroll.css.scss → scroll.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_transitions/{scroll_in.css.scss → scroll_in.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_transitions/{scroll_in_right.css.scss → scroll_in_right.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_transitions/{scroll_left.css.scss → scroll_left.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_transitions/{scroll_right.css.scss → scroll_right.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{page_types.css.scss → page_types.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_types/{audio.css.scss → audio.scss} +0 -15
- data/app/assets/stylesheets/pageflow/page_types/{audio_loop.css.scss → audio_loop.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_types/{background-image.css.scss → background-image.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_types/{background-video.css.scss → background-video.scss} +0 -0
- data/app/assets/stylesheets/pageflow/page_types/video.scss +116 -0
- data/app/assets/stylesheets/pageflow/page_types/video/content_hiding.scss +32 -0
- data/app/assets/stylesheets/pageflow/{print_view.css.scss → print_view.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{skip_links.css.scss → skip_links.scss} +0 -9
- data/app/assets/stylesheets/pageflow/{slideshow.css.scss → slideshow.scss} +7 -7
- data/app/assets/stylesheets/pageflow/{subshare.css.scss → subshare.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{text_variants.css.scss → text_variants.scss} +0 -0
- data/app/assets/stylesheets/pageflow/themes/default.scss +1 -0
- data/app/assets/stylesheets/pageflow/themes/default/README.md +26 -0
- data/app/assets/stylesheets/pageflow/themes/default/anchors.scss +24 -0
- data/app/assets/stylesheets/pageflow/themes/default/animations.scss +2 -0
- data/app/assets/stylesheets/pageflow/themes/default/animations/rotate.scss +9 -0
- data/app/assets/stylesheets/pageflow/themes/default/animations/rotate_and_blink.scss +16 -0
- data/app/assets/stylesheets/pageflow/themes/default/{base.css.scss → base.scss} +10 -2
- data/app/assets/stylesheets/pageflow/themes/default/built_in_page_types.scss +5 -0
- data/app/assets/stylesheets/pageflow/themes/default/definitions.scss +9 -0
- data/app/assets/stylesheets/pageflow/themes/default/functions/icon_font_options.scss +8 -0
- data/app/assets/stylesheets/pageflow/themes/default/indicators.scss +28 -0
- data/app/assets/stylesheets/pageflow/themes/default/indicators/colors.scss +47 -0
- data/app/assets/stylesheets/pageflow/themes/default/indicators/icons/default.scss +45 -0
- data/app/assets/stylesheets/pageflow/themes/default/indicators/icons/icon_font.scss +26 -0
- data/app/assets/stylesheets/pageflow/themes/default/indicators/icons/sprite.scss +38 -0
- data/app/assets/stylesheets/pageflow/themes/default/indicators/typography.scss +3 -0
- data/app/assets/stylesheets/pageflow/themes/default/indicators/widget_margins.scss +3 -0
- data/app/assets/stylesheets/pageflow/themes/default/loading_spinner.scss +90 -0
- data/app/assets/stylesheets/pageflow/themes/default/logo.scss +54 -0
- data/app/assets/stylesheets/pageflow/themes/default/logo/variant/background_image.scss +37 -0
- data/app/assets/stylesheets/pageflow/themes/default/logo/variant/watermark.scss +90 -0
- data/app/assets/stylesheets/pageflow/themes/default/mixins/indicator_typography.scss +30 -0
- data/app/assets/stylesheets/pageflow/themes/default/mixins/sprite_icons.scss +87 -0
- data/app/assets/stylesheets/pageflow/themes/default/mixins/typography.scss +7 -0
- data/app/assets/stylesheets/pageflow/themes/default/mobile_navigation.scss +104 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation.scss +102 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/credits.scss +7 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/dimensions.scss +87 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/icons/icon_font.scss +232 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/icons/sprite.scss +124 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/menu_boxes.scss +99 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/separator_lines.scss +21 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/share_box.scss +28 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/typography.scss +40 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/volume_control.scss +17 -0
- data/app/assets/stylesheets/pageflow/themes/default/navigation/widget_margin.scss +19 -0
- data/app/assets/stylesheets/pageflow/themes/default/overview.scss +43 -0
- data/app/assets/stylesheets/pageflow/themes/default/overview/chapter_border_images.scss +70 -0
- data/app/assets/stylesheets/pageflow/themes/default/overview/chapter_numbers.scss +14 -0
- data/app/assets/stylesheets/pageflow/themes/default/overview/colors.scss +100 -0
- data/app/assets/stylesheets/pageflow/themes/default/overview/icons/icon_font.scss +50 -0
- data/app/assets/stylesheets/pageflow/themes/default/overview/icons/sprite.scss +25 -0
- data/app/assets/stylesheets/pageflow/themes/default/overview/typography.scss +61 -0
- data/app/assets/stylesheets/pageflow/themes/default/page.scss +237 -0
- data/app/assets/stylesheets/pageflow/themes/default/page/anchors.scss +19 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls.scss +30 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic.scss +36 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/close_button.scss +52 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/container.scss +48 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/control_bar.scss +222 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/control_bar/timestamp_position/right.scss +22 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/control_bar/timestamp_position/split.scss +22 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/icons/icon_font.scss +87 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/icons/sprite.scss +59 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/info_box.scss +137 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim.scss +21 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/close_button.scss +38 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/container.scss +50 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/control_bar.scss +249 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/info_box.scss +112 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/scroller.scss +21 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/vjs_mapping.scss +86 -0
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/widget_margins.scss +10 -0
- data/app/assets/stylesheets/pageflow/themes/default/slideshow.scss +3 -0
- data/app/assets/stylesheets/pageflow/themes/default/variables.scss +4 -0
- data/app/assets/stylesheets/pageflow/themes/default/variables/standard.scss +33 -0
- data/app/assets/stylesheets/pageflow/themes/default/variables/widgets.scss +28 -0
- data/app/assets/stylesheets/pageflow/themes/default/video_player.scss +1 -0
- data/app/assets/stylesheets/pageflow/themes/default/video_player/vjs_base.scss +121 -0
- data/app/assets/stylesheets/pageflow/themes/default/video_wrapper.scss +14 -0
- data/app/assets/stylesheets/pageflow/themes/legacy.scss +8 -0
- data/app/assets/stylesheets/pageflow/themes/legacy/indicators.scss +64 -0
- data/app/assets/stylesheets/pageflow/themes/legacy/navigation.scss +262 -0
- data/app/assets/stylesheets/pageflow/themes/legacy/navigation_mobile.scss +52 -0
- data/app/assets/stylesheets/pageflow/themes/legacy/overview.scss +50 -0
- data/app/assets/stylesheets/pageflow/themes/legacy/page.scss +48 -0
- data/app/assets/stylesheets/pageflow/themes/legacy/page_types.scss +2 -0
- data/app/assets/stylesheets/pageflow/themes/legacy/page_types/audio.scss +5 -0
- data/app/assets/stylesheets/pageflow/{page_types/video.css.scss → themes/legacy/page_types/video.scss} +4 -109
- data/app/assets/stylesheets/pageflow/{player_controls.css.scss → themes/legacy/player_controls.scss} +13 -12
- data/app/assets/stylesheets/pageflow/{video_player.css.scss → themes/legacy/video_player.scss} +0 -0
- data/app/assets/stylesheets/pageflow/{ui.css.scss → ui.scss} +0 -0
- data/app/assets/stylesheets/pageflow/ui/{forms.css.scss → forms.scss} +0 -0
- data/app/assets/stylesheets/pageflow/ui/input/{extended_select_input.css.scss → extended_select_input.scss} +0 -0
- data/app/assets/stylesheets/pageflow/ui/{tabs_view.css.scss → tabs_view.scss} +0 -0
- data/app/controllers/pageflow/application_controller.rb +8 -2
- data/app/controllers/pageflow/entries_controller.rb +6 -6
- data/app/helpers/pageflow/admin/entries_helper.rb +15 -0
- data/app/helpers/pageflow/admin/form_helper.rb +14 -0
- data/app/helpers/pageflow/admin/users_helper.rb +9 -0
- data/app/helpers/pageflow/entries_helper.rb +3 -2
- data/app/helpers/pageflow/info_box_helper.rb +17 -5
- data/app/helpers/pageflow/navigation_bar_helper.rb +11 -0
- data/app/helpers/pageflow/social_share_helper.rb +16 -3
- data/app/helpers/pageflow/social_share_links_helper.rb +32 -0
- data/app/helpers/pageflow/widgets_helper.rb +1 -1
- data/app/mailers/pageflow/user_mailer.rb +3 -1
- data/app/models/concerns/pageflow/entry_publication_states.rb +63 -0
- data/app/models/pageflow/account.rb +2 -2
- data/app/models/pageflow/draft_entry.rb +5 -1
- data/app/models/pageflow/entry.rb +7 -11
- data/app/models/pageflow/invited_user.rb +16 -6
- data/app/models/pageflow/overview_button.rb +19 -0
- data/app/models/pageflow/published_entry.rb +7 -2
- data/app/models/pageflow/revision.rb +4 -1
- data/app/models/pageflow/theming.rb +13 -0
- data/app/views/admin/accounts/_form.html.erb +13 -1
- data/app/views/admin/accounts/_theming_details.html.arb +3 -0
- data/app/views/admin/entries/_attributes_table.html.arb +1 -1
- data/app/views/admin/entries/_links.html.arb +11 -3
- data/app/views/admin/features/_form.html.erb +1 -1
- data/app/views/admin/memberships/_form.html.erb +1 -1
- data/app/views/admin/revisions/_form.html.erb +1 -1
- data/app/views/admin/users/_form.html.erb +1 -1
- data/app/views/admin/users/delete_me.html.erb +1 -1
- data/app/views/admin/users/me.html.erb +5 -6
- data/app/views/components/pageflow/admin/embedded_index_table.rb +67 -10
- data/app/views/components/pageflow/admin/entries_tab.rb +6 -9
- data/app/views/components/pageflow/admin/entry_publication_state_indicator.rb +26 -0
- data/app/views/components/pageflow/admin/icon_link_to.rb +21 -0
- data/app/views/components/pageflow/admin/members_tab.rb +19 -12
- data/app/views/components/pageflow/admin/revisions_tab.rb +1 -1
- data/app/views/components/pageflow/admin/users_tab.rb +6 -10
- data/app/views/pageflow/admin/users/_cannot_delete.html.erb +3 -0
- data/app/views/pageflow/admin/users/_may_delete.html.erb +6 -0
- data/app/views/pageflow/admin/widgets/_fields.html.erb +1 -1
- data/app/views/pageflow/config/_editor_seeds.json.jbuilder +3 -0
- data/app/views/pageflow/editor/entries/_entry.json.jbuilder +5 -1
- data/app/views/pageflow/editor/entries/_unsupported_browser_hint.html.erb +5 -0
- data/app/views/pageflow/editor/themings/_theming.json.jbuilder +1 -0
- data/app/views/pageflow/entries/_loading_spinner.html.erb +3 -1
- data/app/views/pageflow/entries/_navigation.html.erb +1 -1
- data/app/views/pageflow/entries/edit.html.erb +1 -0
- data/app/views/pageflow/entries/navigation/_bar_top.html.erb +1 -6
- data/app/views/pageflow/entries/navigation/_overview_button.html.erb +8 -0
- data/app/views/pageflow/entries/navigation/_page.html.erb +1 -2
- data/app/views/pageflow/entries/share_menu/_facebook_link.html.erb +4 -11
- data/app/views/pageflow/entries/share_menu/_google_link.html.erb +4 -11
- data/app/views/pageflow/entries/share_menu/_twitter_link.html.erb +4 -11
- data/app/views/pageflow/pages/templates/_audio.html.erb +6 -3
- data/app/views/pageflow/pages/templates/_video.html.erb +5 -2
- data/app/views/pageflow/social_share/_entry_meta_tags.html.erb +8 -8
- data/app/views/pageflow/social_share/_image_tags.html.erb +3 -3
- data/app/views/pageflow/social_share/_page_meta_tags.html.erb +9 -9
- data/app/views/pageflow/user_mailer/invitation.html.erb +2 -2
- data/app/views/pageflow/user_mailer/invitation.text.erb +1 -1
- data/app/views/pageflow/widgets/_placeholder.html.erb +1 -0
- data/config/initializers/active_admin_patches.rb +10 -0
- data/config/initializers/widget_types.rb +3 -0
- data/config/locales/de.yml +38 -2
- data/config/locales/en.yml +39 -3
- data/db/migrate/20160131222203_add_cache_counters.rb +23 -0
- data/db/migrate/20160225075853_add_overview_button_enabled_to_revisions.rb +5 -0
- data/db/migrate/20160310080213_add_edited_at_to_entries.rb +9 -0
- data/db/migrate/20160425192648_add_index_for_revision_publication_timestamps.rb +5 -0
- data/db/migrate/20160617123557_add_meta_fields_to_theming.rb +7 -0
- data/db/migrate/20160715105408_add_share_url_to_revisions.rb +5 -0
- data/lib/generators/pageflow/active_admin_initializer/active_admin_initializer_generator.rb +24 -0
- data/lib/generators/pageflow/assets/assets_generator.rb +5 -3
- data/lib/generators/pageflow/assets/templates/{application.css.scss → application.scss} +0 -0
- data/lib/generators/pageflow/assets/templates/{editor.css.scss → editor.scss} +0 -0
- data/lib/generators/pageflow/cancan/cancan_generator.rb +4 -8
- data/lib/generators/pageflow/error_pages/error_pages_generator.rb +27 -0
- data/lib/generators/pageflow/error_pages/templates/404.html +15 -0
- data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-bold-webfont.eot +0 -0
- data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-bold-webfont.svg +245 -0
- data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-bold-webfont.ttf +0 -0
- data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-bold-webfont.woff +0 -0
- data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-regular-webfont.eot +0 -0
- data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-regular-webfont.svg +245 -0
- data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-regular-webfont.ttf +0 -0
- data/lib/generators/pageflow/error_pages/templates/fonts/sourcesanspro-regular-webfont.woff +0 -0
- data/lib/generators/pageflow/error_pages/templates/images/bg.jpg +0 -0
- data/lib/generators/pageflow/error_pages/templates/stylesheets/main.css +40 -0
- data/lib/generators/pageflow/initializer/initializer_generator.rb +2 -0
- data/lib/generators/pageflow/initializer/templates/pageflow.rb +0 -3
- data/lib/generators/pageflow/install/install_generator.rb +2 -0
- data/lib/generators/pageflow/procfile/procfile_generator.rb +15 -0
- data/lib/generators/pageflow/procfile/templates/Procfile +3 -0
- data/lib/generators/pageflow/resque/resque_generator.rb +2 -0
- data/lib/generators/pageflow/routes/routes_generator.rb +2 -0
- data/lib/generators/pageflow/seeds/seeds_generator.rb +2 -0
- data/lib/generators/pageflow/theme/templates/themes/%name%.scss.tt +4 -0
- data/lib/generators/pageflow/theme/templates/themes/%name%/variables.scss.tt +10 -0
- data/lib/generators/pageflow/theme/theme_generator.rb +10 -18
- data/lib/generators/pageflow/user/user_generator.rb +2 -0
- data/lib/pageflow.rb +4 -0
- data/lib/pageflow/ability_mixin.rb +4 -0
- data/lib/pageflow/active_admin_patches/views/attributes_table.rb +31 -0
- data/lib/pageflow/active_admin_patches/views/pages/base.rb +14 -0
- data/lib/pageflow/active_admin_patches/views/table_for.rb +42 -0
- data/lib/pageflow/built_in_widget_type.rb +9 -1
- data/lib/pageflow/configuration.rb +17 -0
- data/lib/pageflow/engine.rb +6 -4
- data/lib/pageflow/theme.rb +4 -0
- data/lib/pageflow/user_mixin.rb +10 -10
- data/lib/pageflow/version.rb +1 -1
- data/spec/factories/revisions.rb +18 -0
- metadata +386 -203
- data/app/assets/images/pageflow/anchor_black.png +0 -0
- data/app/assets/images/pageflow/anchor_green.png +0 -0
- data/app/assets/images/pageflow/anchor_white.png +0 -0
- data/app/assets/images/pageflow/menu_mobile_sprite.png +0 -0
- data/app/assets/images/pageflow/menu_mobile_sprite2.png +0 -0
- data/app/assets/images/pageflow/themes/default/arrow_left_sprite.png +0 -0
- data/app/assets/images/pageflow/themes/default/arrow_right_sprite.png +0 -0
- data/app/assets/images/pageflow/themes/default/close_sprite.png +0 -0
- data/app/assets/images/pageflow/themes/default/loading_spinner.png +0 -0
- data/app/assets/images/pageflow/themes/default/loading_spinner_bg.png +0 -0
- data/app/assets/images/pageflow/themes/default/scroll_indicator_sprite.png +0 -0
- data/app/assets/stylesheets/pageflow/jquery_ui.css.scss +0 -16
- data/app/assets/stylesheets/pageflow/themes/default.css.scss +0 -1
- data/app/assets/stylesheets/pageflow/themes/default/anchors.css.scss +0 -56
- data/app/assets/stylesheets/pageflow/themes/default/loading_spinner.css.scss +0 -146
- data/app/assets/stylesheets/pageflow/themes/default/navigation.css.scss +0 -277
- data/app/assets/stylesheets/pageflow/themes/default/overview.css.scss +0 -134
- data/app/assets/stylesheets/pageflow/themes/default/page.css.scss +0 -276
- data/app/assets/stylesheets/pageflow/themes/default/player_controls.css.scss +0 -31
- data/app/assets/stylesheets/pageflow/themes/default/variables.css.scss +0 -20
- data/lib/active_admin/patches/views/attributes_table.rb +0 -20
- data/lib/active_admin/patches/views/pages/base.rb +0 -8
- data/lib/active_admin/patches/views/table_for.rb +0 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a73607737150129fbb7b4aada5619097592844f8
|
4
|
+
data.tar.gz: 9caedfec77d8e308bba2c89a6d9ef65f588c8627
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6dcf4e0fe53e80e448a3c9906e323307e856b77a0b763070b1ed915a871cf58a23152e1f25e901cfc0ba0d92e40be8d3a335f0e467520a05d254716764c1ae1
|
7
|
+
data.tar.gz: f30680dae1fcac19f8a50d75080fb311a10c4e46175ccee2c21fa80c7f259962d06ce798b985546ba34121e33210c063feb7203b53373c1ec26c947f243988dc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,186 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
### Version 0.11.0
|
4
|
+
|
5
|
+
2016-09-09
|
6
|
+
|
7
|
+
[Compare changes](https://github.com/codevise/pageflow/compare/v0.10.0...v0.11.0)
|
8
|
+
|
9
|
+
##### Breaking Changes
|
10
|
+
|
11
|
+
- Pageflow now depends on Rails 4.2, which is the only version below
|
12
|
+
Rails 5 that still receives security and bug fixes. See the
|
13
|
+
[Upgrading Rails guide](http://guides.rubyonrails.org/upgrading_ruby_on_rails.html)
|
14
|
+
for changes you need to apply to your application.
|
15
|
+
([#575](https://github.com/codevise/pageflow/pull/575))
|
16
|
+
|
17
|
+
- Active Admin/Devise have been updated. The `gem` entries for
|
18
|
+
`activeadmin`, `ransack`, `inherited_resources` and `formtastic`
|
19
|
+
have to be removed. Furthermore, delete the following line from the
|
20
|
+
Pageflow initializer:
|
21
|
+
|
22
|
+
ActiveAdmin.application.load_paths.unshift(Dir[Pageflow::Engine.root.join('admins')])
|
23
|
+
|
24
|
+
Instead insert the following line at the top of the Active Admin
|
25
|
+
initializer:
|
26
|
+
|
27
|
+
ActiveAdmin.application.load_paths.unshift(Pageflow.active_admin_load_path)
|
28
|
+
|
29
|
+
See the
|
30
|
+
[Active Admin changelog](https://github.com/activeadmin/activeadmin/blob/master/CHANGELOG.md)
|
31
|
+
for instructions on how to upgrade the Active Admin initializer.
|
32
|
+
([#500](https://github.com/codevise/pageflow/pull/500))
|
33
|
+
|
34
|
+
- Error pages now live in the `public` directory of the host
|
35
|
+
application. Run the following generator to copy the default error
|
36
|
+
pages to `public/pageflow/error_pages`:
|
37
|
+
|
38
|
+
$ bin/rails generate pageflow:error_pages
|
39
|
+
|
40
|
+
Feel free to change the generated files however you like.
|
41
|
+
([#572](https://github.com/codevise/pageflow/pull/572))
|
42
|
+
|
43
|
+
- The default theme has partly been rewritten. See
|
44
|
+
[the new theme guide](https://github.com/codevise/pageflow/blob/master/doc/creating_themes.md)
|
45
|
+
for instructions on how to build themes that are decoupled from
|
46
|
+
Pageflow implementation details.
|
47
|
+
([#470](https://github.com/codevise/pageflow/pull/470),
|
48
|
+
[#576](https://github.com/codevise/pageflow/pull/576),
|
49
|
+
[#586](https://github.com/codevise/pageflow/pull/586),
|
50
|
+
[#590](https://github.com/codevise/pageflow/pull/590),
|
51
|
+
[#591](https://github.com/codevise/pageflow/pull/591),
|
52
|
+
[#592](https://github.com/codevise/pageflow/pull/592),
|
53
|
+
[#593](https://github.com/codevise/pageflow/pull/593),
|
54
|
+
[#594](https://github.com/codevise/pageflow/pull/594),
|
55
|
+
[#596](https://github.com/codevise/pageflow/pull/596),
|
56
|
+
[#597](https://github.com/codevise/pageflow/pull/597),
|
57
|
+
[#598](https://github.com/codevise/pageflow/pull/598),
|
58
|
+
[#626](https://github.com/codevise/pageflow/pull/626),
|
59
|
+
[#618](https://github.com/codevise/pageflow/pull/618),
|
60
|
+
[#600](https://github.com/codevise/pageflow/pull/600))
|
61
|
+
|
62
|
+
##### Public Site
|
63
|
+
|
64
|
+
- Rebrush default theme
|
65
|
+
([#612](https://github.com/codevise/pageflow/pull/612),
|
66
|
+
[#611](https://github.com/codevise/pageflow/pull/611),
|
67
|
+
[#588](https://github.com/codevise/pageflow/pull/588))
|
68
|
+
- Minimalistic player controls
|
69
|
+
([#558](https://github.com/codevise/pageflow/pull/558))
|
70
|
+
- Move share button in mobile navigation to bottom
|
71
|
+
([#551](https://github.com/codevise/pageflow/pull/551))
|
72
|
+
- Scroll to active item in overview item
|
73
|
+
([#555](https://github.com/codevise/pageflow/pull/555))
|
74
|
+
- Improve hide text css
|
75
|
+
([#541](https://github.com/codevise/pageflow/pull/541))
|
76
|
+
- Improve focus outline handling
|
77
|
+
([#543](https://github.com/codevise/pageflow/pull/543))
|
78
|
+
- Increase fastclick compatibility of share menu
|
79
|
+
([#548](https://github.com/codevise/pageflow/pull/548))
|
80
|
+
- Disable atmo on mobile platform
|
81
|
+
([#554](https://github.com/codevise/pageflow/pull/554))
|
82
|
+
- Ensure facebook app does not crop viewport
|
83
|
+
([#607](https://github.com/codevise/pageflow/pull/607))
|
84
|
+
- Apply widget margin to mobile scroll indicator
|
85
|
+
([#606](https://github.com/codevise/pageflow/pull/606))
|
86
|
+
- Bug fix: Fix keyboard access to sub share menu
|
87
|
+
([#553](https://github.com/codevise/pageflow/pull/553))
|
88
|
+
- Bug fix: Do not set video src on video page activate
|
89
|
+
([#547](https://github.com/codevise/pageflow/pull/547))
|
90
|
+
- Bug fix: Prevent native scrolling on multimedia alert
|
91
|
+
([#550](https://github.com/codevise/pageflow/pull/550))
|
92
|
+
- Bug fix: Ensure entry cache is invalidated when theming changes
|
93
|
+
([#627](https://github.com/codevise/pageflow/pull/627))
|
94
|
+
|
95
|
+
##### Admin
|
96
|
+
|
97
|
+
- Improve filtering, sorting and pagination of admin tables
|
98
|
+
([#568](https://github.com/codevise/pageflow/pull/568),
|
99
|
+
[#567](https://github.com/codevise/pageflow/pull/567),
|
100
|
+
[#563](https://github.com/codevise/pageflow/pull/563))
|
101
|
+
- Allow setting defaults for meta tags per theming
|
102
|
+
([#538](https://github.com/codevise/pageflow/pull/538),
|
103
|
+
[#573](https://github.com/codevise/pageflow/pull/573))
|
104
|
+
- Improve revisions table on entry admin page
|
105
|
+
([#619](https://github.com/codevise/pageflow/pull/619))
|
106
|
+
|
107
|
+
##### Editor
|
108
|
+
|
109
|
+
- Allow specifying custom share url
|
110
|
+
([#581](https://github.com/codevise/pageflow/pull/581))
|
111
|
+
- Add option to hide overview button
|
112
|
+
([#556](https://github.com/codevise/pageflow/pull/556))
|
113
|
+
- Display warning for ie 9 in editor
|
114
|
+
([#552](https://github.com/codevise/pageflow/pull/552))
|
115
|
+
- Bug fix: Prevent scrolling preview while focus in sidebar
|
116
|
+
([#549](https://github.com/codevise/pageflow/pull/549))
|
117
|
+
|
118
|
+
##### Rails Engine
|
119
|
+
|
120
|
+
- Update activeadmin to 1.0.pre4
|
121
|
+
([#617](https://github.com/codevise/pageflow/pull/617),
|
122
|
+
[#610](https://github.com/codevise/pageflow/pull/610))
|
123
|
+
- Update sass to 3.4
|
124
|
+
([#540](https://github.com/codevise/pageflow/pull/540))
|
125
|
+
- Switch to cancancan from cancan
|
126
|
+
([#615](https://github.com/codevise/pageflow/pull/615))
|
127
|
+
- Add config option to forbid deleting user account
|
128
|
+
([#535](https://github.com/codevise/pageflow/pull/535))
|
129
|
+
- Encapsulate active admin load path setup
|
130
|
+
([#570](https://github.com/codevise/pageflow/pull/570))
|
131
|
+
- Add off event emitter method to pageflow.hidetext.
|
132
|
+
([#542](https://github.com/codevise/pageflow/pull/542))
|
133
|
+
- Introduce widgets api
|
134
|
+
([#544](https://github.com/codevise/pageflow/pull/544))
|
135
|
+
- Introduce widget margins
|
136
|
+
([#557](https://github.com/codevise/pageflow/pull/557))
|
137
|
+
- Add page css classes for scroller boundary position
|
138
|
+
([#545](https://github.com/codevise/pageflow/pull/545))
|
139
|
+
- Allow overriding logic to determine highlightes page
|
140
|
+
([#605](https://github.com/codevise/pageflow/pull/605))
|
141
|
+
- Theme generator for configurable default theme
|
142
|
+
([#560](https://github.com/codevise/pageflow/pull/560))
|
143
|
+
- Prevent account with entries being deleted
|
144
|
+
([#599](https://github.com/codevise/pageflow/pull/599))
|
145
|
+
- Correct the documentation for js widget types
|
146
|
+
([#571](https://github.com/codevise/pageflow/pull/571))
|
147
|
+
- Update ruby version requirement in readme
|
148
|
+
([#620](https://github.com/codevise/pageflow/pull/620))
|
149
|
+
- Make sliderinputview more configurable
|
150
|
+
([#602](https://github.com/codevise/pageflow/pull/602))
|
151
|
+
- Add classnames to title bar action-items
|
152
|
+
([#608](https://github.com/codevise/pageflow/pull/608))
|
153
|
+
- Add browser agent based detection for ie up to 11
|
154
|
+
([#601](https://github.com/codevise/pageflow/pull/601))
|
155
|
+
|
156
|
+
##### Internals
|
157
|
+
|
158
|
+
- Upgrade to rspec 3
|
159
|
+
([#569](https://github.com/codevise/pageflow/pull/569))
|
160
|
+
- Add ruby 2.3.1 to travis file
|
161
|
+
([#609](https://github.com/codevise/pageflow/pull/609))
|
162
|
+
- Use parallel coverall builds
|
163
|
+
([#614](https://github.com/codevise/pageflow/pull/614))
|
164
|
+
- Generator unit tests
|
165
|
+
([#574](https://github.com/codevise/pageflow/pull/574))
|
166
|
+
- Generate theme documentation
|
167
|
+
([#559](https://github.com/codevise/pageflow/pull/559))
|
168
|
+
- Install coveralls test coverage reporter
|
169
|
+
([#561](https://github.com/codevise/pageflow/pull/561))
|
170
|
+
- Import new rubocop default from hound repository
|
171
|
+
([#580](https://github.com/codevise/pageflow/pull/580))
|
172
|
+
- Add scss_lint and rubocop to development dependency
|
173
|
+
([#625](https://github.com/codevise/pageflow/pull/625))
|
174
|
+
- Rename .css.scss files to just .scss
|
175
|
+
([#613](https://github.com/codevise/pageflow/pull/613))
|
176
|
+
- Ignore a few more files
|
177
|
+
([#565](https://github.com/codevise/pageflow/pull/565))
|
178
|
+
- Increase the test coverage
|
179
|
+
([#603](https://github.com/codevise/pageflow/pull/603),
|
180
|
+
[#604](https://github.com/codevise/pageflow/pull/604))
|
181
|
+
- Bug fix: Narrow sprockets-rails version
|
182
|
+
([#546](https://github.com/codevise/pageflow/pull/546))
|
183
|
+
|
3
184
|
### Version 0.10.0
|
4
185
|
|
5
186
|
2016-06-09
|
data/README.md
CHANGED
@@ -2,15 +2,17 @@
|
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/pageflow.svg)](http://badge.fury.io/rb/pageflow)
|
4
4
|
[![Build Status](https://travis-ci.org/codevise/pageflow.svg?branch=master)](https://travis-ci.org/codevise/pageflow)
|
5
|
+
[![Coverage Status](https://coveralls.io/repos/github/codevise/pageflow/badge.svg?branch=master)](https://coveralls.io/github/codevise/pageflow?branch=master)
|
6
|
+
[![Code Climate](https://codeclimate.com/github/codevise/pageflow/badges/gpa.svg)](https://codeclimate.com/github/codevise/pageflow)
|
5
7
|
|
6
8
|
Multimedia story telling for the web.
|
7
9
|
|
8
10
|
For a high level introduction and example Pageflow stories see
|
9
11
|
[pageflow.io](http://pageflow.io).
|
10
12
|
|
11
|
-
|
12
|
-
|
13
|
-
|
13
|
+
* [Getting Started](https://github.com/codevise/pageflow/wiki/Getting-Started)
|
14
|
+
* [Guides](https://github.com/codevise/pageflow/blob/master/doc/index.md)
|
15
|
+
* [Theme Settings](http://codevise.github.io/pageflow/theme/master/)
|
14
16
|
|
15
17
|
## Updating
|
16
18
|
|
@@ -34,20 +36,19 @@ components:
|
|
34
36
|
Pageflow assumes the following choice of libraries:
|
35
37
|
|
36
38
|
* [Devise](https://github.com/plataformatec/devise) for authentication
|
37
|
-
* [
|
39
|
+
* [CanCanCan](https://github.com/CanCanCommunity/cancancan) for authorization
|
38
40
|
* [ActiveAdmin](http://activeadmin.info/) for administration
|
39
41
|
* [Resque](https://github.com/resque/resque) for background jobs
|
40
42
|
* [FriendlyId](https://github.com/norman/friendly_id) for pretty URLs
|
41
43
|
* [Paperclip](https://github.com/thoughtbot/paperclip) for attachment handling
|
42
44
|
* [Backbone](http://backbonejs.org/) [Marionette](http://marionettejs.com/) for client side development
|
43
45
|
|
44
|
-
|
45
46
|
## Requirements
|
46
47
|
|
47
48
|
Pageflow runs in environments with:
|
48
49
|
|
49
|
-
* Ruby >=
|
50
|
-
* Rails 4.
|
50
|
+
* Ruby >= 2.1
|
51
|
+
* Rails 4.2
|
51
52
|
* Redis server (for Resque)
|
52
53
|
* A database server supported by Active Record (tested with MySQL)
|
53
54
|
* ImageMagick
|
@@ -82,17 +83,7 @@ Add this line to your application's Gemfile:
|
|
82
83
|
# Gemfile
|
83
84
|
gem 'pageflow'
|
84
85
|
|
85
|
-
|
86
|
-
since, back when development started, no Rails 4 compatible version of
|
87
|
-
Active Admin was available as a gem. You therefore need to bundle the
|
88
|
-
`rails4` branch that we have forked into our github organization:
|
89
|
-
|
90
|
-
# Gemfile
|
91
|
-
gem 'activeadmin', git: 'https://github.com/codevise/active_admin.git', branch: 'rails4'
|
92
|
-
gem 'ransack'
|
93
|
-
gem 'inherited_resources', '1.4.1'
|
94
|
-
gem 'formtastic', '2.3.0'
|
95
|
-
# Only required for Rails 4.1:
|
86
|
+
# Required for Rails 4.1:
|
96
87
|
gem 'state_machine', git: 'https://github.com/codevise/state_machine.git'
|
97
88
|
|
98
89
|
Run bundler to install dependencies:
|
@@ -117,12 +108,6 @@ safely read on.
|
|
117
108
|
|
118
109
|
### Database Migration
|
119
110
|
|
120
|
-
_Devise migration name fix_: In some cases, the Devise generator creates
|
121
|
-
a migration file without file extension. This needs to be fixed manually
|
122
|
-
at the moment:
|
123
|
-
|
124
|
-
$ rename 's/$/.rb/' db/migrate/*_devise_create_users
|
125
|
-
|
126
111
|
Now you can migrate the database.
|
127
112
|
|
128
113
|
$ rake db:migrate
|
@@ -155,19 +140,8 @@ application.
|
|
155
140
|
## Running Pageflow
|
156
141
|
|
157
142
|
In addition to the Rails server, you need to start two Rake tasks for
|
158
|
-
the background job processing.
|
159
|
-
|
160
|
-
|
161
|
-
$ QUEUE=* rake resque:work
|
162
|
-
|
163
|
-
Image and video processing are examples of jobs that are executes by these workers.
|
164
|
-
|
165
|
-
Some jobs need to be executed repeatedly. For example, while videos are being
|
166
|
-
encoded by Zencoder, there is a job that runs every few seconds to fetch the
|
167
|
-
current progress. This delayed invocation of jobs is handled by the Resque
|
168
|
-
Scheduler Rake task:
|
169
|
-
|
170
|
-
$ QUEUE=* rake resque:scheduler
|
143
|
+
the background job processing. These tasks are listed in `Procfile` which
|
144
|
+
is generated in the project root folder by the Pageflow installer.
|
171
145
|
|
172
146
|
Consider using the [foreman gem](https://github.com/ddollar/foreman) to start all of
|
173
147
|
these processes (including the Rails server) with a single command in your
|
data/admins/pageflow/accounts.rb
CHANGED
@@ -3,14 +3,24 @@ module Pageflow
|
|
3
3
|
menu :priority => 3
|
4
4
|
|
5
5
|
config.batch_actions = false
|
6
|
-
config.clear_sidebar_sections!
|
7
6
|
|
8
7
|
index do
|
9
8
|
column :name do |account|
|
10
9
|
link_to account.name, admin_account_path(account)
|
11
10
|
end
|
11
|
+
column :entries_count do |account|
|
12
|
+
account.entries_count
|
13
|
+
end
|
14
|
+
column :users_count do |account|
|
15
|
+
account.users_count
|
16
|
+
end
|
17
|
+
column :default_theming do |account|
|
18
|
+
account.default_theming.theme_name
|
19
|
+
end
|
12
20
|
end
|
13
21
|
|
22
|
+
filter :name
|
23
|
+
|
14
24
|
form :partial => 'form'
|
15
25
|
|
16
26
|
show :title => :name do |account|
|
@@ -25,6 +35,7 @@ module Pageflow
|
|
25
35
|
controller do
|
26
36
|
helper Pageflow::Admin::FeaturesHelper
|
27
37
|
helper Pageflow::Admin::WidgetsHelper
|
38
|
+
helper Pageflow::Admin::FormHelper
|
28
39
|
helper ThemesHelper
|
29
40
|
|
30
41
|
def new
|
@@ -67,6 +78,10 @@ module Pageflow
|
|
67
78
|
result
|
68
79
|
end
|
69
80
|
|
81
|
+
def scoped_collection
|
82
|
+
super.includes(:default_theming)
|
83
|
+
end
|
84
|
+
|
70
85
|
private
|
71
86
|
|
72
87
|
def permitted_account_attributes
|
@@ -88,7 +103,10 @@ module Pageflow
|
|
88
103
|
:copyright_link_url,
|
89
104
|
:copyright_link_label,
|
90
105
|
:home_url,
|
91
|
-
:home_button_enabled_by_default
|
106
|
+
:home_button_enabled_by_default,
|
107
|
+
:default_author,
|
108
|
+
:default_publisher,
|
109
|
+
:default_keywords
|
92
110
|
] +
|
93
111
|
permitted_attributes_for(:theming)
|
94
112
|
end
|
data/admins/pageflow/entry.rb
CHANGED
@@ -3,36 +3,58 @@ module Pageflow
|
|
3
3
|
menu :priority => 1
|
4
4
|
|
5
5
|
config.batch_actions = false
|
6
|
-
config.clear_sidebar_sections!
|
7
6
|
|
8
7
|
index do
|
9
|
-
column :
|
10
|
-
|
8
|
+
column class: 'publication_state' do |entry|
|
9
|
+
entry_publication_state_indicator(entry)
|
11
10
|
end
|
12
|
-
column
|
11
|
+
column :title, sortable: 'title' do |entry|
|
12
|
+
link_to(entry.title, admin_entry_path(entry))
|
13
|
+
end
|
14
|
+
column I18n.t('pageflow.admin.entries.members'), class: 'members' do |entry|
|
13
15
|
entry_user_badge_list(entry)
|
14
16
|
end
|
15
17
|
if authorized?(:read, Account)
|
16
|
-
column :account, :
|
17
|
-
link_to(entry.account.name,
|
18
|
+
column :account, sortable: 'account_id' do |entry|
|
19
|
+
link_to(entry.account.name,
|
20
|
+
admin_account_path(entry.account),
|
21
|
+
data: {id: entry.account.id})
|
18
22
|
end
|
19
23
|
end
|
20
24
|
column :created_at
|
21
|
-
column :
|
22
|
-
column :
|
25
|
+
column :edited_at
|
26
|
+
column :published_at, sortable: 'pageflow_revisions.published_at'
|
27
|
+
|
28
|
+
column class: 'buttons' do |entry|
|
23
29
|
if authorized?(:edit, Entry)
|
24
|
-
|
30
|
+
icon_link_to(pageflow.edit_entry_path(entry),
|
31
|
+
tooltip: I18n.t('pageflow.admin.entries.editor_hint'),
|
32
|
+
class: 'editor')
|
25
33
|
end
|
26
|
-
|
34
|
+
|
35
|
+
icon_link_to(preview_admin_entry_path(entry),
|
36
|
+
tooltip: I18n.t('pageflow.admin.entries.preview'),
|
37
|
+
class: 'preview')
|
38
|
+
|
27
39
|
if entry.published?
|
28
|
-
|
40
|
+
icon_link_to(pretty_entry_url(entry),
|
41
|
+
tooltip: I18n.t('pageflow.admin.entries.show_public_hint'),
|
42
|
+
class: 'show_public')
|
29
43
|
end
|
30
44
|
end
|
31
45
|
end
|
32
46
|
|
47
|
+
filter :title
|
48
|
+
filter :account
|
49
|
+
filter :created_at
|
50
|
+
filter :edited_at
|
51
|
+
filter :first_published_at
|
52
|
+
filter :published_revision_published_at, as: :date_range
|
53
|
+
filter :with_publication_state, as: :select, collection: -> { collection_for_entry_publication_states }
|
54
|
+
|
33
55
|
sidebar :folders, :only => :index do
|
34
56
|
text_node(link_to(I18n.t('pageflow.admin.entries.add_folder'), new_admin_folder_path, :class => 'new'))
|
35
|
-
grouped_folder_list(Folder.accessible_by(Ability.new(current_user), :read),
|
57
|
+
grouped_folder_list(Folder.includes(:account).accessible_by(Ability.new(current_user), :read),
|
36
58
|
:class => authorized?(:manage, Folder) ? 'editable' : nil,
|
37
59
|
:active_id => params[:folder_id],
|
38
60
|
:grouped_by_accounts => authorized?(:read, Account))
|
@@ -57,26 +79,28 @@ module Pageflow
|
|
57
79
|
f.actions
|
58
80
|
end
|
59
81
|
|
60
|
-
action_item :
|
82
|
+
action_item(:depublish, only: :show) do
|
61
83
|
if authorized?(:publish, Entry) && entry.published?
|
62
84
|
button_to(I18n.t('pageflow.admin.entries.depublish'),
|
63
85
|
pageflow.current_entry_revisions_path(entry),
|
64
|
-
:
|
65
|
-
:
|
66
|
-
|
67
|
-
:
|
86
|
+
method: :delete,
|
87
|
+
form_class: 'action_item depublish',
|
88
|
+
data: {
|
89
|
+
rel: 'depublish',
|
90
|
+
confirm: I18n.t('pageflow.admin.entries.confirm_depublish')
|
68
91
|
})
|
69
92
|
end
|
70
93
|
end
|
71
94
|
|
72
|
-
action_item :
|
95
|
+
action_item(:duplicate, only: :show) do
|
73
96
|
if authorized?(:duplicate, entry)
|
74
97
|
button_to(I18n.t('pageflow.admin.entries.duplicate'),
|
75
98
|
duplicate_admin_entry_path(entry),
|
76
|
-
:
|
77
|
-
:
|
78
|
-
|
79
|
-
:
|
99
|
+
method: :post,
|
100
|
+
form_class: 'action_item duplicate',
|
101
|
+
data: {
|
102
|
+
rel: 'duplicate',
|
103
|
+
confirm: I18n.t('pageflow.admin.entries.confirm_duplicate')
|
80
104
|
})
|
81
105
|
end
|
82
106
|
end
|
@@ -114,8 +138,15 @@ module Pageflow
|
|
114
138
|
controller do
|
115
139
|
helper FoldersHelper
|
116
140
|
helper EntriesHelper
|
141
|
+
helper Pageflow::Admin::EntriesHelper
|
117
142
|
helper Pageflow::Admin::FeaturesHelper
|
118
143
|
helper Pageflow::Admin::RevisionsHelper
|
144
|
+
helper Pageflow::Admin::FormHelper
|
145
|
+
|
146
|
+
after_build do |entry|
|
147
|
+
entry.account ||= current_user.account
|
148
|
+
entry.theming ||= entry.account.default_theming
|
149
|
+
end
|
119
150
|
|
120
151
|
def update
|
121
152
|
update! do |success, _|
|
@@ -124,14 +155,8 @@ module Pageflow
|
|
124
155
|
end
|
125
156
|
|
126
157
|
def scoped_collection
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
def build_new_resource
|
131
|
-
super.tap do |entry|
|
132
|
-
entry.account ||= current_user.account
|
133
|
-
entry.theming ||= entry.account.default_theming
|
134
|
-
end
|
158
|
+
result = super.includes(:theming, :account, :users, :published_revision).references(:published_revision)
|
159
|
+
params.key?(:folder_id) ? result.where(folder_id: params[:folder_id]) : result
|
135
160
|
end
|
136
161
|
|
137
162
|
def permitted_params
|