aboutsummaryrefslogtreecommitdiffstats
path: root/doc/html/item_8php.html
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-14 12:25:27 -0800
committerfriendica <info@friendica.com>2014-02-14 12:25:27 -0800
commit064962ff82701d9d415a351a91354a0cdf949bd5 (patch)
tree3f961a779f6a16b2ad8d80cc2d3423057009e78b /doc/html/item_8php.html
parentb00f24ad75e9cf0c4fdd7d044bcadc5b4b6b1633 (diff)
downloadvolse-hubzilla-064962ff82701d9d415a351a91354a0cdf949bd5.tar.gz
volse-hubzilla-064962ff82701d9d415a351a91354a0cdf949bd5.tar.bz2
volse-hubzilla-064962ff82701d9d415a351a91354a0cdf949bd5.zip
doc and assets update. There is what seems to be a controversial powerpoint in this checkin. The powerpoint is of course *open source* even if powerpoint itself is not. The source file is available for your examination and revision.
Diffstat (limited to 'doc/html/item_8php.html')
-rw-r--r--doc/html/item_8php.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/html/item_8php.html b/doc/html/item_8php.html
index 87ae6f190..d3e24125f 100644
--- a/doc/html/item_8php.html
+++ b/doc/html/item_8php.html
@@ -365,7 +365,7 @@ Functions</h2></td></tr>
</div><div class="memdoc">
<p>This is the POST destination for most all locally posted text stuff. This function handles status, wall-to-wall status, local comments, and remote coments that are posted on this site (as opposed to being delivered in a feed). Also processed here are posts and comments coming through the statusnet/twitter API. All of these become an "item" which is our basic unit of information. Posts that originate externally or do not fall into the above posting categories go through <a class="el" href="items_8php.html#a2541e6861a56d145c9281877cc501615">item_store()</a> instead of this function. </p>
<p>Is this a reply to something?</p>
-<p>fix naked links by passing through a callback to see if this is a red site (already known to us) which will get a zrl, otherwise link with url</p>
+<p>fix naked links by passing through a callback to see if this is a red site (already known to us) which will get a zrl, otherwise link with url, add bookmark tag to both. First wrap any url which is part of link anchor text already in quotes so we don't double link it. e.g. [url=<a href="http://foobar.com">http://foobar.com</a>]something with <a href="http://elsewhere.com">http://elsewhere.com</a> in it[/url] becomes [url=<a href="http://foobar.com">http://foobar.com</a>]something with "http://elsewhere.com" in it[/url] otherwise <a href="http://elsewhere.com">http://elsewhere.com</a> becomes #^[url=<a href="http://elsewhere.com">http://elsewhere.com</a>]<a href="http://elsewhere.com">http://elsewhere.com</a>[/url]</p>
<p>When a photo was uploaded into the message using the (profile wall) ajax uploader, The permissions are initially set to disallow anybody but the owner from seeing it. This is because the permissions may not yet have been set for the post. If it's private, the photo permissions should be set appropriately. But we didn't know the final permissions on the post until now. So now we'll look for links of uploaded photos and attachments that are in the post and set them to the same permissions as the post itself.</p>
<p>If the post was end-to-end encrypted we can't find images and attachments in the body, use our media_str input instead which only contains these elements - but only do this when encrypted content exists because the photo/attachment may have been removed from the post and we should keep it private. If it's encrypted we have no way of knowing so we'll set the permissions regardless and realise that the media may not be referenced in the post.</p>
<p>Fold multi-line [code] sequences</p>