Henrik Levkowetz
88c2ade196
Set version info to release version 6.99.0 before branching.
...
- Legacy-Id: 16478
2019-07-16 22:22:03 +00:00
Henrik Levkowetz
627f8a7eab
Modified code to write release coverage json data to gzip file under both Py2 and Py3.
...
- Legacy-Id: 16475
2019-07-16 21:58:38 +00:00
Henrik Levkowetz
f47212f239
Use BinaryField instead of our own EncryptedTextField which relied on cleartext and ciphertext being the same type.
...
- Legacy-Id: 16472
2019-07-16 19:28:45 +00:00
Henrik Levkowetz
ad1821f63a
Enabled the wiki management command under py2
...
- Legacy-Id: 16471
2019-07-16 19:12:00 +00:00
Henrik Levkowetz
e03784132d
Merged changes from current trunk to Py3 branch.
...
- Legacy-Id: 16468
2019-07-16 15:36:16 +00:00
Henrik Levkowetz
c51e211fba
Set version info and settings back to development mode
...
- Legacy-Id: 16466
2019-07-16 14:14:45 +00:00
Henrik Levkowetz
88af016f36
Set version info to release version 6.98.4 before branching.
...
- Legacy-Id: 16464
2019-07-16 14:14:29 +00:00
Henrik Levkowetz
bdc73e771a
Python2/3 compatibility: replaced six.ensure_text() with either six.text_type or django's force_text(), depending on the case, and fixed a variable scope issue.
...
- Legacy-Id: 16461
2019-07-16 13:20:05 +00:00
Henrik Levkowetz
ef4a41c14b
Fixed a bytes/str issue with the arguments to syslog.openlog()
...
- Legacy-Id: 16460
2019-07-16 13:18:37 +00:00
Henrik Levkowetz
46aec6eb85
Python2/3 compatibility: tentative version of create_group_wikis; may need more work.
...
- Legacy-Id: 16459
2019-07-16 13:17:12 +00:00
Henrik Levkowetz
8c6eb3a30a
Python2/3 compatibility: Changed the use of open() and StringIO to io.open() etc.
...
- Legacy-Id: 16458
2019-07-15 19:14:04 +00:00
Henrik Levkowetz
44f51c1d64
The beginning of a dev file download helper.
...
- Legacy-Id: 16456
2019-07-15 19:03:35 +00:00
Henrik Levkowetz
ea8c84d2f6
Python2/3 compatibility: used @python_2_unicode_compatible to provide __unicode__() versions of __str__() methods.
...
- Legacy-Id: 16455
2019-07-15 18:01:26 +00:00
Henrik Levkowetz
2cfb81fc83
Changed instances of email body extaction to use a custom get_payload() function.
...
- Legacy-Id: 16454
2019-07-15 17:15:16 +00:00
Henrik Levkowetz
99a7f9c263
Python2/3 compatibility: Added force_str or force_bytes in some places, to ensure the argument right type
...
- Legacy-Id: 16453
2019-07-15 17:13:46 +00:00
Henrik Levkowetz
a5e31c3f40
Py2/3 compatibility: Added __future__ import.
...
- Legacy-Id: 16452
2019-07-15 15:52:18 +00:00
Henrik Levkowetz
28472a462b
Python2/3 compatibility: Added more elements to list (tuple) entries to ensure sorting without exceptions under Python3.
...
- Legacy-Id: 16451
2019-07-15 15:51:26 +00:00
Henrik Levkowetz
831fb18f8a
Python2/3 compatibility: Added force_str or force_bytes in some places, to ensure the argument right type
...
- Legacy-Id: 16450
2019-07-15 15:49:35 +00:00
Henrik Levkowetz
eb42394534
Py2/3 compatibility: Added __future__ import.
...
- Legacy-Id: 16449
2019-07-15 15:47:31 +00:00
Henrik Levkowetz
855716e1d5
Py2/3 compatibility: Added __future__ import
...
- Legacy-Id: 16448
2019-07-15 15:46:06 +00:00
Henrik Levkowetz
1fae7839e2
Py2/3 compatibility: Added __future__ import and an explicit encoding scheme, not relying on py3's implicit utf-8
...
- Legacy-Id: 16447
2019-07-15 15:44:38 +00:00
Henrik Levkowetz
2d7c9629aa
Added 'from __future__' imports all over the place, to bring code behaviour into closer alignment between python2 and python3
...
- Legacy-Id: 16446
2019-07-15 15:40:51 +00:00
Henrik Levkowetz
6ace81b25d
Corrected the order of string prefix 'r' and 'b' under python2.
...
- Legacy-Id: 16445
2019-07-15 15:37:48 +00:00
Henrik Levkowetz
19afa444f8
Changed the redirect tests to accept a set of correct redirect urls, rather than one single, since the queryarg order isn't stable across python versions.
...
- Legacy-Id: 16444
2019-07-15 15:36:38 +00:00
Henrik Levkowetz
01ece5bddc
Added a warnings filter and a conversion of syslgog tag argument to 'str'.
...
- Legacy-Id: 16443
2019-07-15 15:35:17 +00:00
Henrik Levkowetz
71ea5ae379
Updated the file header generated by the makeresources managment command to set Copyright and file encoding, and use io.open() for py2/3 compatibility.
...
- Legacy-Id: 16441
2019-07-15 14:35:25 +00:00
Henrik Levkowetz
ccf58c9526
Removed a couple of old unused setting variables, and added the equivalent current one.
...
- Legacy-Id: 16440
2019-07-09 15:56:38 +00:00
Henrik Levkowetz
58eca93f9a
Added validation of email addresses extracted by get_email_addresses_from_text().
...
- Legacy-Id: 16439
2019-07-09 13:02:49 +00:00
Henrik Levkowetz
6732e7acff
Fixed an issue with a gzip file mode.
...
- Legacy-Id: 16436
2019-07-08 18:30:34 +00:00
Henrik Levkowetz
4f19a9f6ef
Updated the datatracker ADMINS list.
...
- Legacy-Id: 16435
2019-07-08 18:18:32 +00:00
Henrik Levkowetz
8a8138eb18
Added a debug import.
...
- Legacy-Id: 16434
2019-07-08 18:14:40 +00:00
Henrik Levkowetz
edc1da3023
Added a validation step for SearchablePersonField, to avoid later server 500 errors on bad input.
...
- Legacy-Id: 16433
2019-07-08 18:14:05 +00:00
Henrik Levkowetz
f481f5c3e6
Replaced use of six with the equivalent pure python3 constructs.
...
- Legacy-Id: 16428
2019-07-08 10:43:47 +00:00
Henrik Levkowetz
4094a472d7
Removed a debug print call.
...
- Legacy-Id: 16426
2019-07-07 21:04:10 +00:00
Henrik Levkowetz
10f623cc75
Merged in [16096] from rcross@amsl.com:
...
Update admin permissions. Grant secretariat change permissions on dbtemplate so they can update proceedings pages.
- Legacy-Id: 16424
Note: SVN reference [16096] has been migrated to Git commit 3089404f3d
2019-07-07 19:26:50 +00:00
Henrik Levkowetz
13c69a1a55
Turned off html autoescape in IPR email templates.
...
- Legacy-Id: 16423
2019-07-07 13:14:42 +00:00
Henrik Levkowetz
671b4035ea
Fixed a syntax issue and removed debug calls.
...
- Legacy-Id: 16421
2019-07-07 13:04:54 +00:00
Henrik Levkowetz
48bab56be9
Removed a print() call
...
- Legacy-Id: 16420
2019-07-07 13:04:20 +00:00
Henrik Levkowetz
472a3ed039
Refined our parseaddr() to deal correctly with both bytes and str
...
- Legacy-Id: 16419
2019-07-07 13:03:11 +00:00
Henrik Levkowetz
10380e22b5
Added another warnings filter.
...
- Legacy-Id: 16418
2019-07-07 13:00:00 +00:00
Henrik Levkowetz
63f0896644
Changed tobinary file mode for pdf file. Fixed a str/num comparison.
...
- Legacy-Id: 16417
2019-07-07 12:59:26 +00:00
Henrik Levkowetz
9d5641da64
Removed unnecessary asserts on r.status_code; this will be checked by assertContains().
...
- Legacy-Id: 16416
2019-07-07 12:58:01 +00:00
Henrik Levkowetz
ec571401fe
Fixed a base64 bytes/str issue.
...
- Legacy-Id: 16415
2019-07-07 12:51:58 +00:00
Henrik Levkowetz
4368e8cca1
Corrected a comment
...
- Legacy-Id: 16414
2019-07-07 12:51:06 +00:00
Henrik Levkowetz
dfd3b60322
Removed tests for the confirm_acronym field removed in [16412].
...
- Legacy-Id: 16413
Note: SVN reference [16412] has been migrated to Git commit 1997a90d10
2019-07-07 12:50:27 +00:00
Henrik Levkowetz
1997a90d10
Removed the insertion of 'confirm_acronym' in the active form in clean_acronym(). It triggers an exception due to changing a dictionary while the django validation code is iterating through the form fields. XXX Check if we need to put this back some other way, or if we can handle acronym re-use through the admin instead.
...
- Legacy-Id: 16412
2019-07-07 12:49:17 +00:00
Henrik Levkowetz
f8d4c3c9a6
More assertContains() and BytesIO() related changes.
...
- Legacy-Id: 16411
2019-07-07 12:45:57 +00:00
Henrik Levkowetz
04a728c23d
Fixed bytes/str issues in some migrations (models.Index() arguments).
...
- Legacy-Id: 16410
2019-07-07 12:41:11 +00:00
Henrik Levkowetz
0ef7e98e0a
Corrected the content type for some JSON responses.
...
- Legacy-Id: 16409
2019-07-07 12:39:22 +00:00
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