Commit graph

2604 commits

Author SHA1 Message Date
Emilio A. Sánchez López 49ee366367 Split questionnaire template into questionnaire and introductori mail header. See #908. See #906
- Legacy-Id: 5204
2013-01-16 13:01:37 +00:00
Emilio Jiménez bf0747a8e9 Add duplicated field for nominees, it is necesary when chair marks duplicate nominations
Change questionnaires field in NomineePosition model to manytomany, becouse it is necessary whe chair marks duplicate nominations.
Add timestamp in NomineePosition objects to see wich nomineeposition object is the last one.
Better merge nominations, update questionnaires and state of primary nomineposition object
See #930
 - Legacy-Id: 5187
2013-01-15 16:14:00 +00:00
Emilio Jiménez 69a93c9f92 Check nomcom of nominations and that email is a nominee
See #930
 - Legacy-Id: 5184
2013-01-15 10:59:44 +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 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 57ccf2d5fc delete comment
See #905
 - Legacy-Id: 5171
2013-01-03 21:19:50 +00:00
Emilio Jiménez ec0429ed39 Add edit public key test
See #905
 - Legacy-Id: 5170
2013-01-03 21:17:53 +00:00
Emilio Jiménez 4b00c329cf Add nominate test.
See #913
 - Legacy-Id: 5169
2013-01-03 20:15:19 +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 9f9c7953ab Add edit members test.
See #904
 - Legacy-Id: 5164
2013-01-03 15:36:28 +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 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 5e3e4bfd2e Add a test to check encrypted feedback
Ver #913
 - Legacy-Id: 5157
2012-12-27 11:57:36 +00:00
Emilio Jiménez 79001600b9 Fix typo error.
See #913
 - Legacy-Id: 5156
2012-12-26 17:34:34 +00:00
Emilio Jiménez 5aad2aadff Add encrypted field to comment.
See #913
 - Legacy-Id: 5155
2012-12-26 17:24:27 +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 53cde2730a Add send mails fuctions about nominations.
See #913
 - Legacy-Id: 5140
2012-12-18 12:53:30 +00:00
Emilio Jiménez eb8b6af4ed * Add news fixtures of name for testing
* Add test data fuction for testing
* Add test case to check the default state and the unique constraint in NomineePosition class
* Override the save fuction of the NomineePosition class to set the state to pending by default
See #909
 - Legacy-Id: 5127
2012-12-14 18:53:10 +00:00
Emilio Jiménez 1f05730851 better migration steps with dependencies to avoid errors.
Delete get_state_default of NomineePosition class because the migrate command fails.
See #908 #909
 - Legacy-Id: 5124
2012-12-13 23:53:42 +00:00
Emilio Jiménez e088dcee05 fix typo error.
Ver #909
 - Legacy-Id: 5120
2012-12-13 18:13:44 +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 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 A. Sánchez López e6a49e03b9 Modified public_key field in the NomCom model to be not required. The chair will set the public_key after the NomCom object creation.
Added default templates for nomcom application.
Duplicate default templates when creating a new NomCom object or a new Position object.
Fixes #906
 - Legacy-Id: 5099
2012-12-05 13:25:02 +00:00
Emilio A. Sánchez López a34fbbadf5 Changed template_type field name to type and modified this field to point to DBTemplateTypeName in the name application
Changed help_text field name to variables.
Addded DBTemplateTypeName in the name application and updated the application fixture.
Fixes #908
 - Legacy-Id: 5098
2012-12-05 12:46:53 +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 b9e94b20d5 Refactor members and chair edit forms of group with the new models.
Delete public key edit form becouse FormPreview doesn't work with FileField see https://code.djangoproject.com/ticket/7808
See #904 #905
 - Legacy-Id: 5093
2012-12-03 17:28:08 +00:00
Emilio Jiménez ddb10c4b0e Add complete models of app nomcom
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
2012-12-03 13:41:10 +00:00
Emilio A. Sánchez López 8107a9b4ff Application to store templates in database. Fixes #908
- Legacy-Id: 5077
2012-11-27 12:02:43 +00:00
Emilio Jiménez cffa96cc7e Revert change in settings.py
See #904
 - Legacy-Id: 5074
2012-11-23 18:09:10 +00:00
Emilio Jiménez b11374ad6a Add view to edit groups public key. See #905
- Legacy-Id: 5073
2012-11-22 12:27:42 +00:00
Emilio Jiménez 587681b9ba Revert accidental changes.
See #905
 - Legacy-Id: 5072
2012-11-22 12:26:34 +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
Emilio Jiménez 8984e888f6 Refactor with new funcions: group.is_chair(user) and group.get_chair()
See #904
 - Legacy-Id: 5070
2012-11-22 11:26:48 +00:00
Emilio Jiménez 65afd10d4a Refactor mange group views:
* 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
2012-11-22 10:46:39 +00:00
Emilio Jiménez 53ca2abbe6 Add migration step to add a new type of group: nomcom
Change migration step to add role name "member"
See #904
 - Legacy-Id: 5068
2012-11-21 10:37:32 +00:00
Emilio Jiménez 7fc1216d24 Fixed url error
See #904
 - Legacy-Id: 5067
2012-11-20 07:56:06 +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
Henrik Levkowetz 6aad0f2ef8 Set version info to release version 4.34 before branching.
- Legacy-Id: 4783
2012-08-22 12:57:35 +00:00
Henrik Levkowetz 7467fa48a5 Tweaked the author extraction code to handle company names in the author list on the first page, when the company names contain a comma, such as for instance 'Foo Bar, Inc'.
- Legacy-Id: 4781
2012-08-22 12:52:32 +00:00
Henrik Levkowetz c90a26ca50 Merged [4772] from rjsparks@nostrum.com:
Liasion Manager:
* Patch from Yaco to avoid resetting the From field when changing other items on the form
* Gave the secretariat the ability to find/approve any unapproved liaisons
* Changed all the email code to use ietf.mail.utils (and removed the fake-mail concept)

Charter documents and the Agenda pages:
* Added charter documents to iesg/agenda and iesg/agenda/documents
* Synced the ordering of drafts on iesg/agenda and iesg/agenda/documents
* Allow setting a responsible AD for charter documents
* Changed the UI of the charter page to use editlink for changing attributes and buttons for actions (to align with drafts and conflict-reviews)

Moderator package:
* Refactor: Simplified access to the current BallotDocEvent from a Document
* Added functions to BallotDocEvents? to faciliate access to BallotPositionDocEvents?, both for all positions, and current AD postions.
* Updated the moderator package to use the Documents from _agenda_data.
* Added a filter to assist with rendering the moderator package.
* Fixed a bug where different functions in idrfc/views_ballot were using log_state_changed expecting different implementations (a cleanup task should reconcile the _three_ implementations in the codebase of that function).

Cleanup from codesprint:
* Removed some duplication between doc/util and doc/models by moving things into doc/models
* Do not show non-empty discuss text when the ballot position is not blocking
* Added a migration to update non-blocking ballot positions that have non-empty discuss text


DEPLOYMENT NOTES
Please be aware that migration step will take a few minutes to complete.

Fixes bug 865
 - Legacy-Id: 4780
Note: SVN reference [4772] has been migrated to Git commit e5c3a5adc5
2012-08-22 12:34:55 +00:00
Henrik Levkowetz 9bde5b91d6 Added support for conflrev documents based on branch /personal/rcross/v4.32@4722, but tweaked to return only the directory, not the full directory+name+ext path, in order to behave the same way as for other document types.
- Legacy-Id: 4779
2012-08-22 11:26:50 +00:00