Commit graph

103 commits

Author SHA1 Message Date
Emilio A. Sánchez López 49117c1622 Nominations are processed first and then the rest of feedback.
Select multiple resizable when selecting a nominee.
Fixed command that gets the feedback from email to retrieve the full address on the from header.
Added a "feedback pending" link in the top bar.
Fixed escaped html tags when displaying comments from feedback.
See #975
 - Legacy-Id: 5781
2013-06-10 10:42:11 +00:00
Emilio A. Sánchez López c12400641a Redesign the feedback pending template. See #975
- Legacy-Id: 5774
2013-06-05 06:32:17 +00:00
Emilio Jiménez 66c4a32c57 Add subject field to feedback model
New form to fill feedback mail via web.
Fixes #1042 #1043
 - Legacy-Id: 5748
2013-05-21 12:31:24 +00:00
Emilio Jiménez f998e0d29f Add form to change email of nominees.
Refactor merge form to avoid merge old duplicate nominees.
See #1013
 - Legacy-Id: 5747
2013-05-20 18:17:31 +00:00
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 a6fdc52397 Refactor code to send reminders in a unique function
Refactor reminder command.
Fixes #1040
 - Legacy-Id: 5736
2013-05-15 09:08:49 +00:00
Emilio Jiménez 3d25fa261e now reminder form sends accept and decline links, and questionnaires.
See #1040
 - Legacy-Id: 5735
2013-05-15 07:24:32 +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 A. Sánchez López a7af017465 Rename member_required decorator to nomcom_member_required
Rename private_key_required decorator to nomcom_private_key_required
Fixes #1038
 - Legacy-Id: 5716
2013-05-09 09:19:06 +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 f3b3a21ccb Show if nomcom has a public key
Fixes #1033
 - Legacy-Id: 5712
2013-05-08 12:59:55 +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 3d747dbcb7 Delete * of date field in remider dates
Fixes #1031
 - Legacy-Id: 5709
2013-05-08 11:00:47 +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 Jiménez 85ab39f1ab Refactor feedback, now feedback belong many to many nominees
See #913 #929 #930 #965 #970 #975
 - Legacy-Id: 5598
2013-03-26 13:35:58 +00:00
Emilio Jiménez da031d0a7b Better not show private key by default
See #947
 - Legacy-Id: 5597
2013-03-26 12:05:17 +00:00
Emilio Jiménez 69c704de2d better errors control in feedback form.
See #970
 - Legacy-Id: 5593
2013-03-25 18:02:00 +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 7f7b771650 Improve save questionnaire data.
See #970
 - Legacy-Id: 5583
2013-03-22 09:03:58 +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 fb772fc7aa Refactor managers to improve queries.
See #969
 - Legacy-Id: 5548
2013-03-11 07:48:52 +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 7118f9c498 Add filter to nominations
See #965
 - Legacy-Id: 5480
2013-03-05 13:04:44 +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 0a62744875 Fixed error in public nomination process
Refactor view permissions.
See #913 #919
 - Legacy-Id: 5181
2013-01-14 10:53:59 +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 140ebaad31 * Fix some decorators in private index and private merge views
* Add edit chair test
 * Add new roles in nomcom_test_data function
 * Add member rolename to name app fixtures
 * Change urls names
See #904 #919
 - Legacy-Id: 5163
2013-01-03 14:40: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 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 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 53cde2730a Add send mails fuctions about nominations.
See #913
 - Legacy-Id: 5140
2012-12-18 12:53:30 +00:00
Emilio Jiménez d9df44e2b1 Add initial view for nominations
Chage migrate step with another state: Pending
Improve admin views of nomcom app.
See #913
 - Legacy-Id: 5117
2012-12-11 15:13:06 +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 230f6cfae7 view only accessible by the secretariat that allows to assign the email of the members and the chair of the NomCom
See #904
 - Legacy-Id: 5066
2012-11-20 00:40:57 +00:00