summaryrefslogtreecommitdiff
path: root/plugins/OStatus/classes/Ostatus_profile.php
AgeCommit message (Collapse)Author
2010-02-25Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
2010-02-25Parse an hcard for hints, if availableEvan Prodromou
2010-02-25Merge branch 'testing' of gitorious.org:statusnet/mainline into testingZach Copley
* 'testing' of gitorious.org:statusnet/mainline: OStatus: if no <link> available and no profileurl hint passed in, use object id if it's an HTTP(S) URL. Fixes profile link for Google accounts. Tweak common_url_to_nickname to take the last path component; fixes pulling nicks from Google profile pages (path is "/profile/<nickname>") Fix bug on subscribe/unsubscribe in profile lists. Bogus call to nonexisting profile->getProfile() was masked by DB_DataObject
2010-02-25Add lots of fun avatars to our Atom outputZach Copley
2010-02-26OStatus: if no <link> available and no profileurl hint passed in, use object ↵Brion Vibber
id if it's an HTTP(S) URL. Fixes profile link for Google accounts.
2010-02-25moving references to Webfinger to DiscoveryJames Walker
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-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-21work harder to preserve info when creating new Ostatus_profileEvan Prodromou
2010-02-21Add OStatus_profile::ensureWebfinger()Evan Prodromou
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