Lars Eggert
8a70e9773d
Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
...
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Henrik Levkowetz
5f053ad21a
Cleaned up the remaining explicit url names, using dotted-paths to view
...
functions instead. In all almost 700 changes.
- Legacy-Id: 12923
2017-02-26 23:21:49 +00:00
Henrik Levkowetz
8930d29a8e
Merged in Django-1.10 upgrade work from ^/personal/henrik/6.43.1-django-1.10
...
- Legacy-Id: 12881
2017-02-19 18:18:00 +00:00
Henrik Levkowetz
cf4a4b02a7
Reworked the email address handling in order to be able to support non-ascii names as part of email address fields. Reworked the generation of user names in the test suite to generate names from multiple non-ascii locales. Fixes issue #2080 .
...
- Legacy-Id: 12872
2017-02-18 21:50:18 +00:00
Henrik Levkowetz
dd7b3eb71a
Stabilized a number of nomcom tests by enforcing queryset ordering.
...
- Legacy-Id: 12833
2017-02-13 21:37:41 +00:00
Henrik Levkowetz
9b23816a22
Stabilized a number of nomcom tests by enforcing queryset ordering.
...
- Legacy-Id: 12832
2017-02-13 20:58:28 +00:00
Henrik Levkowetz
e5f889764c
Fixed a problem with stability of test_accept_reject_nomination_edges(), and made some changes to make debugging this easier.
...
- Legacy-Id: 12829
2017-02-13 15:55:55 +00:00
Henrik Levkowetz
aa5e61d958
Updated all urlpatterns to use ietf.utils.urls.url() instead of django's,
...
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
2017-02-11 14:43:01 +00:00
Henrik Levkowetz
26fcce9c28
Brought back the nomcom nominee merge functionality which was inadvertently removed in January. There is now both a Merge Nominee and a Merge Person form, with additional instructions which should make it easier to choose the right one for the task.
...
- Legacy-Id: 12017
2016-09-22 14:23:20 +00:00
Henrik Levkowetz
4b0a9360f0
Merged in ^/branch/iola/event-saving-refactor-r10291, which refactors document saving to always use doc.save_with_history(events), and requires accompanying events. This branch also provides refactoring of recurring regexes in url patterns into a dictionary. As part of the merge, also refactored new code which didn't use the save_with_history() method.
...
- Legacy-Id: 11840
2016-08-23 10:52:08 +00:00
Henrik Levkowetz
e6a005dba6
Added a score of setting save/restores to test setup/teardown actions.
...
- Legacy-Id: 11436
2016-06-21 07:51:02 +00:00
Henrik Levkowetz
e552ff85b7
Tentatively comment out use of tempdir() in nomcom.tests.
...
- Legacy-Id: 10704
2016-01-16 22:30:05 +00:00
Robert Sparks
dc5ae398f2
Improved SearchablePersonField to show the primary email address for any search results where a name appears more than once.
...
Simplified the edit nominee form.
Replaced the merge nominee form with a request to the secretariat to merge Person records. Fixes #1847 .
Added merging nominees to the secretariat's person merging script.
Restructured the person merging script to make it testable.
Updated some tests to match changes to the mailtriggers that hadn't made it to the fixtures.
- Legacy-Id: 10625
2015-12-22 21:42:55 +00:00
Robert Sparks
aadcf2d056
Added selecting existing people to the workflow for chair classification of nominations. Renamed some utility functions to be slightly more self-documenting.
...
- Legacy-Id: 10620
2015-12-22 04:32:48 +00:00
Robert Sparks
fa53de03e3
Guide the workflow back to normal nominations after nominating a new person.
...
- Legacy-Id: 10619
2015-12-21 21:01:23 +00:00
Robert Sparks
85c13d65b4
Replaced the custom message infrastructure in the nomcom app with django.contrib.messages
...
- Legacy-Id: 10618
2015-12-21 20:46:56 +00:00
Robert Sparks
8261507e80
Added forms for the exceptional "create a new person for this nomination" workflow. Checkpointing before a round of simplification refactors.
...
- Legacy-Id: 10610
2015-12-18 23:11:24 +00:00
Robert Sparks
6bf4227974
Checkpoint: main nomination forms use SearchableEmailField
...
- Legacy-Id: 10609
2015-12-18 20:38:17 +00:00
Robert Sparks
de0b7c9a37
Checkpoint: views tests at 96%
...
- Legacy-Id: 10606
2015-12-16 23:12:40 +00:00
Robert Sparks
df571c2fcc
Improved test coverage (from 66 to 87%) - checkpointing before removing move_to_default
...
- Legacy-Id: 10602
2015-12-16 11:51:32 +00:00
Robert Sparks
9ddcd62c44
Allow nominees to add a comment when accepting or declining. Fixes #1845 .
...
- Legacy-Id: 10589
2015-12-14 03:26:43 +00:00
Robert Sparks
ea6d82846f
Avoiding an initialization problem by setting NOMCOM_PUBLIC_KEYS_DIR in settings_sqlitetest. This is not the best long term fix
...
- Legacy-Id: 10581
2015-12-11 17:30:13 +00:00
Robert Sparks
3bc615883d
normalizes management of a test directory for test nomcom public keys
...
- Legacy-Id: 10574
2015-12-11 04:01:11 +00:00
Robert Sparks
b653e8fe8a
Removed the description field from Position. Simplified the Position list and the Position edit form. Tweaked several places to make the pages more self documenting. Added a page to help nomcom chairs through setting up a new nomcom. Fixes #1867 and #1768 .
...
- Legacy-Id: 10565
2015-12-09 23:24:46 +00:00
Robert Sparks
f566a83d1d
Captured when nomcom members reviewed feedback for a given nominee last. Added badges when new feedback is available. Improved layout of feedback index page. Fixes #1850 .
...
- Legacy-Id: 10535
2015-12-02 23:25:42 +00:00
Robert Sparks
5bafd3d8fe
Conditioned behavior of views for concluded nomcoms. Fixes #1856 .
...
- Legacy-Id: 10521
2015-11-28 21:51:37 +00:00
Robert Sparks
e81b473282
Expose views for concluded nomcoms. Close feedback and nomination. Initial work on factory-boy based testing. Partially addresses #1856
...
- Legacy-Id: 10520
2015-11-25 22:17:41 +00:00
Robert Sparks
00e5762e20
Simplify the nomcom feedback comment form. Make that more obvious who receives mail when that form is used. Fixes #1849 .
...
- Legacy-Id: 10501
2015-11-16 21:46:29 +00:00
Henrik Levkowetz
cf7d794b09
Modified the test data to use some AD and WG chair names that contain non-ascii characters, and fixed test issues found.
...
- Legacy-Id: 10418
2015-11-04 07:34:56 +00:00
Ole Laursen
86c3a430d1
Merge in ^/branch/iola/event-saving-refactor-r10076, fixing a few problems
...
- Legacy-Id: 10298
2015-10-27 10:37:06 +00:00
Henrik Levkowetz
4a80395a63
Removed support for perma_fixtures, using the blobal test fixtures instead.
...
- Legacy-Id: 10228
2015-10-18 11:49:15 +00:00
Ole Laursen
73a41bb7e6
Summary: Fix problem with three NomCom tests that had a hard-coded id,
...
which doesn't necessarily work with the way transactions work in MySQL
- Legacy-Id: 10190
2015-10-12 15:03:00 +00:00
Robert Sparks
8a74604a1b
Done with the second pass focusing on test coverage. Lots of test tweaks, some new tests, a couple of bugs fixed. The session request code views need to be redone to allow testing.
...
- Legacy-Id: 10035
2015-08-21 16:39:00 +00:00
Robert Sparks
83753dd24e
Tests nomcom confirmation receipts. Fixes bug in submission blackout test where test was using local time, but view was using utc
...
- Legacy-Id: 10034
2015-08-20 04:23:40 +00:00
Henrik Levkowetz
85f9eee27b
Updated a set of nomcom tests to account for new facelift DOM attributes.
...
- Legacy-Id: 9361
2015-04-02 19:49:11 +00:00
Henrik Levkowetz
625347cd2f
Merged trunk@9354 to facelift copy
...
- Legacy-Id: 9357
2015-04-02 06:51:34 +00:00
Joel M. Halpern
8cab64c2fe
added some nomcom test cases. Commit ready for merge.
...
- Legacy-Id: 9317
2015-03-21 22:37:43 +00:00
Henrik Levkowetz
ddbb8c18a5
Updated the nomcom tests to use temporary test directories for data, instead of the regular values in settings.py
...
- Legacy-Id: 9248
2015-03-19 17:52:31 +00:00
Ole Laursen
a3399b0bcd
Summary: Port remaining parts of nomcom to bootstrap, fix some bugs,
...
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
2014-12-02 10:43:20 +00:00
Ole Laursen
87870ca954
Fix more test errors - now only two not yet fully ported views remain
...
- Legacy-Id: 8571
2014-11-03 16:39:41 +00:00
Henrik Levkowetz
0d61e270d6
Normalized a couple of NameModels subclasses.
...
- Legacy-Id: 8460
2014-10-23 21:14:41 +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
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
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
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
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