summaryrefslogtreecommitdiff
path: root/plugins/OStatus/classes/Ostatus_profile.php
AgeCommit message (Collapse)Author
2010-03-19Validate OStatus avatar URL before fetching.Brion Vibber
2010-03-18Fix notice warning about unused var -- was renamed during refactoring.Brion Vibber
2010-03-18Fix for xmpp/sms notification options appearing to be disabled on new ↵Brion Vibber
subscriptions. Base problem is that our caching-on-insert interferes with relying on column default values; the cached object is missing those fields, so they appear to be empty (null) when the object is retrieved from cache. Now explicitly setting them when inserting subscriptions, and cleaned up some code that had alternate code paths. May also have made auto-subscription work for remote OStatus subscribers, but can't test until magic sigs are working again.
2010-03-18Fix some remote subscription regressions from ↵Brion Vibber
f21f78364a9cbde2ca535a3983b384707ad097ae Ostatus_profile::ensureProfile() has been renamed to Ostatus_profile::ensureProfileURL()
2010-03-16Change the workflow to get better discoveryEvan Prodromou
Tried to re-structure the workflow of discovery to get more and richer data and hints.
2010-03-10OStatus: reject attempts to create a remote profile for a local user or group.Brion Vibber
Some stray shadow entries were ending up getting created, which would steal group posts from remote users. Run plugins/OStatus/scripts/fixup-shadow.php for each site to remove any existing ones.
2010-03-05OStatus fix: send the feed's root element, not the DOM document, down to ↵Brion Vibber
low-level feed processing as entry context on PuSH input.
2010-03-03OStatus: code cleanup on webfinger fallback pathBrion Vibber
2010-03-03Fix up catching of webfinger setup failsBrion Vibber
2010-03-03Fix for hcard parsing: typo caused notice spew accessing unset array indexBrion Vibber
2010-03-02OStatus: save file records for enclosuresBrion Vibber
Also stripping id from foreign HTML messages (could interfere with UI) and disabled failing attachment popup for a.attachment links that don't have a proper id, so you can click through instead of getting an error. Issues: * any other links aren't marked and saved * inconsistent behavior between local and remote attachments (local displays in lightbox, remote doesn't) * if the enclosure'd object isn't referenced in the content, you won't be offered a link to it in our UI
2010-03-01Merge branch 'work' into testingBrion Vibber
2010-03-01OStatus: support @example.com/path/to/profile mentions as well as ↵Brion Vibber
@profile@example.com (latter requires webfinger, former doesn't) Plus misc warnings/notices cleanup in the submission path.
2010-03-01Fix a bunch of notice & warning-level messages that were breaking my ↵Brion Vibber
inter-instance communications
2010-02-26Discovery::lookup now throws an exceptionJames Walker
2010-02-26move signing to take a local actor profile and use local keysJames Walker
2010-02-26updating to use latest salmon NS definitionsJames Walker
2010-02-26more cleanupJames Walker
2010-02-25Merge remote branch 'statusnet/testing' into testingJames Walker
Conflicts: plugins/OStatus/lib/webfinger.php
2010-02-25Merge branch 'testing' of gitorious.org:statusnet/mainline into testingBrion Vibber
2010-02-25OStatus: clean up known-URL hinting during profile setup, saves some extra ↵Brion Vibber
HTTP hits we were getting when mentioning Buzz feeds.
2010-02-25Merge branch 'testing' of gitorious.org:statusnet/mainline into testingZach Copley
* 'testing' of gitorious.org:statusnet/mainline: OStatus: pull best-sized avatar image (96x96 if found, otherwise largest, otherwise if none labeled takes the first) info about discovery in Ostatus_profile::ensureWebfinger() cache Web responses in Webfinger library
2010-02-25- Updates to use new activity object factoriesZach Copley
- Prune obsolete feed creation method
2010-02-25Merge branch 'testing' of gitorious.org:statusnet/mainline into testingBrion Vibber
2010-02-25OStatus: pull best-sized avatar image (96x96 if found, otherwise largest, ↵Brion Vibber
otherwise if none labeled takes the first)
2010-02-25info about discovery in Ostatus_profile::ensureWebfinger()Evan Prodromou
2010-02-25cache results of webfinger lookupsEvan Prodromou
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.