summaryrefslogtreecommitdiff
path: root/classes/Notice.php
AgeCommit message (Collapse)Author
2010-01-25Offload inbox updates to a queue handler to speed up posting onlineEvan Prodromou
Moved much of the writing that happens when posting a notice to a new queuehandler, distribqueuehandler. This updates tags, groups, replies and inboxes at queue time (or at Web time, if queues are disabled). To make this work well, I had to break up the monolithic Notice::blowCaches() and make cache blowing happen closer to where data is updated. Squashed commit of the following: commit 5257626c62750ac4ac1db0ce2b71410c5711cfa3 Author: Evan Prodromou <evan@status.net> Date: Mon Jan 25 14:56:41 2010 -0500 slightly better handling of blowing tag memory cache commit 8a22a3cdf6ec28685da129a0313e7b2a0837c9ef Author: Evan Prodromou <evan@status.net> Date: Mon Jan 25 01:42:56 2010 -0500 change 'distribute' to 'distrib' so not too long for dbqueue commit 7a063315b0f7fad27cb6fbd2bdd74e253af83e4f Author: Evan Prodromou <evan@status.net> Date: Mon Jan 25 01:39:15 2010 -0500 change handle_notice() to handle() in distributqueuehandler commit 1a39ccd28b9994137d7bfd21bb4f230546938e77 Author: Evan Prodromou <evan@status.net> Date: Mon Jan 25 16:05:25 2010 -0500 error with queuemanager commit e6b3bb93f305cfd2de71a6340b8aa6fb890049b7 Author: Evan Prodromou <evan@status.net> Date: Mon Jan 25 01:11:34 2010 -0500 Blow memcache at different point rather than one big function for Notice class commit 94d557cdc016187d1d0647ae1794cd94d6fb8ac8 Author: Evan Prodromou <evan@status.net> Date: Mon Jan 25 00:48:44 2010 -0500 Blow memcache at different point rather than one big function for Notice class commit 1c781dd08c88a35dafc5c01230b4872fd6b95182 Author: Evan Prodromou <evan@status.net> Date: Wed Jan 20 08:54:18 2010 -0500 move broadcasting and distributing to new queuehandler commit da3e46d26b84e4f028f34a13fd2ee373e4c1b954 Author: Evan Prodromou <evan@status.net> Date: Wed Jan 20 08:53:12 2010 -0500 Move distribution of notices to new distribute queue handler
2010-01-15Fix for background recalculation of groups; needs to get Group objects not ↵Brion Vibber
IDs; also don't list any groups for repeats to match saveGroups behavior todo: merge calculation portion with saveGroups so they don't get out of sync
2010-01-13make sure whoGets() doesn't write anythingEvan Prodromou
2010-01-13Don't save reply info for repeatsEvan Prodromou
2010-01-13repeats don't get posted to groupsEvan Prodromou
2010-01-13remove vestiges of Notice_inbox from cache clearing code in NoticeEvan Prodromou
2010-01-13memoize Notice::whoGets()Evan Prodromou
2010-01-12remove transaction for Notice save; causes deadlocksEvan Prodromou
2010-01-09whoGets() method for NoticeEvan Prodromou
2010-01-09Use inbox instead of notice_inboxEvan Prodromou
2010-01-07Fixes to bugs where non-local messages were being wrong put in the public ↵Ciaran Gultnieks
timeline and public xmpp feed
2010-01-05Fix for overlong RT trimming: don't trim if textlimit is 0 (unlimited)Brion Vibber
2010-01-05Ticket 2135: trim overlong repeats with ellipsis rather than failing.Brion Vibber
In web interface and retweet/repeat API we show the original untrimmed text, but some back-compat API messages will still show the trimmed 'RT' version. This matches Twitter's behavior on overlong retweets, though we're outputting the RT version in more API results than they do.
2010-01-04cached id streams can be empty, compare against falseEvan Prodromou
2010-01-02Merge branch 'master' into 0.9.xEvan Prodromou
Conflicts: classes/Memcached_DataObject.php
2010-01-02incorrectly used empty() instead of isset() for a variable that could be 0Evan Prodromou
2009-12-29Merge branch 'master' into 0.9.xEvan Prodromou
2009-12-28notices are immutable, use created date for updatedEvan Prodromou
2009-12-28Move location-argument-handling code into a single functionEvan Prodromou
Moved the important parts of the location-argument-handling stuff to a single function. Handles defaults and overrides correctly, and easy to use. Changed Web and API channels to use it.
2009-12-16Add doc comments listing the array parameters for User::register() and ↵Brion Vibber
Notice::saveNew()
2009-12-16Cleanup undefined variable notice: set a couple more null defaults for new ↵Brion Vibber
params in Notice::saveNew(). Fixes this notice seen while using AJAX repeat button: Notice: Undefined variable: uri in classes/Notice.php on line 243
2009-12-16slight cleanup for a bit in Notice.php where a var was reused for different ↵Brion Vibber
types, confusing tracking down a bug
2009-12-14add friends_timeline with no repeats in itEvan Prodromou
2009-12-12remove obsoleted getStream, getStreamDirect, getCachedStream from Notice; ↵Evan Prodromou
use stream() instead
2009-12-12add statuses/retweeted_to_me to APIEvan Prodromou
2009-12-12clear repeat_of flag when a notice is deletedEvan Prodromou
2009-12-12add statuses/retweets_of_me to APIEvan Prodromou
2009-12-12add statuses/retweeted_by_me api actionEvan Prodromou
2009-12-12add statuses/retweets to APIEvan Prodromou
2009-12-11save repeats from the formEvan Prodromou
2009-12-11Merge branch '0.9.x' into forwardEvan Prodromou
2009-12-11change Notice::saveNew() to use named arguments for little-used optionsEvan Prodromou
2009-12-11add repeat_of column to notice classEvan Prodromou
2009-12-08reorder notices when not using memcachedEvan Prodromou
2009-12-08Basic function to store forwards and redistributeEvan Prodromou
2009-11-27Fix regression in group posting: bug introduced in commit ↵Brion Vibber
1319002e1519fafb0e82fbfd2d2723abdb3112e7. Need to use actual profile object rather than an id on a variable that doesn't exist when checking blocks :D
2009-11-27Log database errors when saving notice_inbox entriesBrion Vibber
2009-11-17Need to check the Profile rather than the User.Zach Copley
2009-11-16don't allow sandboxed users to post public noticesEvan Prodromou
2009-11-16Move rights check to profile and add right for new noticesEvan Prodromou
Added a right for new notices, realized that the hasRight() method should be on the profile, and moved it. Makes this a less atomic commit but that's the way it goes sometimes.
2009-11-10add geo output to statuses in json, xml, atom, rss in APIEvan Prodromou
2009-11-09Revert "Remove more contractions"Brion Vibber
This reverts commit 5ab709b73977131813884558bf56d97172a7aa26. Missed this one yesterday...
2009-11-08Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.xSiebrand Mazeland
2009-11-08Remove more contractionsSiebrand Mazeland
* doesn't * won't * isn't * don't
2009-11-08Revert "* [Cc]an't -> [Cc]annot"Brion Vibber
This reverts commit 0ab17f382b9993ada3d12d4cdace72cca53fb545.
2009-11-08* [Cc]an't -> [Cc]annotSiebrand Mazeland
* [Cc]ould't -> [Cc]ould not
2009-11-07don't distribute group notices to inboxes for users who've blocked the authorEvan Prodromou
2009-10-30Removed reference to 'api' action which no longer exists since api refactorCraig Andrews
2009-10-29get location from a NoticeEvan Prodromou
2009-10-28Merge branch '0.9.x' into locationEvan Prodromou