summaryrefslogtreecommitdiff
path: root/plugins/TwitterBridge
AgeCommit message (Collapse)Author
2010-12-13TwitterBridge: partial merge of id_str usage from 0.9.x for improved 32-bit ↵Brion Vibber
and pre-5.2.10 compatibility. (on 64-bit in 5.2.6 we can pull the integer IDs, but silently lose some precision on the end.) Fixes for Twitter bridge breakage on 32-bit servers. New "Snowflake" 64-bit 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) Conflicts: plugins/TwitterBridge/twitterimport.php <- as this hasn't been broken out, the import code is NOT FULLY UPDATED HERE.
2010-12-07Quick hack to discard twitter broadcast queue items on failure *IF* config ↵Brion Vibber
option 'twitter' 'ignore_errors' is on: $config['twitter']['ignore_errors'] = true; A longer-term solution is to patch up the indirect retry handling to count retries better, or delay for later retry sensibly.
2010-11-30Flush router cache when saving Twitter admin settings: adding/removing keys ↵Brion Vibber
can enable/disable some actions. This avoids having users' Twitter settings unreachable after adding your keys to an installation with TwitterBridge on but not pre-configured.
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-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-10-28Localisation updates from http://translatewiki.net.Siebrand Mazeland
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-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-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
2010-09-15Update/add pot files for plugins.Siebrand Mazeland
2010-09-10use capturing parens for matching at-mentions in twitterstatusfetcherEvan Prodromou
2010-09-10make our own twitter links if Twitter doesn't give us entitiesEvan Prodromou
2010-09-08change the event we use for deleting a linked status on TwitterEvan Prodromou
2010-09-08move notice_to_status initialization code to run-once scriptEvan Prodromou
2010-09-07text substitution is Unicode-aware for twitterstatusfetcherEvan Prodromou
2010-09-07Fix pkeyget callEvan Prodromou
Fix the pkeyget call in Twitter_synch_Status
2010-09-07staticGet -> pkeyGet in Twitter_synch_statusEvan Prodromou
2010-09-07debug statements for setting/getting last idEvan Prodromou
2010-09-07Store foreign ID for synch info, not user IDEvan Prodromou
2010-09-07remove data dump of retrieved statusesEvan Prodromou
2010-09-07Correct DB_DataObject constant in Twitter_synch_statusEvan Prodromou
2010-09-07Missing comma in column list in Twitter_synch_statusEvan Prodromou
2010-09-07add modified column to twitter_synch_statusEvan Prodromou
2010-09-07use and save since_id parameter for home_timelineEvan Prodromou
2010-09-07save synch status for different timelinesEvan Prodromou
2010-09-07save Twitter mentions as StatusNet repliesEvan Prodromou
2010-09-07add back in # and @ for linksEvan Prodromou
2010-09-07add Twitter-approved links to Twitter statusesEvan Prodromou
2010-09-07better handling of params in oauthgetEvan Prodromou
2010-09-07better param handling in hometimelineEvan Prodromou
2010-09-07include entities in the results of home_timelineEvan Prodromou
2010-09-07delete Twitter notice if it was posted from hereEvan Prodromou
2010-09-07Notify Twitter when StatusNet user faves/disfaves a Twitter noticeEvan Prodromou
2010-09-07using null variable in twitter_status_id()Evan Prodromou