aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #332 from solstag/zotfeedcleanupKlaus2015-05-241-3/+1
|\ | | | | Import security only when necessary, use correct variable in log
| * Import security only when necessary, use correct variable in logAlexandre Hannud Abdo2015-05-221-3/+1
| | | | | | | | Just some cleanup, seemed like the intent of previous changes was so
* | federation problem from diaspora comments relayed through red channels due ↵redmatrix2015-05-231-1/+1
|/ | | | to typo
* cloning abook entries was broken in several ways if the target xchan wasn't ↵redmatrix2015-05-201-0/+8
| | | | available on the clone site. This should make it less broken.
* don't allow item_id to update without a valid post idredmatrix2015-05-201-0/+5
|
* PRIVACY: possible privacy leakage under a defined set of circumstancesredmatrix2015-05-201-5/+8
|
* product was a bad string to use because we may require it for e-commerce, ↵redmatrix2015-05-131-1/+1
| | | | and RED_PLATFORM is equally problematic for other reasons.
* zotfeed issuesfriendica2015-04-241-3/+3
|
* block unfederated posts from zot_feedfriendica2015-04-231-0/+6
|
* issue #176, sender copy of item not obscured if using private mentionfriendica2015-04-201-1/+3
|
* match parensfriendica2015-04-141-1/+1
|
* post_activity_item incorrectly setting the obj_type when a valid type was ↵friendica2015-04-141-1/+1
| | | | specified
* Some documentation and whitespaces at line endings.Klaus Weidenbach2015-04-101-159/+232
|
* update features, allow sys account page deletionfriendica2015-04-081-0/+5
|
* Correcting reported Doxygen syntax warnings.Klaus Weidenbach2015-03-291-457/+405
| | | | | | | Fixed wrong Doxygen syntax and add some of the available FIXME to Doxygen documentation. Updated Doxygen configuration to add also all capital letter tags. Adding some more Doxygen documentation.
* remove bogus grouping from fix for #938friendica2015-03-281-2/+2
|
* issue #938friendica2015-03-281-2/+8
|
* also allow service classes to set post expiration. These take priority over ↵friendica2015-03-241-3/+3
| | | | the site default.
* more work on expiration, make system limits useful - even in retrospectfriendica2015-03-241-1/+5
|
* provide a site-wide expiration policy without loopholes - still need work to ↵friendica2015-03-241-1/+1
| | | | reduce the impact of expiration queries.
* sql errors on postgres with yestderday's optimisationfriendica2015-03-241-2/+2
|
* improve performance of the zotfeed queriesfriendica2015-03-231-10/+9
|
* some tabs title statuseditor restructuringMario Vavti2015-03-211-1/+1
|
* The random bad signatures are because something somewhere is trimming the ↵friendica2015-03-171-2/+2
| | | | body text. It could be any one of hundreds of functions that touch the message body. We really want to trim the body text, so I'm putting back all the trim statements - in mod/item and item_store and item_store_update. The last fix for random bad sigs noted that one of the trims wasn't there, so the others were removed. The correct fix is for all the trims to be there. We will probably have a few (quite a few) bad sigs during the transition back to trimmed text but this should nail it for anybody on recent code and with new content.
* The never ending saga of parent = 0 bugs on Dreamhost.friendica2015-03-011-0/+10
|
* this may actually fix the deliver loop when deleting existing items. It's ↵friendica2015-02-251-0/+15
| | | | hackish but I don't see any other way out.
* Found the cause of the delete looping, and I can prevent it going forward. ↵friendica2015-02-251-1/+10
| | | | The issue remains what to do about comments which are already in the DB and have ITEM_ORIGIN incorrectly set. We can't exactly reset them because the "original" context has been lost. (Sorry but couldn't resist an insider pun that none of you will be able to follow anyway). Read the comments.
* call post_local hooks prior to storing a post that is going to be sourced. ↵friendica2015-02-251-0/+2
| | | | There are some fields in the actual stored item that may change when we start the second delivery chain so a few plugins may not deal with these items correctly. Since we only source public items these effects will be slight.
* Fixes tag delivery regex for when multiple tags are presentAlexandre Hannud Abdo2015-02-131-2/+2
| | | | | Previous regex would cause matches to span several tags when present, thus never recognizing the mention.
* provide relief to sites that are severely impacted by the slow ITEM_UNSEEN ↵friendica2015-02-121-5/+4
| | | | searches. This does not incorporate any other flag optimisations as that will require a major DB update and possibly involve significant downtime. This is just to bite off a little chunk now and provide some much needed relief.
* Dot not trim body in order to avoid issues with signature checksAlexandre Hannud Abdo2015-02-121-2/+2
|
* issue #843friendica2015-02-111-0/+3
|
* more efficient processing of response activities, plus a proof of concept ↵friendica2015-02-111-2/+9
| | | | fix for the problem of receiving a delete notification before we actually get the item which we're supposed to delete.
* item voting toolsfriendica2015-02-101-2/+2
|
* issue #889 private tags for forums no longer recognised after tag refactor a ↵friendica2015-02-021-0/+1
| | | | few weeks back. This solution is not optimal as it also leaves you in the privacy ACL in some cases and not in others but it restores the previous functionality
* remote_user => remote_channelfriendica2015-01-281-1/+1
|
* local_user => local_channelfriendica2015-01-281-5/+5
|
* limit the number of forums that can be tagged in a single post - default is ↵friendica2015-01-281-8/+46
| | | | 2. The reason is simple - count how many posts would be in transit simultaneously if this was unlimited and somebody tagged 40-50 forums. In practice when used legitimately - we've rarely seen more than two, in fact I don't recall seeing more than two ever. Typically it is one and occasionally two. Changing the default is tricky - a client system cannot do it, but the site hosting a forum can choose to. Since not all sites that host forums will choose to do so, the ordering of the mentions would then be important.
* improved route mismatch detection. We will be less strict about the absolute ↵friendica2015-01-271-33/+20
| | | | route matching and only look at the last hop before it got to us - which is ultimately all we should care about (since that sender controls the thread permissions). Route mismatches seem to occur somewhat frequently from yamkote (for unknown reasons), and the logging has been improved a bit so it should provide some slightly more useful debugging info in case it still happens going forward. Oh, also we'll set the parent on comments when we store the initial post (item_store()) and only go back and set the parent for top-level posts. This should reduce the number of comments with missing parents on shared hosts, but may increase the number of missing threads. Probably worthwhile to do a query occasionally for parent = 0 and see how we're doing and how many have shared host related delivery issues.
* correct some activity object types (for comments), also fix a foreach ↵friendica2015-01-141-2/+7
| | | | warning resulting from recent tag work
* federate consensus items (in network only). Work in progress.friendica2015-01-141-0/+7
|
* check mentions against the appropriate xchan_url and not a hard-coded ↵friendica2015-01-131-4/+4
| | | | /channel/ string
* don't wipe out the item body of a linked item to a photo when doing a normal ↵friendica2015-01-121-7/+18
| | | | delete and not forced
* change deletion behaviour of linked photo items. Previously deleting the ↵friendica2015-01-121-28/+12
| | | | visible item in the conversation deleted the photo as well. Now photos must be deleted in the photos module. Deleting the linked item removes any attached conversation elements (likes, etc.) and sets the conversation item to hidden. This may create an issue in the future if we move the photo tags, title, or other photo elements to the linked item rather than the photo. Noting here so this can potentially be discovered and remembered at that time.
* Refactor mention code to make it more reusableStefan Parviainen2015-01-121-0/+31
|
* basic changes for file activitymarijus2015-01-091-1/+5
|
* include channel clones in PM deliveries (also some whitespace edits)friendica2015-01-081-1/+1
|
* prevent database hackery from leaking over the wireHabeas Codice2014-11-221-1/+2
|
* more logging for zot_feed anomaliesfriendica2014-11-201-0/+2
|
* change logging of some troublesome or noisy bits so we can figure out what ↵friendica2014-11-191-1/+1
| | | | is really going on