summaryrefslogtreecommitdiff
path: root/plugins/OStatus
AgeCommit message (Collapse)Author
2010-03-19define a 'root' attribute for the channel or feedEvan Prodromou
2010-03-19Validate OStatus avatar URL before fetching.Brion Vibber
2010-03-18Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
Conflicts: plugins/OStatus/extlib/hkit/hkit.class.php plugins/OStatus/lib/discoveryhints.php
2010-03-18Remove hkit and do our own hcard parsingEvan Prodromou
Parsing hcards for the data we need wasn't hard enough to justify using hkit. It was dependent on a number of external systems (something to run tidy), and only could handle XHTML. We now parse HTML with the PHP dom libraries used elsewhere, and scrape out our own hcards. Seems to work nicer and faster and most of all works with Google Buzz profile URLs.
2010-03-18Work around weird bug with HTML normalization via PHP DOM module; if source ↵Brion Vibber
had xmlns and xml:lang I ended up with double output, breaking the subsequent parsing. Will have to track this down later and report upstream if not already resolved.
2010-03-18OStatus discover fixes:Brion Vibber
* Subscription::start was sometimes passing users instead of profiles to hooks, which broke OStatus subscription notifications; now normalizing to profiles for processing. * H-card parsing would trigger a lot of PHP warnings and notices in hKit. Now suppressing warnings and notices for the duration of the call to keep them out of output when display_errors is on. * H-card parsing would trigger a PHP fatal error if the source page was not well-formed XML and Tidy was not present on the system. Switched normalization to use the PHP DOM module which is always present, as we have no need for Tidy's extra features here. * Trying to fetch avatars from Google profiles failed and triggered a PHP warning due to the relative URL not being resolved during h-card parsing. Now passing profile page URL into hKit by sneaking a <base> tag in while we normalize the HTML source. * Profile pages without a "Link" header could trigger PHP notices due to a bad NULL -> array(NULL) conversion in LinkHeader::getLink(). Now checking that there was a return value before converting single return value into array.
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-18Merge branch 'master' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-03-18reverse order from delete, insert to insert, delete on ostatus conversionEvan Prodromou
2010-03-18catch exceptions in OStatus updates, log, and continueEvan Prodromou
2010-03-17Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
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-15Fix feed discovery: html:link@rel can contain multiple values; saw ↵Brion Vibber
rel="updates alternate" in the wild at http://tantek.com/ which broke old discovery code.
2010-03-15Ticket #2242: fix reading of inline XHTML content in Atom feeds for OStatus ↵Brion Vibber
input. Lookup of the <div> needed to check for the XHTML namespace.
2010-03-15use canonical user url in xrdJames Walker
2010-03-13Performing & allowing host-meta discovery by http url (in addition to ↵James Walker
webfinger acct)
2010-03-13changing keypair to text to hold a full 1024bit keypairJames Walker
2010-03-13allow profile_url to be used in ostatus:attentionJames Walker
2010-03-12cleaning up key generationJames Walker
2010-03-12converting key generation to new crypt libraryJames Walker
2010-03-12updating phpseclib to latest cvs - fixes a bunch of key generation issuesJames Walker
2010-03-12converted toString to new crypt libraryJames Walker
2010-03-12converted sign, verify and fromString to new crypt libJames Walker
2010-03-12Adding Crypt library from http://phpseclib.sourceforge.net/James Walker
2010-03-12removing deprecated PEAR Crypt_RSAJames Walker
2010-03-12Fixes for updating indices, charset/collation and engine type on ↵Brion Vibber
plugin-created tables. Under MySQL, new tables will be created as InnoDB with UTF-8 (utf8/utf8_bin) same as core tables. Existing plugin tables will have table engine and default charset/collation updated, and string columns will have charset updated, at checkschema time. Switched from 'DESCRIBE' to INFORMATION_SCHEMA for pulling column information in order to get charset. A second hit to INFORMATION_SCHEMA is also needed to get table properties. Indices were only being created at table creation time, which ain't so hot. Now also adding/dropping indices when they change. Fixed up some schema defs in OStatus plugin that were a bit flaky, causing extra alter tables to be run. TODO: Generalize this infrastructure a bit more up to base schema & pg schema classes.
2010-03-11Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xSarven Capadisli
2010-03-11fix invalid separator in magic-public-key XRD and matching parsing.James Walker
2010-03-11remove hard-coded me:env check in magicenvelopeJames Walker
2010-03-11base64_encode/decode -> base64_url_encode/decodeJames Walker
2010-03-10Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
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-09Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-03-09Merge branch 'commands' into testingBrion Vibber
2010-03-09Command input processing now has centralized places for looking up notice, ↵Brion Vibber
user/profile, and group arguments. OStatus plugin overrides these to allow using webfinger (user@example.com), profile URL (http://example.com/user) and bare profile URL (example.com/user) as arguments.
2010-03-09Merge branch 'testing' into 0.9.xBrion Vibber
2010-03-09OStatus: fix exception thrown on HTTP error during feed discoveryBrion Vibber
2010-03-09wrong param order to strpos()James Walker
2010-03-08Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
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-04Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-03-04Slight right alignment for remote button in minilistsSarven Capadisli
2010-03-04Pull latest .po files from 0.9.x to testingBrion Vibber
2010-03-04Merge branch 'testing' into 0.9.xBrion Vibber
Conflicts: db/08to09.sql
2010-03-04OStatus: fix for remote group join via non-logged-in 'join' button.Brion Vibber
Bad lookup was sending us to the first group instead of the selected group.
2010-03-04adding plugin version to OStatusJames Walker
2010-03-04Merge commit 'origin/testing' into 0.9.xBrion Vibber
Conflicts: lib/action.php lib/adminpanelaction.php
2010-03-04Catch a previously uncaught exception and add some additional debug logs for ↵James Walker
signature verification