summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)Author
2010-09-16Ticket #2731: Fix for regression in posting to remote groups (regression in ↵Brion Vibber
2d4e0693c88bb8cad47f917db3ac5ecfacf28619) Changes in 2d4e0693c88bb8cad47f917db3ac5ecfacf28619 changed Ostatus_profile::filterReplies() (which sorts out the local, remote, and group recipients on incoming remote messages) from checking for remote profiles with a safe call to Ostatus_profile::staticGet() to calls through Ostatus_profile::ensureProfileURL() and Ostatus_profile::ensureWebfinger(), which throw exceptions and thus abort processing. Since this was done before checking for local groups, the filter would fail when the ensure* functions determined it was looking at a local group and rightfully refused to create a remote group profile for it. Changing the calls to the ensure* functions was done so we can record remote reply recipients for future reply-to-reply processing (the staticGet() call was a cheaper way to do a lookup when we knew we only actually had to process groups that somebody signed up to); most important fix is simply to actually check for the exception! :) Here I'm changing the order of processing so we do the local group lookup first -- where it's nice and safe -- and then when we do the remote checks, we'll go ahead and gracefully skip that entry if the full remote lookup fails, so we'll still process any following recipients.
2010-09-15Move standalone plugin files into subdirectories so they can have locale ↵Brion Vibber
data, etc added to them at leisure.
2010-09-15Update/add pot files for plugins.Siebrand Mazeland
2010-09-14* i18n/L10n updatesSiebrand Mazeland
* superfluous whitespace removed
2010-09-14* i18n/L10n updatesSiebrand Mazeland
* superfluous whitespace removed
2010-09-12Add translator hint.Siebrand Mazeland
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-08Merge branch 'testing' into 0.9.xBrion Vibber
2010-09-08Merge branch 'master' into testingBrion Vibber
2010-09-07Fix for #2663: fix for original/96px-size avatars getting saved with bad ↵Brion Vibber
permissions, causing failure to see images if background queues are different user from web server. The original-size file is now forced to 0644 (all-readable), which should help. Not sure this is 100% ideal, but it's better than 0600! (The other sizes were being created in other code and had sane read perms already.) Watch out for similar issues in Twitter bridge etc; avatar import code should get cleaned up and consolidated.
2010-09-07Quick fix for #2659: unable to login with Livejournal OpenIDBrion Vibber
The Net::OpenID::Server perl module that LJ uses appears to be very picky about input, and rejects most request types unless the data comes in as GET parameters (apparently following OpenID 1.1 rules, rather than OpenID 2.0 rules which permit any request to be POSTed but requires that if so, the data must all be in the POST body). Apparently something got updated on LJ at some point that's either added that behavior or (more likely) added the OpenID 2.0 namespace info to discovery, which tells the Janrain-based OpenID libraries that they should go ahead and do POST requests instead of redirects to GET requests... thus breaking everything. ;) GET should be just fine for both 1.1 and 2.0 though, and also saves having to sit through that lame autosubmit page. Switched the authentication submission from checking whether it should redirect to GET or do a form POST, to simply always doing the redirect to GET. Tested against providers: * LiveJournal * Google * LaunchPad * identi.ca
2010-09-07Merge branch 'openid-fix' into 0.9.xBrion Vibber
2010-09-07Quick fix for #2659: unable to login with Livejournal OpenIDBrion Vibber
The Net::OpenID::Server perl module that LJ uses appears to be very picky about input, and rejects most request types unless the data comes in as GET parameters (apparently following OpenID 1.1 rules, rather than OpenID 2.0 rules which permit any request to be POSTed but requires that if so, the data must all be in the POST body). Apparently something got updated on LJ at some point that's either added that behavior or (more likely) added the OpenID 2.0 namespace info to discovery, which tells the Janrain-based OpenID libraries that they should go ahead and do POST requests instead of redirects to GET requests... thus breaking everything. ;) GET should be just fine for both 1.1 and 2.0 though, and also saves having to sit through that lame autosubmit page. Switched the authentication submission from checking whether it should redirect to GET or do a form POST, to simply always doing the redirect to GET. Tested against providers: * LiveJournal * Google * LaunchPad * identi.ca
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
2010-09-07check status_id before trying to retweet itEvan Prodromou
2010-09-07truncate retweeted stuff if it's too longEvan Prodromou
2010-09-07correctly mark repeats from Twitter as non-localEvan Prodromou
2010-09-07correctly check for local notice to status mappings when notice originated hereEvan Prodromou
2010-09-07use bigint for status_idsEvan Prodromou
2010-09-07debug output when saving new mappingEvan Prodromou
2010-09-07do a uniqueness check before saving new notice-to-status mappingEvan Prodromou
2010-09-07SQL syntax error when initializing notice_to_status tableEvan Prodromou
2010-09-07Delete Notice_to_status when a notice is deletedEvan Prodromou
2010-09-07use Notice_to_status to check for duplicatesEvan Prodromou
2010-09-07Save notice-to-status mapping in its own tableEvan Prodromou
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-07add in_reply_to_status_id if notice is from twitterEvan Prodromou
2010-09-07do our own repeating so we can pass in a uriEvan Prodromou
2010-09-07remove require_once for disappeared TwitterBasicAuthClientEvan Prodromou
2010-09-07remove basic auth code for Twitter since it's no longer supportedEvan Prodromou
2010-09-07use home_timeline instead of friends_timelineEvan Prodromou