Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
addToForm was an attempt to not use ajax but just the normal form submit.
Turns out it's easy to add hidden fields to the form but quite cumbersome to remove the password fields from teh form so they are not submitted over the eventually untrusted channel.
So we use ajax for updates just like for signup.
|
|
|
|
|
|
|
|
|
|
They should be independent of the url we're serving the page from
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also cleaned up the specs a bit
|
|
|
|
|
|
This way you don't have to add jquery to the lib dir for specs to work
|
|
|
|
|
|
* it returns the user
* it will return errors if sth. goes wrong.
|
|
|
|
|
|
also cleaned up some other parts that were not needed anymore
|
|
|
|
|
|
|
|
|
|
|
|
|
|
still missing some error handling, this in Django specs and the right http verbs
|
|
* still need to fix the algo for auth
* Also need to get the http verbs right
|
|
|
|
|
|
|
|
|
|
|
|
* srp_register now is part of srp.js
* moved server specific stuff into plainXHR (such as fetching the seed from the server)
* fixed tests
|
|
|
|
|
|
no real change yet
|
|
We can replace this if we want to use jquery ajax or similar. Also this has all the urls so it's super easy to overwrite
|
|
|