Henrik Levkowetz
07747b26c3
Fixed an issue with tests mocking urlopen() responses, and tweaked error messages on bad results in sync/rfceditor.py
...
- Legacy-Id: 17356
2020-02-27 15:05:27 +00:00
Henrik Levkowetz
ebdad3a5a5
Added charset decoding of data read from an urlopen() object in a few places, and removed some use-once functions that were now dead code.
...
- Legacy-Id: 17355
2020-02-27 13:39:45 +00:00
Henrik Levkowetz
4b35ee43d2
Moved code from a couple of simple urlopen() wrappers used only once into the calling scripts. Removed a case of Py2 virtualenv activation.
...
- Legacy-Id: 17354
2020-02-27 13:35:14 +00:00
Henrik Levkowetz
a7982f1f67
Added a missing __init__.py
...
- Legacy-Id: 17353
2020-02-26 21:31:54 +00:00
Henrik Levkowetz
7448037c65
Tweaked the show_messages managment command output.
...
- Legacy-Id: 17352
2020-02-26 21:28:51 +00:00
Henrik Levkowetz
3562af0b9b
Added management commands to show saved messages (unsent and otherwise) and to send or re-send saved messages as needed.
...
- Legacy-Id: 17351
2020-02-26 18:14:29 +00:00
Henrik Levkowetz
46ab91ec1d
Added a migration to set an explicit content-type for Message objects when missing.
...
- Legacy-Id: 17350
2020-02-26 18:07:48 +00:00
Henrik Levkowetz
0b3ac2ac0e
Added a migration to correct Message fields containing strings that are repr() of list instances instead of comma-separated email addresses.
...
- Legacy-Id: 17349
2020-02-26 18:06:52 +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
3227e42543
Slight refactoring of infer_message() and send_scheduled_message_from_send_queue(), and added setting of Message.sent when sent.
...
- Legacy-Id: 17347
2020-02-26 18:03:12 +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
095c3a2ccb
Fixed an issue where the lookup of recognized country names during draft submission grabbed the unicode name instead of the ascii name for non-ascii country strings in XML submissions.
...
- Legacy-Id: 17345
2020-02-26 17:20:13 +00:00
Henrik Levkowetz
f43e547d28
Updated the list of utility python files to be ignored by coverage measurements.
...
- Legacy-Id: 17344
2020-02-26 17:17:43 +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
af0c189018
Fixed a test to be more specific when looking for a generated Message object, to make sure to get the right one.
...
- Legacy-Id: 17342
2020-02-26 17:15:09 +00:00
Henrik Levkowetz
5951a6473f
Added html unescape for email addresses from form data that might use html entities for angle brackets.
...
- Legacy-Id: 17341
2020-02-26 17:11:54 +00:00
Henrik Levkowetz
2b1014d66c
Added a 'sent' field to Message, to be able to track sent status for captured outgoing messages (which don't have a SendQueue instance).
...
- Legacy-Id: 17340
2020-02-26 17:09:06 +00:00
Henrik Levkowetz
fa4adeb374
Fixed a number of bad Message.content_type settings.
...
- Legacy-Id: 17339
2020-02-26 17:05:53 +00:00
Henrik Levkowetz
bea0c59d6e
Fixed a string vs list issue for Message from form case.
...
- Legacy-Id: 17338
2020-02-26 17:01:00 +00:00
Henrik Levkowetz
a7baacf519
Added missing .as_strings() to some gather_address_lists() calls, in order to assign strings rather than lists to Message CharField instances. Fixed a Message content_type setting.
...
- Legacy-Id: 17337
2020-02-26 16:59:18 +00:00
Henrik Levkowetz
cbdf718892
More Py2/3 adaptations fetched from production.
...
- Legacy-Id: 17335
2020-02-25 15:53:52 +00:00
Henrik Levkowetz
59cfdf11fb
Fixed a pyflakes issue
...
- Legacy-Id: 17334
2020-02-23 16:28:47 +00:00
Henrik Levkowetz
d9b11f31d9
More Py2/3 adaptations fetched from production.
...
- Legacy-Id: 17333
2020-02-23 16:27:30 +00:00
Henrik Levkowetz
ab40807c36
Converted send-scheduled-mail to py3
...
- Legacy-Id: 17332
2020-02-23 16:22:40 +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
eb88abc394
Removed an instance of 'autoescape off' for submitted meeting session comments in a template, since it is not needed in practice, in order to avoid an XSS injection opportunity.
...
- Legacy-Id: 17322
2020-02-21 15:32:41 +00:00
Henrik Levkowetz
2aa948a17b
Changed some remaining cases of open() to io.open().
...
- Legacy-Id: 17319
2020-02-20 22:35:49 +00:00
Henrik Levkowetz
0c343b9bbd
Make django_extension commands available if installed.
...
- Legacy-Id: 17318
2020-02-20 22:08:47 +00:00
Henrik Levkowetz
52d21e29cb
Set version info and settings back to development mode
...
- Legacy-Id: 17312
2020-02-18 22:59:52 +00:00
Henrik Levkowetz
5e47b3afa8
Set version info to release version 6.118.0 before branching.
...
- Legacy-Id: 17310
2020-02-18 22:59:41 +00:00
Henrik Levkowetz
ab34ecbb58
Merged in [17288] from rjsparks@nostrum.com:
...
Make internal review email about an RG use the IRSG instead of the IESG in text and addresses. Fixes #2881 .
- Legacy-Id: 17307
Note: SVN reference [17288] has been migrated to Git commit 4cce1b5e08
2020-02-18 22:04:15 +00:00
Henrik Levkowetz
53bdd428df
Merged in [17287] from rjsparks@nostrum.com:
...
Default use_milestone_dates to True. Allow changing use_milestone_dates from the edit milestone dates form for charters if it is the initial chartering effort. Fixes #2884 .
- Legacy-Id: 17306
Note: SVN reference [17287] has been migrated to Git commit 3568e72ec5
2020-02-18 21:30:22 +00:00
Henrik Levkowetz
9439f718d4
Wrapped more code in an exception block, in order not to continue processing after an XML parse exception. Fixes issue #2885 .
...
- Legacy-Id: 17305
2020-02-18 20:20:09 +00:00
Henrik Levkowetz
aabd237656
Fixed some pyflakes issues.
...
- Legacy-Id: 17304
2020-02-18 19:39:03 +00:00
Henrik Levkowetz
ab99478913
Fixed a bug in the resource description for SchedulingEvent that prevented it from being accessed under /api/v1/meeting/schedulingevent/.
...
- Legacy-Id: 17303
2020-02-17 12:20:14 +00:00
Henrik Levkowetz
d902aa0b1b
Added search fields to the admin index for SchedulingEvent.
...
- Legacy-Id: 17302
2020-02-17 12:17:37 +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
e79eb56c01
Changed the xml parser settings for legacy xml draft submissions to remove comments before converting to .txt. Fixes and issue with comments in <artwork> text.
...
- Legacy-Id: 17297
2020-02-16 15:48:45 +00:00
Henrik Levkowetz
c04cbd5692
Added missin test directory creation and removal in setUp() and tearDown() in MeetingTests.
...
- Legacy-Id: 17295
2020-02-16 15:43:32 +00:00
Henrik Levkowetz
0a6260cf16
Merged in [17286] from rjsparks@nostrum.com:
...
Add Reply-To to the default group review text. Fixes #2883 .
- Legacy-Id: 17292
Note: SVN reference [17286] has been migrated to Git commit 7e09dea02c
2020-02-13 00:33:37 +00:00
Henrik Levkowetz
5e6ea5b2e8
Merged in [17284] from jennifer@painless-security.com:
...
Create DocEvent when related IprDisclosure is posted or removed. Fixes #2811 .
- Legacy-Id: 17291
Note: SVN reference [17284] has been migrated to Git commit b02b42da81
2020-02-12 23:11:26 +00:00
Robert Sparks
4cce1b5e08
Make internal review email about an RG use the IRSG instead of the IESG in text and addresses. Fixes #2881 . Commit ready for merge.
...
- Legacy-Id: 17288
2020-02-11 20:17:42 +00:00
Robert Sparks
3568e72ec5
Default use_milestone_dates to True. Allow changing use_milestone_dates from the edit milestone dates form for charters if it is the initial chartering effort. Fixes #2884 . Commit ready for merge.
...
- Legacy-Id: 17287
2020-02-11 18:53:40 +00:00
Robert Sparks
7e09dea02c
Add Reply-To to the default group review text. Fixes #2883 . Commit ready for merge.
...
- Legacy-Id: 17286
2020-02-11 15:39:20 +00:00
Jennifer Richards
b02b42da81
Create DocEvent when related IprDisclosure is posted or removed. Fixes #2811 . Commit ready for merge.
...
- Legacy-Id: 17284
2020-02-07 20:41:13 +00:00