Commit Graph

203 Commits

Author SHA1 Message Date
Kiara Grouwstra e247b39d53 use portal url in mail 2023-01-27 23:43:37 +01:00
Kiara Grouwstra 4fab25f7e9 promote voting portal to default url 2023-01-27 23:27:08 +01:00
Kiara Grouwstra 846cdc7ffa let bbb update user presence 2023-01-27 23:21:31 +01:00
Kiara Grouwstra be0dc19b43 used_id -> user_id 2023-01-27 23:05:49 +01:00
Kiara Grouwstra 9bbde78904 proxy-proof votes: match by user id over email
also removes the used_id/voter_login_id distinction, which is moot
2023-01-27 23:01:53 +01:00
Kiara Grouwstra dd864b87f5 set user defaults on bulk import 2023-01-27 20:55:40 +01:00
Kiara Grouwstra 4ab4990d09 have user flags default on the db level 2023-01-27 19:34:00 +01:00
Kiara Grouwstra e023888b5c ditch user upsert for now
until we can set db-level default user token
2023-01-27 19:25:22 +01:00
Kiara Grouwstra 55d4c0b9c3 update stream link 2023-01-27 19:03:14 +01:00
Kiara Grouwstra c9aecdefb9 fix user index to add name
this is to facilitate emails getting duplicated for proxy voters
2023-01-27 18:28:57 +01:00
Kiara Grouwstra d40eb56002 also send invites to proxy votees
needed to distribute links to the voting portal
2023-01-27 18:28:21 +01:00
Kiara Grouwstra 5042a7f235 fix user index to add name
this is to facilitate emails getting duplicated for proxy voters
2023-01-27 18:24:09 +01:00
Kiara Grouwstra 18efca8863 also send invites to proxy votees
needed to distribute links to the voting portal
2023-01-27 18:23:34 +01:00
kiara 9d67656f44 add voting portal (#7)
de huidige opzet hier houdt in dat de tokens van leden voor een vergadering, voorheen alleen gebruikt voor hun persoonlijke links tot de digitale vergadering (die hun naam instelt in BigBlueButton en ze als aanwezig markeerde voor stemmingen), nu ook gebruikt worden voor de link naar de stem portaal.

implicatie hiervan is dat Ingang admins zo ook toegang krijgen tot de stem credentials, in plaats van enkel de systeembeheerders met toegang tot de Helios database.

waar die kennis iemand wel in staat stelt om namens een ander te stemmen, wordt dit risico in check gehouden doordat dit niet ongemerkt gaat: na het uitbrengen van een stem wordt er naar het bijbehorende email adres een bevestiging gestuurd.
het risico bij anderszins kwaadwillenden die de info verkrijgen is hetzelfde; gebruik ervan gaat niet ongemerkt.

waar het mogelijk zou zijn om van de bestaande token af te wijken voor dit doeleinde naar een hash niet zichtbaar voor Ingang admins, zou dit ook nadelen hebben.
af en toe hebben we leden voor wie de mailtjes uit Ingang niet makkelijk aankomen, in welk geval we nu handmatig een inlog link kunnen doorgeven.
mochten de nodige info hiervoor niet meer beschikbaar zijn voor degene die een ALV technisch runt, dan worden juist dit soort situaties weer lastiger.

Co-authored-by: Kiara Grouwstra <kiara@bij1.org>
Reviewed-on: #7
2023-01-27 14:47:10 +00:00
Kiara Grouwstra 2d7f9c3a42 deduplicate users as well 2023-01-27 14:39:51 +01:00
Kiara Grouwstra 55506a27a4 also switch dev/test db's to postgres 2023-01-27 13:18:12 +01:00
Kiara Grouwstra 525ddabe9e add uniqueness constraints to votes 2023-01-27 12:53:53 +01:00
Kiara Grouwstra 0082f11d58 upsert votes to deduplicate 2023-01-27 12:51:51 +01:00
Kiara Grouwstra db6a2e6ff1 add default dates for upsert 2023-01-27 12:39:54 +01:00
Kiara Grouwstra 0946cb124c switch to postgres 2023-01-27 12:28:12 +01:00
Kiara Grouwstra 7bc64b0740 destroy votes with their corresponding user 2023-01-26 23:46:40 +01:00
Kiara Grouwstra 94fe0b204c Revert "deepen routing resources"
This reverts commit 8dec8af5e5.
2023-01-25 19:27:58 +01:00
Kiara Grouwstra 4698655676 use url hash in voting link over query params
https://github.com/benadida/helios-server/pull/368
2023-01-25 14:11:07 +01:00
Kiara Grouwstra 8dec8af5e5 deepen routing resources 2023-01-24 16:37:04 +01:00
Kiara Grouwstra 62c03379c9 + votes#index 2023-01-24 16:36:42 +01:00
Kiara Grouwstra 217c76d0e4 add endpoint destroy votes for room 2023-01-24 16:36:24 +01:00
Kiara Grouwstra e1537e996a link imports from rooms#show 2023-01-24 16:35:07 +01:00
Kiara Grouwstra 3193daf664 add uniqueness constraint to votes to deduplicate 2023-01-24 16:17:53 +01:00
Kiara Grouwstra 8b96fa7637 protect vote resources 2023-01-24 16:17:12 +01:00
Kiara Grouwstra 4ab670ed87 complete voting portal
adds 'import votes' to rooms
2023-01-24 14:28:14 +01:00
Kiara Grouwstra 16d2ec77ed wip: vote 2023-01-23 22:30:26 +01:00
Kiara Grouwstra 2082cace93 update stream time 2023-01-23 22:29:47 +01:00
Kiara Grouwstra 878af971b9 some cleanup
- remove non-admin aanwezig endpoint
- consolidate endpoints to mark user presence
- skip count calculations for json format
- add endpoints to export all/absent voters
- fixed a bug wrt calculating presence

fix present/mark_presence endpoints
2023-01-23 20:11:48 +01:00
Kiara Grouwstra 60964428fd reapply "prepend helios user type 'password' in csv"
This reverts commit fb738ba612.
2022-09-19 15:11:04 +02:00
Kiara Grouwstra 56669af334 add postgres 2022-09-04 22:23:51 +02:00
Kiara Grouwstra 83b2b4253b Merge remote-tracking branch 'origin/ci' 2022-08-27 14:29:02 +02:00
Kiara Grouwstra b62b3ea458 fix link in readme 2022-08-26 23:31:56 +02:00
Kiara Grouwstra f01c770908 + bulk edit presence 2022-08-26 17:34:28 +02:00
Kiara Grouwstra 73a70ed2e5 syntax 2022-08-21 19:28:00 +02:00
Kiara Grouwstra 39d9758aa0 enlarge textarea email 2022-08-21 19:28:00 +02:00
Kiara Grouwstra 5d7f3130be test invites: fix variable 2022-08-21 19:28:00 +02:00
Kiara Grouwstra 25e391b202 facilitate sending test invite 2022-08-21 19:28:00 +02:00
Kiara Grouwstra 77e542a636 fix users delete method 2022-08-21 19:28:00 +02:00
Kiara Grouwstra cc0c208434 add bulk destroy room users 2022-08-21 19:28:00 +02:00
Kiara Grouwstra a2a610be17 ditch sample files 2022-08-21 19:28:00 +02:00
kiara 4ccc01ba95 '.woodpecker.yml' toevoegen 2022-08-15 17:33:16 +00:00
Kiara Grouwstra 5b84d7b08d Update stream.html.erb - redirect to ibm stream for 2022-07-02 2022-07-01 23:15:06 +00:00
Kiara Grouwstra d5e0664711 Update bulk.html.erb - eleborate on email 2022-05-21 12:24:48 +00:00
Kiara Grouwstra 954aead0a6 Update bulk.html.erb - name: pronouns 2022-05-21 12:20:27 +00:00
Kiara Grouwstra be59dc668a Update bulk.html.erb - clarify on PII access/clearance 2022-05-21 11:23:01 +00:00