Henrik Levkowetz
40fb7b3588
Added a missing import.
...
- Legacy-Id: 16407
2019-07-06 19:22:37 +00:00
Henrik Levkowetz
40ab3c949f
Added missing code to skip coverage measurement for skippable tests.
...
- Legacy-Id: 16406
2019-07-06 17:27:49 +00:00
Henrik Levkowetz
e314bb4723
Undid delete of ietf/nomcom/fields; it's currently needed by ietf/nomcom/migrations/0001_initial.py
...
- Legacy-Id: 16403
2019-07-04 22:04:42 +00:00
Henrik Levkowetz
0679eaa8d4
Removed unused imports.
...
- Legacy-Id: 16402
2019-07-04 21:06:57 +00:00
Henrik Levkowetz
f480799af9
Undid unintentional bulk commit
...
- Legacy-Id: 16401
2019-07-04 21:04:46 +00:00
Henrik Levkowetz
fc09a59950
Added decode() of command pipe output.
...
- Legacy-Id: 16400
2019-07-04 21:01:39 +00:00
Henrik Levkowetz
3a35dfcee4
Changed our parseaddr() and formataddr() to work correctly with python3.
...
- Legacy-Id: 16399
2019-07-04 21:00:48 +00:00
Henrik Levkowetz
a3d40ace9b
Fixed a str/bytes issue with a hashlib function call, and removed an unused import.
...
- Legacy-Id: 16398
2019-07-04 20:59:40 +00:00
Henrik Levkowetz
e55c42b20f
Tweaked code to prevent sort comparison of str with None.
...
- Legacy-Id: 16397
2019-07-04 20:58:25 +00:00
Henrik Levkowetz
fbc131c73f
Replaced an obsolete file() call with open().
...
- Legacy-Id: 16396
2019-07-04 20:57:36 +00:00
Henrik Levkowetz
77e055264e
Fixed an incorrect test that compared the meeting number string with an integer.
...
- Legacy-Id: 16395
2019-07-04 20:56:35 +00:00
Henrik Levkowetz
fa85e6edee
Typo fixes and removal of an unused import.
...
- Legacy-Id: 16394
2019-07-04 20:55:32 +00:00
Henrik Levkowetz
269278954e
Template variable name change.
...
- Legacy-Id: 16393
2019-07-04 20:54:36 +00:00
Henrik Levkowetz
864fc1a814
Firmed up the handling of non-ascii names for a test email templat, tweaked some asserts, and removed unused imports.
...
- Legacy-Id: 16392
2019-07-04 20:53:05 +00:00
Henrik Levkowetz
41438e5c4d
Fixed some bytes/str issues and unused imports.
...
- Legacy-Id: 16391
2019-07-04 20:51:10 +00:00
Henrik Levkowetz
0a047e1fcc
Added some warning filters.
...
- Legacy-Id: 16390
2019-07-04 20:50:04 +00:00
Henrik Levkowetz
d957f32690
Fixed a syntax error and removed unused imports.
...
- Legacy-Id: 16389
2019-07-04 20:48:55 +00:00
Henrik Levkowetz
8f3c420a62
Fixed a typo and some pyflakes issues.
...
- Legacy-Id: 16388
2019-07-04 20:47:34 +00:00
Henrik Levkowetz
89e265d798
Fixed an instance of changing a dictionary inside a loop over its keys.
...
- Legacy-Id: 16387
2019-07-04 16:12:09 +00:00
Henrik Levkowetz
a1e7dc9acc
Changed a function name.
...
- Legacy-Id: 16386
2019-07-04 16:10:21 +00:00
Henrik Levkowetz
442236e0ab
Set version info and settings back to development mode
...
- Legacy-Id: 16384
2019-07-04 16:07:31 +00:00
Henrik Levkowetz
5910a069ba
Set version info to release version 6.98.3 before branching.
...
- Legacy-Id: 16382
2019-07-04 16:07:21 +00:00
Henrik Levkowetz
81fa6dc962
Fixed some issues with bulk changes related to assertContains()
...
- Legacy-Id: 16379
2019-07-04 16:04:39 +00:00
Henrik Levkowetz
f33ecaa1a4
Fixed a test that compared an int with a meeting number string. Changed meeting test data to use meeting number 72 instead of 42, because proceedings code gives 404 for meetings before 65. Changed a number of StringIO() to BytesIO().
...
- Legacy-Id: 16378
2019-07-04 16:01:32 +00:00
Henrik Levkowetz
b7690fbdcd
Changed additional regexes to r strings.
...
- Legacy-Id: 16377
2019-07-04 15:54:23 +00:00
Henrik Levkowetz
0589d0b313
Changed a bunch of regexes to use r strings; also miscellaneous smaller fixes.
...
- Legacy-Id: 16376
2019-07-04 15:51:05 +00:00
Henrik Levkowetz
1225f8af6b
Refactored submission code to be clearer and only do mimetype extraction in one place, made the point where files are saved less obscure, fixed bytes/str issues for file read and write, fixed regex strings, fixed variable name visibility due to scope changes in py3.
...
- Legacy-Id: 16375
2019-07-04 15:49:42 +00:00
Henrik Levkowetz
2e92652eaa
Changed a regex to use an r string. Added decoding of command pipe output.
...
- Legacy-Id: 16374
2019-07-04 15:45:18 +00:00
Henrik Levkowetz
d460721415
Changed regexes to use r strings. Rewrote code to extract From: name and email from iana email text. Fixed charset decode of iana email messages.
...
- Legacy-Id: 16373
2019-07-04 15:38:15 +00:00
Henrik Levkowetz
e60a3e74f8
Increased the length of the list Subscribed email field from 64 to 128, updated the import_mailman_listinfo management command, and added a migration for the model change.
...
- Legacy-Id: 16370
2019-07-03 20:52:17 +00:00
Henrik Levkowetz
5e09c5a0aa
Set version info and settings back to development mode
...
- Legacy-Id: 16368
2019-07-03 20:28:23 +00:00
Henrik Levkowetz
ba77ba0861
Set version info to release version 6.98.2 before branching.
...
- Legacy-Id: 16366
2019-07-03 20:28:05 +00:00
Henrik Levkowetz
b54e033474
Fixed an error in the handling of long draft names extracted from xml source.
...
- Legacy-Id: 16363
2019-07-03 19:56:04 +00:00
Henrik Levkowetz
fb8d12ac3c
Fixed a pyflakes issue.
...
- Legacy-Id: 16358
2019-07-01 19:27:08 +00:00
Henrik Levkowetz
8c66e95a57
Test changes to match production group type changes for some special groups.
...
- Legacy-Id: 16357
2019-07-01 18:30:59 +00:00
Henrik Levkowetz
c8e75c554a
Various changes to make yang-related management commands quieter
...
- Legacy-Id: 16355
2019-07-01 18:29:03 +00:00
Henrik Levkowetz
f5e9583f59
Fixed str/bytes issues with hashlib function arguments.
...
- Legacy-Id: 16354
2019-07-01 14:09:53 +00:00
Henrik Levkowetz
f5ae2541ad
Replaced multiple asserts with assertContains().
...
- Legacy-Id: 16353
2019-07-01 14:09:12 +00:00
Henrik Levkowetz
f13887de7c
Removed superfluous iter() and fixed instances where sorted() had to compare None and int.
...
- Legacy-Id: 16352
2019-07-01 14:07:21 +00:00
Henrik Levkowetz
942fc7f907
Fixed a bad call argument to FeedbackFactory
...
- Legacy-Id: 16351
2019-07-01 12:01:02 +00:00
Henrik Levkowetz
1e115539c4
The previous nomcom.fields.EncryptedTextField relied on initial cleartext content having the same type as ciphertext. Under Python3, that's not the case (ciphertext has type bytes). Rewrote the nomcom app and tests to handle capture of comments and encryption to the Feedback.comments ciphertext differently.
...
- Legacy-Id: 16350
2019-07-01 11:59:59 +00:00
Henrik Levkowetz
f76d8bf776
Replaced multiple asserts with assertContains().
...
- Legacy-Id: 16349
2019-07-01 11:53:46 +00:00
Henrik Levkowetz
f1172b5647
Replaced multiple asserts with assertContains().
...
- Legacy-Id: 16348
2019-07-01 11:47:36 +00:00
Henrik Levkowetz
a73e84a84c
Removed
...
- Legacy-Id: 16347
2019-07-01 11:46:40 +00:00
Henrik Levkowetz
97a555936d
Changed a large number of test assertions to use assertContains() and removed separate, now unnecessary,status_code checks. Also changed many assertTrue(... in ...) to use assertIn().
...
- Legacy-Id: 16346
2019-06-30 21:03:34 +00:00
Henrik Levkowetz
20c44a9e1a
Adapted the pipe() code to python3; API changes and str/byte handling.
...
- Legacy-Id: 16345
2019-06-30 21:01:44 +00:00
Henrik Levkowetz
aad1d0f1e5
Fixed another str/bytes issue.
...
- Legacy-Id: 16344
2019-06-30 21:00:38 +00:00
Henrik Levkowetz
ff6997df2b
Fixed a case of indeterminate ordering.
...
- Legacy-Id: 16343
2019-06-30 20:58:26 +00:00
Henrik Levkowetz
8b52899459
Fixed some additional str/bytes issues.
...
- Legacy-Id: 16342
2019-06-30 20:56:56 +00:00
Henrik Levkowetz
36cac48063
Fixed a bunch of str/bytes issues.
...
- Legacy-Id: 16341
2019-06-30 20:54:09 +00:00
Henrik Levkowetz
05f275a3af
Changed instances of json.loads(r.content) to r.json(). Changed some instances of assert* to assertContains.
...
- Legacy-Id: 16338
2019-06-30 20:44:45 +00:00
Henrik Levkowetz
4b080c8042
Added a simple functional test for hash_list_message_id()
...
- Legacy-Id: 16337
2019-06-30 17:55:54 +00:00
Henrik Levkowetz
15e74e89cb
Converted instances of assertTrue(text in response.content) to the recommended assertContains(response, text), and similar for assertFalse(... in ...)
...
- Legacy-Id: 16336
2019-06-29 13:43:31 +00:00
Henrik Levkowetz
42c620f4ae
Fixed search result ordering where we had comparisons between int and str, which is disallowed in py3.
...
- Legacy-Id: 16335
2019-06-29 13:32:44 +00:00
Henrik Levkowetz
70c00950b6
Fixed several email handling str/bytes issues.
...
- Legacy-Id: 16334
2019-06-29 13:30:36 +00:00
Henrik Levkowetz
2b1f238204
Changed regex strings to raw strings and fixed a sort comparison int/str issue.
...
- Legacy-Id: 16333
2019-06-29 13:29:13 +00:00
Henrik Levkowetz
e27a06c0b8
Added a warnings filter for deprecated library code.
...
- Legacy-Id: 16332
2019-06-29 13:25:30 +00:00
Henrik Levkowetz
a70c6d478b
A fix for an issue in get_meeting_registration_data() which could happen if we tried to create a Person record for with a user of an existing Person.
...
- Legacy-Id: 16331
2019-06-29 00:02:30 +00:00
Henrik Levkowetz
484dcece5f
Changed all model __unicode__() methods to __str__()
...
- Legacy-Id: 16330
2019-06-28 21:07:08 +00:00
Henrik Levkowetz
ea109f2b1b
Fixed API changes in SMTPChannel
...
- Legacy-Id: 16329
2019-06-28 20:52:15 +00:00
Henrik Levkowetz
1e86ccb4ee
Builtin function file() --> open()
...
- Legacy-Id: 16328
2019-06-28 20:51:13 +00:00
Henrik Levkowetz
9decae5e7e
Fixed changed object attributes for UUID objets.
...
- Legacy-Id: 16327
2019-06-28 20:49:03 +00:00
Henrik Levkowetz
5e4146cb58
Fixed a bytes/str issue in a patch library call.
...
- Legacy-Id: 16326
2019-06-28 20:47:36 +00:00
Henrik Levkowetz
92350834c7
Give hashlib.md5() bytes instead of str.
...
- Legacy-Id: 16325
2019-06-28 20:20:18 +00:00
Henrik Levkowetz
7be0ebbc8e
Updated fixture
...
- Legacy-Id: 16323
2019-06-28 17:15:09 +00:00
Henrik Levkowetz
e66c0243d5
Updated PersonalApiKey models with correct python3 unicode/bytes handling.
...
- Legacy-Id: 16322
2019-06-28 13:35:37 +00:00
Henrik Levkowetz
d40a5ac5ac
Removed some regex unicode flags.
...
- Legacy-Id: 16321
2019-06-28 13:33:38 +00:00
Henrik Levkowetz
318bd0d5ea
Changed regex strings to r strings.
...
- Legacy-Id: 16320
2019-06-28 13:32:50 +00:00
Henrik Levkowetz
d8ac01dd42
Removed anora from installed apps, and changed PEM key to bytes instead of str.
...
- Legacy-Id: 16318
2019-06-28 13:29:56 +00:00
Henrik Levkowetz
e39ac52071
Removed 2to3-generated list() around .items() iterator in for loops.
...
- Legacy-Id: 16315
2019-06-27 18:11:17 +00:00
Henrik Levkowetz
2fdaa7f9c4
Changed sort() argument to use key=
...
- Legacy-Id: 16314
2019-06-27 18:10:13 +00:00
Henrik Levkowetz
240d5bc64d
Replaced force_unicode() with force_text()
...
- Legacy-Id: 16313
2019-06-27 18:08:56 +00:00
Henrik Levkowetz
06daf6ac65
Changed regex strings to raw strings.
...
- Legacy-Id: 16312
2019-06-27 18:08:02 +00:00
Henrik Levkowetz
218f6d86a6
Replaced smart_unicode() with smart_text()
...
- Legacy-Id: 16311
2019-06-27 18:04:50 +00:00
Henrik Levkowetz
3ec7e864be
Converted leading tabs to spaces in ietf/**/*.py
...
- Legacy-Id: 16310
2019-06-27 14:51:02 +00:00
Henrik Levkowetz
d7f5c84182
Initial 2to3 patch with added copyright statement updates.
...
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz
8fd2fe4bf8
Corrected a copyright year
...
- Legacy-Id: 16307
2019-06-26 15:30:05 +00:00
Henrik Levkowetz
41e9299949
Changed permitted length of patent_title from 127 to 255
...
- Legacy-Id: 16306
2019-06-26 15:28:43 +00:00
Henrik Levkowetz
f5f838ddf8
Added guards against duplicate m2m entries.
...
- Legacy-Id: 16304
2019-06-25 11:01:25 +00:00
Henrik Levkowetz
f9cd72168f
Updated some functions and views in secr/srec/ to use GroupFeatures instead of harcoded lists of group types.
...
- Legacy-Id: 16301
2019-06-23 11:52:58 +00:00
Henrik Levkowetz
da5ff11538
Make session requests also work for ad-hoc groups, which may not have a parent area.
...
- Legacy-Id: 16300
2019-06-20 21:43:41 +00:00
Henrik Levkowetz
4e603c263c
Set version info and settings back to development mode
...
- Legacy-Id: 16296
2019-06-20 13:18:03 +00:00
Henrik Levkowetz
8830c1793d
Set version info to release version 6.98.1 before branching.
...
- Legacy-Id: 16294
2019-06-20 13:17:02 +00:00
Henrik Levkowetz
84a80e99a8
Fixed bad logic for the display of previous related IPR informatio in the IPR details template.
...
- Legacy-Id: 16291
2019-06-19 15:05:59 +00:00
Henrik Levkowetz
ac73bd6223
Tweaked some test failure messages for better debugging.
...
- Legacy-Id: 16290
2019-06-19 14:49:24 +00:00
Henrik Levkowetz
13705976e2
Merged in [16287] from rjsparks@nostrum.com:
...
Send mail to a list when a new IETF WG -00 is submitted. Fixes #2730 .
- Legacy-Id: 16289
Note: SVN reference [16287] has been migrated to Git commit 9ace7db719
2019-06-19 14:32:25 +00:00
Henrik Levkowetz
db12f2b948
Fixed some name versus pk issues lingering after the Document/DocAlias primary key refactoring. Fixes issue #2729 .
...
- Legacy-Id: 16288
2019-06-19 12:57:52 +00:00
Robert Sparks
9ace7db719
Send mail to a list when a new IETF WG -00 is submitted. Fixes #2730 . Commit ready for merge.
...
- Legacy-Id: 16287
2019-06-18 21:24:49 +00:00
Henrik Levkowetz
7270d5f67a
Added the option to order API resource lists by primary key, for stable ordering when paging through a list.
...
- Legacy-Id: 16284
2019-06-18 12:40:19 +00:00
Henrik Levkowetz
b8e92d31da
Added generation of Meta.ordering for API ModelResources in mkresources.
...
- Legacy-Id: 16283
2019-06-18 12:32:28 +00:00
Henrik Levkowetz
565c55ab05
The Document and DocAlias primary key refactoring caused the Tastypie API under /api/v1/ to change -- reverting that to use the old form, with name ask key.
...
- Legacy-Id: 16282
2019-06-17 18:53:17 +00:00
Henrik Levkowetz
a5cf8b6a3b
Added a better error message for too long draft names during submission.
...
- Legacy-Id: 16281
2019-06-17 18:25:05 +00:00
Henrik Levkowetz
ba528a0c5e
Adjusted the test_runner to generate migration coverage data also when permitting mixed migrations.
...
- Legacy-Id: 16280
2019-06-17 18:24:17 +00:00
Henrik Levkowetz
eeb4c08b01
Reduced generate-draft-alias verbosity again
...
- Legacy-Id: 16279
2019-06-17 18:23:18 +00:00
Henrik Levkowetz
1e76d9ce60
Fixed buggy guard code
...
- Legacy-Id: 16278
2019-06-17 18:22:02 +00:00
Henrik Levkowetz
814ac8fe24
Added a guard against duplicate insertions in SearchRule.name_contains_index
...
- Legacy-Id: 16276
2019-06-17 17:46:55 +00:00
Henrik Levkowetz
5de5e97dd0
Fixed a docalias problem with generate-draft-aliases
...
- Legacy-Id: 16275
2019-06-17 13:14:53 +00:00
Henrik Levkowetz
2ab2bd09f1
Merged in [16248] from rjsparks@nostrum.com:
...
Removed the IETF chair as a recipient of new IPR disclosures if there is no group or active document to send them to. Fixes #2727 .
- Legacy-Id: 16274
Note: SVN reference [16248] has been migrated to Git commit 427d9fe34e
2019-06-17 13:08:51 +00:00
Henrik Levkowetz
0e68f4bb4b
Added a management command to update the index table used by some community list search rules.
...
- Legacy-Id: 16273
2019-06-17 13:02:57 +00:00
Henrik Levkowetz
798b12c6ef
Admin page tweaks: another raw_id field, added search fields
...
- Legacy-Id: 16272
2019-06-17 13:01:28 +00:00