gnu-social/lib
Brion Vibber e48efd3222 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:48:56 -07:00
..
accountsettingsaction.php Merge branch '0.8.x' into 0.9.x 2009-08-27 11:16:45 -07:00
action.php move scripts to just before </body>, add event for scripts that need to be in <head> 2009-10-04 03:14:39 -04:00
api.php Added in credits. 2009-10-12 16:36:00 -07:00
apiauth.php Added in credits. 2009-10-12 16:36:00 -07:00
apibareauth.php Added in credits. 2009-10-12 16:36:00 -07: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 Merge remote branch 'laconica/0.8.x' into 0.9.x 2009-09-02 16:42:15 -04:00
commandinterpreter.php Don't trigger E_NOTICE when looking for commands in the notice input 2009-09-21 16:45:09 +12: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
curlclient.php statusize new HTTP classes 2009-09-15 22:31:52 -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
default.php remove inboxes option 2009-10-13 17:38:27 -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 remove string-checks from code using Notice::saveNew() 2009-09-29 17:25:52 -04:00
facebookutil.php Workaround for Facebook data store API behavior regression, fixes saving 2009-10-16 14:48:56 -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 Merge branch '0.8.x' into 0.9.x 2009-08-27 11:16:45 -07: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 Merge branch '0.8.x' into 0.9.x 2009-10-04 03:07:37 -04:00
httpclient.php statusize new HTTP classes 2009-09-15 22:31:52 -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 Merge branch '0.8.x' into 0.9.x 2009-08-27 11:16:45 -07: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 Merge branch '0.8.x' into 0.9.x 2009-08-27 11:16:45 -07:00
microid.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
noticeform.php Added hook to wrap the notice form data block 2009-10-05 14:17:55 +00:00
noticelist.php show delete button when user has deleteOthersNotice right 2009-09-27 21:11:45 -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 remove string-checks from code using Notice::saveNew() 2009-09-29 17:25:52 -04:00
omb.php Fix bad merge d7ae0ed4fd 2009-09-14 22:08:17 +02: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 Pluginize the URL shorteners 2009-09-03 14:58:50 -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
right.php user rights 2009-09-27 21:11:45 -04:00
router.php Moved group create API into its own action 2009-10-12 12:31:14 -07:00
rssaction.php Output If-Modified-Since header for all RSS 1.0 feeds (again) 2009-09-24 15:10:55 -07:00
schema.php make lib/schema.php phpcs-clean 2009-10-02 15:02:33 -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 Merge branch '0.8.x' into 0.9.x 2009-08-27 11:16:45 -07:00
Shorturl_api.php Pluginize the URL shorteners 2009-09-03 14:58:50 -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 CamelCase all function names in the API code 2009-10-09 17:53:35 -07:00
twitterbasicauthclient.php Added in credits. 2009-10-12 16:36:00 -07:00
twitteroauthclient.php Merge remote branch 'laconica/0.8.x' into 0.9.x 2009-09-02 16:42:15 -04:00
unblockform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
unqueuemanager.php 'easy' way to handle notices at queue time 2009-09-21 14:39:22 -04:00
unsubscribeform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
util.php Merge remote branch 'statusnet/0.8.x' into 0.9.x 2009-10-11 13:39:10 -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