root/trunk/ActionStreams/plugins/ActionStreams/config.yaml @ 1542

Revision 1542, 9.9 kB (checked in by mpaschal, 6 months ago)

Renumerate for next version

Line 
1name: Action Streams
2id: ActionStreams
3key: ActionStreams
4author_link: http://www.sixapart.com/
5author_name: Six Apart Ltd.
6description: <MT_TRANS phrase="Manages authors' accounts and actions on sites elsewhere around the web">
7schema_version: 16
8version: 2.2
9plugin_link: http://www.sixapart.com/
10settings:
11    rebuild_for_action_stream_events:
12        Default: 0
13        Scope: blog
14l10n_class: ActionStreams::L10N
15blog_config_template: blog_config_template.tmpl
16
17init_app: $ActionStreams::ActionStreams::Init::init_app
18applications:
19    cms:
20        methods:
21            list_profileevent:       $ActionStreams::ActionStreams::Plugin::list_profileevent
22            other_profiles:          $ActionStreams::ActionStreams::Plugin::other_profiles
23            dialog_add_profile:      $ActionStreams::ActionStreams::Plugin::dialog_add_edit_profile
24            dialog_edit_profile:     $ActionStreams::ActionStreams::Plugin::dialog_add_edit_profile
25            add_other_profile:       $ActionStreams::ActionStreams::Plugin::add_other_profile
26            edit_other_profile:      $ActionStreams::ActionStreams::Plugin::edit_other_profile
27            remove_other_profile:    $ActionStreams::ActionStreams::Plugin::remove_other_profile
28            itemset_update_profiles: $ActionStreams::ActionStreams::Plugin::itemset_update_profiles
29            itemset_hide_events:     $ActionStreams::ActionStreams::Plugin::itemset_hide_events
30            itemset_show_events:     $ActionStreams::ActionStreams::Plugin::itemset_show_events
31            itemset_hide_all_events: $ActionStreams::ActionStreams::Plugin::itemset_hide_all_events
32            itemset_show_all_events: $ActionStreams::ActionStreams::Plugin::itemset_show_all_events
33    community:
34        methods:
35            profile_add_external_profile:    $ActionStreams::ActionStreams::Plugin::profile_add_external_profile
36            profile_delete_external_profile: $ActionStreams::ActionStreams::Plugin::profile_delete_external_profile
37        callbacks:
38            post_add_profile: $ActionStreams::ActionStreams::Plugin::profile_first_update_events
39callbacks:
40    MT::App::CMS::template_param.edit_author: $ActionStreams::ActionStreams::Plugin::users_content_nav
41    MT::App::CMS::template_param.list_member: $ActionStreams::ActionStreams::Plugin::param_list_member
42    MT::App::CMS::template_param.other_profiles: $ActionStreams::ActionStreams::Plugin::users_content_nav
43    MT::App::CMS::template_param.list_profileevent: $ActionStreams::ActionStreams::Plugin::users_content_nav
44    MT::App::CMS::post_add_profile: $ActionStreams::ActionStreams::Plugin::first_profile_update
45    post_action_streams_task: $ActionStreams::ActionStreams::Plugin::rebuild_action_stream_blogs
46    pre_build_action_streams_event.flickr_favorites:        $ActionStreams::ActionStreams::Fix::flickr_photo_thumbnail
47    pre_build_action_streams_event.flickr_photos:           $ActionStreams::ActionStreams::Fix::flickr_photo_thumbnail
48    pre_build_action_streams_event.gametap_scores:          $ActionStreams::ActionStreams::Fix::gametap_score_stuff
49    pre_build_action_streams_event.identica_statuses:       $ActionStreams::ActionStreams::Fix::twitter_tweet_name
50    pre_build_action_streams_event.iminta_links:            $ActionStreams::ActionStreams::Fix::iminta_link_title
51    pre_build_action_streams_event.iusethis_events:         $ActionStreams::ActionStreams::Fix::iusethis_event_title
52    pre_build_action_streams_event.kongregate_achievements: $ActionStreams::ActionStreams::Fix::kongregate_achievement_title_thumb
53    pre_build_action_streams_event.magnolia_links:          $ActionStreams::ActionStreams::Fix::magnolia_link_notes
54    pre_build_action_streams_event.netflix_queue:           $ActionStreams::ActionStreams::Fix::netflix_queue_prefix_thumb
55    pre_build_action_streams_event.netflix_recent:          $ActionStreams::ActionStreams::Fix::netflix_recent_prefix_thumb
56    pre_build_action_streams_event.p0pulist_stuff:          $ActionStreams::ActionStreams::Fix::p0pulist_stuff_urls
57    pre_build_action_streams_event.twitter_favorites:       $ActionStreams::ActionStreams::Fix::twitter_favorite_author
58    pre_build_action_streams_event.twitter_statuses:        $ActionStreams::ActionStreams::Fix::twitter_tweet_name
59    pre_build_action_streams_event.typepad_comments:        $ActionStreams::ActionStreams::Fix::typepad_comment_titles
60    pre_build_action_streams_event.wists_wists:             $ActionStreams::ActionStreams::Fix::wists_thumb
61object_types:
62    profileevent: ActionStreams::Event
63    as: ActionStreams::Event
64    as_ua_cache:  ActionStreams::UserAgent::Cache
65list_actions:
66    profileevent:
67        hide_all:
68            label: Hide All
69            order: 100
70            js:    finishPluginActionAll
71            code:  $ActionStreams::ActionStreams::Plugin::itemset_hide_all_events
72            continue_prompt_handler: >
73                sub { MT->translate('Are you sure you want to hide EVERY event in EVERY action stream?') }
74        show_all:
75            label: Show All
76            order: 200
77            js:    finishPluginActionAll
78            code:  $ActionStreams::ActionStreams::Plugin::itemset_show_all_events
79            continue_prompt_handler: >
80                sub { MT->translate('Are you sure you want to show EVERY event in EVERY action stream?') }
81        delete:
82            label: Delete
83            order: 300
84            code:  $core::MT::App::CMS::delete
85            continue_prompt_handler: >
86                sub { MT->translate('Deleted events that are still available from the remote service will be added back in the next scan. Only events that are no longer available from your profile will remain deleted. Are you sure you want to delete the selected event(s)?') }
87tags:
88    function:
89        StreamAction:             $ActionStreams::ActionStreams::Tags::stream_action
90        StreamActionID:           $ActionStreams::ActionStreams::Tags::stream_action_id
91        StreamActionVar:          $ActionStreams::ActionStreams::Tags::stream_action_var
92        StreamActionDate:         $ActionStreams::ActionStreams::Tags::stream_action_date
93        StreamActionModifiedDate: $ActionStreams::ActionStreams::Tags::stream_action_modified_date
94        StreamActionTitle:        $ActionStreams::ActionStreams::Tags::stream_action_title
95        StreamActionURL:          $ActionStreams::ActionStreams::Tags::stream_action_url
96        StreamActionThumbnailURL: $ActionStreams::ActionStreams::Tags::stream_action_thumbnail_url
97        StreamActionVia:          $ActionStreams::ActionStreams::Tags::stream_action_via
98        OtherProfileVar:          $ActionStreams::ActionStreams::Tags::other_profile_var
99    block:
100        ActionStreams:      $ActionStreams::ActionStreams::Tags::action_streams
101        StreamActionTags:   $ActionStreams::ActionStreams::Tags::stream_action_tags
102        OtherProfiles:      $ActionStreams::ActionStreams::Tags::other_profiles
103        ProfileServices:    $ActionStreams::ActionStreams::Tags::profile_services
104        StreamActionRollup: $ActionStreams::ActionStreams::Tags::stream_action_rollup
105tasks:
106    UpdateEvents:
107        frequency: 1800
108        label: Poll for new events
109        code: $ActionStreams::ActionStreams::Plugin::update_events
110task_workers:
111    UpdateEvents:
112        label: Update Events
113        class: ActionStreams::Worker
114widgets:
115    asotd:
116        label: Recent Actions
117        template: widget_recent.mtml
118        permission: post
119        singular: 1
120        set: sidebar
121        handler: $ActionStreams::ActionStreams::Plugin::widget_recent
122        condition: $ActionStreams::ActionStreams::Plugin::widget_blog_dashboard_only
123template_sets:
124    streams:
125        label: Action Stream
126        base_path: 'blog_tmpl'
127        base_css: themes-base/blog.css
128        order: 100
129        templates:
130            index:
131                main_index:
132                    label: Main Index (Recent Actions)
133                    outfile: index.html
134                    rebuild_me: 1
135                archive:
136                    label: Action Archive
137                    outfile: archive.html
138                    rebuild_me: 1
139                styles:
140                    label: Stylesheet
141                    outfile: styles.css
142                    rebuild_me: 1
143                feed_recent:
144                    label: Feed - Recent Activity
145                    outfile: atom.xml
146                    rebuild_me: 1
147            module:
148                html_head:
149                    label: HTML Head
150                banner_header:
151                    label: Banner Header
152                banner_footer:
153                    label: Banner Footer
154                sidebar:
155                    label: Sidebar
156            widget:
157                elsewhere:
158                    label: Find Authors Elsewhere
159                actions:
160                    label: Recent Actions
161            widgetset:
162                2column_layout_sidebar:
163                    label: 2-column layout - Sidebar
164                    widgets:
165                        - Find Authors Elsewhere
166upgrade_functions:
167    enable_existing_streams:
168        version_limit: 9
169        updater:
170            type: author
171            label: Enabling default action streams for selected profiles...
172            code: $ActionStreams::ActionStreams::Upgrade::enable_existing_streams
173    reclass_actions:
174        version_limit: 15
175        handler: $ActionStreams::ActionStreams::Upgrade::reclass_actions
176        priority: 8
177    rename_action_metadata:
178        version_limit: 15
179        handler: $ActionStreams::ActionStreams::Upgrade::rename_action_metadata
180        priority: 9
181upgrade_data:
182    reclass_actions:
183        twitter_tweets:      twitter_statuses
184        pownce_notes:        pownce_statuses
185        googlereader_shared: googlereader_links
186    rename_action_metadata:
187        - action_type: delicious_links
188          old:         annotation
189          new:         note
190        - action_type: googlereader_links
191          old:         annotation
192          new:         note
193profile_services: services.yaml
194action_streams:   streams.yaml
Note: See TracBrowser for help on using the browser.