summaryrefslogtreecommitdiff
path: root/src/jqueryRest.js
AgeCommit message (Collapse)Author
2015-09-17Allow extra signup params from accountkaeff
For the feature/invite-codes in leap_web, we need to be able to pass an extra parameter (the invite code) from the signup form to the server. This approach allows the consumer of SRP to specify a custom implementation of Account that returns arbitrary `loginParams`, and Session will pass them on so that they become part of the XHR. - Split session.signup into signup and update to restrict extra params to signup only
2013-09-24use token from the form to submit password updateAzul
2013-07-04always use the API-only controller for all requests.elijah
2013-06-24refactor: separate account from sessionAzul
2012-11-26API: update instead of addToFormAzul
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.
2012-11-23addToForm: add the srp signup data to an existing formAzul
2012-11-22catch empty responsesAzul
2012-11-22using done/fail instead of success/error, handing all properties to failAzul
2012-11-20all request should go to absolute pathsAzul
They should be independent of the url we're serving the page from
2012-11-20sending the parsed json object to the error handlerAzul
2012-11-19further cleanupAzul
2012-11-19first step at cleaning up the srpAzul
2012-11-19works - but not quite what i want. Exposing jqXHR to error functionAzul
2012-11-14cleaned up unused parser functionsAzul
2012-10-30we're expecting json responses - so put .json in the urlAzul
2012-10-15all rest tests passing, using proper verbsAzul
2012-10-14got SRP v6a test setup and basic rest flow to workAzul
* still need to fix the algo for auth * Also need to get the http verbs right
2012-10-02using jquery for signup post now. login still pendingAzul
2012-08-21first round of making jslint happyAzul
2012-08-21moved srp-js files from lib to srcAzul