gnu-social/lib
Brion Vibber d3bbf3ad24 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!
2009-10-16 14:49:46 -07:00
..
accountsettingsaction.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
action.php change hidden label for site content license link 2009-08-26 10:51:44 -04:00
arraywrapper.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
attachmentlist.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
attachmentnoticesection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
attachmenttagcloudsection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
blockform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
channel.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
clienterroraction.php move HTTP error code strings to class variables 2009-09-29 17:57:55 -04:00
clientexception.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
command.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
commandinterpreter.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
common.php update version in, and add codename to, lib/common 2009-08-27 08:02:41 -07:00
connectsettingsaction.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
currentuserdesignaction.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
daemon.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
dberroraction.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
dbqueuemanager.php change controlyourself.ca to status.net 2009-08-25 18:19:04 -04:00
deleteaction.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
designsettings.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
disfavorform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
error.php move HTTP error code strings to class variables 2009-09-29 17:57:55 -04:00
event.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
facebookaction.php Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x 2009-08-27 14:18:51 -07:00
facebookutil.php Workaround for Facebook data store API behavior regression, fixes saving 2009-10-16 14:49:46 -07:00
favorform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
featureduserssection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
feed.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
feedlist.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
form.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
galleryaction.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
groupdesignaction.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
groupeditform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
grouplist.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
groupminilist.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
groupnav.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
groupsbymemberssection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
groupsbypostssection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
groupsection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
grouptagcloudsection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
htmloutputter.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
imagefile.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
jabber.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
joinform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
jsonsearchresultslist.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
language.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
leaveform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
logingroupnav.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
mail.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
mailbox.php Removed <dl> structure from MailboxAction::showMessage. Same as 2009-08-31 22:53:52 -07:00
messageform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
microid.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
noticeform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
noticelist.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
noticesection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
nudgeform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
oauthclient.php Make SyncTwitterFriends and TwitterStatusFetcher daemons use both HTTP Basic Auth as well as OAuth 2009-08-28 07:02:27 +00:00
oauthstore.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
omb.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
openid.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
ownerdesignaction.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
parallelizingdaemon.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
personalgroupnav.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
personaltagcloudsection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
ping.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
plugin.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
popularnoticesection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
profileaction.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
profilelist.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
profileminilist.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
profilesection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
publicgroupnav.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
queuehandler.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
queuemanager.php change controlyourself.ca to status.net 2009-08-25 18:19:04 -04:00
router.php Make statuses/home_timeline return the same thing as statuses/friends_timeline to support apps trying to use the new retweet API method. 2009-09-27 21:57:45 -04:00
rssaction.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
search_engines.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
searchaction.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
searchgroupnav.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
section.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
servererroraction.php move HTTP error code strings to class variables 2009-09-29 17:57:55 -04:00
serverexception.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
settingsaction.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
Shorturl_api.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
snapshot.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
stompqueuemanager.php change controlyourself.ca to status.net 2009-08-25 18:19:04 -04:00
subgroupnav.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
subpeopletagcloudsection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
subs.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
subscribeform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
subscriberspeopleselftagcloudsection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
subscriberspeopletagcloudsection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
subscriptionlist.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
subscriptionspeopleselftagcloudsection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
subscriptionspeopletagcloudsection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
tagcloudsection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
theme.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
topposterssection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
twitter.php Better error handling 2009-09-02 00:52:07 +00:00
twitterapi.php Twitter API returns server errors in preferred format 2009-09-29 17:58:13 -04:00
twitterbasicauthclient.php stutuses -> statuses 2009-08-28 06:13:47 -07:00
twitteroauthclient.php Make SyncTwitterFriends and TwitterStatusFetcher daemons use both HTTP Basic Auth as well as OAuth 2009-08-28 07:02:27 +00:00
unblockform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
unqueuemanager.php change controlyourself.ca to status.net 2009-08-25 18:19:04 -04:00
unsubscribeform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
util.php Add % and ~ as valid characters in the path, querystring, and fragment parts of URLs 2009-09-29 09:15:11 -04:00
webcolor.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
widget.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
xmloutputter.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
xmlstringer.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
xmppqueuehandler.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00