summaryrefslogtreecommitdiff
path: root/plugins/OStatus/classes
AgeCommit message (Collapse)Author
2010-02-25OStatus: fix remote groups to work with new user_groups/local_groups split.Brion Vibber
- fix <activity:subject> generation so we get the profile info (what's available so far) - use id instead of nickname for group join/leave forms so we can join/leave remote groups while the rest of the groups UI remains limited to local groups (plugins are responsible for making sure remote notifications and permission checks are done) - fix remote notification when joining group through OStatus's remote subscribe form
2010-02-25OStatus: save categories from the Atom entry as hashtags.Brion Vibber
2010-02-24return attachement from saveHTMLFile()Evan Prodromou
2010-02-24content_* to common_*Evan Prodromou
2010-02-24if OStatus post is too long, show the summary and save it as an HTML attachmentEvan Prodromou
2010-02-24Merge branch 'testing' of gitorious.org:statusnet/mainline into testingZach Copley
* 'testing' of gitorious.org:statusnet/mainline: Merge StatusNet core localization updates from 0.9.x branch Fix update_po_templates.php to support the plural and context variants of _m() in plugins Drop HTMLPurifier; we don't need its extra capabilities and we're already using htmLawed which is lighter-weight. OStatus: handle update-profile Salmon pings Revert "Updated jQuery Form Plugin from v2.17 to v2.36" OStatus: disable HTMLPurify cache unless we've configured a writable path for it.
2010-02-24Populate more profile information when doing a remote subscribeZach Copley
2010-02-24Drop HTMLPurifier; we don't need its extra capabilities and we're already ↵Brion Vibber
using htmLawed which is lighter-weight.
2010-02-24OStatus: handle update-profile Salmon pingsBrion Vibber
2010-02-24OStatus: disable HTMLPurify cache unless we've configured a writable path ↵Brion Vibber
for it. Updated plugin README with available config options. Cleanup for a bad element fallback lookup in Activity
2010-02-24Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-02-24- break OMB profile update pings to a background queueBrion Vibber
- add event hooks to profile update pings - send Salmon pings with custom update-profile event to OStatus subscribees and groups (subscribers will see it on your next post) - fix OStatus queues with overlong transport names, should work on DB queues now - Ostatus_profile::notifyActivity() and ::notifyDeferred() now can take XML, Notice, or Activity for convenience
2010-02-24use Subscription::start() for remote subscribesEvan Prodromou
2010-02-24OStatus: save updated profile bits when they come in over the wire; fix up ↵Brion Vibber
nicknames
2010-02-24OStatus: fix group delivery, send reply/group Salmon pings from background.Brion Vibber
2010-02-24OStatus: consolidate the low-level notice save code between Salmon and PuSH ↵Brion Vibber
input paths. Validation etc remains at higher levels.
2010-02-23OStatus: fixes for link/id and text extraction gets import of Buzz feeds ↵Brion Vibber
working.
2010-02-23OStatus: do PuSH subscription setup from subscribe/join event hooks, so ↵Brion Vibber
resubscribing directly from a profile/group list works correctly if there aren't active subscriptions at the moment.
2010-02-22er typoJames Walker
2010-02-22clean up error loggingJames Walker
2010-02-22generate keypairs for users, and put them in the XRD for discoveryJames Walker
2010-02-22db_objectified magic sig - for persistence of local keypairsJames Walker
2010-02-22moving magicsig.php to classes - to add storageJames Walker
2010-02-23OStatus group delivery initial implementation.Brion Vibber
- added rel="ostatus:attention" links for group delivery - added events for plugins to override group profile/permalink pages - pulled Notice::saveGroups up to save-time so we can override; it's relatively cheap and gives us a clean list of target groups for distrib time even with customized delivery. - fixed notice::getGroups to return group objects as expected - added some doc on new parameters to Notice::saveNew - 'groups' list of group IDs to push to in place of parsing - messages that come in via PuSH and contain local group targets are delivered to local group members - messages that come in via PuSH and contain remote group targets are delivered to local members of the remote group Todo: - handle group posts that only come through Salmon - handle conflicts in case something comes in both through Salmon and PuSH - better source verification - need a cleaner interface to look up groups by URI - need a way to handle remote groups with conflicting names
2010-02-22OStatus: initial hookup of remote group membership (notice delivery not yet ↵Brion Vibber
working quite right) - added a temp config var to disable salmon magic signatures until they're working consistently
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)