summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2010-03-24Using hCard label instead of location. Matches userprofile.Sarven Capadisli
2010-03-24Updated tag list output in subscriptions list. Matches userprofile.Sarven Capadisli
2010-03-24Moved print inside base stylesheet using media rules. One less HTTP GET.Sarven Capadisli
2010-03-23Use $param instead of hardcoded 'attach' name.Craig Andrews
2010-03-23Merge branch 'master' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-03-23Ticket 2188: add a daily average post count to profile statistics sidebar.Brion Vibber
When we have more detailed history stats, this'd be a good place to link to details/graphs.
2010-03-23Consistently send Profiles into Fave::addNew()Brion Vibber
2010-03-23Consistently send Profiles into Fave::addNew()Brion Vibber
2010-03-23Don't add PHPSESSID parameter onto notice and conversation URIs if we save a ↵Brion Vibber
notice during a session override. This was being triggered by welcomebot messages created at account creation time, then propagated through replies.
2010-03-23Don't add PHPSESSID parameter onto notice and conversation URIs if we save a ↵Brion Vibber
notice during a session override. This was being triggered by welcomebot messages created at account creation time, then propagated through replies.
2010-03-23change router to allow hooking path connectionsEvan Prodromou
2010-03-23Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-03-22Some initial media parsingZach Copley
- Activity now returns a list of activity objects - Processing of photo objects
2010-03-22Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
Conflicts: lib/attachmentlist.php
2010-03-22Log backtraces for non-ClientException exceptions caught at the top-level ↵Brion Vibber
handler.
2010-03-22Replace the "give up and dump object" attachment view fallback with a ↵Brion Vibber
client-side redirect to the target URL, which will at least be useful.
2010-03-22Replace the "give up and dump object" attachment view fallback with a ↵Brion Vibber
client-side redirect to the target URL, which will at least be useful.
2010-03-21Merge branch 'testing' into 0.9.xBrion Vibber
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-20correct creation of avatar links for RSS and Posterous elementsEvan Prodromou
2010-03-20move atom category to its own file, tooEvan Prodromou
2010-03-20special-case Posterous author element for activity actorEvan Prodromou
2010-03-20Merge branch 'testing' into 0.9.xEvan Prodromou
Conflicts: lib/activity.php
2010-03-20Move activity classes to their own filesEvan Prodromou
Moved the various classes used by the Activity class to their own files. There were >10 classes in the same file, with around 1500 lines in the file. Just too big. This change makes autoloading work for these classes, so also removed the hard require in lib/common.php.
2010-03-20Remove deprecated call-time pass-by-referenceCraig Andrews
2010-03-20allow html content in summary and clean it out of titleEvan Prodromou
2010-03-20rename $rss to $channel to prevent misunderstandingEvan Prodromou
RSS feeds have the format <rss><channel><item/><item/><item/></channel></rss>. The element named $rss was actually the <channel> element, so I renamed the variable so I wouldn't hurt my head.
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-19make deriving a subject from an RSS channel workEvan Prodromou
2010-03-19move ActivityObject constructors from Activity to ActivityObjectEvan Prodromou
2010-03-19only search elements for linksEvan Prodromou
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-18Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
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-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-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 'master' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-03-18Sigh... somehow left a stray bit of test code and broke activity.php.Brion Vibber
2010-03-18new exception class for when a user has no profileEvan Prodromou
2010-03-17Ticket #2244: fix to interpretation of escaped HTML and plaintext Atom ↵Brion Vibber
content on incoming OStatus messages. We were double-unescaping for <content type="html">, turning &lt;b&gt; escaped chars into literal tags (which then may get removed entirely by the HTML scrubber).
2010-03-18Updated 'more' anchor for attachments to do an XHR GETSarven Capadisli
2010-03-17Display scrubbed HTML attachments inline on attachment view page.Brion Vibber
2010-03-17Merge branch 'testing' into 0.9.xBrion Vibber
2010-03-17Workaround for HTTP authentication in the API when running PHP as ↵Brion Vibber
CGI/FastCGI. Example rewrite lines added as comments in htaccess.sample, API tweaked to accept alternate environment var form.
2010-03-17Workaround for HTTP authentication in the API when running PHP as ↵Brion Vibber
CGI/FastCGI. Example rewrite lines added as comments in htaccess.sample, API tweaked to accept alternate environment var form.
2010-03-17Pulling the stub plugin panel back out; we'll flesh it out more for 1.0.x ↵Brion Vibber
and see if we can make it easier to disable through the config file for now. Revert "Stub plugins administration panel, allows for disabling/re-enabling plugins from the default plugins list." This reverts commit d9a9fd3779c592e3f4e0a8aea8e385ee2183c0b3.
2010-03-16Pull back for now on switch of PEAR error mode to exceptions; seems to ↵Brion Vibber
trigger out exceptions at various times we don't want them. For instance this was throwing an exception for DB_DataObject::staticGet when there's no match... definitely not what we want when all our code expects to get a nice null. Example of this causing trouble: http://gitorious.org/statusnet/mainline/merge_requests/131 Revert "Don't attempt to retrieve the current user from the DB while processing a DB error" This reverts commit 68347691b0c7fb3f81415abd7fcdc5aec85cc554. Revert "Use PHP exceptions for PEAR error handling." This reverts commit d8212977ce7f911d4f9bd6e55f94aea059a86782.
2010-03-16Pull back for now on switch of PEAR error mode to exceptions; seems to ↵Brion Vibber
trigger out exceptions at various times we don't want them. For instance this was throwing an exception for DB_DataObject::staticGet when there's no match... definitely not what we want when all our code expects to get a nice null. Example of this causing trouble: http://gitorious.org/statusnet/mainline/merge_requests/131 Revert "Don't attempt to retrieve the current user from the DB while processing a DB error" This reverts commit 68347691b0c7fb3f81415abd7fcdc5aec85cc554. Revert "Use PHP exceptions for PEAR error handling." This reverts commit d8212977ce7f911d4f9bd6e55f94aea059a86782.
2010-03-16Stub plugins administration panel, allows for disabling/re-enabling plugins ↵Brion Vibber
from the default plugins list.
2010-03-15Throw an exception if we receive a document instead of a feed's root elementZach Copley