summaryrefslogtreecommitdiff
path: root/plugins/OStatus
AgeCommit message (Collapse)Author
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-15Update/add pot files for plugins.Siebrand Mazeland
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).
2010-08-10Fix for FeedDiscovery test cases: note that some test cases with relative ↵Brion Vibber
URLs fail that include a schema but not a host. Not 100% sure those are legit, need to check.
2010-08-10Initial support for third-party fallback hub such as Superfeedr for feed ↵Brion Vibber
subscriptions. If set up, this hub will be used to subscribe to feeds that don't specify a hub of their own. Assumes that the fallback hub will, in fact, handle polling and updates for any feed we throw at it! Authentication may be specified for the fallback hub. Example: $config['feedsub']['fallback_hub'] = 'https://superfeedr.com/hubbub'; $config['feedsub']['hub_user'] = 'abcd'; $config['feedsub']['hub_pass'] = 'ckcmdkmckdmkcdk'; Also: * Fix for WordPress-RSS-via-Superfeedr-Atom; if we have <author> info but no ID from a native ActivityStreams actor, don't freak out in the low-level processing code that checks for identity matches. * enhanced messages for low-level FeedSub exceptions if they make it to outside display
2010-08-07strip whitespace from me:data and me:sig (per spec)James Walker
2010-08-06OStatus/FeedSub: tweaked PuSH feed garbage collection so other plugins can ↵Brion Vibber
declare usage of a low-level feed or an OStatus profile besides profile subscriptions & group memberships. SubMirror: redid add-mirror frontend to accept a feed URL, then pass that on to OStatus, instead of pulling from your subscriptions. Profile: tweaked subscriberCount() so it doesn't subtract 1 for foreign profiles who aren't subscribed to themselves; instead excludes the self-subscription in the count query. Memcached_DataObject: tweak to avoid extra error spew in the DB error raising Work in progress: tweaking feedsub garbage collection so we can count other uses
2010-08-03Merge branch 'activityhooks' into 0.9.xEvan Prodromou
Conflicts: classes/Notice.php
2010-08-03correctly show <source> for atom feedsEvan Prodromou
2010-08-02Fix for #2429 - move OStatus XML writing to XMLStringerJames Walker
2010-08-02fix #2478 - ensure all XRD documents get proper content-type headersJames Walker
2010-08-02move to rel="salmon" (per latest spec)James Walker
2010-07-12Commit hubprepqueuehandler.php -- fix for OStatus bulk output.Brion Vibber
2010-07-12Commit hubprepqueuehandler.php -- fix for OStatus bulk output.Brion Vibber
2010-06-29Fix regression in OStatus remote group subscribe -- a bug was previously ↵Brion Vibber
masked silently (call to nonexistent getProfileUrl() method on User_group -- now replaced with homeUrl() which does the thing we wanted here)
2010-06-07Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
Conflicts: plugins/OpenID/openid.php
2010-06-07OStatus plugin: Rolling batch queueing for PuSH output to >50 subscribing ↵Brion Vibber
sites. Keeps latency down for other things enqueued while we work...
2010-06-03Option to divert PuSH items directly to the target site's queue when localBrion Vibber
2010-06-03Skip enqueueing to outgoing bridges on incoming remote messages. Twitter, ↵Brion Vibber
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-05-21Merge branch 'testing' into 0.9.xBrion Vibber