Commit Graph

12431 Commits

Author SHA1 Message Date
Evan Prodromou
4deea8e2db Notify Twitter when StatusNet user faves/disfaves a Twitter notice 2010-09-05 01:07:11 -04:00
Evan Prodromou
26864d1453 using null variable in twitter_status_id() 2010-09-05 00:45:45 -04:00
Evan Prodromou
a29356a030 check status_id before trying to retweet it 2010-09-05 00:42:58 -04:00
Evan Prodromou
981f6a4749 truncate retweeted stuff if it's too long 2010-09-05 00:32:56 -04:00
Evan Prodromou
fdcaf7022c correctly mark repeats from Twitter as non-local 2010-09-05 00:25:58 -04:00
Evan Prodromou
1fbc8adf47 correctly check for local notice to status mappings when notice originated here 2010-09-05 00:22:37 -04:00
Evan Prodromou
9d52d5b4f7 use bigint for status_ids 2010-09-05 00:11:31 -04:00
Evan Prodromou
73ff960ef6 debug output when saving new mapping 2010-09-05 00:07:02 -04:00
Evan Prodromou
0a5e1f2d88 do a uniqueness check before saving new notice-to-status mapping 2010-09-05 00:05:11 -04:00
Evan Prodromou
f8a4a8f5ba SQL syntax error when initializing notice_to_status table 2010-09-04 23:55:53 -04:00
Evan Prodromou
3e8569d99f Delete Notice_to_status when a notice is deleted 2010-09-04 23:52:26 -04:00
Evan Prodromou
b2bcbf4a77 use Notice_to_status to check for duplicates 2010-09-04 23:49:52 -04:00
Evan Prodromou
16b219f1ef Save notice-to-status mapping in its own table
Introduce a table mapping notices to Twitter statuses. Initialize
this table at checkSchema() time. Save the mapping when we push
or pull statuses. Use the table to determine if a notice has a
Twitter equivalent.
2010-09-04 23:45:55 -04:00
Evan Prodromou
4aca91d05d add in_reply_to_status_id if notice is from twitter 2010-09-04 23:00:18 -04:00
Evan Prodromou
cbcd811d61 do our own repeating so we can pass in a uri 2010-09-04 15:05:38 -04:00
Evan Prodromou
a3a6ad26d5 remove require_once for disappeared TwitterBasicAuthClient 2010-09-04 13:00:37 -04:00
Evan Prodromou
1f020125bf remove basic auth code for Twitter since it's no longer supported 2010-09-04 12:58:20 -04:00
Evan Prodromou
93001a28a6 use home_timeline instead of friends_timeline 2010-09-04 12:54:46 -04:00
Evan Prodromou
45bdbcdc78 switch twitterstatusfetcher from friends_timeline to home_timeline 2010-09-04 12:54:20 -04:00
Evan Prodromou
c307aee06e debug code to dump new status data 2010-09-04 12:45:15 -04:00
Evan Prodromou
60b1e4afb7 move inbox insert code to status saver main loop 2010-09-04 11:40:33 -04:00
Evan Prodromou
86e8af45a2 some info notices in twitter status fetch for repeats and replies 2010-09-04 11:37:34 -04:00
Brion Vibber
58b5ff718a Merge branch 'testing' of gitorious.org:statusnet/mainline into testing 2010-09-03 18:01:08 -07:00
Brion Vibber
ab0ced4dfd Suppress notices in index.php running under lighttpd 2010-09-03 17:57:23 -07:00
Evan Prodromou
3249370646 if something's a retweet, save it as a repeat in bridge 2010-09-03 17:51:28 -04:00
Craig Andrews
f7c46effa2 set_notify -> setNotify 2010-09-03 17:50:29 -04:00
Craig Andrews
44f1b94301 get_screenname -> getScreenname 2010-09-03 17:50:29 -04:00
Craig Andrews
c54ef9b8b6 is_otr -> isOtr 2010-09-03 17:50:29 -04:00
Craig Andrews
d68914e4f3 is_autoreply -> isAutoreply 2010-09-03 17:50:29 -04:00
Craig Andrews
cce92e394b public_notice -> publicNotice 2010-09-03 17:50:29 -04:00
Craig Andrews
00e21d4a6f broadcast_notice -> broadcastNotice 2010-09-03 17:50:29 -04:00
Craig Andrews
9ccf65a311 get_user -> getUser 2010-09-03 17:50:29 -04:00
Craig Andrews
054111bb54 add_notice -> addNotice 2010-09-03 17:50:29 -04:00
Craig Andrews
a3725de47b handle_incoming -> handleIncoming 2010-09-03 17:50:29 -04:00
Craig Andrews
463e9c10d1 handle_command -> handleCommand 2010-09-03 17:50:29 -04:00
Craig Andrews
671b0f4cd9 format_notice -> formatNotice 2010-09-03 17:50:29 -04:00
Craig Andrews
a70cceaddd send_confirmation_code -> sendConfirmationCode 2010-09-03 17:50:28 -04:00
Craig Andrews
1eccd2a4bd send_from_site -> sendFromSite 2010-09-03 17:50:28 -04:00
Craig Andrews
b4d02650df get_user_im_prefs_from_user -> getUserImPrefsFromUser 2010-09-03 17:50:28 -04:00
Craig Andrews
8263ae601b get_user_im_prefs_from_screenname -> getUserImPrefsFromScreenname 2010-09-03 17:50:28 -04:00
Craig Andrews
f038eacca4 enqueue_incoming_raw -> enqueueIncomingRaw 2010-09-03 17:50:28 -04:00
Craig Andrews
e7a026091c enqueue_outgoing_raw -> enqueueOutgoingRaw 2010-09-03 17:50:28 -04:00
Craig Andrews
b05ab5fc85 daemon_screenname -> daemonScreenname 2010-09-03 17:50:28 -04:00
Craig Andrews
764e0ab962 receive_raw_message -> receiveRawMessage 2010-09-03 17:50:28 -04:00
Craig Andrews
80176b0b2c send_notice -> sendNotice 2010-09-03 17:50:28 -04:00
Craig Andrews
6a848bcc8a send_message -> sendMessage 2010-09-03 17:50:28 -04:00
Evan Prodromou
8b34978892 do a real retweet for a local repeat 2010-09-03 17:34:10 -04:00
Evan Prodromou
0e356d01c1 push notices through the bridge if they're in reply to a twitter notice 2010-09-03 16:37:18 -04:00
Evan Prodromou
f7d69c38af save reply status for Twitter notices 2010-09-03 15:40:19 -04:00
Evan Prodromou
30eee59068 don't save statuses from protected users 2010-09-03 15:40:19 -04:00