summaryrefslogtreecommitdiff
path: root/plugins/OStatus/classes
AgeCommit message (Collapse)Author
2010-02-22handle poco nicknames in Ostatus_profileEvan 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-21work harder to preserve info when creating new Ostatus_profileEvan Prodromou
2010-02-21Merge branch 'testing' of gitorious.org:statusnet/mainline into testingBrion Vibber
2010-02-21OStatus PuSH fixes:Brion Vibber
- hub now defers subscription state updates until after verification, per spec - hub now supports synchronous verification when requested (if async is not requested after) - client now requests synchronous verification (it's a bit safer) - cleanup on subscription logging/error responses
2010-02-21Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
2010-02-21Add OStatus_profile::ensureWebfinger()Evan 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-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-21include namespaces in posted activities in notifyActivity()Evan Prodromou
2010-02-21slightly more robust remote profile creationEvan Prodromou
2010-02-21correct call to time() in Ostatus_profile::notify()Evan Prodromou
2010-02-21try different ways to get a profile from a feedEvan Prodromou
2010-02-21activity notification in Ostatus_profileEvan Prodromou
2010-02-20OStatus: fix regressions from mergeBrion Vibber
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-20adjust URI, URL, and location in Ostatus_profile::processPostEvan Prodromou
2010-02-20Cool bug! Technically good PHP syntaxEvan Prodromou
2010-02-19OStatus: Salmon notifications now being generated moderately correctly. :) ↵Brion Vibber
Needs to be an <entry> not a <feed>.
2010-02-19OStatus: sub/unsub notifications working again. Fixed up autodetection of ↵Brion Vibber
feed info at profile setup time
2010-02-19OStatus: hooked up follow/unfollow events on Salmon endpoint to ↵Brion Vibber
create/destroy remote subscriber relationships
2010-02-19OStatus: fix up Salmon endpoint detection/saving, timestamp fixes.Brion Vibber
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: migrated notice parsing to use Activity helper classes; on the way ↵Brion Vibber
to killing FeedMunger
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-16OStatus: fix for low-level remote subscribeBrion Vibber
2010-02-16change find() to staticGet() to use cacheEvan Prodromou
2010-02-12OStatus: prep work for sending notifications on ↵Brion Vibber
sub/unsub/join/leave/favorite/unfavorite via Salmon; needs to be completed and hooked up once feed gen is fixed.
2010-02-12OStatus sub setup code cleanup and partial group fixes (needs more work ↵Brion Vibber
after the Atom updates are done)
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: 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-11OStatus: garbage collect unused PuSH subscriptions when the last local ↵Brion Vibber
subscriber unsubs
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-10OStatus update: now using standard save/delivery for incoming ostatus ↵Brion Vibber
messages -- they get reflected to realtime and everything! woooo Group delivery may still need some munging
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-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.