gnu-social/actions
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
..
accesstoken.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
all.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
allrss.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
api.php Forgot to add home_timeline to the list of methods that only require 2009-09-27 20:21:16 -07:00
attachment_ajax.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
attachment_thumbnail.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
attachment.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
avatarbynickname.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
avatarsettings.php Check if the avatar exists before trying to delete it. 2009-09-12 17:11:55 -04:00
block.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
blockedfromgroup.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
confirmaddress.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
conversation.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
deletenotice.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
disfavor.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
doc.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
editgroup.php stop overwriting created timestamp on group edit 2009-09-29 09:12:44 -04:00
emailsettings.php Created autofocus method to give focus to an element (primarily a form 2009-09-03 19:42:50 +00:00
facebookhome.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
facebookinvite.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
facebooklogin.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
facebookremove.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
facebooksettings.php Workaround for Facebook data store API behavior regression, fixes saving 2009-10-16 14:46:53 -07:00
favor.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
favorited.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
favoritesrss.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
featured.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
file.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
finishaddopenid.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
finishopenidlogin.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
finishremotesubscribe.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
foaf.php Fixes foaf notices, use Profile for information that's missing in Remote_profile 2009-09-01 17:52:03 -04:00
groupblock.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
groupbyid.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
groupdesignsettings.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
grouplogo.php Created autofocus method to give focus to an element (primarily a form 2009-09-03 19:42:50 +00:00
groupmembers.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
grouprss.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
groups.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
groupsearch.php Fixed E_NOTICE - GroupList expects an owner object in the constructor, not an array of search terms 2009-10-07 16:18:05 +08:00
groupunblock.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
imsettings.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
inbox.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
invite.php Created autofocus method to give focus to an element (primarily a form 2009-09-03 19:42:50 +00:00
joingroup.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
leavegroup.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
login.php Created autofocus method to give focus to an element (primarily a form 2009-09-03 19:42:50 +00:00
logout.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
makeadmin.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
microsummary.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
newgroup.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
newmessage.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
newnotice.php Include long-form attachment URL in notice if URL shortening is disabled. 2009-10-13 16:54:57 +00:00
noticesearch.php Don't "hightlight" search terms (by surrounding them in <strong>$term</strong>) when the term appears in an HTML attribute 2009-09-07 22:36:01 -04:00
noticesearchrss.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
nudge.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
oembed.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
openidlogin.php Created autofocus method to give focus to an element (primarily a form 2009-09-03 19:42:50 +00:00
openidsettings.php Created autofocus method to give focus to an element (primarily a form 2009-09-03 19:42:50 +00:00
opensearch.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
othersettings.php Created autofocus method to give focus to an element (primarily a form 2009-09-03 19:42:50 +00:00
outbox.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
passwordsettings.php Created autofocus method to give focus to an element (primarily a form 2009-09-03 19:42:50 +00:00
peoplesearch.php Created autofocus method to give focus to an element (primarily a form 2009-09-03 19:42:50 +00:00
peopletag.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
postnotice.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
profilesettings.php Created autofocus method to give focus to an element (primarily a form 2009-09-03 19:42:50 +00:00
public.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
publicrss.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
publictagcloud.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
publicxrds.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
recoverpassword.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
register.php Created autofocus method to give focus to an element (primarily a form 2009-09-03 19:42:50 +00:00
remotesubscribe.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
replies.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
repliesrss.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
requesttoken.php Response for request token doesn't contain omb_version 2009-09-13 00:01:23 -04:00
showfavorites.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
showgroup.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
showmessage.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
shownotice.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
showstream.php Pagination of user/tag was navigating to wrong page. 2009-09-16 05:07:33 -04:00
smssettings.php Created autofocus method to give focus to an element (primarily a form 2009-09-03 19:42:50 +00:00
subedit.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
subscribe.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
subscribers.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
subscriptions.php Created autofocus method to give focus to an element (primarily a form 2009-09-03 19:42:50 +00:00
sup.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
tag.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
tagother.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
tagrss.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
twitapiaccount.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
twitapiblocks.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
twitapidirect_messages.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
twitapifavorites.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
twitapifriendships.php Make it impossible to delete self-subscriptions via the API 2009-09-15 12:59:32 -07:00
twitapigroups.php added my email address next to my name at the top of the files 2009-08-27 22:56:54 -04:00
twitapihelp.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
twitapinotifications.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
twitapisearchatom.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
twitapisearchjson.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
twitapistatuses.php Fixed E_NOTICE when the "lite" parameter isn't included in the request 2009-10-07 17:28:29 +08:00
twitapistatusnet.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
twitapitags.php added my email address next to my name at the top of the files 2009-08-27 22:56:54 -04:00
twitapitrends.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
twitapiusers.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
twitterauthorization.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
twittersettings.php Fixed bug in which you cannot turn off importing friends timelines flag 2009-09-02 00:24:30 +00:00
unblock.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
unsubscribe.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
updateprofile.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
userauthorization.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
userbyid.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
userdesignsettings.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
usergroups.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
userrss.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
xrds.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00