summaryrefslogtreecommitdiff
path: root/plugins/OStatus
AgeCommit message (Collapse)Author
2010-10-07OStatus fixup-shadow.php: add check for user_group entries with 'uri' entry ↵Brion Vibber
shadowing an actual local_group -- this can cause trouble now that we sometimes actually use the uri field for lookups, and leaving the entries around would break updating the table to fill out formerly missing uris, since the unique index entry would already be taken by the bad entry.
2010-10-07Fix regression in OStatus remote group delivery: local group check was bogus ↵Brion Vibber
in updated Ostatus_profile::localGroupFromUrl()
2010-10-04Fix unescaped dollar signs in double-quoted strings due to localization ↵Brion Vibber
updates (%1$s etc)
2010-10-04Extra debug helper line in push callbackBrion Vibber
2010-10-04Fix broken code in OStatus feed maint/test scripts (using field name from ↵Brion Vibber
older dev code, would load up wrong record)
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-28Update POT files.Siebrand Mazeland
2010-09-27Enhanced OStatus fixup-shadow.php cleanup script to check for direct matches ↵Brion Vibber
against user.uri and user_group.uri (for local groups). This should catch cases that were missed before because we were only doing pattern-matching checks, and the pattern didn't match because the site has been renamed and the old URI no longer matches the current domain / path structure. Could use some more thorough testing in practice!
2010-09-27Add a comment in UserxrdAction warning future maintainers not to break ↵Brion Vibber
domain migrations if adding domain checking to the webfinger lookup in future.
2010-09-27User user_group.uri to look up local groups for OStatus addressing checks ↵Brion Vibber
when available. Will still fall back to the URL-scheme-checking code if there's no matching user_group record. Should help with keeping remote groups working when renaming sites -- as long as user_group.uri has been filled out on the site changing its domain and other issues with POST handling are resolved.
2010-09-23Update POT files for plugins.Siebrand Mazeland
2010-09-22Merge branch '0.9.x' into activityexportEvan Prodromou
Conflicts: plugins/OStatus/OStatusPlugin.php
2010-09-21make some static functions public for OStatus_profileEvan Prodromou
2010-09-20Bump up HTTP timeout for OStatus remote-tests.php to 60 seconds; when ↵Brion Vibber
running without queues and with only bcmath, salmon key generation is absurdly slow.
2010-09-19Update pot files for plugins.Siebrand Mazeland
2010-09-19* i18n/L10n updateSiebrand Mazeland
* translator comments added * remove superfluous whitespace
2010-09-19Update pot files for plugins.Siebrand Mazeland
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-15Merge branch '0.9.x' into activityexportEvan Prodromou
2010-09-15Update/add pot files for plugins.Siebrand Mazeland
2010-09-14note on why we don't use Group_member::asActivity() in OStatusPluginEvan Prodromou
2010-09-13move code for making activities from OStatus plugin to Subscription and Fave ↵Evan Prodromou
classes
2010-09-12Add translator hint.Siebrand Mazeland
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-03syntax error in exception string in discovery.phpEvan Prodromou
2010-09-03* i18n/L10n updates and FIXMEs addedSiebrand Mazeland
* whitespace fixes
2010-09-02Merge branch 'swat0' into 0.9.xEvan Prodromou
2010-09-01Revert "debugging replyToID"Evan Prodromou
This reverts commit bb9353f6e04f863c50bca12247d1a70cb12350d5.
2010-09-01debugging replyToIDEvan Prodromou
2010-09-01Correctly check for user's id in replies in user salmon postEvan Prodromou
2010-09-01correctly return oprofile from Ostatus_profile::ensureProfileURI()Evan Prodromou
2010-09-01save URIs of remote profiles marked for attentionEvan Prodromou
2010-09-01Handle profile-from-uri hook to return ostatus profile if there's a matchEvan Prodromou
2010-09-01send a salmon slap to mentioned person when we reply to a noticeEvan Prodromou
2010-09-01Merge branch 'master' into 0.9.xEvan Prodromou
2010-09-01remove noop function from OStatusPluginEvan Prodromou
2010-08-25fix incorrect function name in updateostatus.php scriptEvan Prodromou
2010-08-16Merge branch 'testing'Brion Vibber
Conflicts: plugins/OStatus/classes/Ostatus_profile.php
2010-08-16fix use of activity rather than act in salmonaction subclasses, tooEvan Prodromou
2010-08-16typo mixing up and in salmonactionEvan Prodromou
2010-08-13Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
Conflicts: plugins/OStatus/classes/Ostatus_profile.php
2010-08-13fix use of activity rather than act in salmonaction subclasses, tooEvan Prodromou
2010-08-13add hooks to allow plugins to handle different kinds of activitiesEvan Prodromou
2010-08-13typo mixing up and in salmonactionEvan Prodromou
2010-08-13Fixes for RSS subscriptions: accept posts with no ActivityStreams ↵Brion Vibber
object-type set; be more liberal about accepting posts from feeds where the author info doesn't match (we'll post under the feed's profile and just not try to update the profile info).
2010-08-13Suppress whinging during HTML parsing in profile page discovery for things ↵Brion Vibber
that turn out to be XML feeds with funny namespaces.
2010-08-13Fixes for RSS subscriptions: accept posts with no ActivityStreams ↵Brion Vibber
object-type set; be more liberal about accepting posts from feeds where the author info doesn't match (we'll post under the feed's profile and just not try to update the profile info).
2010-08-13Suppress whinging during HTML parsing in profile page discovery for things ↵Brion Vibber
that turn out to be XML feeds with funny namespaces.
2010-08-10Fix for regression with OStatus mention processing (duplicated new and old ↵Brion Vibber
style lead to trying to save a reply entry twice).