Henrik Levkowetz
2418459afc
Prevent login case issues by generating apache permissions file entries for both uppercase and lowercase logins.
...
- Legacy-Id: 16597
2019-07-29 19:20:38 +00:00
Henrik Levkowetz
0a591e4b2e
Merged in [16562] from rcross@amsl.com:
...
Added encoding='utf-8' parameter to io.open operations in tests that starting failing since adding unicode_literals.
- Legacy-Id: 16588
Note: SVN reference [16562] has been migrated to Git commit d332bfd91d
2019-07-24 23:44:36 +00:00
Henrik Levkowetz
07c5e33bc4
Added conditional decoding of bytes subject text, before interpolating into a new unicode string.
...
- Legacy-Id: 16577
2019-07-22 18:19:55 +00:00
Ryan Cross
d332bfd91d
Added encoding='utf-8' parameter to io.open operations in tests that starting failing since adding unicode_literals. Commit ready to merge
...
- Legacy-Id: 16562
2019-07-20 22:54:14 +00:00
Henrik Levkowetz
b3244242aa
Fixed some issues with the Py2/3 changes to the populate_yang_model_dirs management command.
...
- Legacy-Id: 16520
2019-07-18 18:53:14 +00:00
Henrik Levkowetz
fb3d4ddb0b
Added information about versions (Datatracker, Python, and Django) at the beginning of test suite runs.
...
- Legacy-Id: 16516
2019-07-17 20:54:51 +00:00
Henrik Levkowetz
618d6021b0
Read pdf files as binary.
...
- Legacy-Id: 16510
2019-07-17 16:05:19 +00:00
Henrik Levkowetz
db47cb6b0f
Replaced the error on bad Submission.submitter email address with syslog logging.
...
- Legacy-Id: 16509
2019-07-17 14:30:57 +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
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
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
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
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
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
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
f481f5c3e6
Replaced use of six with the equivalent pure python3 constructs.
...
- Legacy-Id: 16428
2019-07-08 10:43:47 +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
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
40ab3c949f
Added missing code to skip coverage measurement for skippable tests.
...
- Legacy-Id: 16406
2019-07-06 17:27:49 +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
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
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
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
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
36cac48063
Fixed a bunch of str/bytes issues.
...
- Legacy-Id: 16341
2019-06-30 20:54:09 +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
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
318bd0d5ea
Changed regex strings to r strings.
...
- Legacy-Id: 16320
2019-06-28 13:32:50 +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
06daf6ac65
Changed regex strings to raw strings.
...
- Legacy-Id: 16312
2019-06-27 18:08:02 +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
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
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