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
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
426870b766
Merged in the Document and DocAlias primary key change and m2m work in ^/personal/henrik/6.96.1-docalias.
...
- Legacy-Id: 16261
2019-06-15 12:00:48 +00:00
Henrik Levkowetz
a2cafded25
Changed DocAlias to be many-to-many, in order to be able to handle STD aliases referring to multiple RFCs.
...
- Legacy-Id: 16249
2019-06-14 20:38:14 +00:00
Henrik Levkowetz
815602351f
This is a series of 50 migrations that changes the Document and DocAlias
...
primary keys from character strings to integers, and makes corresponding code
changes.
This was prompted by database limitations discovered when trying to make
DocAlias use a m2m document field; with 255 long strings as primary keys for
Document and DocAlias this violated the MySQL database limitations.
Changing the primary keys to integers should also improve efficiency.
Due to the data migrations which create the new integer primary keys and adds
corresponding integer foreign keys matching the previous string foreign keys
in all tables having foreign keys to Document and DocAlias, some of these
migrations take a long time. The total set of migrations are expected to have
a runtime on the order of 2 hours.
- Legacy-Id: 16237
2019-06-10 11:32:46 +00:00
Henrik Levkowetz
ca1f3340c0
Changed a ReviewAssignmentDocEvent type from 'closed_review_request' to 'closed_review_assignment', for consistency and readability.
...
- Legacy-Id: 16181
2019-05-02 12:38:41 +00:00
Henrik Levkowetz
7b93709a3b
Tweaked the greate_group_wikis management command to accept trailing fileglob wildcards on adhoc wiki group acronyms. Added a generic NomCom wiki to the list of adhoc wikis to be created and maintained, with admins from active nomcom* groups.
...
- Legacy-Id: 16176
2019-04-29 12:30:36 +00:00
Henrik Levkowetz
682ddee8e4
Reverted earlier application of on_behalf_of() at mail sending call points, and instead did all on_behalf_of processing in condition_message(). Added insertion of Reply-To header fields in this case. Changed all use of the mail-sending 'extra' parameters to use value lists. Updated a bunch of tests accordingly.
...
- Legacy-Id: 16020
2019-03-11 17:01:33 +00:00
Henrik Levkowetz
fc18cd93d4
Tweaked coverage_changes command. I suspect this would benefit from a rewrite.
...
- Legacy-Id: 16019
2019-03-11 16:52:09 +00:00
Henrik Levkowetz
d698eb98df
Changed the on-behalf-of name template from 'On behalf of ...' to '... via Datatracker' to make name come first.
...
- Legacy-Id: 16009
2019-03-07 14:42:11 +00:00
Henrik Levkowetz
d57088b1f3
Modified one call and one exception point related to on_behalf_of() use for email sending.
...
- Legacy-Id: 16008
2019-03-06 19:13:15 +00:00