Commit Graph

1014 Commits

Author SHA1 Message Date
Benson Muite 57fb1358b3 Remove broken Prêt à Voter link 2023-01-04 13:00:01 -05:00
Benson Muite 1f28c31412 Update incorrect Scantegrity link 2023-01-04 13:00:01 -05:00
Edmar Martineli 017a53c6ac fix copy help_email when copying election 2022-05-29 14:32:38 -04:00
Ben Adida 68afb1e9a0 simplified the template for additional info to make it more flexible. 2022-03-31 14:49:11 +00:00
Ben Adida e76171f57a removed extraneous class 2022-02-06 14:10:26 -05:00
Ben Adida b7195a0c83 small patch to make menu work on mobile. Ultimately need to upgrade foundation. 2022-02-06 14:08:09 -05:00
Ben Adida 8feb285cfa simpler templates 2022-01-28 16:13:27 -05:00
Ben Adida 08c187498d additional guidance throughout the voting process 2022-01-27 21:28:20 -05:00
Ben Adida b92f1d44ff explain tracker, fix layout 2022-01-21 17:57:54 -05:00
Ben Adida d2d2ab07d1 small tweaks 2022-01-17 16:22:53 -05:00
Ben Adida 02049ba7eb more tweaks 2022-01-15 15:20:55 -05:00
Ben Adida ab322e5217 nicer buttons, lighter text, clearer submission 2022-01-15 14:59:20 -05:00
Ben Adida 849564f59b tweaks to FAQ for 2022 2022-01-15 14:31:57 -05:00
Ben Adida ee7d0370e7 more streamlining of text, removal of 'smart' from ballot tracker cause that doesn't mean much. 2022-01-15 14:24:12 -05:00
Ben Adida 6c181fc903 simplify language that no one is reading anyways, get the audit out of the way of the most common path. 2022-01-15 13:23:20 -05:00
Ben Adida 3695c8d68b no name, use email instead for password voters 2022-01-14 02:49:31 +00:00
Ben Adida 9c7f1384ee ensure that a password voter has at least an empty user info dictionary to prevent later errors 2022-01-14 02:44:38 +00:00
Ben Adida b18e3f6fdf fix padding 2022-01-12 23:43:41 +00:00
Ben Adida 19555c3e5e improved vote casting confirmation email 2021-12-05 19:57:36 +00:00
Ben Adida 02b1959f0f add per question random order 2021-12-05 14:47:27 -05:00
Christian Boltz f5b021e361 Drop superfluous x bits on pyton module and changelog
helios_auth/auth_systems/oauthclient/oauth/CHANGES.txt and
helios_auth/auth_systems/oauthclient/oauth/__init__.py
should/will never be executed, therefore `chmod -x` them.
2021-12-05 13:56:38 -05:00
Ben Adida 9a39b4e573 don't error out if session has been cleared on cast done page. 2021-12-05 18:46:11 +00:00
Christian Boltz d62ef20271 Use substr() instead of substring() in SQL query
SQLite doesn't know substring() - only substr() works.

In MySQL, MariaDB and PostgreSQL), substring() and substr() do the same.
2021-12-05 12:17:57 -05:00
Christian Boltz d37ee8c2af Open voter_stream in rb (binary) mode
... which is what unicodecsv.reader expects.

This reverts 35b5cdab4d which causes the
tests to error out with

```
======================================================================
ERROR: test_add_voters_file (helios.tests.ElectionModelTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/helios-server/helios/tests.py", line 80, in test_add_voters_file
    vf.process()
  File "/tmp/helios-server/helios/models.py", line 806, in process
    voters = list(self.itervoters())
  File "/tmp/helios-server/helios/models.py", line 767, in itervoters
    for voter_fields in reader:
  File "/usr/lib/python3.6/site-packages/unicodecsv/py3.py", line 55, in __next__
    return self.reader.__next__()
  File "/usr/lib/python3.6/site-packages/unicodecsv/py3.py", line 51, in <genexpr>
    f = (bs.decode(encoding, errors=errors) for bs in f)
AttributeError: 'str' object has no attribute 'decode'
```
2021-12-05 12:16:13 -05:00
Ben Adida 9a4b29514f format for ADMINS was wrong, fixing. 2021-12-05 11:54:54 -05:00
Pau Argelaguet 3d1e83948b Making Helios Booth responsive
Adding redis

Working on responsive booth

Using compatible font

Cleaning up CSS

Adding redis

Revert adding redis

Adding redis

Adding AWS region name

Revert email change

Adding space on question numbers

Adding space on question numbers

Update runtime.txt

Update requirements.txt
2021-12-05 11:38:03 -05:00
Ben Adida 7b5a8b8d63 feat: allow sending email directly via mailgun API as an option 2021-10-17 17:14:54 -07:00
Ben Adida 607e6b5c2a
Merge pull request #240 from millosolomillo/master
Getting from env ADMIN email and name
2021-10-07 14:22:04 -07:00
Ben Adida e0e1d1f131 fix bug introduced in previous PR with password uploads 2021-10-07 13:11:32 +00:00
Ben Adida 500c1b7b59 fixed UTF BOM 2021-10-07 12:17:20 +00:00
Ben Adida 35b5cdab4d try U 2021-10-07 12:03:41 +00:00
Ben Adida e94b9528ec show available voter types 2021-10-07 11:55:19 +00:00
Ben Adida ed351f4b81 remove link while figuring out error 2021-10-07 00:42:24 +00:00
Ben Adida c478731837 allow viewing a vote by full hash so we don't do quite as many DB queries. 2021-10-07 00:42:24 +00:00
Ben Adida 1da79be336
Merge pull request #320 from lizthegrey/lizf.github-batch
allow bulk upload of non-password users
2021-10-04 20:23:35 -07:00
Liz Fong-Jones e3f3ad427c avoid double-creating users 2021-09-27 12:17:26 -07:00
Liz Fong-Jones 99e1c17935 fix obvious errors 2021-09-17 12:10:06 -07:00
Liz Fong-Jones 6e1aaafa77 add voter_type to preview 2021-09-17 11:46:37 -07:00
Liz Fong-Jones 1a95b5f3ae wip 2021-09-17 11:24:53 -07:00
dependabot[bot] 093a5e9775 Bump django from 2.2.19 to 2.2.24
Bumps [django](https://github.com/django/django) from 2.2.19 to 2.2.24.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.2.19...2.2.24)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-12 15:52:31 -04:00
Edmar Martineli 7036d553a4 The election object was not provided when the email is sent 2021-09-12 15:52:01 -04:00
Liz Fong-Jones 05a27888b8 instantiate gh auth flow 2021-08-15 14:55:04 -07:00
Ben Adida 9308a72e29 update python 2021-02-28 18:45:37 -08:00
Ben Adida f4432615f6 hash utility should return an ascii string by default, was previously hidden by too-smart django rendering which is no longer the case. 2021-02-28 18:14:25 -08:00
Ben Adida b6d54e47aa move to django 2.2 2021-02-28 18:14:25 -08:00
dependabot[bot] 9fa9fa95ab Bump bleach from 1.4.1 to 3.3.0
Bumps [bleach](https://github.com/mozilla/bleach) from 1.4.1 to 3.3.0.
- [Release notes](https://github.com/mozilla/bleach/releases)
- [Changelog](https://github.com/mozilla/bleach/blob/master/CHANGES)
- [Commits](https://github.com/mozilla/bleach/compare/v1.4.1...v3.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 19:36:47 -08:00
Ben Adida 4f31b432ff
Merge pull request #202 from edmarmartineli/election-view-detail
Show election help email address to election administrator, start and end voting date to election administrator and voters.
2021-02-21 19:32:22 -08:00
Ben Adida 60e6629bd6
Merge branch 'master' into election-view-detail 2021-02-21 19:31:28 -08:00
Itamar Reis Peixoto 3431846b46 Import Helios Models After Django Setup 2021-02-21 19:28:34 -08:00
Ben Adida cd0b10f75c handle badly formed timestamp 2021-02-22 02:35:44 +00:00