Commit Graph

119 Commits

Author SHA1 Message Date
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
Evan Prodromou
3249370646 if something's a retweet, save it as a repeat in bridge 2010-09-03 17:51: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
Brion Vibber
4cbbfdab84 Fix for #2635: use ssl-sometimes settings for Twitter settings & auth pages 2010-09-02 10:55:26 -07:00
Brion Vibber
c56939d596 Remove the 'Enable Twitter import' checkbox from Twitter admin panel by default; can be re-added with setting:
addPlugin('TwitterBridge', array('adminImportControl' => true, ....));

Added a note on the label that it requires manual daemon setup. (Note that by default the admin panel won't be shown, so it's no biggie to be hiding this for now.)
2010-08-02 13:00:50 -07:00
Zach Copley
4c5098cd32 Handle the case where a screen name has shifted from one Twitter ID to another 2010-07-08 21:17:11 +00:00
Brion Vibber
5f4c6ec626 Skip enqueueing to outgoing bridges on incoming remote messages. Twitter, Facebook, RSSCloud, and OStatus checks were enqueued on these when they'd never do anything but churn the queue servers.
Notice::isLocal() can replace a number of manual checks for $notice->is_local being LOCAL_PUBLIC or LOCAL_NONPUBLIC.
2010-06-03 16:58:45 -07:00
Brion Vibber
74a89b1fc3 Locale switch cleanup: use common_switch_locale() which is safer for updating gettext state. Also moved a few calls to reduce chance of hitting an exception before switching back.
Should help with problems where xmppdaemon would get stuck in wrong locale.
2010-05-19 10:10:55 -07:00
Brion Vibber
67eeaa9cf4 Pull localization updates from 0.9.x branch 2010-05-03 12:27:44 -07:00
Brion Vibber
c95bff7744 Merge branch 'master' into testing 2010-04-14 15:58:42 +02:00
Brion Vibber
efcdfabc12 Ticket #2205: pass geo locations over Twitter bridge (will only be used if enabled on the Twitter side) 2010-04-14 15:45:00 +02:00
Brion Vibber
756dd15515 i18n cleanup: fix bad string breakdown in license agreement checkbox on registration form.
Note that much of that form is duplicated several times for Twitter, Facebook, and OpenID registrations -- these need to be refactored to avoid having multiple out-of-sync copies of code and messages.
2010-04-09 10:12:23 -07:00
Brion Vibber
3ac3bc32fc Some localization cleanup and doc to aid in customization:
* added locale/en/LC_MESSAGES/statusnet.po to make it easier to start customizing English texts
* added notes to locale/README about customizing and how to disable languages you haven't customized
* renamed PO templates from *.po to *.pot to match general conventions and reduce confusion for people trying to find which file they're supposed to edit
2010-04-05 13:19:16 -07:00
Zach Copley
804182e0fe Some fixes to make the twitterstatusfetcher behave better in a multi-site configuration 2010-03-30 11:51:56 -07:00
Zach Copley
051bee988c Minor syntax err in TwitterBridge README example 2010-03-18 17:00:37 -07:00
root
982edc653f Another typo 2010-03-04 23:30:36 -05:00
Zach Copley
b8001ea107 Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2010-03-05 03:56:04 +00:00
Zach Copley
e3c4b0c85d A better way to safely delete Foreign_links 2010-03-05 03:55:56 +00:00
Zach Copley
6aac7cc6cd Fix for errant deletion of all Twitter foreign_links 2010-03-05 03:55:39 +00:00
Brion Vibber
b218aee94e Merge commit 'origin/testing' into 0.9.x
Conflicts:
	lib/action.php
	lib/adminpanelaction.php
2010-03-04 06:07:28 -08:00
Zach Copley
339b0b0a4d Don't expose global Twitter consumer key and secret, because that would be idiotic. 2010-03-03 13:05:11 -08:00
Zach Copley
32c08f53de Show global key and secret, if defined, in Twitter bridge admin panel 2010-03-03 01:49:14 +00:00
Zach Copley
08422dfa17 Remove double word from Twitter bridge README 2010-03-02 16:53:53 -08:00
Zach Copley
ca21f1da86 - Have Twitter bridge check for a global key and secret if it can't
find one in the local config
- Refuse to work at all if the consumer key and secret aren't set
2010-03-02 16:49:29 -08:00
Brion Vibber
ddf3614c84 Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x 2010-03-02 13:38:10 -08:00
Zach Copley
1df8c2a44d Some wording / spelling fixes 2010-03-01 22:58:27 -08:00
Zach Copley
27a49361eb - Make 'Sign in with Twitter' optional
- Updates to the Twitter bridge plugin README
2010-03-01 22:41:07 -08:00
Zach Copley
6b2d67216e Initial Twitter bridge admin panel 2010-03-01 21:35:24 -08:00
Brion Vibber
3c4ead4996 Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
Conflicts:
	db/08to09.sql
	locale/statusnet.po
	scripts/update_po_templates.php
2010-03-01 14:59:26 -08:00