Commit graph

466 commits

Author SHA1 Message Date
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 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 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 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 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 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