Russ Housley
333abcab6d
Improve performance of log.assertion() and log.unreachable()
...
- Legacy-Id: 17521
2020-03-23 22:02:58 +00:00
Henrik Levkowetz
5211480895
Added code to show a call-in button on the agenda page if the session agenda-note contains and IETF webex URL.
...
- Legacy-Id: 17427
2020-03-13 14:01:54 +00:00
Henrik Levkowetz
c10706286b
Added a management command to check draft event revision numbers. To be extended for other checks.
...
- Legacy-Id: 17423
2020-03-11 22:02:30 +00:00
Henrik Levkowetz
50e8918a56
Added a progress bar for verbosity=1 of the community list index update command.
...
- Legacy-Id: 17414
2020-03-09 18:03:09 +00:00
Henrik Levkowetz
2669afe69b
Tweaked the check_referential_integrity management command verbose output.
...
- Legacy-Id: 17397
2020-03-06 20:37:41 +00:00
Henrik Levkowetz
ab944725d5
Py2/3 compatibility tweaks for pyflakes.
...
- Legacy-Id: 17375
2020-03-02 18:00:41 +00:00
Henrik Levkowetz
b6d8bade44
Fixed a Py2/3 issue in the pyflakes management command, and tweaked the verbose output format.
...
- Legacy-Id: 17372
2020-03-02 12:31:02 +00:00
Henrik Levkowetz
fc03063e9e
Made email Message-ID fields generated by the datatracker more uniform.
...
- Legacy-Id: 17360
2020-02-27 20:23:20 +00:00
Henrik Levkowetz
fb740ff6bf
Added saving of outgoing emails as Message instances, with accompanying test.
...
- Legacy-Id: 17348
2020-02-26 18:04:44 +00:00
Henrik Levkowetz
2d724427cf
Updated patch.py to avoid deprecation and pyflakes warnings.
...
- Legacy-Id: 17346
2020-02-26 17:22:12 +00:00
Henrik Levkowetz
03bd9c0594
Fixed log.log() to hand on the right type (str) to underlying functions.
...
- Legacy-Id: 17343
2020-02-26 17:16:35 +00:00
Henrik Levkowetz
8f2280130b
Moved patch.py into project tree -- it's not being maintained any more.
...
- Legacy-Id: 17330
2020-02-23 16:20:43 +00:00
Henrik Levkowetz
d2ad86c5df
Python 2/3 changes pulled from the production server after the switch to python 3.
...
- Legacy-Id: 17327
2020-02-23 01:34:52 +00:00
Henrik Levkowetz
fa9427769a
Added cleaning of the session request form's 'comments' field, to convert any html entered to text. Related to [17322].
...
- Legacy-Id: 17324
Note: SVN reference [17322] has been migrated to Git commit eb88abc394
2020-02-21 21:36:18 +00:00
Henrik Levkowetz
aabd237656
Fixed some pyflakes issues.
...
- Legacy-Id: 17304
2020-02-18 19:39:03 +00:00
Henrik Levkowetz
91d5d72a9d
Tweaked send_mail_mime() to recognize settings.SERVER_MODE='repair', in order to avoid mail floods when running the 'mergedata' management command. It is assumed that the appropriate mails went out when the data was entered into the system the first time.
...
- Legacy-Id: 17301
2020-02-16 21:42:37 +00:00
Henrik Levkowetz
7b5bebc727
Added a management command to dump data based on table names and primary keys derived from a list of SQL 'INSERT INTO' commands representing the items to be dumped. The output formats are the same as for dumpdata, and are suitable for later use with the loaddata or mergedata management commands.
...
- Legacy-Id: 17300
2020-02-16 21:40:01 +00:00
Henrik Levkowetz
e0c6f3abe2
Added a management command to merge data from one of two divergent django databases to the other, taking care to insert or update records as appropriate, and update foreign keys and many-to-many keys appropriately. Accepts the dump formats generated by the dumpdata command.
...
- Legacy-Id: 17299
2020-02-16 21:39:08 +00:00
Henrik Levkowetz
58d8c2fb47
Updated the check_referential_integrity command, adding a --delete command to remove dangling references to removed records, and also adding colorized success/fail indications for each FK and m2m key inspected.
...
- Legacy-Id: 17298
2020-02-16 21:05:12 +00:00
Henrik Levkowetz
8f0eca5032
Added a newline to test run output, to separate dot progress indication from teardown message.
...
- Legacy-Id: 17253
2020-01-22 23:17:44 +00:00
Henrik Levkowetz
288f4135e3
Added (currently inactive) code to trigger exceptions on failure to resolve template variables during tests, and added fixes for a couple of places that triggered such exceptions.
...
- Legacy-Id: 17226
2020-01-13 17:16:43 +00:00
Peter E. Yee
bb7e504d14
12/13 merged into 6.113.1.dev0 with migration ordering failure
...
- Legacy-Id: 17149
2019-12-13 19:53:45 +00:00
Henrik Levkowetz
fcb6806d17
Merged in work from sasha@dashcare.nl on Review Queue Managemnt:
...
This abstracts queue management, making it possible to implement different
policies for each team. It provides two concrete policies:
RotateAlphabeticallyReviewerQueuePolicy, which rotates an alphabetically
ordered reviewer list with consideration for skip indications, and is the
default policy; and LeastRecentlyUsedReviewerQueuePolicy, a simple
least-recently-used policy. Also see issues #2721 and #2656 .
- Legacy-Id: 17121
2019-12-04 23:02:52 +00:00
Henrik Levkowetz
ac6b664fa5
Added normalization of draft title extracted from submitted XML.
...
- Legacy-Id: 17119
2019-12-02 16:24:51 +00:00
Henrik Levkowetz
2c28cb3eb0
When group secretary email addresses occurred in some mailtrigger To: entries, they were given with both name and address parts, while when occurring in Cc: entries, no names were present. Fixed one case of this, and adjusted a test case for consistency. Also added a more general utility function to exclude selected email addresses from email address lists.
...
- Legacy-Id: 17107
2019-11-27 21:49:22 +00:00
Henrik Levkowetz
6333e7d842
Added an instance of force_text() to ensure non_ascii mail subjects are unicode when used for string interpolation, rather than bytes (which will trigger ascii decode()).
...
- Legacy-Id: 17055
2019-11-19 09:37:55 +00:00
Henrik Levkowetz
c233f07b5d
Added a management command to generate draft bibxml files, and also a trial version of datatracker draft bibxml pages.
...
- Legacy-Id: 16962
2019-11-05 18:10:29 +00:00
Henrik Levkowetz
d5b6292060
Fixed a pyflakes issue.
...
- Legacy-Id: 16955
2019-11-04 18:11:59 +00:00
Henrik Levkowetz
feaa5038a0
Rewrote the ietf/bin/fix-ambiguous-timestamps command as a management command (fix_ambiguous_timestamps) and made it look at all instances of DateTimeField by means of model introspection.
...
- Legacy-Id: 16954
2019-11-04 12:56:52 +00:00
Henrik Levkowetz
3c82dc6184
Merged in [16922] from sasha@dashcare.nl:
...
Fix #2584 - Add additional content validation for uploaded texts.
Permitted MIME types are now text/plain, text/markdown and text/x-rst.
This applies to all usages of get_cleaned_text_file_content(),
including reviews, but also other similar places where text can either
be written either into a textarea or uploaded.
- Legacy-Id: 16930
Note: SVN reference [16922] has been migrated to Git commit fd53f98854
2019-10-26 15:42:58 +00:00
Sasha Romijn
fd53f98854
Fix #2584 - Add additional content validation for uploaded texts.
...
Permitted MIME types are now text/plain, text/markdown and text/x-rst.
This applies to all usages of get_cleaned_text_file_content(),
including reviews, but also other similar places where text can either
be written either into a textarea or uploaded.
Commit ready for merge.
- Legacy-Id: 16922
2019-10-23 20:15:30 +00:00
Henrik Levkowetz
45465f1174
Merged in [16818] from rjsparks@nostrum.com:
...
Make hybrid pdfs when converting ppt materials to pdf. Fixes #2769 .
- Legacy-Id: 16880
Note: SVN reference [16818] has been migrated to Git commit 84270a71d0e7373c5e05ddc834e91c445a1296ed
2019-10-21 13:17:33 +00:00
Henrik Levkowetz
447525de73
Tweaked the output of mypy_test().
...
- Legacy-Id: 16865
2019-10-15 16:48:23 +00:00
Henrik Levkowetz
24ede9a1ae
In wordwrap(), consider lines consisting entirely of some non-alphanumeric characters like ---- or === to be block (paragraph) separators. Fixes issue #2806 .
...
- Legacy-Id: 16790
2019-10-01 11:08:41 +00:00
Henrik Levkowetz
902f7769d1
Fixed incorrect type hints for Migration.dependencies.
...
- Legacy-Id: 16776
2019-09-30 16:25:58 +00:00
Henrik Levkowetz
33e8733b91
Fixed up mypy issues or added type:ignore comments as needed for a clean mypy run.
...
- Legacy-Id: 16772
2019-09-30 15:42:18 +00:00
Henrik Levkowetz
2d858f2e0a
Added mypy and django-stubs to Py3 requirements, and added a mypy test case.
...
- Legacy-Id: 16768
2019-09-30 15:37:32 +00:00
Henrik Levkowetz
8e313e4ed5
Adjusted migrations for Python2/3 compatibility.
...
- Legacy-Id: 16633
2019-08-08 17:11:14 +00:00
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