summaryrefslogtreecommitdiff
path: root/plugins/OStatus/classes/Ostatus_profile.php
AgeCommit message (Collapse)Author
2010-04-21Fix exceptions with bad gravatar URLsEvan Prodromou
2010-04-06Handle attempt to subscribe a local user via their remote webfinger ↵Brion Vibber
reference more gracefully. The ensure* family of functions will now return an OStatusShadowException in this case, which gives us a pleasant error message instead of a giant exception backtrace when you do 'sub somebody@this.local.server'. Can be extended later to allow actually using the local profile, since we could figure it out.
2010-03-29Include meta charset header in saved HTML file for long OStatus messages; ↵Brion Vibber
without, DOMDocument::loadHTML assumed Latin-1 instead of UTF-8.
2010-03-25Tweak to OStatus long message cropping: use original source notice URL for ↵0.9.1rc1Brion Vibber
the link in the text version, don't shorten the link for the HTML so we can append params to it in JS. Conflicts: plugins/OStatus/classes/Ostatus_profile.php
2010-03-25Add doc comments on saveHTMLFile; drop the extra <div> wrapping the contents ↵Brion Vibber
to make it easier to extract without getting extra markup.
2010-03-25Using &#8230; (hellip) instead of "more" for link textSarven Capadisli
2010-03-25Updated 'more' anchor for attachments to do an XHR GETBrion Vibber
Conflicts: lib/attachmentlist.php plugins/OStatus/classes/Ostatus_profile.php Merge tried to delete things that it seems it shouldn't, very confusing order. Hope rest of the cherry-picking isn't a problem.
2010-03-22Fix reference. Look at the first ActivityObject in the list.Zach Copley
2010-03-22Some initial media parsingZach Copley
- Activity now returns a list of activity objects - Processing of photo objects
2010-03-22ignore unrecognized object typesEvan Prodromou
2010-03-21Pull <atom:author> info as well as <activity:actor> when we have an ↵Brion Vibber
old-style ActivityStreams feed. This fixes subscription setup for Cliqset feeds, which currently have a bogus activity:actor/atom:id but a good atom:author/atom:uri
2010-03-21Accept 'tag' and other non-http id URIs in ↵Brion Vibber
Ostatus_profile::getActivityObjectProfileURI(). (If there's not a valid ID we fall back to the link, which we do still validate as http/s.)
2010-03-21OStatus profile setup cleanupBrion Vibber
* drop OStatusPlugin::localProfileFromUrl(), we can just look up on user.uri * clean up a few edge cases that returned null through Ostatus_profile::ensure* code paths, now throws clear exception when we can't find a feed from the given profile url * add some doc comments on the ensure* methods
2010-03-21only use Posterous author data if it matches the profile URLEvan Prodromou
2010-03-20use Posterous element if available for RssChannel discoveryEvan Prodromou
2010-03-20use feedEl for discoveryEvan Prodromou
2010-03-20fall back to summary or title if content not availableEvan Prodromou
2010-03-20Allow PuSH posts without author informationEvan Prodromou
Superfeedr (sp.?) posts entries without author information. We can assume that this is intended to be by the original author. Re-structured the checks for entries that come in by PuSH so they can either have no author or an empty author, but not a different author.
2010-03-20handle RSS as well as Atom in Ostatus push hitsEvan Prodromou
2010-03-20Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
2010-03-20try to make a nickname from the user profile url before using the URIEvan Prodromou
2010-03-19OStatus: be a little laxer about attempts to start/stop PuSH subscriptions ↵Brion Vibber
that were left in an inconsistent state. Instead of aborting, we'll try to reconfirm the sub/unsub, which once confirmed will replace whatever the previous state was on the server side.
2010-03-19ensure from an RSS channelEvan Prodromou
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