summaryrefslogtreecommitdiff
path: root/plugins/OStatus/OStatusPlugin.php
AgeCommit message (Collapse)Author
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-22Merge branch '0.9.x' into activityexportEvan Prodromou
Conflicts: plugins/OStatus/OStatusPlugin.php
2010-09-19* i18n/L10n updateSiebrand Mazeland
* translator comments added * remove superfluous whitespace
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-03* i18n/L10n updates and FIXMEs addedSiebrand Mazeland
* whitespace fixes
2010-09-02Merge branch 'swat0' into 0.9.xEvan Prodromou
2010-09-01Handle profile-from-uri hook to return ostatus profile if there's a matchEvan Prodromou
2010-09-01remove noop function from OStatusPluginEvan Prodromou
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-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-02move to rel="salmon" (per latest spec)James Walker
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-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-18- OStatusPlugin should return true if it doesn't need to handle sourceZach Copley
attribution - Remove stray break statement from NoticeList
2010-05-14allow hyphens in subdomains for webfinger addressesJames Walker
2010-03-26Do ostatus queue firstEvan Prodromou
We do the OStatus queue first, so if we're sending a notice to the same server twice (e.g., with OMB), our richer and more featureful notice comes in first.
2010-03-21OStatus profile setup cleanupBrion Vibber
* drop OStatusPlugin::localProfileFromUrl(), we can just look up on user.uri * clean up a few edge cases that returned null through Ostatus_profile::ensure* code paths, now throws clear exception when we can't find a feed from the given profile url * add some doc comments on the ensure* methods
2010-03-18change profile URL ensure method for OStatusEvan Prodromou
2010-03-10Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-03-10OStatus: reject attempts to create a remote profile for a local user or group.Brion Vibber
Some stray shadow entries were ending up getting created, which would steal group posts from remote users. Run plugins/OStatus/scripts/fixup-shadow.php for each site to remove any existing ones.
2010-03-09Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-03-09Command input processing now has centralized places for looking up notice, ↵Brion Vibber
user/profile, and group arguments. OStatus plugin overrides these to allow using webfinger (user@example.com), profile URL (http://example.com/user) and bare profile URL (example.com/user) as arguments.
2010-03-04Merge branch 'testing' into 0.9.xBrion Vibber
Conflicts: db/08to09.sql
2010-03-04adding plugin version to OStatusJames Walker
2010-03-04Merge commit 'origin/testing' into 0.9.xBrion Vibber
Conflicts: lib/action.php lib/adminpanelaction.php
2010-03-04update xrd -> userxrdJames Walker
2010-03-03refactor xrd to allow for ownerxrd - xrd document for the site owner.James Walker
introduced $config['webfinger']['owner'] for a custom xrd subject
2010-03-03OStatus: fix up remote join button on group profilesBrion Vibber
2010-03-03Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-03-03Separate the UI paths for ostatussub and ostatusgroup. They'll redirect to ↵Brion Vibber
each other transparently if they find you've put a remote entity of the other type.
2010-03-03Returning true instead for group remote subscription. If not loggedSarven Capadisli
in, it gives the chance to use the logged in join/leave instead.
2010-03-03Showing the remote subscribe button on the user groups pageSarven Capadisli
2010-03-03add remote subscribe button for not-logged-in users looking a profile list ↵Evan Prodromou
with local users in it
2010-03-03Renamed subscribe button from New to Remote since it only does remoteSarven Capadisli
subscriptions at the moment.
2010-03-03Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingSarven Capadisli
2010-03-03Added group subscription button to groups mini listSarven Capadisli
2010-03-03Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-03-03Clean up OStatus mentions finding; separate regexes keeps the code paths a ↵Brion Vibber
bit clearer. Also switched to hitting HTTP profile first; as the common case it'll be faster.
2010-03-03Added remote join action for group profileSarven Capadisli
2010-03-03Moved the remote subscription button to subscription mini listSarven Capadisli
2010-03-03Changed label text for remote subscription to something similar. GivenSarven Capadisli
that this button will be used within context of subscriptions, 'New' works along with the '+' icon.
2010-03-02Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-03-02Refactored remote subscribe action in OStatusSarven Capadisli
2010-03-02Showing remote subscription button on the personal timelineSarven Capadisli
2010-03-01OStatus: support @example.com/path/to/profile mentions as well as ↵Brion Vibber
@profile@example.com (latter requires webfinger, former doesn't) Plus misc warnings/notices cleanup in the submission path.
2010-02-26Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-02-26move signing to take a local actor profile and use local keysJames Walker