gnu-social/lib
Brion Vibber 4855cb58da 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:46:53 -07:00
..
accountsettingsaction.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
action.php Revert "move scripts to just before </body>, add event for scripts that need to be in <head>" 2009-09-24 17:14:04 -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:43:45 -04:00
clientexception.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
command.php Let users join and drop group membership from xmpp 2009-09-01 17:52:08 -04:00
commandinterpreter.php Let users join and drop group membership from xmpp 2009-09-01 17:52:08 -04:00
common.php Fixed twitter defaulting to disabled 2009-10-09 11:16:04 +08: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 No need to call farbtastic.go.js because it was moved to userdesign.go.js 2009-09-20 13:44:22 +02: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:43:45 -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:46:53 -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 Updated layout for filter by tag form 2009-09-04 15:59:27 +00: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 Using CDATA for autofocus script 2009-10-03 22:06:51 +00: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 Show username in subject of emails 2009-09-12 16:58:04 -04:00
mailbox.php Removed <dl> structure from MailboxAction::showMessage. Same as 2009-08-31 17:52:45 +00: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 NoticeForm's constructor's inreplyto argument should be optional (defaulting to null) 2009-09-12 17:06:46 -04:00
noticelist.php Merge branch '0.8.x' of git@gitorious.org:statusnet/mainline into 0.8.x 2009-09-20 12:55:34 +02: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 Use a non-error-generating array key check to a) improve performance and b) not fill the log file with crud 2009-09-08 11:27:37 +01: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-19 18:34:07 -07: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 Don't show search suggestions for private sites 2009-10-08 12:49:30 +08: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:43:45 -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 Revert "Several fixes to make RabbitMQ a player." 2009-09-15 17:08:27 -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:50:41 +00:00
twitterapi.php Twitter API returns server errors in preferred format 2009-09-29 17:57:31 -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 Fixed E_NOTICE when returnto isn't set 2009-10-07 17:28:30 +08: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