Henrik Levkowetz
e223ba5e2c
Fixed a test issue.
...
- Legacy-Id: 15098
2018-05-01 12:12:16 +00:00
Henrik Levkowetz
198c003b6a
Merged in [15084] from rjsparks@nostrum.com:
...
Corrected the implementation of clear_ballot. Added a test for it. Restored functionality to ballot popups that was missing because a template variable was not passed in.
- Legacy-Id: 15092
Note: SVN reference [15084] has been migrated to Git commit ee346edaba
2018-04-26 13:41:22 +00:00
Henrik Levkowetz
a4768bb514
Removed unused imports. Added some explicit orderings to avoid pagination issues.
...
- Legacy-Id: 14664
2018-02-21 23:54:31 +00:00
Henrik Levkowetz
06362ec046
Got rid of old migrations and created new initial migrations.
...
- Legacy-Id: 14662
2018-02-21 23:46:22 +00:00
Henrik Levkowetz
5638cf3da3
Changed all usage of ForeignKey and OneToOneFiled in model.py files to the compatibility versions from ietf.utils.models.
...
- Legacy-Id: 14661
2018-02-20 15:36:05 +00:00
Henrik Levkowetz
fcc22da623
Removed a chunk of code that won't be executed in all test environments from the test coverage measurements
...
- Legacy-Id: 14550
2018-01-23 17:29:41 +00:00
Henrik Levkowetz
f996fe825f
Added more test data for the eligibility view, in order to exercise all parts of the view code.
...
- Legacy-Id: 14541
2018-01-19 15:21:33 +00:00
Henrik Levkowetz
374950ede8
Removed code generating nomcom page urls which doesn't resolve any more. Added a comment about the eligibility view for previous nomcoms.
...
- Legacy-Id: 14540
2018-01-19 15:06:23 +00:00
Henrik Levkowetz
7921d613d5
Merged in [14533] from rjsparks@nostrum.com:
...
Add a page for the nomcom-chair and the secretariat to view who the datatracker thinks is nomcom eligible. Related to #2257 .
- Legacy-Id: 14538
Note: SVN reference [14533] has been migrated to Git commit 4ce6b934b8
2018-01-17 22:32:00 +00:00
Robert Sparks
4ce6b934b8
Add a page for the nomcom-chair and the secretariat to view who the datatracker thinks is nomcom eligible. Related to #2257 . Commit ready for merge.
...
- Legacy-Id: 14533
2018-01-17 17:58:58 +00:00
Henrik Levkowetz
c3f444eaf1
Merged in [14511] from rjsparks@nostrum.com:
...
Allow all the nomcom private tabs to show on the nomcom chair configuration help page. Fixes #2303 .
- Legacy-Id: 14513
Note: SVN reference [14511] has been migrated to Git commit 5835e52759
2018-01-11 17:14:21 +00:00
Henrik Levkowetz
16e155356e
Merged in [14506] from rjsparks@nostrum.com:
...
Improved the resilience of the formatted_email nomcom filter. Fixes #1764 .
- Legacy-Id: 14512
Note: SVN reference [14506] has been migrated to Git commit 2dd1f0da29
2018-01-11 16:41:15 +00:00
Robert Sparks
5835e52759
Allow all the nomcom private tabs to show on the nomcom chair configuration help page. Fixes #2303 . Commit ready for merge.
...
- Legacy-Id: 14511
2018-01-11 16:28:19 +00:00
Henrik Levkowetz
78304b4d57
Merged in [14505] from rjsparks@nostrum.com:
...
Make extracting lists of nomcom-related email addresses easier for the nomcom chair. Fixes #1852 .
- Legacy-Id: 14510
Note: SVN reference [14505] has been migrated to Git commit c8b451094a
2018-01-11 16:07:21 +00:00
Henrik Levkowetz
0bd9dbaab3
Removed some unused imports.
...
- Legacy-Id: 14509
2018-01-11 15:00:02 +00:00
Henrik Levkowetz
5e0335bbe3
Removed some dead code.
...
- Legacy-Id: 14508
2018-01-11 13:22:04 +00:00
Robert Sparks
2dd1f0da29
Improved the resilience of the formatted_email nomcom filter. Fixes #1764 . Commit ready for merge.
...
- Legacy-Id: 14506
2018-01-10 22:42:18 +00:00
Robert Sparks
c8b451094a
Make extracting lists of nomcom-related email addresses easier for the nomcom chair. Fixes #1852 . Commit ready for merge.
...
- Legacy-Id: 14505
2018-01-10 21:54:10 +00:00
Robert Sparks
94f4e9ac58
Simplify the edit nomcom members forms. Fixes #1756 . Commit ready for merge.
...
- Legacy-Id: 14504
2018-01-10 18:26:20 +00:00
Henrik Levkowetz
a5e5bb1aab
Expanded one of the nomcom tests a bit, and updated a fixture to match the current /nomcom/default/email/feedback_receipt.txt template.
...
- Legacy-Id: 14223
2017-10-20 14:34:03 +00:00
Henrik Levkowetz
ac8e18480e
Added tests for correct nomcom email from-address to the nomcom tests, and did some refactoring to improve test failure messages.
...
- Legacy-Id: 14176
2017-09-28 09:09:51 +00:00
Henrik Levkowetz
166c7531f9
Changed the nomcom code to permit nomcom year interpolation in the nomcom from-address and in nomcom templates. Changed the nomcom from-address setting to 'nomcom-chair-{year}@ietf.org'.
...
- Legacy-Id: 14175
2017-09-27 21:20:59 +00:00
Henrik Levkowetz
2c1438c240
Moved unidecode_name from utils.text to person.name.
...
Modified UserFactory to use a new locale for each new user, instead of the
same locale for a whole test run. This (almost) ensures the exercise of
code to deal with non-ascii names, something which would not happen if a
locale with ascii names was chosen at the start of a run.
Modified name.initials() to not use non-word characters as initials.
Modified unidecode_name() to do more normalization, to conform to the
conventions used in internet-drafts.
Added saving of the factory-boy random state in order to be able to re-run
a test suite with the same pseudo-random sequence as in a previous failed
run.
Fixed an issue with email formatting in test_api_submit_ok().
Modified the draft author extraction code to deal better with names with
embedded apostrophes.
- Legacy-Id: 14141
2017-09-20 15:36:30 +00:00
Henrik Levkowetz
33b275b04f
Added ietf.utils.text.unidecode_name() and replaced various uses of unidecode() with it, in order to normalize the generation of ascii versions of names, to avoid different practices in space stripping and space normalization in different parts of the code.
...
- Legacy-Id: 14128
2017-09-17 15:12:18 +00:00
Henrik Levkowetz
e393b83f6b
Merged in [14058] from rjsparks@nostrum.com:
...
Further refinements to the nominee status table. Related to #2261 .
- Legacy-Id: 14068
Note: SVN reference [14058] has been migrated to Git commit 7cecd9fe38
2017-08-23 17:30:00 +00:00
Henrik Levkowetz
2b2753635f
Merged in [14057] from rjsparks@nostrum.com:
...
Improve the nominee status table to serve as a nomcom dashboard. Fixes #2261 .
- Legacy-Id: 14067
Note: SVN reference [14057] has been migrated to Git commit 2dbb0766fd
2017-08-23 15:06:12 +00:00
Robert Sparks
7cecd9fe38
Further refinements to the nominee status table. Related to #2261 . Commit ready for merge.
...
- Legacy-Id: 14058
2017-08-16 21:59:51 +00:00
Robert Sparks
2dbb0766fd
Improve the nominee status table to serve as a nomcom dashboard. Fixes #2261 . Commit ready for merge.
...
- Legacy-Id: 14057
2017-08-16 20:42:33 +00:00
Henrik Levkowetz
4dad8cdf9a
Added a test to check for missing admin models, and added the admin models that were currently missing.
...
- Legacy-Id: 14021
2017-08-01 14:00:29 +00:00
Henrik Levkowetz
c4954e13b1
Added more test objects in test_merge_users(), and fixed an issue with merge_users() uncovered by the added testing.
...
- Legacy-Id: 13730
2017-06-29 14:53:00 +00:00
Henrik Levkowetz
3c727106a2
Merged in [13717] from rjsparks@nostrum.com:
...
Actually use the topic audience type in the feedback view. Fixes #2320 .
- Legacy-Id: 13728
Note: SVN reference [13717] has been migrated to Git commit 9638cb2e397beab18f3607b324518fd2900215f7
2017-06-29 12:52:25 +00:00
Henrik Levkowetz
b42f1cbeb5
Replaced the use of unaccent.asciify(), which has similar functionality to unidecode.unidecode(). Changed the draft parser to work exclusively with unicode text, which both makes the removal of unaccent easier, and takes us closer to Py35 compatibility. Adjusted callers of the draft parser to send in unicode.
...
- Legacy-Id: 13673
2017-06-18 18:23:18 +00:00
Ryan Cross
e9b7c5753e
Refactor ietf/bin/merge-person-records to facilitate testing. Add tests. Fixes #2162 . Commit ready for merge.
...
- Legacy-Id: 13567
2017-06-08 23:28:43 +00:00
Henrik Levkowetz
f2b0881dae
Corrected the add_topics migration
...
- Legacy-Id: 13525
2017-06-05 12:27:45 +00:00
Henrik Levkowetz
d041edf1b3
Merged in [13501] from rjsparks@nostrum.com:
...
Use a simpler widget for the public key file when editing a nomcom to remove confusion between clearing keys and clearing the form control. Fixes #2299 .
- Legacy-Id: 13519
Note: SVN reference [13501] has been migrated to Git commit ca76f5c8f0fbf0832440680381380995b0092ea7
2017-06-04 19:40:26 +00:00
Henrik Levkowetz
495169de21
Merged in [13474] from rjsparks@nostrum.com:
...
Allow the nomcom to collect feedback on arbitrary topics. Fixes #2256 and #1846 .
- Legacy-Id: 13506
Note: SVN reference [13474] has been migrated to Git commit 4813177086
2017-06-03 13:50:44 +00:00
Henrik Levkowetz
5b2087f910
Eliminated several variations on word wrapping, keeping only what used to be wrap_text(), but renamed as ietf.utils.text.wordwrap(). This performs better than django.utils.text.wrap() when there are indented text parts. Replaced django's default wordwrap filter with one calling ietf.utils.text.wordwrap in templates. Changed to triggered wrapping in some cases, with the maybewordwrap filter, which triggers on lines longer than 100 characters. This fixes the issue with undesired wrapping of reviews.
...
- Legacy-Id: 13505
2017-06-02 23:13:22 +00:00
Robert Sparks
4813177086
Allow the nomcom to collect feedback on arbitrary topics. Fixes #2256 and #1846 . Commit ready for merge.
...
- Legacy-Id: 13474
2017-05-30 19:54:31 +00:00
Robert Sparks
c49abdd557
Allow nomcoms to configure the feedback page to show nominee pictures. Fixes #2252 . Commit ready for merge,
...
- Legacy-Id: 13413
2017-05-23 22:18:04 +00:00
Robert Sparks
ab6820e938
Correctly calculate statistics on the nomcom private index page. Fixes #2254 . Commit ready for merge.
...
- Legacy-Id: 13400
2017-05-22 19:07:52 +00:00
Robert Sparks
ac8e5f5402
Make it possible to close nominations without closing feedback. Fixes #2255 . Commit ready for merge.
...
- Legacy-Id: 13399
2017-05-22 18:40:05 +00:00
Robert Sparks
1a18130c57
Avoid confusing messages saying a key has not been entered when it has. Fixes #2250 . Commit ready for merge.
...
- Legacy-Id: 13390
2017-05-17 21:02:20 +00:00
Robert Sparks
4b0fefeb3e
Revert an attempt to improve a nomcom test. Affects #2260 . Commit ready for merge.
...
- Legacy-Id: 13389
2017-05-17 16:45:58 +00:00
Robert Sparks
ceff54480c
Update the feedback count badge when new feedback is provided. Fixes #2260 . Commit ready for merge.
...
- Legacy-Id: 13388
2017-05-17 13:55:39 +00:00
Robert Sparks
cf382d30bb
Don't double-escape when showing feedback. Fixes #2297 . Commit ready for merge.
...
- Legacy-Id: 13383
2017-05-16 22:25:52 +00:00
Henrik Levkowetz
3bccc5b3e6
Converted the make/delete_dummy_nomcom scripts to a management command.
...
- Legacy-Id: 13236
2017-04-18 21:14:37 +00:00
Robert Sparks
0088273f5a
Adds scripts to create/delete a dummy nomcom to use in development environments. Commit ready for merge. Fixes #2283 .
...
- Legacy-Id: 13230
2017-04-18 16:13:14 +00:00
Henrik Levkowetz
14c748df98
Changed the creation of temporary test dirs to use names which include the test class name, in order to make it possible to run test cases in parallel. Disabled coverage testing when running in parallel (those classes cannot be pickled and distributed to the test runner threads, and also won't pass coverage data back). Tweaked the TestCase.tempdir() method.
...
- Legacy-Id: 13157
2017-03-27 21:41:18 +00:00
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