gnu-social/plugins/OStatus
Evan Prodromou 8fa44e58f9 Try not to wipe out good data with empty values in Ostatus_profile::updateProfile()
Output from 0.9.6 PuSH feeds seems to have a rump <author> but no
<activity:actor>. It was overwriting valid and useful data set up at
subscribe time.

This fix tries to avoid overwriting data. However, it may prevent
updates that delete data.

Bug: 3028
2011-02-10 09:39:40 -05:00
..
actions Fix ticket #3016: when using non-AJAX form of the ostatus subscription initiation for non-local group joins, show the "group" field instead of a blank "user" field 2011-01-26 14:57:52 -08:00
classes Try not to wipe out good data with empty values in Ostatus_profile::updateProfile() 2011-02-10 09:39:40 -05:00
extlib Updated Math_Biginteger from upstream - removing safe* workarounds 2010-03-24 15:18:41 -04:00
images First steps on converting FeedSub into the pub/sub basis for OStatus communications: 2010-02-08 11:15:29 -08:00
js Moved StatusNetInstance into SN in util.js 2010-02-24 16:35:20 +01:00
lib Merge branch 'testing' into moveaccount 2011-01-17 17:34:03 -05:00
locale Localisation updates from http://translatewiki.net. 2011-01-31 00:04:03 +01:00
scripts OStatus fixup-shadow.php: add check for user_group entries with 'uri' entry 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-07 11:26:07 -07:00
tests Ticket #2732: add some regression tests for groups to OStatus remote-tests.php 2011-01-06 15:13:38 -08:00
theme/base/css Slight right alignment for remote button in minilists 2010-03-04 13:43:28 -05:00
OStatusPlugin.php OStatus uses Plugin::path() 2011-02-03 11:09:26 -05:00
README Initial support for third-party fallback hub such as Superfeedr for feed subscriptions. 2010-08-10 12:57:40 -07:00

Plugin to support importing and exporting notices through Atom and RSS feeds.
The OStatus plugin concentrates on user-to-user cases for federating StatusNet
and similar social networking / microblogging / blogging sites, but includes
low-level feed subscription systems which are used by some other plugins.

Uses PubSubHubbub for push feed updates; currently non-PuSH feeds cannot be
subscribed unless an external PuSH hub proxy is used.


Configuration options available:

$config['ostatus']['hub']
    (default internal hub)
    Set to URL of an external PuSH hub to use it instead of our internal hub
    for sending outgoing updates in user and group feeds.

$config['ostatus']['hub_retries']
    (default 0)
    Number of times to retry a PuSH send to consumers if using internal hub


Settings controlling incoming feed subscription:

$config['feedsub']['fallback_hub']
    To subscribe to feeds that don't have a hub, an external PuSH proxy hub
    such as Superfeedr may be used. Any feed without a hub of its own will
    be subscribed through the specified hub URL instead. If the external hub
    has usage charges, be aware that there is no restriction placed to how
    many feeds may be subscribed!

    $config['feedsub']['fallback_hub'] = 'https://superfeedr.com/hubbub';

$config['feedsub']['hub_user']
$config['feedsub']['hub_password']
    If using the fallback hub mode, these settings may be used to provide
    HTTP authentication credentials for contacting the hub. Default hubs
    specified from feeds are assumed to not require


For testing, shouldn't be used in production:

$config['ostatus']['skip_signatures']
    (default use signatures)
    Disable generation and validation of Salmon magicenv signatures

$config['feedsub']['nohub']
    (default require hub)
    Allow low-level feed subscription setup for feeds without hubs.
    Not actually usable at this stage, OStatus will check for hubs too
    and we have no polling backend. (The fallback hub option can be used
    with a 3rd-party service to provide such polling.)


Todo:
* better support for feeds that aren't natively oriented at social networking
* make use of tags/categories from feeds
* better repeat handling