ikiwiki/IkiWiki
Joey Hess ace3665f81 improve detection of ajax request
Firefox sent an accept header for application/xml, not application/json,
and also weakened the priority to 0.8. So that stuff is not to be trusted;
instead I found a better way: When an ajax upload is *not* being made,
the Upload Attachment button will be used, so enable ajax if an upload
is being made without that button having been used.

Also, testing with firefox revealed it refused to process a response that
was type application/json, and checking the demo page for the jquery file
upload plugin, it actually returns the json with type text/html. Ugh.
Followed suite.

Now tested with: chromium, chromium (w/o js), firefox, firefox (w/o js),
and w3m.
2011-06-17 15:17:20 -04:00
..
Plugin improve detection of ajax request 2011-06-17 15:17:20 -04:00
Setup Support YAML::XS by not passing decoded unicode to Load. Closes: #625713 2011-05-12 17:50:25 -04:00
CGI.pm record email of new users in userinfo for userlist 2011-06-09 10:58:05 -04:00
Receive.pm Fix typo that broke anonymous git push. 2010-10-23 15:25:29 -04:00
Render.pm Avoid escaping / characters in filenames when building the cgiurl, as this confuses eg, cvsweb. 2011-03-21 14:21:55 -04:00
Setup.pm remove debug code 2010-07-26 17:53:06 -04:00
UserInfo.pm remove deprecated admin prefs 2008-12-24 16:16:03 -05:00
Wrapper.pm let thru HTTP_ACCEPT 2011-06-15 20:02:14 -04:00