improve user feedback for AJAX authentication
authorLunar <lunar@anargeek.net>
Tue, 14 Feb 2012 19:06:17 +0000 (20:06 +0100)
committerLunar <lunar@anargeek.net>
Fri, 24 Feb 2012 18:43:01 +0000 (19:43 +0100)
commit3d906c7df355df32dc28cec39620565c27555869
tree457a9981c4ce22393b47aafc270f31b1c59b8b16
parent1ca2191dbcbd8f67e353246202fca5ed30fc7929
improve user feedback for AJAX authentication

We now differenciate between bad credentials and issues arising while
performing the authentication. This allows us to properly notify users
when the IMAP server is not reachable.
lib/coquelicot/app.rb
lib/coquelicot/auth.rb
lib/coquelicot/auth/imap.rb
public/javascripts/coquelicot.auth.simplepass.js
public/javascripts/coquelicot.js