Lars Eggert
a4daf2630c
Merge branch 'lars/5.6.3-facelift' into lars/5.6.4-facelift
...
Conflicts:
ietf/doc/templatetags/ietf_filters.py
ietf/doc/views_charter.py
ietf/templates/doc/charter/edit_notify.html
ietf/templates/doc/charter/edit_telechat_date.html
ietf/templates/doc/document_ballot_content.html
ietf/templates/doc/document_history.html
ietf/templates/doc/edit_notify.html
ietf/templates/doc/edit_telechat_date.html
ietf/templates/doc/notify.html
ietf/templates/group/concluded_groups.html
- Legacy-Id: 8429
2014-10-14 11:48:57 +00:00
Henrik Levkowetz
3f130f393d
Merged in [8359] from rcross@amsl.com:\n fix get_or_create_nominee() to create Alias for new Person.
...
- Legacy-Id: 8392
Note: SVN reference [8359] has been migrated to Git commit c71d1d1ef6
2014-10-12 19:23:06 +00:00
Henrik Levkowetz
25423f6779
Added some formset attributes which are needed by the current Django (1.6) code. A better way would maybe be to use formset_factory(), but a simple invocation of that gives other problems. Leaving as is for now, to get a patch out so the nomcom chair can get on with things.
...
- Legacy-Id: 8370
2014-09-29 21:16:55 +00:00
Ryan Cross
c71d1d1ef6
fix get_or_create_nominee() to create Alias for new Person. commit ready for merge.
...
- Legacy-Id: 8359
2014-09-26 22:19:22 +00:00
Ole Laursen
065660b66f
Replace the gigantic incumbent email drop-down in the NomCom tool with an
...
AutocompletedEmailField, also show the name of the incumbents and not
just their email addresses on the list page
- Legacy-Id: 8281
2014-08-18 11:52:08 +00:00
Ole Laursen
f7ac066059
Integrate Secretariat tools MultiEmailField with the one in
...
utils/fields.py, also fix a couple of issues in NomCom tool (spelling
bugs and avoid overwriting base_fields on forms with dynamic data)
- Legacy-Id: 8276
2014-08-17 14:39:23 +00:00
Henrik Levkowetz
09f654b1f4
Merged in branch/iola/team-support from olau@iola.dk. This generalises and extends the group support for WGs and RGs so that also other groups, such as for instance the Edu Team, can have pages.
...
- Legacy-Id: 8013
2014-07-02 19:30:07 +00:00
Henrik Levkowetz
b02b0a96df
All tests pass, except for some pyflakes tests which I believe are fixed in trunk.
...
- Legacy-Id: 7579
2014-04-06 20:04:36 +00:00
Henrik Levkowetz
563f584a9e
Made ietf/nomcom pyflakes-clean. Removed some dead code.
...
- Legacy-Id: 7476
2014-03-15 19:26:01 +00:00
Henrik Levkowetz
5bef5d11ae
Made doc/ pyflakes-clean.
...
- Legacy-Id: 7462
2014-03-15 16:09:47 +00:00
Ole Laursen
ab382a726f
While cleaning up the Javascript includes in the nomcom app, it turns
...
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
2014-01-10 14:06:36 +00:00
Ole Laursen
f685e45ca5
Add select_related to PositionNomineeField in nomcom app to save a
...
bunch of database queries
- Legacy-Id: 7095
2014-01-10 13:13:03 +00:00
Ole Laursen
fdb6baf4e6
Use collections.OrderedDict instead of the SortedDict bundled with Django
...
- Legacy-Id: 7026
2013-12-20 11:00:07 +00:00
Ole Laursen
1dc860236f
Delete ADMIN_MEDIA_PREFIX which is now gone in Django, add a pattern to the static serving so a debug/test server serves the admin static files
...
- Legacy-Id: 6975
2013-12-18 11:45:36 +00:00
Ole Laursen
d66ac15fc2
Rewrite a bunch of HttpResponseRedirect + url reverse calls to instead
...
take advantage of the redirect shortcut (introduced in Django 1.1)
- Legacy-Id: 6960
2013-12-17 10:23:42 +00:00
Ole Laursen
84a9f49053
mimetype -> content_type (mimetype is deprecated)
...
- Legacy-Id: 6945
2013-12-16 16:53:47 +00:00
Ole Laursen
3febf7d216
Fix odd boolean calculation in nomcom view
...
- Legacy-Id: 6923
2013-12-13 16:48:37 +00:00
Ole Laursen
892c7d43ce
Reuse already fetched page instead of refetching it in nomcom test
...
- Legacy-Id: 6922
2013-12-13 16:47:57 +00:00
Ole Laursen
b302ffa814
Fix bug in nomcom test, it was sending a formset without the
...
corresponding management form values
- Legacy-Id: 6921
2013-12-13 16:45:04 +00:00
Ole Laursen
aea222edbc
Speed up nomcom tests a bit more by also only generating one certificate for the client per run
...
- Legacy-Id: 6920
2013-12-13 16:28:55 +00:00
Ole Laursen
466928edc2
Only generate the test NomCom certificate once instead to speed up the
...
Nomcom tests a bit
- Legacy-Id: 6919
2013-12-13 16:10:49 +00:00
Ole Laursen
652a5ca17a
Rewrite NomCom test data generation slightly based on the rewritten
...
base test data, fix problem with form previews
- Legacy-Id: 6918
2013-12-13 15:59:52 +00:00
Ole Laursen
81e5ced4ee
Remove "nominee" from FeedbackForm.Meta.fields, it doesn't exist in Feedback
...
- Legacy-Id: 6916
2013-12-13 15:48:13 +00:00
Ole Laursen
a2c13b70d1
Make sure all BooleanFields have an explicit default value (with
...
Django < 1.6 it used to be False implicitly)
- Legacy-Id: 6908
2013-12-13 13:30:07 +00:00
Ole Laursen
e32d346bc5
Fix security_hash problem in nomcom tests, it's no longer a separate function
...
- Legacy-Id: 6905
2013-12-13 13:10:52 +00:00
Ole Laursen
771591f0db
Remove use of obsolete generic delete view
...
- Legacy-Id: 6891
2013-12-12 12:06:09 +00:00
Ole Laursen
6a98fec2c3
Use built-in json module in Python instead of simplejson bundled with Django
...
- Legacy-Id: 6883
2013-12-11 16:59:19 +00:00
Ole Laursen
2c930d0f97
Get rid of remaining use of email_re, use validate_email instead
...
- Legacy-Id: 6882
2013-12-11 16:47:47 +00:00
Ole Laursen
883853f09c
Fix bug, TemplateView takes template_name, not template as parameter
...
- Legacy-Id: 6880
2013-12-11 16:43:34 +00:00
Ole Laursen
cfa0d47ca0
Port to new class-based generic redirect and simple template views, remove utils.lazy.reverse_lazy, it's now included in Django
...
- Legacy-Id: 6878
2013-12-11 16:36:09 +00:00
Ole Laursen
e63ac36b8f
Remove shim layer from ietfauth, delete some dead code and migrate
...
remaining importers of ietfauth.decorators to ietfauth.utils
- Legacy-Id: 6797
2013-12-05 16:24:03 +00:00
Ole Laursen
d0f2859631
Move NomCom announcements view to nomcom/, move message view to
...
message/, add tests, add redirects, fix a couple of small bugs in the
announcements view
- Legacy-Id: 6769
2013-11-28 17:55:10 +00:00
Ole Laursen
9457669310
Merge in changes from the old shimfree branch
...
- Legacy-Id: 6764
2013-11-27 12:55:50 +00:00
Henrik Levkowetz
afb09a0c71
Added code to the EditMembersFormPreview form class' post_post() method. This code was present in preview_post() but missing in post_post(). Fixes issue #1203 .
...
- Legacy-Id: 6723
2013-11-20 14:06:07 +00:00
Henrik Levkowetz
9c20739493
Fix typo and style detail.
...
- Legacy-Id: 6698
2013-11-08 18:53:22 +00:00
Henrik Levkowetz
c7c4afc6dd
It turns out that the get_user_email is called for every nominee listed on a feedback page, which is insane. But until the template can be rewritten to do this in a more sane way, we cache the lookup result.
...
- Legacy-Id: 6651
2013-11-04 20:47:54 +00:00
Henrik Levkowetz
801283f814
By preference, show the same email for a logged-in user as his login, if it
...
exists; otherwise show the newest active email address.
- Legacy-Id: 6644
2013-11-03 19:11:45 +00:00
Henrik Levkowetz
5f2da7ba9e
Merged [6486] from rjsparks@nostrum.com:
...
Slightly more than minimal changes to have questionnaire reminders go only to those nominees who have accepted but have not yet sent in a questionnaire for a given position
- Legacy-Id: 6573
Note: SVN reference [6486] has been migrated to Git commit 2a1b4c7775
2013-10-30 21:17:46 +00:00
Henrik Levkowetz
6928ff2927
Correct sequence typo.
...
- Legacy-Id: 6491
2013-10-26 15:32:04 +00:00
Henrik Levkowetz
56953d8027
Tweaked the email line lengths in the data migration.
...
- Legacy-Id: 6476
2013-10-21 22:09:59 +00:00
Henrik Levkowetz
d649fd5e10
Merged [6465] and [6466] from rjsparks@nostrum.com:
...
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
2013-10-21 20:12:00 +00:00
Henrik Levkowetz
47071ecade
Merged [6468] and [6469] from ejimenez@yaco.es:
...
Now incumbent can be None in positions.
Fixes #1156 .
- Legacy-Id: 6470
Note: SVN reference [6468] has been migrated to Git commit d4e37ac7a0d7fddc0317b0d95670a8de8cd32c2d
Note: SVN reference [6469] has been migrated to Git commit 0a315723ad6dd610d0c17e78edce2027b6868d4e
2013-10-21 17:07:09 +00:00
Henrik Levkowetz
5b003d3842
Missing import in nomcom file.
...
- Legacy-Id: 6393
2013-10-09 08:37:09 +00:00
Henrik Levkowetz
6c13e8027b
Fixed the language in some UI strings in the nomcom tool.
...
- Legacy-Id: 6358
2013-10-03 20:56:59 +00:00
Henrik Levkowetz
342bc5bf96
Merged in the merge work branch personal/henrik/r6270 which provides the agenda scheduling tool step 3, from a merge of branch/ssw/agenda/v4.70 from mcr@sandelman.ca; and also substantial fixes to the test framework, and more.
...
- Legacy-Id: 6328
2013-10-01 13:53:05 +00:00
Henrik Levkowetz
d2df8cac78
Fixed the manyfold duplicated position names in the position selection drop-down list in the nomcom private index page. Fixes issue #1137 .
...
- Legacy-Id: 6327
2013-10-01 13:42:30 +00:00
Henrik Levkowetz
e4f4467725
Changed tests to use our own subclassed TestCase, and changed almost all fixtures to be perma_fixtures.
...
- Legacy-Id: 6320
2013-09-30 20:36:20 +00:00
Ole Laursen
c191a691e0
Remove "names" fixture from all tests, since it's now loaded once just
...
after creating the test database through the global test fixture
mechanism - this speeds up multiple tests considerably
- Legacy-Id: 6305
2013-09-29 17:35:59 +00:00
Henrik Levkowetz
254d6f70dd
Removed some debug statements.
...
- Legacy-Id: 6290
2013-09-27 17:32:35 +00:00
Henrik Levkowetz
8d9c1e9177
Changed 'requirement' to 'desired expertise' in user-visible places in the nomcom app.
...
- Legacy-Id: 6259
2013-09-24 17:50:02 +00:00
Henrik Levkowetz
5d9e6c0b6a
Fixed the language of the nomination confirmation message.
...
- Legacy-Id: 6250
2013-09-23 19:27:17 +00:00
Henrik Levkowetz
86cf15cd9f
Fixed some bugs in the EncryptedTextField class.
...
- Legacy-Id: 6246
2013-09-22 19:26:48 +00:00
Henrik Levkowetz
0016c69b61
Added an index page for nomcoms, at /nomcom/, with links to nomcom pages and announcements, where they exist.
...
- Legacy-Id: 6245
2013-09-22 18:59:24 +00:00
Ole Laursen
5924024513
Swap the arguments to group.has_role so they match the arguments to
...
the existing has_role
- Legacy-Id: 6218
2013-09-20 13:46:47 +00:00
Ole Laursen
0eed4ad9e5
Add has_role(role_name, user) utility to group, used like
...
group.has_role("chair", request.user). Remove the NomCom specific
group utilities, apparently they're not actually used.
- Legacy-Id: 6217
2013-09-20 11:23:17 +00:00
Henrik Levkowetz
da4177e1cd
Rename the nomcom public keys path setting.
...
- Legacy-Id: 6166
2013-09-18 18:10:27 +00:00
Henrik Levkowetz
641bcccfba
Replaced the ad_hoc nomcom_member_required() decorator with our generic role_required() decorator. Changed access permission for nomcom-chair only pages to also permit nomcom advisor access (this lets the previous nomcom chair explain and assist as needed). Also tweaked some text strings in the email feedback pipe script.
...
- Legacy-Id: 6160
2013-09-16 21:05:25 +00:00
Henrik Levkowetz
2a2389d17f
Merged in branch/iola/shimfree@6083. This cleans up and moves relevant code from idrfc/ to doc/. There should now only be a bit of old wrapper code left in idrfc; that will go away when the remaining models which use it are cleaned up.
...
- Legacy-Id: 6117
2013-09-09 17:45:36 +00:00
Henrik Levkowetz
d85e0ae2de
Added template rendering verification on dbtemplate form submission in order to catch errors in edited templates before they are committed. This should prevent server 500 errors when rendering dbtemplate pages. Fixes issue #1113 .
...
- Legacy-Id: 6079
2013-08-28 12:50:17 +00:00
Ole Laursen
d2b9adf3cb
Move ietf_filters templatetag from idtracker/ to doc/
...
- Legacy-Id: 6053
2013-08-14 15:11:24 +00:00
Henrik Levkowetz
8b6f122314
Fixed nomcom email pipe command to read from stdin if no file given, and give better error messages.
...
- Legacy-Id: 5992
2013-08-08 12:25:03 +00:00
Henrik Levkowetz
6baea429aa
Merged in the nomcom app from ejimenez@yaco.es and esanchez@yaco.es, and accompanying dbtemplate app and the (standard) docutils module. Added some tweaks to get all tests to pass and migrations to run.
...
- Legacy-Id: 5948
2013-08-06 10:09:29 +00:00
Emilio A. Sánchez López
8a2931021d
Wrap feedback comments to avoid wide lines.
...
See #975
- Legacy-Id: 5783
2013-06-10 15:17:54 +00:00
Emilio A. Sánchez López
8638a1eca1
Remove debug code
...
See #975
- Legacy-Id: 5782
2013-06-10 11:04:01 +00:00
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
8e2a8f2daa
Fixed coding error.
...
See #1042
- Legacy-Id: 5755
2013-05-22 22:46:43 +00:00
Emilio Jiménez
7c481a6c81
convert to str
...
See #1042
- Legacy-Id: 5751
2013-05-22 19:30:40 +00:00
Emilio Jiménez
a8c81570ca
Add better functions to decode emails.
...
See #1042
- Legacy-Id: 5750
2013-05-22 19:23:20 +00:00
Emilio Jiménez
a41abe3054
Convert unicode to str.
...
See #1042
- Legacy-Id: 5749
2013-05-22 18:34:18 +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
0bc7e181cd
Change label "your email" and delete "your name"
...
Fixes #1041
- Legacy-Id: 5737
2013-05-15 09:48:27 +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 A. Sánchez López
42fe4ccf16
Change label and help text of the secondary mail addresses in the merge form. Fixes #1037
...
- Legacy-Id: 5715
2013-05-09 09:15:26 +00:00
Emilio A. Sánchez López
ad5c2ddae9
Add new nominations to the primary address of existing merged nominations.
...
Allow to enter a secondary address in the primary address of the merge form and the merge is done into the primary address of the secondary address (tongue-twister).
Fixes #1034
- Legacy-Id: 5714
2013-05-09 09:02:34 +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 A. Sánchez López
454128b165
Check valid public key. Fixes #1004
...
- Legacy-Id: 5711
2013-05-08 12:39:50 +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
a7fed41d2c
Show name of feedback provider.
...
Fixes #1012
- Legacy-Id: 5707
2013-05-08 07:43:15 +00:00
Emilio Jiménez
34ec539ff2
Show in all views the email of nominee
...
show the candidate phone in nomination feedback
Fixes #1011
- Legacy-Id: 5703
2013-05-07 20:25:30 +00:00
Emilio Jiménez
424a454fbb
Chage initial_text to show above of input in nominate form
...
Fixes #1010
- Legacy-Id: 5702
2013-05-07 19:11:55 +00:00
Emilio Jiménez
ddbfdf4b7b
change merge form, accepted vs any state: accepted, pending vs declined: declined
...
Fixes #1016
- Legacy-Id: 5701
2013-05-07 11:50:13 +00:00
Emilio A. Sánchez López
38480747b4
Add an example of the format in the private key form.
...
Check if the private key is valid.
Fixes #1004
- Legacy-Id: 5697
2013-05-06 12:21:31 +00:00
Emilio Jiménez
f795684305
Change edit nomcom to edit settings
...
Fixes #1006
- Legacy-Id: 5694
2013-05-02 20:52:09 +00:00
Emilio Jiménez
91afe9c420
Add initial text for nominations in position edit form.
...
See #1010
- Legacy-Id: 5691
2013-05-02 11:00:39 +00:00
Emilio Jiménez
4796e973ee
Do legible questionnaires and requirements
...
See #1008
- Legacy-Id: 5690
2013-05-02 10:38:52 +00:00
Emilio Jiménez
c3ff510ed0
Change questionnaire response view.
...
Fixes #1007
- Legacy-Id: 5689
2013-05-02 09:42:00 +00:00
Emilio A. Sánchez López
edb3b138f5
Add nomcom year to the context in post views of edit-member. Fixes #1005
...
- Legacy-Id: 5688
2013-05-02 08:37:07 +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
8182518242
Fixed questionnaire test
...
Ver #970
- Legacy-Id: 5686
2013-04-24 06:15:31 +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 A. Sánchez López
7122fafd2f
Refactor questionnaire form te select position and nominee in one widget. See #970
...
- Legacy-Id: 5666
2013-04-19 06:59:45 +00:00
Emilio A. Sánchez López
f81dd9a1ed
Compose the mail with the questionnaire using the header template and the questionnaire template. See #913 , #929
...
- Legacy-Id: 5599
2013-03-27 08:04:10 +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
be95a83dca
Add command to create feedbacks from emails.
...
See #975
- Legacy-Id: 5596
2013-03-26 11:57:45 +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
c5c33c29bc
Refactor nominee merge and more test
...
See #930
- Legacy-Id: 5588
2013-03-22 12:34:19 +00:00
Emilio Jiménez
34af67420c
fixed error questionnaire test.
...
See #970
- Legacy-Id: 5587
2013-03-22 10:35:41 +00:00
Emilio Jiménez
35f75289e3
Add questionnarie test.
...
See #970
- Legacy-Id: 5586
2013-03-22 10:32:52 +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
1715197ece
Save internal user in nominations.
...
See #913 #929
- Legacy-Id: 5584
2013-03-22 09:09:46 +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
55e843a4d8
refactor public key test.
...
See #905
- Legacy-Id: 5581
2013-03-21 12:26:45 +00:00
Emilio Jiménez
bd335e3a7b
now nominee has a nomcom field, it's necessary to separate nominees for distinct nomcom when two nomcom are active
...
when a nomcom is deleted, templates and files of nomcom are deleted too
change publick key file path in settings
See #976
- Legacy-Id: 5580
2013-03-21 12:16:23 +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
3f64b5303b
Delete receipt when the nomination and feedback are privates
...
See #929 #970
- Legacy-Id: 5575
2013-03-16 15:54: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
04ab58d1ae
Add test skel for feedback
...
See #970
- Legacy-Id: 5549
2013-03-11 07:52:23 +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
7cd0f0b49a
Add checkbox to send receipt to nominator.
...
See #913 #929
- Legacy-Id: 5547
2013-03-10 18:41:23 +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 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
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
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