Commit graph

21 commits

Author SHA1 Message Date
vince0656
e33b91f852 Implemented full end-to-end encryption and decryption of an event using trustee public and secret keys. This required modification of the NodeJS crypto server to receive post data from the crypto_rpc py methods and for combining SKs together. Additionally, the new binary voting encoding scheme has been implemented for encryption and decryption of the event. General UI improvements have been made and as well as some other bug fixes 2018-07-07 09:52:47 +01:00
vincentmdealmeida
0c354cd542
Merge pull request #9 from vincentmdealmeida/EventPrep
General housekeeping such as adding package.json for Node server, bas…
2018-07-02 10:17:59 +01:00
vince0656
f82a380fa4 General housekeeping such as adding package.json for Node server, bash script for launching a celery worker and updating the readme to assist with launching the DEMOS2 app. Updated some models to include UI helper functions. Main work done is around event preparation - with a Celery worker running and the Node server, trustees are now emailed a link to prepare events. The event detail page has also had a bit of an overhaul to include additional information and to make it easier to use 2018-07-02 10:06:05 +01:00
vincentmdealmeida
de9eaa7881
Merge pull request #8 from vincentmdealmeida/BackendValidation
Updated create_event view backend to perform full form validation as …
2018-06-26 17:14:23 +01:00
vince0656
5f32806506 Updated create_event view backend to perform full form validation as a backup in the event the front end validation is incorrect and or is disabled. In the event that the back-end validation detects an error, the form is returned with the original data and errors informing the user on what pieces of information need corrected 2018-06-26 17:02:36 +01:00
vincentmdealmeida
e7440e6d6e
Merge pull request #7 from vincentmdealmeida/ValidationV2.3
Modified the polls view for an event to show not only the list of pol…
2018-06-20 17:42:48 +01:00
vince0656
8210ef6995 Modified the polls view for an event to show not only the list of polls but the options as well as the min and max selections. Updated the updateForm() JS method to update the IDs of the form inputs for each polls so that they're in sync with the poll count. This completes the front-end JS validation and the create event form. 2018-06-20 17:36:22 +01:00
vincentmdealmeida
dd3fdbd41e
Merge pull request #6 from vincentmdealmeida/ValidationV2.2
Added delete functionality for events. Additionally, made improvement…
2018-06-19 15:22:58 +01:00
vince0656
7b2ac3ec38 Added delete functionality for events. Additionally, made improvements and fixed to the validation for event creation. 2018-06-19 15:15:42 +01:00
vincentmdealmeida
11abbb8a64
Merge pull request #5 from vincentmdealmeida/MultiplePolls
Upgraded the Create Event page and back-end view to handle the creati…
2018-06-18 17:12:37 +01:00
vince0656
1314e3be1a Upgraded the Create Event page and back-end view to handle the creation of multiple polls in one go. The validation has been appropriately updated to cope with the UI changes but requires further testing. Event list has been updated to include a delete action which requires wiring up to a back-end function which hasn't been created yet 2018-06-18 17:09:44 +01:00
vincentmdealmeida
6b70b01e06
Merge pull request #4 from vincentmdealmeida/ValidationV2.1
Fixed a validation error where the form wouldn't validate after the d…
2018-06-15 10:11:03 +01:00
vince0656
498b87dba5 Fixed a validation error where the form wouldn't validate after the deletion of a row within any table 2018-06-15 10:09:15 +01:00
vincentmdealmeida
6fc6628995
Merge pull request #3 from vincentmdealmeida/ValidationV2
Added full input validation to the Create Event including unique even…
2018-06-14 17:04:09 +01:00
vince0656
7fb52678ef Added full input validation to the Create Event including unique event name and slug validation as well as email validation. The appropriate template data required for this from Event and DemoUser model is passed in upon rendering the create_event html template 2018-06-14 17:01:14 +01:00
vincentmdealmeida
4ca3398683
Merge pull request #2 from vincentmdealmeida/ValidationV1
Laid the ground work for client-side input validation by setting up a…
2018-06-13 13:05:10 +01:00
vince0656
6dcafb2e9a Laid the ground work for client-side input validation by setting up a fn that's triggered before the form is submitted. The vote start and end date time is now being validated both server side and client side and now includes UTC offsets 2018-06-13 13:01:55 +01:00
vincentmdealmeida
a0863e4ade
Merge pull request #1 from vincentmdealmeida/reCAPTCHAv2Fix
Quick Fixes
2018-06-12 14:34:41 +01:00
vince0656
49ed8a3ec9 Updated README to include details on dependency requirements. Updated Create Event page to disable the create button when the reCAPTCHA expires 2018-06-12 14:30:23 +01:00
vince0656
c2010f5a4f Updated the README 2018-06-12 13:52:41 +01:00
vince0656
7084bd1b16 Initial commit of DEMOS2 with the upgraded 'Create Event' UI. However, there is no input validation currently 2018-06-12 13:31:38 +01:00