summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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-18Sigh... somehow left a stray bit of test code and broke activity.php.Brion Vibber
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
2010-03-15Background deletion of user accounts. Notices are deleted in chunks, then ↵Brion Vibber
the user itself when they're all gone. While deletion is in progress, the account is locked with the 'deleted' role, which disables all actions with rights control. Todo: * Pretty up the notice on the profile page about the pending delete. Show status? * Possibly more thorough account disabling, such as disallowing all use for login and access. * Improve error recovery; worst case is that an account gets left locked in 'deleted' state but the queue jobs have gotten dropped out. This would leave the username in use and any undeleted notices in place.
2010-03-15Initial Twitpic-like media upload endpoint /api/statusnet/media/uploadZach Copley
2010-03-15Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
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-15Merge branch 'testing' into 0.9.xBrion Vibber
2010-03-14Using rel=external instead of class=external for jOverlay title linkSarven Capadisli
2010-03-14Added rel=external to geo location linkSarven Capadisli
2010-03-14give preference to rel="photo" (per latest ActivityStreams spec), but still ↵James Walker
support rel="avatar" for compat
2010-03-13Assigned an identifier for the representative user and group profileSarven Capadisli
2010-03-13Fix for _m() usage with context in StatusNet main code.Brion Vibber
2010-03-13* wrong param order to in_arrayJames Walker
* in getContent() if "type" isn't set, assume text (per atom spec)
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-12Merge commit 'origin/testing' into 0.9.xBrion Vibber
2010-03-12Merge commit 'origin/0.9.x' into 0.9.xBrion Vibber
2010-03-12Output enclosing geo elements and GeoRSS xmlns in XML timelinesZach Copley
2010-03-12Add Atom self link to tag timelineZach Copley
2010-03-11Don't switch people from the Memcache to Memcached plugin without their ↵Brion Vibber
knowledge when using back-compatibility $config['memcached']['enabled']. Performance characteristics for Memcached version on large-scale sites not tested yet. New installations should be using addPlugin explicitly.
2010-03-11Remove stray whitespace at file start that snuck into last updateBrion Vibber
2010-03-11fubared a715271f847fed7d7c725c5b752ea7a00800520a - this is the fixCraig Andrews
2010-03-12More generalized method for calculating Atom rel="self" linksZach Copley
2010-03-11reuse Subscription::cancel instead of reimplementing it.Craig Andrews
I didn't know this method existed before... pretty neat.
2010-03-11move image type checking to constructor, so checking will be done in all casesCraig Andrews
check if the relevant image handling function exists when deciding if the image type is supported
2010-03-12Scrub all atom output with common_xml_safe_str()Zach Copley
2010-03-11Generator tag should have 'uri' attr not 'url'Zach Copley
2010-03-11Output self link in rss2 feeds, if availableZach Copley
2010-03-11- Output georss xmlns in rss elementZach Copley
- Only output geopoint in rss if one is set
2010-03-11Fixes the indenting bug for geo anchor. Also mention in trac ticket 2235Sarven Capadisli
2010-03-10Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-03-10Workaround intermittent bugs with HEAD requests by disabling keepalive in ↵Brion Vibber
HTTPClient. I think this is a bug in Youtube's web server (sending chunked encoding of an empty body with a HEAD response, leaving the connection out of sync when it doesn't attempt to read a body) but the HTTP_Request2 library may need to be adjusted to watch out for that.
2010-03-10Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-03-10Merge branch 'master' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-03-10Detect when queuedaemon/xmppdaemon parent processes die and kill the child ↵Brion Vibber
processes. Keeps stray daemon subprocesses from floating around when we kill the parents via a signal! Accomplished by opening a bidirectional pipe in the parent process; the children close out the writer end and keep the reader in their open sockets list. When the parent dies, the children see that the socket's been closed out and can perform an orderly shutdown.
2010-03-10A blank username should never be allowed.Zach Copley
2010-03-10Merge branch 'testing' into 0.9.xBrion Vibber
Conflicts: actions/apistatusnetconfig.php
2010-03-10Merge branch 'master' into testingBrion Vibber
2010-03-10Ticket #2221: fix for missing whitespace between messages in en-gb.Brion Vibber
The final whitespace should be dropped from the source messages after we've stabilized; trailing space is pretty unreliable to keep through translation tools and should be avoided. Use separator strings outside the messages!
2010-03-10removed a stay bit of debugBrenda Wallace