Commit graph

11178 commits

Author SHA1 Message Date
Henrik Levkowetz 3b128b1720 Code coverage data for release 6.98.4
- Legacy-Id: 16462
2019-07-16 14:13:58 +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 4ce6768399 Fixed a bug in check-copyright
- Legacy-Id: 16457
2019-07-15 19:12:58 +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 96690f5d7b Reverted a change to debug.type()
- Legacy-Id: 16442
2019-07-15 15:19:06 +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 25af6fbfad Updated the test crawler for python3.
- Legacy-Id: 16438
2019-07-08 19:37:10 +00:00
Henrik Levkowetz a91cfa7b0b Updated release coverage.
- Legacy-Id: 16437
2019-07-08 18:30:58 +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 d4fc890655 Tweaked check-copyright
- Legacy-Id: 16431
2019-07-08 11:44:17 +00:00
Henrik Levkowetz 1bba64330b Bumped check-copyright version number.
- Legacy-Id: 16430
2019-07-08 11:42:54 +00:00
Henrik Levkowetz 5d7815f3b0 Added an option to specify a copyright line pattern to bin/check-copyright.
- Legacy-Id: 16429
2019-07-08 11:41:53 +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 159dc6990e Merged in [16404] from rjsparks@nostrum.com:
Only look for ietf/datatracker-env images when extracting the most recent build to tag as latest.
 - Legacy-Id: 16427
Note: SVN reference [16404] has been migrated to Git commit c70ee277c4
2019-07-08 10:38:17 +00:00
Henrik Levkowetz 4094a472d7 Removed a debug print call.
- Legacy-Id: 16426
2019-07-07 21:04:10 +00:00
Henrik Levkowetz 5d9c079272 Merged in [16359] from rcross@amsl.com:
Fix registration import, use user.person if it exists.
 - Legacy-Id: 16425
Note: SVN reference [16359] has been migrated to Git commit b41aef6e5a
2019-07-07 21:03:21 +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 31ad4eb574 Updated release-coverage data.
- Legacy-Id: 16422
2019-07-07 13:12:53 +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