summaryrefslogtreecommitdiff
path: root/plugins/OStatus/lib
AgeCommit message (Collapse)Author
2010-02-21don't calculate replies for remote noticesEvan Prodromou
2010-02-21change erroneous common_sql_time() to common_sql_date()Evan Prodromou
2010-02-21was using HTMLPurifier::purify() as a static method, which it is notEvan Prodromou
2010-02-21Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
2010-02-21add HTMLPurifier configEvan Prodromou
2010-02-21OStatus: record source profile & saving method in ostatus_source table; this ↵Brion Vibber
allows us to distinguish posts that have come through an unverified group feed
2010-02-21Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
2010-02-21make some of the Webfinger magic strings constantsEvan Prodromou
2010-02-21OStatus PuSH fixlets:Brion Vibber
- set minimal error page output on PuSH callback - allow hub to retry ($config['ostatus']['hub_retries']), simplify internal iface a bit. Retries are pushed to end of queue but otherwise not delayed yet; makes delivery more robust to one-off transitory errors but not yet against downtime.
2010-02-21Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
2010-02-21fixup activity serialization so salmon notifications workEvan Prodromou
2010-02-21OStatus feedsub fixlets:Brion Vibber
- actually udpate feedsub.last_update when we get a new PuSH update in - move incoming PuSH processing to a queue handler to minimize time spent before POST return, as recommended by PuSH spec. When queues are disabled this'll still be handled immediately.
2010-02-21Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
2010-02-21use Ostatus_profile::ensureActivityObjectProfile() in ↵Evan Prodromou
SalmonAction::ensureProfile()
2010-02-21OStatus: debug aid - log the received Salmon post when it can't be parsed ↵Brion Vibber
properly as an <atom:entry>
2010-02-21correct name check in ActivityObject::fromProfile()Evan Prodromou
2010-02-21make avatar attribute explicit for ActivityObjectEvan Prodromou
2010-02-21remove unused profile code from salmonactionEvan Prodromou
2010-02-21let activities generate their own XMLEvan Prodromou
2010-02-21saving notices in salmon actionsEvan Prodromou
2010-02-21more complete content retrieval in ActivityObject::__construct()Evan Prodromou
2010-02-20Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
Conflicts: plugins/OStatus/OStatusPlugin.php
2010-02-20Add support for favor and disfavor notificationEvan Prodromou
Added support for favoring and disfavoring in OStatusPlugin. Needed to represent the Notice as an activity:object, so added some code for that in lib/activity.php. Also, made some small changes to OStatusPlugin so it handled having a non-default argument $object correctly.
2010-02-20OStatus: Salmon favorite & unfavorite events now handledBrion Vibber
2010-02-20Move some salmon processing to a superclassEvan Prodromou
Moved some salmon processing to a superclass so we could handle group salmon posts, too.
2010-02-19OStatus: sub/unsub notifications working again. Fixed up autodetection of ↵Brion Vibber
feed info at profile setup time
2010-02-18add ActivityContext class and test itEvan Prodromou
2010-02-18OStatus refactoring to clean up profile vs feed and fix up subscription issues.Brion Vibber
PuSH subscription maintenance broken back out to FeedSub, letting Ostatus_profile deal with the profile level (user or group, with unique id URI)
2010-02-18OStatus sub/unsub updates:Brion Vibber
- fix for PuSH unsub verification - send Salmon notification on unsub
2010-02-17OStatus: moving parts of profile processing to Activity from feedmunger. ↵Brion Vibber
Pausing before refactoring DB schema a bit to clean up feed vs person vs group info
2010-02-16OStatus: check only direct children in ActivityUtil::child; fixes pulling ↵Brion Vibber
actor's info when we wanted post info
2010-02-16OStatus: fix up some recent regressions in subscription setup; fix state ↵Brion Vibber
checks and verification token, and avatar save on setup. Needs updates for new atom code next...
2010-02-16restructure Activity classes to push more DOM stuff to ActivityUtilsEvan Prodromou
2010-02-14test parsing a default atom feed for activitiesEvan Prodromou
2010-02-14update activity and salmon for previous commitEvan Prodromou
2010-02-12stub for activitiesEvan Prodromou
2010-02-12OStatus: renamed feedinfo table to ostatus_profile -- will cover remote ↵Brion Vibber
ostatus people and groups whether a subscription's active or not (maintains identity over unsub/resub, and between subscribers and subscribees)
2010-02-11OStatus: correct parsing of georss:point for max interop (commas allowed, ↵Brion Vibber
whitespace not strictly defined)
2010-02-11OStatus: save Salmon postback URI in feed subscription info, if provided. ↵Brion Vibber
Will need it for sub/unsub postbacks and other notifications.
2010-02-11OStatus fix: include feed profile at notice text processing time, fixes repliesBrion Vibber
2010-02-10OStatus PuSH fixes:Brion Vibber
* HMAC now calculated correctly - confirmed interop with Google's public hub * Can optionally use an external PuSH hub, set URL in $config['ostatus']['hub'] (may have issues in replication environment, and will ping the hub for every update rather than just those with subscribers) Internal hub will still function when this is set, but won't be advertised. Warning: setting this, then turning it off later will break subscriptions as that hub will no longer receive pings.
2010-02-10fix hubdistribBrion Vibber
2010-02-10fix up hub queueing to work w/ stomp queuesBrion Vibber
2010-02-10Filename case fixBrion Vibber
2010-02-09OStatus partial support for group subscriptions:Brion Vibber
* detection of group feeds is currently a nasty hack based on presence of '/groups/' in URL -- should use some property on the feed? * listing for the remote group is kinda cruddy; needs to be named more cleanly * still need to establish per-author profiles (easier once we have the updated Atom code in) * group delivery probably not right yet * saving of group messages still triggering some weird behavior Added support for since_id and max_id on group timeline feeds as a free extra. Enjoy!
2010-02-09in progress Salmon responsesJames Walker
2010-02-09discovery piece - hand merged :PJames Walker
2010-02-08Pull GeoRSS locations over OStatus feedsBrion Vibber
2010-02-08OStatus cleanup...Brion Vibber
* Treat linkless feed posts as status updates; drop the "New post:" prefix and quotes on them. * Use stable user IDs for atom/rss2 feed links instead of unstable nicknames * Pull Atom feed preferentially when subscribing -- can now put the remote user's profile page straight into the feed subscription form and get to the right place. * Clean up naming for push endpoints
2010-02-08First steps on converting FeedSub into the pub/sub basis for OStatus ↵Brion Vibber
communications: * renamed FeedSub plugin to OStatus * now setting avatar on subscriptions * general fixes for subscription * integrated PuSH hub to handle only user timelines on canonical ID url; sends updates directly * set $config['feedsub']['nohub'] = true to test w/ foreign feeds that don't have hubs (won't actually receive updates though) * a few bits of code documentation * HMAC support for verified distributions (safest if sub setup is on HTTPS) And a couple core changes: * minimizing HTML output for exceptions in API requests to aid in debugging * fix for rel=self link in apitimelineuser when id given This does not not yet include any of the individual subscription management (Salmon notifications for sub/unsub, etc) nor a nice UI for user subscriptions. Needs some further cleanup to treat posts as status updates instead of link references.