Skip to content
Snippets Groups Projects
Select Git revision
  • b52a755d493f68262dd498e4266469798319eda7
  • test default protected
  • master protected
  • original
  • pirati-backup protected
  • beta-2
  • beta-1
  • v3.1.4
  • v3.1.3
  • v3.1.2
  • v3.1.1
  • v3.1.0
  • v3.0.16
  • v3.0.15
  • v3.0.14
  • v3.0.13
  • v3.0.12
  • v3.0.11
  • v3.0.10
  • v3.0.9
  • v3.0.8
  • v3.0.7
  • v3.0.6
  • v3.0.5
  • v3.0.4
25 results

utils.py

Blame
    • millosolomillo's avatar
      b52a755d
      Update pull from benadida repository. (#3) · b52a755d
      millosolomillo authored
      * 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.
      Update pull from benadida repository. (#3)
      millosolomillo authored
      * 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.
    02-disabled-text-input.mustache 40 B
    {{> atoms-text-input(disabled: true) }}