Commit Graph

47 Commits

Author SHA1 Message Date
Antoine Bartuccio 81fcf411c1
django2.2: forms fixs for new API 2019-10-08 22:46:38 +02:00
Antoine Bartuccio 97c316b62e
django2.2: replace removed is_anonymous() and is_authenticated to their now used counterparts 2019-10-08 22:46:03 +02:00
Antoine Bartuccio 12b6f0d488
django2.2: adapt DateTimeField in forms with the new API 2019-10-08 22:46:02 +02:00
Antoine Bartuccio 2616e8b24c
django2.2: relpace django.core.urlresolvers by django.urls 2019-10-08 22:46:01 +02:00
Antoine Bartuccio 3dda8eafc4 elections: use MarkdownInput for CandidateForm 2018-12-20 16:43:59 +01:00
Antoine Bartuccio cb58b00b6e
All: Apply Black coding rules 2018-10-05 21:52:55 +02:00
Antoine Bartuccio d49f7858d3
Better ui for group selection on election and wiki 2017-12-10 21:37:50 +01:00
Antoine Bartuccio 4217b92941
Avoid moving role order in election by reloading page 2017-12-05 14:22:59 +01:00
Antoine Bartuccio 2f3b481037
Improve deletion and add ordering on roles 2017-12-02 19:05:48 +01:00
Antoine Bartuccio 625b5132c4
Election list deletion and ux improvements 2017-12-01 19:45:28 +01:00
Antoine Bartuccio ea09604b2e Other line fix 2017-06-07 19:36:55 +02:00
Antoine Bartuccio b6a68fa090 Fix some ugly lines 2017-06-07 19:16:55 +02:00
Antoine Bartuccio c4389bb9cd Add a way for admin to delete elections and add archive system 2017-06-07 18:42:16 +02:00
Antoine Bartuccio 0076c9cdb4 Macro for pagination 2017-06-07 18:39:42 +02:00
Antoine Bartuccio d3fbc65cdc Pep8 for elections 2017-06-07 18:39:42 +02:00
Skia dea234f98a Change is_subscriber and was_subscriber to cached_properties 2017-02-24 02:59:59 +01:00
Antoine Bartuccio e3711533da Less precise election results 2017-01-10 19:06:34 +01:00
Antoine Bartuccio 2f2d5292de Some permissions fixs and security for atomic vote 2016-12-26 23:30:13 +01:00
Antoine Bartuccio 61e67898e1 Coherent create/edit/delete templates for elections 2016-12-25 23:49:02 +01:00
Antoine Bartuccio cd97901db1 Some date fix 2016-12-25 23:37:42 +01:00
Antoine Bartuccio 5449a4fca2 Little permission fix 2016-12-25 22:04:31 +01:00
Antoine Bartuccio c07f49305b Full CRUD for elections 2016-12-25 19:54:10 +01:00
Antoine Bartuccio 4f62863599 Pimp role and list forms and add edit for election 2016-12-25 19:54:10 +01:00
Antoine Bartuccio d7387005c0 Better role creation 2016-12-25 19:54:10 +01:00
Antoine Bartuccio 02913d91e6 Refactors Candidate form 2016-12-25 19:54:10 +01:00
Antoine Bartuccio 9d9c86ea0f Refactored has_voted 2016-12-25 19:54:10 +01:00
Antoine Bartuccio 37decde04d Adds an S in electionS 2016-12-25 19:54:10 +01:00
Jean-Baptiste Lenglet 64f5fef89f Display results only when the polls close 2016-12-25 19:54:10 +01:00
Jean-Baptiste Lenglet 1c761f9db2 Added results when the user is not voting 2016-12-25 19:54:10 +01:00
Antoine Bartuccio e8d54764bd Add election results 2016-12-25 19:54:10 +01:00
Jean-Baptiste Lenglet 9bb5951dac Removed request.user as user bc it already exists 2016-12-25 19:54:10 +01:00
Jean-Baptiste Lenglet fa9e4e5dc6 Tweaked Election view and added request.user as user 2016-12-25 19:54:10 +01:00
Jean-Baptiste Lenglet dfcddbd1fa Hide election detail parts when user cannot candidate or edit. 2016-12-25 19:54:10 +01:00
Jean-Baptiste Lenglet a3a5a0446d Finished main view. Some tuning are to be done. 2016-12-25 19:54:10 +01:00
Antoine Bartuccio 9ac1cab983 Add vote in database 2016-12-25 19:54:10 +01:00
Antoine Bartuccio 1f60fbd484 Uses election_detail for vote form 2016-12-25 19:54:10 +01:00
Antoine Bartuccio 938e2ce0a9 Fix rights in election 2016-12-25 19:54:10 +01:00
Antoine Bartuccio 67630fc9f8 Vote template 2016-12-25 19:53:04 +01:00
Antoine Bartuccio 521b61517b Functionnal vote form 2016-12-25 19:52:14 +01:00
Antoine Bartuccio e8ead338d0 Removed useless widget added previously + began voteform 2016-12-25 19:52:14 +01:00
Antoine Bartuccio 03754aba8a Can now add candidature 2016-12-25 19:52:14 +01:00
Antoine Bartuccio 51bb6c8472 Can add ElectionList and start of candidature form 2016-12-25 19:52:14 +01:00
Antoine Bartuccio d72d8366cf Add new widget (not tested) and new bdd scheme for elections 2016-12-25 19:52:14 +01:00
Antoine Bartuccio c604282b77 Nice display for elections 2016-12-25 19:52:14 +01:00
Antoine Bartuccio a284637190 Normally fixs tests 2016-12-25 19:52:14 +01:00
Antoine Bartuccio 135fa00e25 Fix database and add some view 2016-12-25 19:52:14 +01:00
Antoine Bartuccio d685e9ba29 Election bdd + first view 2016-12-25 19:52:14 +01:00