live: Updated index.php folder
Merge branch 'master' into live
Merge branch 'master' into live
Merge branch 'live' of https://github.com/sillsdev/sfwebchecks into live
Merge branch 'master' into live
Merge branch 'master' into live
Merge branch 'master' into live
Merge remote-tracking branch 'origin/master' into live
Merge branch 'master' into live
Merge branch 'master' into live
Merge branch 'master' into live
add bower install file for angularFileUpload
In order to use angularFileUpload from GitHub you will need to run "bower install" on the server in the "src" folder.
wip add div to project edit question, script src causing error, js commented.
WIP on audio: how to create m3u URLs *correctly*

This proof of concept shows how to, given the (bare) filename of an
MP3 file, produce an .m3u file that is completely autogenerated in
Javascript (so that no server round-trip needs to occur) that can
then be downloaded by the user's browser and processed by whatever
program his system has associated with .m3u files (or audio/x-mpegurl
MIME types). The tricky part is that Angular automatically marks
data: URLs as unsafe unless they match a whitelist, but we don't
want to arbitrarily add 'data:' to the whitelist as that could open
a security hole if malicious Javascript gets injected. So we calculate
an appropriate data: URL fragment ("protocol://server.name/audio/"
encoded as base64), and add only that fragment to Angular's whitelist.
Thus, we can serve up .m3u files as data: URLs safely, without opening
any security holes.

Next step: turning the below into a directive that, given an MP3
filename, will construct appropriate "download" and "play" URLs.
Add base64 encode/decode functions for IE 9

The audio player code for producing .m3u files in Javascript relies
on the window.btoa() function being available, but that's only
supported in IE 10. To ensure that IE 9 (and earlier, but it's 9
that we really care about) works properly, we'll need this shim.

Source: http://code.google.com/p/gflot/source/browse/trunk/flot/base64.js?r=153
License: "This library is free.  You can redistribute it and/or modify it."
New "audioplayer" directive works

This directive creates two icons for playing audio, one speaker icon
to play the audio, and a second one to download it. The "play the audio"
icon creates an .m3u file on-the-fly (without needing a server roundtrip)
and sends that file to the browser to be downloaded and processed with
whatever the user's default .m3u handler is. The .m3u contains nothing
but an absolute URL to the .mp3 file, so that the user's audio handler
will start downloading (and streaming) the .mp3 right away. Result: audio
playing that should be straightforward across all browsers and platforms
without needing to use the HTML5 audio tag.

This commit also contains test code for the directive, in the form of
a #/robintest URL. In the next commit that test code will be removed,
in preparation for merging into master.
Removed test code for audioplayer directive

This is now ready to be merged into master.
wip file upload demo
wip: file upload works with drag & drop on small files