From 7f0bd5a6e5f8963ebf0c48f7919b5b7dc420390c Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 31 Oct 2014 05:05:31 -0700 Subject: doc updates --- doc/html/zot_8php.html | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) (limited to 'doc/html/zot_8php.html') diff --git a/doc/html/zot_8php.html b/doc/html/zot_8php.html index 7ed79000c..273defd29 100644 --- a/doc/html/zot_8php.html +++ b/doc/html/zot_8php.html @@ -118,8 +118,8 @@ Functions    zot_get_hublocs ($hash)   - zot_build_packet ($channel, $type= 'notify', $recipients=null, $remote_key=null, $secret=null) -  + zot_build_packet ($channel, $type= 'notify', $recipients=null, $remote_key=null, $secret=null, $extra=null) +   zot_zot ($url, $data)    zot_finger ($webbie, $channel, $autofallback=true) @@ -176,6 +176,8 @@ Functions    import_author_zot ($x)   + zot_process_message_request ($data) + 

Function Documentation

@@ -473,7 +475,7 @@ Functions

function make_xchan_hash($guid,$guid_sig)

Generates a portable hash identifier for the channel identified by $guid and signed with $guid_sig This ID is portable across the network but MUST be calculated locally by verifying the signature and can not be trusted as an identity.

-

Referenced by allowed_public_recips(), create_identity(), get_item_elements(), import_author_zot(), import_xchan(), post_post(), zfinger_init(), zot_import(), and zot_register_hub().

+

Referenced by allowed_public_recips(), create_identity(), get_item_elements(), import_author_zot(), import_xchan(), post_post(), zfinger_init(), zot_import(), zot_process_message_request(), and zot_register_hub().

@@ -819,7 +821,7 @@ Functions - +
@@ -851,7 +853,13 @@ Functions - + + + + + + + @@ -873,7 +881,7 @@ Functions
Returns
string json encoded zot packet
-

Referenced by admin_page_hubloc_post(), build_sync_packet(), directory_run(), notifier_run(), post_init(), and zping_content().

+

Referenced by admin_page_hubloc_post(), build_sync_packet(), directory_run(), notifier_run(), post_init(), zot_process_message_request(), and zping_content().

@@ -1089,6 +1097,24 @@ which will be processed and delivered before this function ultimately returns.

Referenced by create_identity(), and foofoo().

+ + + +
+
+
 $secret = null $secret = null,
 $extra = null 
+ + + + + + + +
zot_process_message_request ( $data)
+
+ +

Referenced by post_post().

+
-- cgit v1.2.3 From d17c15a9924240e31bc3a921ea15eac47087b43c Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 7 Nov 2014 05:14:53 -0800 Subject: doc updates --- doc/html/zot_8php.html | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'doc/html/zot_8php.html') diff --git a/doc/html/zot_8php.html b/doc/html/zot_8php.html index 273defd29..d570d5a79 100644 --- a/doc/html/zot_8php.html +++ b/doc/html/zot_8php.html @@ -142,8 +142,8 @@ Functions    allowed_public_recips ($msg)   - process_delivery ($sender, $arr, $deliveries, $relay, $public=false) -  + process_delivery ($sender, $arr, $deliveries, $relay, $public=false, $request=false) +   remove_community_tag ($sender, $arr, $uid)    update_imported_item ($sender, $item, $uid) @@ -263,7 +263,7 @@ Functions
-

Referenced by process_delivery().

+

Referenced by process_delivery().

@@ -513,7 +513,7 @@ Functions - +
@@ -545,7 +545,13 @@ Functions - + + + + + + + @@ -709,7 +715,7 @@ Functions
 $public = false $public = false,
 $request = false 
-

Referenced by process_delivery().

+

Referenced by process_delivery().

@@ -777,7 +783,7 @@ Functions
-

Referenced by process_delivery().

+

Referenced by process_delivery().

@@ -1112,6 +1118,9 @@ which will be processed and delivered before this function ultimately returns.
+

zot_process_message_request($data) If a site receives a comment to a post but finds they have no parent to attach it with, they may send a 'request' packet containing the message_id of the missing parent. This is the handler for that packet. We will create a message_list array of the entire conversation starting with the missing parent and invoke delivery to the sender of the packet.

+

include/deliver.php (for local delivery) and mod/post.php (for web delivery) detect the existence of this 'message_list' at the destination and split it into individual messages which are processed/delivered in order.

+

Called from mod/post.php

Referenced by post_post().

-- cgit v1.2.3