Commit graph

530 commits

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