Added checklist
This commit is contained in:
parent
35d5f4caee
commit
3d8770a9da
1 changed files with 42 additions and 9 deletions
|
@ -2,6 +2,36 @@
|
|||
/**
|
||||
* @file include/diaspora.php
|
||||
* @brief The implementation of the diaspora protocol
|
||||
*
|
||||
* Checklist:
|
||||
*
|
||||
* Checked:
|
||||
* - send status
|
||||
* - send comment
|
||||
* - send like
|
||||
* - send mail
|
||||
* - receive status
|
||||
* - receive reshare
|
||||
* - receive comment
|
||||
* - receive like
|
||||
* - receive connect request
|
||||
* - receive profile data
|
||||
* - receive mail
|
||||
* - relay comment
|
||||
* - relay like
|
||||
* -
|
||||
* -
|
||||
*
|
||||
* Unchecked:
|
||||
* - receive account deletion
|
||||
* - send share
|
||||
* - send unshare
|
||||
* - send status retraction
|
||||
* - send comment retraction
|
||||
* - send like retraction
|
||||
* - relay comment retraction
|
||||
* - relay like retraction
|
||||
* -
|
||||
*/
|
||||
|
||||
require_once("include/items.php");
|
||||
|
@ -2374,6 +2404,7 @@ class diaspora {
|
|||
$msg = json_decode($signature['signed_text'], true);
|
||||
|
||||
$message = array();
|
||||
if (is_array($msg)) {
|
||||
foreach ($msg AS $field => $data) {
|
||||
if (!$item["deleted"]) {
|
||||
if ($field == "author")
|
||||
|
@ -2384,6 +2415,8 @@ class diaspora {
|
|||
|
||||
$message[$field] = $data;
|
||||
}
|
||||
} else
|
||||
logger("Signature text for item ".$item["guid"]." (".$item["id"].") couldn't be extracted: ".$signature['signed_text'], LOGGER_DEBUG);
|
||||
}
|
||||
|
||||
if ($item["deleted"]) {
|
||||
|
|
Loading…
Reference in a new issue