Fix shebang line. This script is portable and does not require bash
which may not be installed on all systems.
don't rely on bash being present: use posix semantics when possible
when handline /.well-known/browserid bail out if config proxy_idps is not available; and tests for that
Create a generic tooltip type within the module to make the overall thing easier to grok.

* Prevent tooltips from being closed prematurely if it replaces an old tooltip.
* Add a "done" callback to the dom-jquery animation functions.
* Use the done in the tooltips to work towards the goal of remove direct jQuery calls.
Remove the Persona TOS/PP notice from everywhere but the authentication page.

The Persona TOS/PP is *only* shown to users who are not authenticated to Persona. Otherwise users have already agreed and no longer need to see it.
Move the Persona TOS/PP text above the submit button

fixes #2669
update version.js to run asynchronously and eliminate race conditions in code
Avoid sha pollution if the sha reported in ver.txt is incorrect.
Make sure fadeOut passes the done callback to the jQuery equivalent.

Make sure stopAnimations calls jQuery.stop
Further cleanup on the tooltip code at @seanmonstar's suggestion.

* Move animateTooltip into the Tooltip prototype.
* Clean up the tooltip singleton logic to be easier to follow.
Add a password length range check in validation.password that is used everywhere authentication password is used.
Add password length range tests everywhere a password is used to authenticate.
Remove the password length validation code from user.js.

* Validation is taken care of in validation.js now.
* Create a generic class of tests for testing authentication passwords - missing, too short, too long.
* Create a generic class of tests for set password operations - missing password, too short, too long, missing vpassword, password mismatch
Some further refinements to the tooltip code.

* Instead of using the BrowserID.Tooltip.shown variable for tests, add the BrowserID.Tooltip.visible() function.
* Everywhere that relied on BrowserID.Tooltip.shown directly has been converted to user testHelpers.testTooltipVisible()
* Add a test to check whether tooltip contents are escaped before being added to the DOM.
* In the tooltip code itself, turn the magic numbers into constants.

Thanks for the suggestions @_6a68!
Rename testInvalidNewPasswords to testInvalidPasswordAndValidationPassword for clarity.
When testing the set password password/vpassword failures, make sure a tooltip is displayed.
document changes in train-2012.01.18
fix typo in changelog (2013 is the year)
bump version to 2013.02.01 after branching 2013.01.18
Merge pull request #2949 from shane-tomlinson/issue_2943_auth_password_length_range

Issue 2943 auth password length range

Since @6a68 gave this the r+, merging.