Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-09-17 | Merge remote-tracking branch 'alster/feature/extra-signup-params' | Azul | |
2015-09-17 | Allow extra signup params from account | kaeff | |
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 | |||
2015-09-16 | Remove jasmine html runner & outdated libs | kaeff | |
2015-09-16 | Run tests via cli using karma & PhantomJS for Travis | kaeff | |
Instead of jasmine's HTML runner, use karma to run specs. karma & all other dependencies are installed via npm and executed via node.js. This allows TravisCI to execute the test, and as a side effect, bumps the versions on the testing toolchain. - Install node.js - Run `npm install` once to download dependencies. - Run `npm test` to run all tests Things to bear in mind: - This commit adds general project information in `package.js` - `karma.conf.js` specifies the order in which src, spec and lib files are loaded - Switch to jasmine spies instead of sinon | |||
2013-10-14 | properly treat utf8 chars in password | Azul | |
utf-8 encoding used to be bundled with the SHA256 library. However we only want to utf8 encode strings that are actual user input. We do not want to encode the bytearrays that are used when hashing the hex values calculated during for SRP. So I separated the utf-8 encoding and the sha256 hashing. | |||
2013-07-12 | prefix incoming B too | Azul | |
2013-07-12 | also prefix our own toString(16) hex values | Azul | |
2013-07-12 | the 0 prefix in hex is essential for building the M and M2 strings | Azul | |
2013-06-24 | refactor: separate account from session | Azul | |
2013-06-24 | refactor: rename constants to calculate and clean up hash usage | Azul | |
2013-06-24 | refactor: separate calculations from session | Azul | |
2013-06-24 | fix bug wrt zero padding of hashes | Azul | |
2012-11-20 | all request should go to absolute paths | Azul | |
They should be independent of the url we're serving the page from | |||
2012-11-20 | sending the parsed json object to the error handler | Azul | |
2012-11-19 | removed the SRP class - using just a plain srp object now | Azul | |
2012-11-19 | first step at cleaning up the srp | Azul | |
2012-11-19 | works - but not quite what i want. Exposing jqXHR to error function | Azul | |
2012-11-14 | removed outdated django remote and all related files | Azul | |
Also cleaned up the specs a bit | |||
2012-11-12 | adopting tests to new .json urls | Azul | |
2012-11-12 | specifying charset and fetching jquery remotely | Azul | |
This way you don't have to add jquery to the lib dir for specs to work | |||
2012-10-17 | hand success and error messages to identify by default | Azul | |
also cleaned up some other parts that were not needed anymore | |||
2012-10-16 | use M2 as the key for the server auth | Azul | |
2012-10-16 | added unit tests for session calculations | Azul | |
2012-10-15 | expecting the salt to be send with key salt | Azul | |
2012-10-15 | all rest tests passing, using proper verbs | Azul | |
2012-10-14 | calculating the right M and M2! | Azul | |
still missing some error handling, this in Django specs and the right http verbs | |||
2012-10-14 | got SRP v6a test setup and basic rest flow to work | Azul | |
* still need to fix the algo for auth * Also need to get the http verbs right | |||
2012-10-12 | got signup to work in accordance with py srp | Azul | |
2012-10-02 | using jquery for signup post now. login still pending | Azul | |
2012-10-02 | fixed restful signup test | Azul | |
2012-08-21 | moved srp-js files from lib to src | Azul | |
2012-08-21 | moved on with refactoring | Azul | |
* srp_register now is part of srp.js * moved server specific stuff into plainXHR (such as fetching the seed from the server) * fixed tests | |||
2012-08-13 | seperated session from the srp flow - login tests pass, signup fail | Azul | |
2012-08-04 | started implementing a restful signup | Azul | |
2012-08-04 | copied jqueryRest and restful specs from django | Azul | |
no real change yet | |||
2012-08-03 | moved all xhr related stuff to a seperate class | Azul | |
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 | |||
2012-07-20 | moved src to lib and use relative path in require_tree | Azul | |
2012-07-20 | INCOMPATIBLE: major restructuring of the repository | Azul | |
* removed Django code - we're keeping the tests - so I hope the two can still be used together * removed js packer - everyone has their own packaging strategy these days * cleaned up the repository - we only have js so javascript directory does not make much sense |