Zach Copley [Thu, 29 Oct 2009 00:18:33 +0000 (17:18 -0700)]
Merge branch 'api-media-upload' into 0.9.x
* api-media-upload:
Rearanged a couple things & removed debugging statements
Rework MailDaemon to use the MediaFile class for uploads
Implement media upload in the API
Extract media upload stuff into its own library class.
Craig Andrews [Mon, 26 Oct 2009 14:31:12 +0000 (10:31 -0400)]
Make email domain checking optional, as some statusnet installations (such as those behind restrictive corporate firewalls, or on home systems on restrictive connections) cannot connect to any mail
systems, and this check will always fail.
Brion Vibber [Fri, 23 Oct 2009 20:50:39 +0000 (13:50 -0700)]
Fix an incorrectly passing URL test case and add two a related test case:
URLs with paths followed by a double-quote character are incorrectly including the quote in the URL. The double-quote character is in fact not a legal URL char and must be URL-escaped; more importantly it just causes oddities when you quote a message ending in a URL -- such as when using the redent-button experimental feature.
Brion Vibber [Fri, 23 Oct 2009 20:31:53 +0000 (20:31 +0000)]
Fix three fatal errors when posting from 0.9.x:
* OMB remote updates were trying to load nonexistent Laconica_OMB_Service_Consumer class -- fixed to StatusNet_OMB_Service_Consumer. Regression caused during libomb merge.
* Twitter processing was still being queued from core when no twitter plugin was present, which triggered an exception from UnqueueHandler; leftover code from before the plugin extraction.
* UnqueueHandler's exception caused a fatal error instead because it was missing the "new" keyword. Wouldn't have been seen when testing with the plugin enabled.
Zach Copley [Tue, 20 Oct 2009 00:49:11 +0000 (00:49 +0000)]
Less intrusive, more reliable way for FB Connect plugin to modify the
primary nav in order to show FB mini-avatar and have the logout link
logout of FB as well as StatusNet.
Sarven Capadisli [Sun, 18 Oct 2009 15:10:49 +0000 (15:10 +0000)]
Added an update counter in the document title. When window is in blur,
it will update the document title when new notices are received. The
counter will reset when window is blurred (after a focus) again.
Brion Vibber [Mon, 12 Oct 2009 22:36:17 +0000 (22:36 +0000)]
Workaround for Facebook data store API behavior regression, fixes saving
of empty notice prefix text in facebook settings.
Filed bug upstream at http://bugs.developers.facebook.com/show_bug.cgi?id=7110
Per documentation, saving a pref value of "" or "0" will delete the pref key:
http://wiki.developers.facebook.com/index.php/Data.setUserPreference
which used to do what we want... Now Facebook throws back an error
"Parameter value is required" when we do this. Workaround appends a
space to empty string or "0" at save time, then trims the string when
we load it.
The input string was already trimmed at pref save time, so this won't
alter any user-visible behavior.
Thanks to ^demon in #mediawiki for pointing out the behavior regression
after testing the identi.ca Facebook app!
Brion Vibber [Mon, 12 Oct 2009 22:36:17 +0000 (22:36 +0000)]
Workaround for Facebook data store API behavior regression, fixes saving
of empty notice prefix text in facebook settings.
Filed bug upstream at http://bugs.developers.facebook.com/show_bug.cgi?id=7110
Per documentation, saving a pref value of "" or "0" will delete the pref key:
http://wiki.developers.facebook.com/index.php/Data.setUserPreference
which used to do what we want... Now Facebook throws back an error
"Parameter value is required" when we do this. Workaround appends a
space to empty string or "0" at save time, then trims the string when
we load it.
The input string was already trimmed at pref save time, so this won't
alter any user-visible behavior.
Thanks to ^demon in #mediawiki for pointing out the behavior regression
after testing the identi.ca Facebook app!
Brion Vibber [Fri, 16 Oct 2009 18:23:50 +0000 (11:23 -0700)]
Use short language names for locales for now; this seems to be most compatible with both native gettext (tested on Ubuntu 8.10) and php-gettext (tested on Mac OS X 10.6).