summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-03-19Avoid notices for accessing undefined array indices in hcard processingBrion Vibber
2010-03-19Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
Conflicts: plugins/OStatus/extlib/hkit/hkit.class.php plugins/OStatus/lib/discoveryhints.php
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-19Merge branch 'master' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-03-19Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xSarven Capadisli
2010-03-19Removed box-shadow and outline on notice more link focusSarven Capadisli
2010-03-19move ActivityObject constructors from Activity to ActivityObjectEvan Prodromou
2010-03-19only search elements for linksEvan Prodromou
2010-03-19return empty hints if no hcard in the htmlEvan Prodromou
2010-03-19define a 'root' attribute for the channel or feedEvan Prodromou
2010-03-19Fix typo in public tag cloud query setup which caused the cutoff to get skipped.Brion Vibber
2010-03-19Fix typo in public tag cloud query setup which caused the cutoff to get skipped.Brion Vibber
2010-03-19Throw an exception when an undefined method is called on one of our ↵Brion Vibber
DB_DataObjects, instead of failing silently. The magic __call() method is used to implement a getter and setter interface, and simply didn't bother to throw an error for things it didn't recognize. This may expose a number of existing errors where mistyped method names are called and we're not noticing that they're failing.
2010-03-19Drop result ID from data objects on clone(). This keeps the original object ↵Brion Vibber
working if it was in the middle of a query loop, even if the cloned object falls out of scope and triggers its destructor. This bug was hitting a number of places where we had the pattern: $db->find(); while($dbo->fetch()) { $x = clone($dbo); // do anything with $x other than storing it in an array } The cloned object's destructor would trigger on the second run through the loop, freeing the database result set -- not really what we wanted. (Loops that stored the clones into an array were fine, since the clones stay in scope in the array longer than the original does.) Detaching the database result from the clone lets us work with its data without interfering with the rest of the query. In the unlikely even that somebody is making clones in the middle of a query, then trying to continue the query with the clone instead of the original object, well they're gonna be broken now.
2010-03-19clarify output on fixup-shadow.phpBrion Vibber
2010-03-19Using opacity on the notice more link iconSarven Capadisli
2010-03-19Merge branch 'testing' of gitorious.org:statusnet/mainline into testingZach Copley
* 'testing' of gitorious.org:statusnet/mainline: Validate OStatus avatar URL before fetching.
2010-03-19Minor margin to more linkSarven Capadisli
2010-03-19Allow admins to set a min site textlimit of 0 (unlimited)Zach Copley
2010-03-19Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-03-19Merge branch 'ostatus-crop' of ↵Brion Vibber
git@gitorious.org:~brion/statusnet/brion-fixes into 0.9.x
2010-03-19Validate OStatus avatar URL before fetching.Brion Vibber
2010-03-19Validate OStatus avatar URL before fetching.Brion Vibber
2010-03-19Merge branch 'testing' of gitorious.org:statusnet/mainline into testingZach Copley
* 'testing' of gitorious.org:statusnet/mainline: Parse RSS items as activities Remove hkit and do our own hcard parsing Work around weird bug with HTML normalization via PHP DOM module; if source 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-19Parse RSS items as activitiesEvan Prodromou
First steps to parsing RSS items as activities. RSS feeds don't seem to have enough data to make good remote profiles, but this may work with some "hints".
2010-03-19Updated biz theme logoSarven Capadisli
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-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-18Merge branch 'testing' of gitorious.org:statusnet/mainline into testingZach Copley
* 'testing' of gitorious.org:statusnet/mainline: Handle "forgot to upload an avatar on avatarsettings" a little more gracefully.
2010-03-18Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-03-18Handle "forgot to upload an avatar on avatarsettings" a little more gracefully.Brion Vibber
2010-03-18Merge branch 'testing' of gitorious.org:statusnet/mainline into testingZach Copley
* 'testing' of gitorious.org:statusnet/mainline: OStatus discover fixes: Remove xpm support (no one really uses it, and IMAGETYPE_XPM is undefined, causing warnings) Fix notice warning about unused var -- was renamed during refactoring.
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-18Minor syntax err in TwitterBridge README exampleZach Copley
2010-03-18Remove xpm support (no one really uses it, and IMAGETYPE_XPM is undefined, ↵Craig Andrews
causing warnings) Remove erroneous call to unlink in the constructor
2010-03-18Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-03-18Merge branch 'testing' of gitorious.org:statusnet/mainline into testingZach Copley
* 'testing' of gitorious.org:statusnet/mainline: Fix for xmpp/sms notification options appearing to be disabled on new subscriptions.
2010-03-18API - handle any exceptions thrown during notice save. The API wasZach Copley
occasionally spitting out HTML, which is hard for clients to deal with.
2010-03-18Remove xpm support (no one really uses it, and IMAGETYPE_XPM is undefined, ↵Craig Andrews
causing warnings) Remove erroneous call to unlink in the constructor
2010-03-18Fix notice warning about unused var -- was renamed during refactoring.Brion Vibber
2010-03-18Added processing indicator for more anchorSarven Capadisli
2010-03-18Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingBrion 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-18Remove deprecated call-by-reference. Was causing a warning on Dreamhost.Zach Copley
2010-03-18Remove deprecated call-by-reference. Was causing a warning on Dreamhost.Zach Copley
2010-03-18Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
2010-03-18change profile URL ensure method for OStatusEvan Prodromou
2010-03-18Fix some remote subscription regressions from ↵Brion Vibber
f21f78364a9cbde2ca535a3983b384707ad097ae Ostatus_profile::ensureProfile() has been renamed to Ostatus_profile::ensureProfileURL()