in order to autogenerate dotted path url pattern names. Updated a number
of url reverses to use dotted path, and removed explicit url pattern names
as needed.
Changed some imports to prevent import of ietf.urls before django
initialization was complete.
Changed 3 cases of form classes being curried to functions; django 1.10
didn't accept that.
Started converting old-style middleware classes to new-style middleware
functions (incomplete).
Tweaked a nomcom decorator to preserve function names and attributes, like
a good decorator should.
Replaced the removed django templatetag 'removetags' with our own version
which uses bleach, and does sanitizing in addition to removing explicitly
mentionied html tags.
Rewrote the filename argument handling in a management command which had
broken with the upgrade.
- Legacy-Id: 12818
let the private/public feedback pages share the same template, remove
the edit NomCom chair thing - there's no link to it and the
Secretariat can instead use the ordinary group management tool they
have available
- Legacy-Id: 8721
out nomcom.js is included in the wrong pages, and on the pages it is
actually useful in, it's obsolete, so delete it together with the
obsoleted AJAX view and the other JS left-over cruft in nomcom/, this
fixes an include 404 and removes the remaining dependency on
jquery-1.5.1 apart from the Secretariat tools
- Legacy-Id: 7097
Added the ability to send reminders to complete questionnaires to nominees in
the accepted state. Changed the send_reminders management command to not take
any arguments and run against all active nomcoms. Removed bugs from the
send_reminders management command and added tests for it. Adjusted several
dbtemplate titles and content.
Fixes bug 1157
- Legacy-Id: 6471
Note: SVN reference [6465] has been migrated to Git commit 22f356434a
Note: SVN reference [6466] has been migrated to Git commit a461e6c4a4
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
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
* 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
* 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
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
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
* 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
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
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
Add migration step to create nomcom models
Add admin interface to nomcom models. Maybe in a future we delete some model admin but now it's good to test
Add PUBLIC_KEYS_URL settings variable to define path where public keys are saved
Add new models in name app to use feedback type and nominee position state
Add admin interface for new name models
Add migration steps to create feedback type and nominee-position states
Comment urls.py until we refactor #904#905 tickets with the new model
See #909
- Legacy-Id: 5090
* Create a new models NomComGroup with public_key field. Default type is nomcom
* News urls and views to separate members and chair forms
* Add rolodex url when person not found.
* Views access is only for secretariat and chair roles
See #904
- Legacy-Id: 5069