Commit graph

1044 commits

Author SHA1 Message Date
Emilio A. Sánchez López ee1eec7de8 Refactored the feedback pending list. Now you can classify feedback as any type of feedback.
The feedback of a type that is not related to a nominee is classified inmediatly.
The feedback of a type that is related to a nominee must be completed with the nominee information.
Created a view to list feedback that is not related to nominees (e.g. offtopic)
Changed the command that retrieves feedback from email to add the subject inside the comment and to set the author using the from field of the email.
Fixes #1036. Fixes #1035
 - Legacy-Id: 5738
2013-05-15 16:33:01 +00:00
Emilio Jiménez 7042e8896a now you can see new feedback types
See #973
 - Legacy-Id: 5726
2013-05-12 18:46:53 +00:00
Emilio Jiménez 3cbdecd3c3 Show a message if there is or not a private kay in the user session
See #1033
 - Legacy-Id: 5713
2013-05-08 16:19:03 +00:00
Emilio Jiménez 868a82a327 Change message when public key does not exists
Refactor context views
Add new templatetags to check if the nomcom has public key
Fixes #1030
 - Legacy-Id: 5710
2013-05-08 12:37:12 +00:00
Emilio Jiménez faa62e2b4d Change button name.
Fixes #1032
 - Legacy-Id: 5708
2013-05-08 10:43:10 +00:00
Emilio Jiménez a7fed41d2c Show name of feedback provider.
Fixes #1012
 - Legacy-Id: 5707
2013-05-08 07:43:15 +00:00
Emilio Jiménez 34ec539ff2 Show in all views the email of nominee
show the candidate phone in nomination feedback
Fixes #1011
 - Legacy-Id: 5703
2013-05-07 20:25:30 +00:00
Emilio Jiménez 424a454fbb Chage initial_text to show above of input in nominate form
Fixes #1010
 - Legacy-Id: 5702
2013-05-07 19:11:55 +00:00
Emilio A. Sánchez López 38480747b4 Add an example of the format in the private key form.
Check if the private key is valid.
Fixes #1004
 - Legacy-Id: 5697
2013-05-06 12:21:31 +00:00
Emilio Jiménez f795684305 Change edit nomcom to edit settings
Fixes #1006
 - Legacy-Id: 5694
2013-05-02 20:52:09 +00:00
Emilio Jiménez cf50683e65 Fixed Cut-paste error in questionnaire view.
Fixes #1009
 - Legacy-Id: 5693
2013-05-02 11:15:27 +00:00
Emilio Jiménez d35d53e21c Hide link "pending feedback" to members
Fixed typo error.
Fixes #1015
 - Legacy-Id: 5692
2013-05-02 11:13:01 +00:00
Emilio Jiménez 4796e973ee Do legible questionnaires and requirements
See #1008
 - Legacy-Id: 5690
2013-05-02 10:38:52 +00:00
Emilio Jiménez c3ff510ed0 Change questionnaire response view.
Fixes #1007
 - Legacy-Id: 5689
2013-05-02 09:42:00 +00:00
Emilio Jiménez 9409776be8 change "Questionnaire Response" label
See #1003
 - Legacy-Id: 5687
2013-05-02 08:03:24 +00:00
Emilio Jiménez 519d628cde Add command to send reminders
Add fields date an interval in nomcom models to send reminders
Refactor some managers
Add help_text to pending feedback form
Limit types in pending feedback form
See #969 #975
 - Legacy-Id: 5683
2013-04-23 08:24:21 +00:00
Emilio A. Sánchez López 6898c51490 Merge position and nominee into one field in the feedback pending forms.
Style the feedback pending forms. 
See #975
 - Legacy-Id: 5668
2013-04-19 07:46:23 +00:00
Emilio A. Sánchez López 5a0963b78c Fix typo. See #970
- Legacy-Id: 5667
2013-04-19 07:00:14 +00:00
Emilio Jiménez da52637e9b Not show nominees and nominee positions duplicated
See #970 #973
 - Legacy-Id: 5589
2013-03-22 13:22:37 +00:00
Emilio Jiménez bf38ef3c34 Improve to manage pending feedback errors.
See #975
 - Legacy-Id: 5585
2013-03-22 09:28:51 +00:00
Emilio Jiménez 139ab194c9 Add questionnaire skel view
Add feedback test
Fixed labels in feedback form
See #970
 - Legacy-Id: 5582
2013-03-21 18:33:02 +00:00
Emilio Jiménez a9c33ed9f1 Add view to edit nomcom
Merge public key edit view whith nomcom edit view
Add view to delete nomcom
Add hash url to accept o decline nominations
Change new nominee template to include hash urls
See #976 #977
 - Legacy-Id: 5578
2013-03-19 17:51:09 +00:00
Emilio Jiménez d3731ce77e Fixed queryset of feedback pending.
See #975
 - Legacy-Id: 5577
2013-03-18 13:31:45 +00:00
Emilio Jiménez 40fd14da25 * Add skek view to manage feedback generated from email.
* Now, nominee, type and user fields in feedback model can be null
See #975
 - Legacy-Id: 5576
2013-03-17 21:34:25 +00:00
Emilio Jiménez 29064193a3 * Add feedback view by nominee
* Refactor EncryptedTextField
 * Add feedback model managers 
 * Add templatetag to get person from author email
See #973
 - Legacy-Id: 5574
2013-03-16 15:43:32 +00:00
Emilio Jiménez 4fec10183d Feedback refactor:
* Now Feedback have manytomany to posotions, so a feedback email can be associated to few positions.
 * Add user and time field to nomination model
 * Delete feedbacks and questionnaires field from nomineeposition model, now feedback model has all information about nominations, feedback and quiestionnaires
 * Add user field to Feedback model to know the nomcom meber who made the nomination, regardless of the real author
 * Add nomcom field to Feedback and refactor EncryptedTextField, it's necessary to encrypt the comments with the nomcom public key.
 * Template tag to decrypt feedback has been improved, now It isn't necessary the view context has the private key variable.
 * Add skel view to view feedback
 * Delete hidden fields from private and public feedback form
 * Refactor private index view to show total number of questionnaires and to show if the nomienee has questionnaires or not
See #970
 - Legacy-Id: 5571
2013-03-15 10:05:28 +00:00
Emilio Jiménez b1f1ceb826 Add public and private complete views to do comments
Add new manager for position model
Add templatetag to see the total number of nominations by user on a position
Add feedback receipt template 
See #970
 - Legacy-Id: 5554
2013-03-12 15:47:49 +00:00
Emilio Jiménez 50dd5ba30b Add skel view to provide comments to nominees
See #970
 - Legacy-Id: 5488
2013-03-06 17:45:30 +00:00
Emilio Jiménez ea4b6389d6 * Add new view and mail template to reminder to the nominees to accept (or decline) the nominations
* Create model managers to return nominee by nomcom, so nominees list by position belongs to a specific nomcom
 * Refactor forms with new managers
See #965 #969
 - Legacy-Id: 5487
2013-03-06 16:08:21 +00:00
Emilio Jiménez da351ed06a Add batch actions form to change nomination states.
See #965
 - Legacy-Id: 5481
2013-03-05 16:20:32 +00:00
Emilio Jiménez f2681fe634 See #965
* list of all nominees along with their accept or decline status
 * reports of the accept or decline status both per nominee as well as per open position.
 * summary report containing statistics (total/accept/decline/no response)
 - Legacy-Id: 5478
2013-03-05 10:17:16 +00:00
Emilio A. Sánchez López 9b00517449 View to enter a private key that will be encrypted and saved into the user session.
Util functions to encrypt/decrypt the private key.
Decorator to redirect to the private key input view if there is no key defined in the user session.
Templatetag 'decrypt' that decrypts text using the private key provided to the templatetag.
Fixes #947
 - Legacy-Id: 5335
2013-01-30 16:48:19 +00:00
Emilio A. Sánchez López 20320ea9ff Views for manage nomcom positions
Views for edit templates related to nomcom group and nomcom positions
Refactored some strings in html templates
Allow the secretariat to access the same views and view the same links as the chair
Fixes #914
 - Legacy-Id: 5334
2013-01-30 08:26:15 +00:00
Emilio Jiménez 51f24f047c Add edit public key and edit members views to private area.
See #904 #905
 - Legacy-Id: 5315
2013-01-22 16:36:52 +00:00
Emilio Jiménez 7e830643e5 Add nominee merge view.
See #930
 - Legacy-Id: 5183
2013-01-14 19:00:25 +00:00
Emilio Jiménez 34a72e0914 Remove old template.
See #913 #929
 - Legacy-Id: 5182
2013-01-14 11:12:13 +00:00
Emilio Jiménez de7bab7de4 Add nomination private process
See #929
 - Legacy-Id: 5180
2013-01-13 20:34:27 +00:00
Emilio Jiménez 7e3a6a3cff * Add nominate test
* If nomcom doesn't have public key, community users wont can nominate.
See #913
 - Legacy-Id: 5166
2013-01-03 17:31:34 +00:00
Emilio Jiménez 8b0c358810 Move some views to the private area
Refactor edit_chair, edit_members and edit_publickey with the news decorators and form styles
fixed error in the role_required decorator
See #904 #905
 - Legacy-Id: 5162
2013-01-02 15:33:21 +00:00
Emilio Jiménez cca4924597 Create views skel for private area.
Create new decorators to test if user is nocom member
News function in Group model to get the group members
Move util functions to utils.py module
Improve passes_test_decorator function so test_func accept more params.
See #919
 - Legacy-Id: 5161
2012-12-29 00:52:52 +00:00
Emilio Jiménez 34cd15018e Refactor templates inheritance
See #919
 - Legacy-Id: 5160
2012-12-28 07:33:44 +00:00
Emilio Jiménez 2a1f41ea44 add position description
See #919
 - Legacy-Id: 5159
2012-12-27 20:29:57 +00:00
Emilio Jiménez 1e3e65fcbf Add requeriments and questionnaires views
See #919
 - Legacy-Id: 5158
2012-12-27 20:16:31 +00:00
Emilio Jiménez e1a518720b Add javascript to change initial text related with position
Refactor nomcom forms.
See #913
 - Legacy-Id: 5154
2012-12-26 12:00:25 +00:00
Emilio Jiménez ecc584465b Apply form styles
See #913
 - Legacy-Id: 5153
2012-12-26 08:01:57 +00:00
Emilio Jiménez e42b5015e7 Add navigation bar for nomcom pages.
Add views and template skel for nomcom pages.
Modify nomcom templates fixtures
Modify initialize functions for nomcom templates
Add view tests for nomcom pages.
Add navset styles for horizontal items
See #919
 - Legacy-Id: 5152
2012-12-25 11:39:36 +00:00
Emilio Jiménez 43516e5542 I forgot the template to nominate.
See #913
 - Legacy-Id: 5119
2012-12-11 15:56:57 +00:00
Emilio Jiménez 9c527ccd45 Apply styles to form error.
See #904 #905
 - Legacy-Id: 5096
2012-12-04 18:29:22 +00:00
Emilio Jiménez bcdeaf3004 Refactor public key edition view.
TODO: put styles in css file
See #905
 - Legacy-Id: 5094
2012-12-04 10:00:36 +00:00
Emilio Jiménez 1b976ab6d1 Add view to edit groups public key.
See #905
 - Legacy-Id: 5071
2012-11-22 12:08:09 +00:00