summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-03-17Add 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-17Tweak to OStatus long message cropping: use original source notice URL for ↵Brion Vibber
the link in the text version, don't shorten the link for the HTML so we can append params to it in JS.
2010-03-17Display scrubbed HTML attachments inline on attachment view page.Brion Vibber
2010-03-17When too-long messages come in via OStatus, mark the attachment link up as a ↵Brion Vibber
"more" link in the HTML output, marked with class="attachment more" so JS code can fold it out smartly. Text output will still include the raw link.
2010-03-17Merge branch 'testing' into 0.9.xBrion Vibber
2010-03-17Merge branch 'master' into testingBrion Vibber
2010-03-17Fix to regression for auto-subscribe - was backwards.Brion 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-17Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
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-16Removed unnecessary form_id. Using jQuery .find() instead ofSarven Capadisli
constructing the selector.
2010-03-16Added extra condition to focusing on notice form on page load. If theSarven Capadisli
window location contains a fragument identifier, it will skip focus and do what the UA does natively.
2010-03-16Removed dangling stylesheetSarven Capadisli
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-16Fixed "Warning: syslog() expects parameter 1 to be long, string given"Jeffery To
With the FirePHP plugin enabled, I get these warnings in the output page. This is because the StartLog handler inadvertly modifies the original (number) priority with the corresponding (string) FirePHP priority.
2010-03-16Fixed IE7 prompting the user to download OpenSearch description xml after ↵Jeffery To
login (for a private site) Flow: 1. Browser (IE7) is redirected to the login page. 2. Browser reads the page, sees OpenSearch descriptions, tries to download them. Each request gets recorded by SN as the page the user should be redirected to after logging in (returnto). 3. User logs in, then gets redirected to the returnto action, which is an OpenSearch description. The OpenSearch descriptions aren't sensitive so making them public in a private site should be okay. (I recall fixing this in 0.8.x... :-( )
2010-03-15Throw an exception if we receive a document instead of a feed's root elementZach Copley
2010-03-15Always output a site logo via /api/statusnet/config.:format (so client devs ↵Zach Copley
have something to use)
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-15Drop 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-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-15Blow more timeline caches on notice delete. Fixes paging on public and ↵Brion Vibber
profile timelines after deleting something from the first page.
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-15Merge branch 'testing' into 0.9.xBrion Vibber
2010-03-15use canonical user url in xrdJames Walker
2010-03-15Consolidate and patch up redirection to remote notices.Brion Vibber
Now using the correct order consistently (URL, then URI if http/s), and as a niceness measure skipping the redirect if the only URL we have stored is the local one. (Could happen if remote OStatus feed has tag URIs and no alt link.)
2010-03-15Add scripts/docgen.php to build basic doxygen HTML docs from doc comments, ↵Brion Vibber
either for core or a given plugin. Nothing too fancy yet; style and layout needs some loving!
2010-03-14Localisation updates for !StatusNet from !translatewiki.net !sntransSiebrand Mazeland
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
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-14Updated plugin to open external links on a new window that are notSarven Capadisli
attachments
2010-03-14give preference to rel="photo" (per latest ActivityStreams spec), but still ↵James Walker
support rel="avatar" for compat
2010-03-13Performing & allowing host-meta discovery by http url (in addition to ↵James Walker
webfinger acct)
2010-03-13Assigned an identifier for the representative user and group profileSarven Capadisli
2010-03-13changing keypair to text to hold a full 1024bit keypairJames Walker
2010-03-13Throw a quick button label into ostatus .po file for french to test withBrion Vibber
2010-03-13Fix for _m() usage with context in StatusNet main code.Brion Vibber
2010-03-13Ticket 2239: white space before apostrophe in metadata of status of noticeBrion Vibber
2010-03-13allow profile_url to be used in ostatus:attentionJames Walker
2010-03-13Merge remote branch 'statusnet/testing' into crypt-rsa-switchJames Walker
2010-03-13* wrong param order to in_arrayJames Walker
* in getContent() if "type" isn't set, assume text (per atom spec)
2010-03-13Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
2010-03-12cleaning up key generationJames Walker
2010-03-12converting key generation to new crypt libraryJames Walker