path: root/classes/Conversation.php
Commit message (Collapse)AuthorAgeFilesLines
* Conversation entries where id==0 would screw up the "re-auto-increment" ↵Mikael Nordfeldth2016-01-061-1/+27
| | | | sequencing
* Conversation IDs (again) no longer based on Notice IDMikael Nordfeldth2016-01-061-29/+23
* Incorrect use of DataObject type matching after ->find()Mikael Nordfeldth2015-09-041-2/+1
* Throw exception when a Conversation is not foundMikael Nordfeldth2015-05-261-1/+7
* utf8mb4 conversion on database with index adjustsMikael Nordfeldth2015-02-121-2/+2
* Adding crc32 to uniqueify conversation URIsMikael Nordfeldth2014-11-271-2/+3
| | | | | | | This really should be a UUID or something else totally unexpected but I figure that crc32 is good enough for now. The reason we keep the main structure is because some third party scripts have begun relying upon the tag URI format to parse out domain name, type etc.
* Move Conversation creation out of insert() to allow URI settingMikael Nordfeldth2014-11-271-2/+2
| | | | | | | | | This means we import the URI string from remote instances to track their conversations and are able to stitch together replies in a single thread. We might have to try to avoid collisions so noone remotely can predict conversation URIs which we generate on our server, causing a DoS kind of problem.
* Conversation URI cannot be nullMikael Nordfeldth2014-11-271-1/+1
* Fixed CHMOD + set error_reporting(0) in getvaliddaemons.php to avoid strict ↵Roland Haeder2014-08-241-0/+0
| | | | | | warnings in PHP +5.5 Signed-off-by: Roland Haeder <roland@mxchange.org>
* Show correct number of POSTs in conversation "more" linkMikael Nordfeldth2014-07-151-0/+1
* Use an Event to present notices conversationsMikael Nordfeldth2014-05-121-0/+11
* Conversations now have URIs that are not URLsMikael Nordfeldth2014-05-011-2/+8
* getConversationUrl introduced for linking to conversationsMikael Nordfeldth2014-05-011-0/+18
* Throw exception, don't return null in Conversation::createMikael Nordfeldth2014-03-011-2/+1
* Conversation ID now gets set from initial notice.Mikael Nordfeldth2014-03-011-23/+15
| | | | | | | | | | | | | This will work without much extra effort because there will always be more notices (higher value) than conversations (so no collisions). But please run upgrade.php to avoid having an autoincrement id on conversation table. Installations using code after 2014-03-01 will have identical conversation IDs to the initial (conversation root) notice IDs. This will not affect older installations, which will have very different values.
* Woops, forgot auto_increment (comes with 'serial')Mikael Nordfeldth2013-08-211-2/+2
| | | | There are still some classes not ported (like Yammer import)
* staticGet for sub-Managed_DataObject classes now calls parentMikael Nordfeldth2013-08-121-3/+0
| | | | | | | | | The parent class for our database objects, Managed_DataObject, has a dynamically assigned class in staticGet which objects get put into, leaving us with less code to do the same thing. We will probably have to move away from the DB_DataObject 'staticGet' call as it is nowadays deprecated.
* move core schema to class filesEvan Prodromou2011-08-221-1/+17
* cache the notice count for threaded viewEvan Prodromou2011-04-061-0/+19
* * i18n/L10n and translator documentation updates.Siebrand Mazeland2010-09-281-2/+0
| | | | * whitespace and indentation updates
* Don't add PHPSESSID parameter onto notice and conversation URIs if we save a ↵Brion Vibber2010-03-231-1/+2
| | | | | | notice during a session override. This was being triggered by welcomebot messages created at account creation time, then propagated through replies.
* - conversation.uri needs to be nullableZach Copley2010-02-171-2/+31
| | | | - factory method for creating new local conversations
* New Conversation DO to handle remote notices as conversation rootsZach Copley2010-02-161-0/+49