summaryrefslogtreecommitdiff
path: root/plugins/TwitterBridge
AgeCommit message (Collapse)Author
2010-11-23logging tweak for Twitter status ID issueBrion Vibber
2010-11-23Fixes for Twitter bridge breakage on 32-bit servers. New "Snowflake" 64-bit ↵Brion Vibber
IDs have become too big to fit in the integer portion of double-precision floats, so to reliably use these IDs we need to pull the new string form now. Machines with 64-bit PHP installation should have had no problems (except on Windows, where integers are still 32 bits)
2010-11-19Merge branch 'master' into 0.9.xBrion Vibber
2010-11-19Ticket #2724: gracefully handle attempts to delete or fave/unfave a remote ↵Brion Vibber
Twitter notice if a failure occurs. Most annoying error case being where the notice was already faved or deleted on Twitter! :) Such errors will now just fail out and log a note to the syslog -- the rest of what we were doing will continue on unhindered, so you can still delete, favorite, etc and it just won't sync the info over in that case.
2010-11-17Add $config['attachments']['process_links'] to allow disabling processing of ↵Brion Vibber
mentioned URL links for attachment info (oEmbed lookups) and dereferencing of redirects that we didn't have shortened ourselves. This option may be useful for intranet sites that don't have direct access to the internet, as they may be unable to successfully fetch those resources.
2010-11-12Save attached URLs when importing a Twitter status: this lets our thumbnail ↵Brion Vibber
detection handle photos and videos linked to by Twitter posters.
2010-11-12Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
Conflicts: actions/newgroup.php
2010-11-12Fix for failure edge case in TwitterBridge outgoing repeat/retweets.Brion Vibber
When the retweet failed with a 403 error (say due to it being a private tweet, which can't be retweeted) we would end up mishandling the return value from our internal error handling. Instead of correctly discarding the message and closing out the queue item, we ended up trying to save a bogus twitter<->local ID mapping, which threw another exception and lead the queue system to re-run it. - Fixed the logic check and return values for the retweet case in broadcast_twitter(). - Added doc comments explaining the return values on some functions in twitter.php - Added check on Notice_to_status::saveNew() for empty input -- throw an exception before we try to actually insert into db. :)
2010-11-05Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-11-02Pull out the 'tweetctl' queue for now; these should go over control signals, ↵Brion Vibber
and actual handling isn't implemented yet anyway.
2010-11-02fakestream.php can now take --all option to pull the latest messages from ↵Brion Vibber
multiple locally-authed accounts when generating simulated sitestreams info
2010-11-02fakestream.php: script to build an emulated Twitter Site Stream from live ↵Brion Vibber
Twitter data, for testing.
2010-11-02Allow custom apiroot for site streams testing on streamtestBrion Vibber
2010-10-29Work in progress on twitter import daemonBrion Vibber
2010-10-29Fixups for twitter streaming daemonBrion Vibber
2010-10-29Work in progress on site streams-aware TwitterDaemonBrion Vibber
2010-10-29TweetInQueueHandler: run incoming tweets through the queues to keep the ↵Brion Vibber
Twitter streaming daemon clear.
2010-10-29Fix a couple 'continue's from old looping code in Twitter importer (-> ↵Brion Vibber
return null)
2010-10-28Work in progress: starting on new TwitterDaemon using the Site Streams API ↵Brion Vibber
-- code is incomplete, pulling bits from streamtest.php pending a chance to test the actual site-streams mode
2010-10-28Merge branch '0.9.x' into twitstreamBrion Vibber
2010-10-28Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-26Merge branch '0.9.x' into twitstreamBrion Vibber
2010-10-23Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-22Fix for 140-char replies being unexpectedly cropped when bridged to Twitter.Brion Vibber
This drops the '@' -> ' @' hack for CURL meta-chars in outgoing Twitter bridge, added in commit 04b95c25 back in the day. The Twitter bridge has since been switched from using direct CURL calls to using HTTPClient, which even with the CURL backend enabled doesn't trigger this issue, as POST parameters are formatted directly. Prepending the space before we did the message cropping was leading to 140-char messages getting cropped unnecessarily, which was confusing: Examples of broken messages: http://identi.ca/notice/57172587 vs http://twitter.com/marjoleink/status/28398050691 http://identi.ca/notice/57172878 vs http://twitter.com/marjoleink/status/28398492563
2010-10-18Localisation updates from http://translatewiki.netSiebrand Mazeland
2010-10-13Merge branch '0.9.x' into twitstreamBrion Vibber
2010-10-09Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-08Merge branch 'fatals' into 0.9.xBrion Vibber
2010-10-08Check for Twitter foreign link actually existing before trying to delete it; ↵Brion Vibber
friendlier error message in TwittersettingsAction
2010-10-05Prelim --all mode on streamtest.php to use site streams; doesn't use the ↵Brion Vibber
destination user for import yet, and not actually tested yet until I'm whitelisted for the beta. :)
2010-10-05Fix up Twitter JSON formatting to be consistent between the polling and ↵Brion Vibber
streaming API interfaces; basic stream tester can now import your notices (ooooh)
2010-10-05Split the guts of Twitter status -> notice import from twitterstatusfetcher ↵Brion Vibber
daemon into TwitterImport class which can be called from other places, letting us reuse code for the streaming API.
2010-10-05Cleanup on input pathBrion Vibber
2010-10-05Buncha cleanupBrion Vibber
2010-10-05Clean up event handling a bitBrion Vibber
2010-10-05Twitter streaming API reader: Cleanup input handling & split from HTTP ↵Brion Vibber
headers to body
2010-10-04Initial stub code for pulling data from Twitter's User Streams and Site ↵Brion Vibber
Streams interfaces. This should allow us to make a much more efficient background importer which can use a relatively small number of connections getting push data for either a single user or for many users with credentials on the site.
2010-10-03Localisation updates from http://translatewiki.netSiebrand Mazeland
2010-10-01Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-09-30Always specify UTF-8 targt charset for html_entity_decode(); default is ↵Brion Vibber
8-bit ISO-8859-1 which causes things to break when we later pass them through things that expect to work with UTF-8. For instance, running through preg_replace() with the /u option results in NULL, leading to problems with OStatus and SubMirror generating their plaintext versions and doing length-cropping.
2010-09-28Localisation updates from http://translatewiki.netSiebrand Mazeland
* first export of L10n for languages other than English. Could use some testing/QA.
2010-09-23Update POT files for plugins.Siebrand Mazeland
2010-09-21Merge remote branch 'gitorious/0.9.x' into 0.9.xEvan Prodromou
2010-09-19Update pot files for plugins.Siebrand Mazeland
2010-09-19* Remove trailing newline in e-mail message.Siebrand Mazeland
* Superfluous whitespace removed.
2010-09-19Update pot files for plugins.Siebrand Mazeland
2010-09-19* i18n/L10n updates.Siebrand Mazeland
* add FIXMEs for bad i18n. * add translator hints.
2010-09-18Remove superfluous whitespaceSiebrand Mazeland
2010-09-18* i18n/L10n updatesSiebrand Mazeland
* whitespace updates.
2010-09-15Merge remote branch 'gitorious/0.9.x' into 0.9.xEvan Prodromou