Skip to content

Steel 1.3.0#156

Merged
mbeall merged 142 commits intomasterfrom
dev
Oct 12, 2015
Merged

Steel 1.3.0#156
mbeall merged 142 commits intomasterfrom
dev

Conversation

@mbeall
Copy link
Copy Markdown
Member

@mbeall mbeall commented Aug 25, 2015

Overview

The goals for this update were:

  • Bug fixes
  • Prepare Steel for Matchstix
    • Add Travis-CI support
    • Add npm support
    • Add grunt support
    • Add phpcs to grunt
    • Add csscomb to grunt
    • Classes inventory
    • Functions inventory (see http://wp.me/p4iQ3w-vS)
  • Broadcast: Create audio or video series to display on website or publish on podcast feed
    • Meet all specifications
    • Implement with Flint/Trinity to test front-end (Display and Podcast)
  • Improve inline code documentation
    • bootstrap.php
    • broadcast.php
    • class-walker-nav-menu-list-group.php
    • class-widget-button.php
    • class-widget-link.php
    • class-widget-list-group.php
    • class-widget-random-quote.php
    • deprecated.php
    • options.php
    • quotes.php
    • shortcodes.php
    • slides.php
    • social-media.php
    • steel.php
    • teams.php
    • templates.php
    • widgets.php
  • Improve code quality
    • Pass Generic sniffs
    • Pass PEAR sniffs
    • Pass Squiz sniffs
  • Testing
    • Pass Flint tests
    • Steel Marketplace

Bug fixes

Prepare Steel for Matchstix

Classes inventory

All classes were moved from inside another file to its own file in a new inc directory. They were also renamed in the process.

Deprecated classes will NOT be ported to Matchstick or included in Steel 2.0.

New Class / New Location (./inc/*) Old Class / Old Location (./*)
Steel_Walker_Nav_Menu_List_Group / class-walker-nav-menu-list-group.php Steel_Bootstrap_List_Group / bootstrap.php
Steel_Widget_Button / class-widget-button.php Steel_Link_Widget / widgets.php
Steel_Widget_Link / class-widget-link.php Steel_Link_Widget_Legacy / widgets.php
Steel_Widget_List_Group / class-widget-list-group.php Steel_Nav_Menu_Widget / widgets.php
Steel_Widget_Random_Quote / class-widget-random-quote.php Steel_Quotes_Widget / quotes.php
Note

For backwards compatibility, all of the widgets have duplicates; one of each has the old classname and one of each has the new classname. The widgets with the old classname will be removed in Steel 2.0.

New functions

  • steel_admin_enqueue_scripts
  • steel_broadcast_add_form_fields
  • steel_broadcast_add_meta_boxes
  • steel_broadcast_channel_data
  • steel_broadcast_channel_feed_rewrite
  • steel_broadcast_channel_itunes_cat
  • steel_broadcast_channel_save
  • steel_broadcast_channel_taxonomy_args
  • steel_broadcast_edit_form_fields
  • steel_broadcast_feed
  • steel_broadcast_init
  • steel_broadcast_item_list
  • steel_broadcast_itunes_cats
  • steel_broadcast_media
  • steel_broadcast_post_type_args
  • steel_broadcast_save
  • steel_btn_like
  • steel_btn_pin_it
  • steel_btn_tweet
  • steel_deprecated_function
  • steel_enqueue_scripts
  • steel_footer
  • steel_module_status
  • steel_quotes_widgets_init
  • steel_settings_field_bootstrap
  • steel_settings_field_broadcast
  • steel_settings_field_fb_app_id
  • steel_settings_field_ga_id
  • steel_settings_field_slides
  • steel_settings_field_teams
  • steel_shortcode_alert
  • steel_shortcode_badge
  • steel_shortcode_btn
  • steel_shortcode_btn_group
  • steel_shortcode_column
  • steel_shortcode_glyphicon
  • steel_shortcode_label
  • steel_shortcode_panel
  • steel_shortcode_panel_group
  • steel_shortcode_progress
  • steel_shortcode_tooltip
  • steel_slides_add_meta_boxes
  • steel_slides_post_type_args
  • steel_slides_save
  • steel_teams_add_meta_boxes
  • steel_teams_profile_post_type_args
  • steel_teams_profile_save
  • steel_teams_team_taxonomy_args
  • steel_widgets_init

Deprecated functions

Some external functions were deprecated; they will trigger an error message and return the replacement function. Some internal functions were deprecated, completely removed, and replaced.

Deprecated functions will NOT be ported to Matchstick or included in Steel 2.0.

Deprecated Function Replacement Function
is_flint_active if ( function_exists( 'flint_function' ) )
is_module_active steel_module_status
like_this steel_btn_like_this
pin_it steel_btn_pin_it
profile_email steel_profile_meta
profile_phone steel_profile_meta
profile_title steel_profile_meta
tweet_this steel_btn_tweet_this

Removed functions

Some internal functions were completely removed and replaced.

Removed Function Replacement Function
alert_shortcode
badge_shortcode
btn_shortcode
btn_group_shortcode
column_shortcode
fb_app_id_field
glyphicon_shortcode
label_shortcode
load_bootstrap_field
load_quotes_field
load_shortcodes_field
load_slides_field
load_teams_field
load_widgets_field
panel_shortcode
panel_group_shortcode
progress_shortcode
remove_admin_bar
save_steel_profile
save_steel_slides
steel_admin_scripts
steel_ga_script
steel_quotes_widgets
steel_scripts
steel_slides_meta_boxes
steel_teams_init
steel_teams_meta_boxes
steel_widgets
tooltip_shortcode
Note

podcast functions not shown; replaced with broadcast functions

Broadcast

Create audio or video series to display on website or publish on podcast feed

Note: This was originally going to be called the Podcast module, but has been renamed to Broadcast. The changes may or may not be reflected in the section below, but we are working on it. 😄

Edit screen

edit_series

Add media to series

add_item

  • Items can be moved around to a particular order
  • Title is prefilled with the filename (i.e. 092814)
  • Publish date is prefilled with upload date, which may or may not be the date of the recording
  • The artist/speaker field is prefilled with the Artist field in Media window (empty by default)
  • Data is saved to attachment
  • Attachments can be attached to episode (i.e. PowerPoint, video, PDF) (see Feature: Multiple files per media series item #169)
  • Items can be toggled to display details or just title and bottom bar (use dashicons-arrow-up and dashicons-arrow-down) (see Toggle Broadcast media items #176)

Edit Podcast Channel

Media Series (which are collections of episodes) belong to Broadcast Channels. Each broadcast channel comes with an archive for display and a custom iTunes RSS feed available at yoursite.com/feed/broadcast/{channel-slug}/.

channel

@mbeall mbeall changed the title steel x.x.x Steel 1.3.0 Sep 5, 2015
mbeall added a commit that referenced this pull request Oct 12, 2015
@mbeall mbeall merged commit 4f9bbb2 into master Oct 12, 2015
@mbeall mbeall modified the milestone: Steel 1.3 Oct 28, 2015
@mbeall mbeall removed the v1.3 label Oct 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant