-
- Downloads
Update pull from benadida repository. (#3)
* View voter list as it is in voter file upload * Display the login type again. * Returning to the source fixed-size fonts * Add a proper label you can easily make selections. * Make cast vote email a template * Catch non json results when verifying election If you try to verify a election and you aren't allowed, you get the following error. This is because it is expected a JSON result and you get, for instance, a html page to login. VM65:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse (<anonymous>) at Function.HELIOS.Election.fromJSONString (helios.js:127) at Object.success (verify.html?election_url=/helios/elections/258ca6b1-afa4-49a3-b484-c31679d2ebbe:100) at success (jquery-1.2.2.min.js:28) at onreadystatechange (jquery-1.2.2.min.js:27) * Alter request.REQUEST to request.GET Step toward future django version upgrade Currently, the following warning is received: RemovedInDjango19Warning: `request.REQUEST` is deprecated, use `request.GET` or `request.POST` instead. * Fix to consider request.POST or request.GET * upgrade gunicorn * upgrade python * upgrading to heroku-16 * Remove spurious comment * correct # of votes * Tweak style for textarea size * Show trustee key in a textarea instead of open tab Google Chrome raises the following error when trying to show trustee key content as top frame data URL: "Not allowed to navigate top frame to data URL" See: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/GbVcuwg_QjM%5B1-25%5D Tested in Firerox 64.0.2, Chrome Version 71.0.3578.98 and Safari Version 12.0.3 * updated software versions * added workaround for gce for travis as per https://github.com/travis-ci/travis-ci/issues/7940 * Remove unused import causing deprecation warning Warning in the form: RemovedInDjango19Warning: "ModelXYZ" doesn't declare an explicit app_label Apparently this happens because it tries to import models before app configuration runs * upgrade google APIs * Ignore .idea folder * Do not try to run more commands if any fails * import and serve only enabled auth systems urls * Prevent trustee enumeration by returning the same 404 error both if trustee is not found or secret does not match Also, return a different 404 if election isn't found (instead of redirecting to home) * Add missing import * Dispatch worker method explicitly * Reduce cluttering and overlapping on imports * Order loaded voter files by date * Update random.js Setting randomWords paranoia level to 6, which is the default level suggested on https://github.com/bitwiseshiftleft/sjcl/wiki/Symmetric-Crypto#generating-random-bytes Also removing unreachable line at end of function.
Showing
- .gitignore 2 additions, 1 deletion.gitignore
- .travis.yml 3 additions, 0 deletions.travis.yml
- helios/__init__.py 0 additions, 2 deletionshelios/__init__.py
- helios/crypto/utils.py 9 additions, 1 deletionhelios/crypto/utils.py
- helios/templates/election_keygenerator.html 30 additions, 5 deletionshelios/templates/election_keygenerator.html
- helios/templates/trustee_check_sk.html 1 addition, 1 deletionhelios/templates/trustee_check_sk.html
- helios/templates/trustee_decrypt_and_prove.html 6 additions, 8 deletionshelios/templates/trustee_decrypt_and_prove.html
- helios/templates/voters_list.html 11 additions, 3 deletionshelios/templates/voters_list.html
- helios/urls.py 1 addition, 5 deletionshelios/urls.py
- helios/utils.py 2 additions, 12 deletionshelios/utils.py
- helios/views.py 40 additions, 40 deletionshelios/views.py
- helios_auth/auth_systems/facebookclient/djangofb/default_app/urls.py 1 addition, 1 deletion.../auth_systems/facebookclient/djangofb/default_app/urls.py
- helios_auth/auth_systems/google.py 2 additions, 2 deletionshelios_auth/auth_systems/google.py
- helios_auth/security/__init__.py 1 addition, 0 deletionshelios_auth/security/__init__.py
- helios_auth/urls.py 21 additions, 19 deletionshelios_auth/urls.py
- heliosbooth/boothworker-single.js 8 additions, 4 deletionsheliosbooth/boothworker-single.js
- heliosbooth/css/forms.css 1 addition, 1 deletionheliosbooth/css/forms.css
- heliosbooth/js/jscrypto/random.js 1 addition, 2 deletionsheliosbooth/js/jscrypto/random.js
- heliosbooth/templates/question.html 12 additions, 7 deletionsheliosbooth/templates/question.html
- heliosverifier/css/forms.css 1 addition, 1 deletionheliosverifier/css/forms.css
Loading