X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=spec%2Fdfrn2_contact_request.svg;h=cc78be55c8fa34e93c8f0a130f981fc7c8b77d74;hb=41423e578a623c267cf59ecd5d5834cf443f9571;hp=5f76067f186dfc4a1d1cfde549785b1603e3ca1f;hpb=ac39928e5da8d7576b92202a4e30f4daa6e0d080;p=friendica.git diff --git a/spec/dfrn2_contact_request.svg b/spec/dfrn2_contact_request.svg index 5f76067f18..cc78be55c8 100644 --- a/spec/dfrn2_contact_request.svg +++ b/spec/dfrn2_contact_request.svg @@ -31,7 +31,7 @@ text { font:12px Dialog; } ---------------------------------------------- - Cleanup old introductions that remain blocked + Cleanup any old email intros - which will have a greater lifetime -- probe_url Bobs posted dfrn_url and get the network with +- Probe::uri Bobs posted dfrn_url and get the network with webfinger_dfrn - try to select all contact data of Bob (contact table) by the url ($_POST['dfrn_url] and profile uid ($a->profile['uid']) @@ -44,7 +44,7 @@ text { font:12px Dialog; } - otherwise if Bob is not already in the contact table scrape Bobs profile and create a new contact with this data (e.g. the scraped issued-id / profiles pubkey becomes contacts -site-pubkey) in the contact table +site-pubkey) in the contact table (blocked = 1, pending = 1) - select this created contact from contact table and create an intro in the intro table (blocked = 1) @@ -65,8 +65,8 @@ text { font:12px Dialog; } dfrn_request.php - - + + http://example.com/dfrn_request/bob? dfrn_url= 687474703a2f2f6b6172656e686f6d65706167652e @@ -91,11 +91,11 @@ text { font:12px Dialog; } tabel, scrape Karens profile page to pick up the dfrn links, key, fn, and photo - create a contact for Karen in the contact table with -the scraped data (Karens pubkey becomes the contact -site-pubkey) -- fetch_url($dfrn_request . '?confirm_key=' . +the scraped data with blocked = 1 and pending = 1 +(Karens pubkey becomes the contact site-pubkey) +- Network::fetchUrl($dfrn_request . '?confirm_key=' . $confirm_key); -- fetch_url(http://karenhomepage.com/dfrn_request? +- Network::fetchUrl(http://karenhomepage.com/dfrn_request? confirm_key=”ABC123”) @@ -166,26 +166,26 @@ text { font:12px Dialog; } redirict to bobs dfrn_request page - + - + - - - - - - - - - - - - - - - -http://karenhomepage.com/dfrn_request?confirm_key=”ABC123” + + + + + + + + + + + + + + + +http://karenhomepage.com/dfrn_request?confirm_key=”ABC123” @@ -193,11 +193,11 @@ text { font:12px Dialog; } - + - + - +