Evan Prodromou
8bfa7fdeaf
repeats don't get posted to groups
2010-01-13 00:47:12 -08:00
Evan Prodromou
5397249e50
remove vestiges of Notice_inbox from cache clearing code in Notice
2010-01-13 00:45:12 -08:00
Evan Prodromou
3d579fc580
memoize Notice::whoGets()
2010-01-13 00:16:54 -08:00
Evan Prodromou
fb0d837ddc
remove transaction for Notice save; causes deadlocks
2010-01-12 23:41:33 -08:00
Evan Prodromou
96e51dad4b
whoGets() method for Notice
2010-01-09 13:55:54 -08:00
Evan Prodromou
f2a403589c
Use inbox instead of notice_inbox
2010-01-09 10:02:07 -08:00
Ciaran Gultnieks
deeaafe712
Fixes to bugs where non-local messages were being wrong put in the public timeline and public xmpp feed
2010-01-07 20:59:31 +00:00
Brion Vibber
8af7ba0226
Fix for overlong RT trimming: don't trim if textlimit is 0 (unlimited)
2010-01-05 16:16:25 -08:00
Brion Vibber
9215496902
Ticket 2135: trim overlong repeats with ellipsis rather than failing.
...
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-05 16:10:00 -08:00
Evan Prodromou
06b6a27d7d
cached id streams can be empty, compare against false
2010-01-04 10:03:57 -10:00
Evan Prodromou
90a2563a90
Merge branch 'master' into 0.9.x
...
Conflicts:
classes/Memcached_DataObject.php
2010-01-02 19:47:34 -10:00
Evan Prodromou
52fbd10162
incorrectly used empty() instead of isset() for a variable that could be 0
2010-01-02 08:36:47 -10:00
Evan Prodromou
05e2b4d92d
Merge branch 'master' into 0.9.x
2009-12-29 12:09:17 -08:00
Evan Prodromou
45c4078ca9
notices are immutable, use created date for updated
2009-12-28 17:51:04 -08:00
Evan Prodromou
ca6669538a
Move location-argument-handling code into a single function
...
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-28 15:13:15 -08:00
Brion Vibber
0ca80f78fb
Add doc comments listing the array parameters for User::register() and Notice::saveNew()
2009-12-16 09:27:48 -05:00
Brion Vibber
00fb5feff8
Cleanup undefined variable notice: set a couple more null defaults for new 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-16 09:27:48 -05:00
Brion Vibber
e2e1843639
slight cleanup for a bit in Notice.php where a var was reused for different types, confusing tracking down a bug
2009-12-16 09:27:47 -05:00
Evan Prodromou
2a8eee0e0b
add friends_timeline with no repeats in it
2009-12-14 16:41:25 -05:00
Evan Prodromou
438a0d7f1c
remove obsoleted getStream, getStreamDirect, getCachedStream from Notice; use stream() instead
2009-12-12 16:58:39 -05:00
Evan Prodromou
1ec54d3433
add statuses/retweeted_to_me to API
2009-12-12 16:15:23 -05:00
Evan Prodromou
698b28c95c
clear repeat_of flag when a notice is deleted
2009-12-12 16:02:44 -05:00
Evan Prodromou
cfe67a9c01
add statuses/retweets_of_me to API
2009-12-12 16:00:27 -05:00
Evan Prodromou
138ce0cd05
add statuses/retweeted_by_me api action
2009-12-12 15:35:05 -05:00
Evan Prodromou
c622d14440
add statuses/retweets to API
2009-12-12 14:46:24 -05:00
Evan Prodromou
afc86a86d3
save repeats from the form
2009-12-11 11:51:09 -05:00
Evan Prodromou
60754fc6de
Merge branch '0.9.x' into forward
2009-12-11 11:38:08 -05:00
Evan Prodromou
79f81ad76d
change Notice::saveNew() to use named arguments for little-used options
2009-12-11 11:29:51 -05:00
Evan Prodromou
da30890988
add repeat_of column to notice class
2009-12-11 10:22:56 -05:00
Evan Prodromou
45408142e9
reorder notices when not using memcached
2009-12-08 21:02:54 -05:00
Evan Prodromou
72c82a2e29
Basic function to store forwards and redistribute
2009-12-08 16:30:33 -05:00
Brion Vibber
2b8a3e3511
Fix regression in group posting: bug introduced in commit 1319002e15
. Need to use actual profile object rather than an id on a variable that doesn't exist when checking blocks :D
2009-11-27 14:52:58 -08:00
Brion Vibber
e85e47b509
Log database errors when saving notice_inbox entries
2009-11-27 14:20:57 -08:00
Zach Copley
638df94f88
Need to check the Profile rather than the User.
2009-11-17 08:48:16 -08:00
Evan Prodromou
f1efb845e4
don't allow sandboxed users to post public notices
2009-11-16 19:22:22 +01:00
Evan Prodromou
d2145a5b7f
Move rights check to profile and add right for new notices
...
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-16 19:03:59 +01:00
Evan Prodromou
cb64cfb44c
add geo output to statuses in json, xml, atom, rss in API
2009-11-10 16:15:05 -05:00
Brion Vibber
088081675f
Revert "Remove more contractions"
...
This reverts commit 5ab709b739
.
Missed this one yesterday...
2009-11-09 20:01:46 +01:00
Siebrand Mazeland
b10f362ede
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
2009-11-08 23:33:58 +01:00
Siebrand Mazeland
5ab709b739
Remove more contractions
...
* doesn't
* won't
* isn't
* don't
2009-11-08 23:32:15 +01:00
Brion Vibber
fc5002015b
Revert "* [Cc]an't -> [Cc]annot"
...
This reverts commit 0ab17f382b
.
2009-11-08 23:28:51 +01:00
Siebrand Mazeland
0ab17f382b
* [Cc]an't -> [Cc]annot
...
* [Cc]ould't -> [Cc]ould not
2009-11-08 23:22:38 +01:00
Evan Prodromou
1319002e15
don't distribute group notices to inboxes for users who've blocked the author
2009-11-07 12:22:00 -05:00
Craig Andrews
005f85b5ea
Removed reference to 'api' action which no longer exists since api refactor
2009-10-30 01:25:52 -04:00
Evan Prodromou
e9644f03de
get location from a Notice
2009-10-29 14:43:18 -04:00
Evan Prodromou
b73d6d18ba
Merge branch '0.9.x' into location
2009-10-28 17:24:53 -04:00
Evan Prodromou
2df1189465
save replies in the inbox
2009-10-28 15:33:10 -04:00
Evan Prodromou
7df082abb8
replace some boolean-evaluations with calls to empty()
2009-10-28 14:21:42 -04:00
Evan Prodromou
967de94665
update location while saving new profile
2009-10-23 11:47:00 -04:00
Evan Prodromou
2ed073f295
new data structures for location
2009-10-21 22:43:40 -04:00