From 7c5cfe66973a8e529c01c3a214e9f8b791c89c23 Mon Sep 17 00:00:00 2001 From: "M. Dent" Date: Mon, 23 Sep 2019 10:11:27 +0200 Subject: Notify on custom items - rework hooks --- doc/hooklist.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'doc/hooklist.bb') diff --git a/doc/hooklist.bb b/doc/hooklist.bb index 5a804c819..e11bf1c6f 100644 --- a/doc/hooklist.bb +++ b/doc/hooklist.bb @@ -34,6 +34,18 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the [zrl=[baseurl]/help/hook/activity_filter]activity_filter[/zrl] Called when generating the list of filters for the network page +[zrl=[baseurl]/help/hook/activity_filter]activity_mapper[/zrl] + Called when determining the activity type for transmission. + +[zrl=[baseurl]/help/hook/activity_filter]activity_decode_mapper[/zrl] + Called when determining the activity type for transmission. + +[zrl=[baseurl]/help/hook/activity_filter]activity_obj_mapper[/zrl] + Called when determining the object type for transmission. + +[zrl=[baseurl]/help/hook/activity_filter]activity_obj_decode_mapper[/zrl] + Called when determining the object type for transmission. + [zrl=[baseurl]/help/hook/activity_order]activity_order[/zrl] Called when generating the list of order options for the network page @@ -232,6 +244,9 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the [zrl=[baseurl]/help/hook/drop_item]drop_item[/zrl] called when an 'item' is removed +[zrl=[baseurl]/help/hook/encode_object]encode_object[/zrl] + called when encoding an object for transmission. + [zrl=[baseurl]/help/hook/enotify]enotify[/zrl] called before any notification @@ -262,6 +277,9 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the [zrl=[baseurl]/help/hook/feature_settings_post]feature_settings_post[/zrl] called from settings page when posting from 'addon/feature settings' +[zrl=[baseurl]/help/hook/fetch_and_store]fetch_and_store[/zrl] + called to allow filtering of 'decoded' items before storage. + [zrl=[baseurl]/help/hook/file_thumbnail]file_thumbnail[/zrl] called when generating thumbnail images for cloud page in 'view tiles' mode -- cgit v1.2.3 From 707b19dc35160983694b21e5e79dd7ce6d64dfee Mon Sep 17 00:00:00 2001 From: "M. Dent" Date: Sun, 3 Nov 2019 10:12:11 +0100 Subject: Add hook to comments_are_now_closed() --- doc/hooklist.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/hooklist.bb') diff --git a/doc/hooklist.bb b/doc/hooklist.bb index e11bf1c6f..a923e7ae3 100644 --- a/doc/hooklist.bb +++ b/doc/hooklist.bb @@ -154,6 +154,9 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the [zrl=[baseurl]/help/hook/comment_buttons]comment_buttons[/zrl] Called when rendering the edit buttons for comments +[zrl=[baseurl]/help/hook/comments_are_now_closed]comments_are_now_closed[/zrl] + Called when deciding whether or not to present a comment box for a post + [zrl=[baseurl]/help/hook/connect_premium]connect_premium[/zrl] Called when connecting to a premium channel -- cgit v1.2.3