Commit graph

9105 commits

Author SHA1 Message Date
Henrik Levkowetz baa639ba01 Merged in [16569] from rjsparks@nostrum.com:
Add quotes around document name in the mailarchive search link on a document's main page. Fixes #2659.
 - Legacy-Id: 16606
Note: SVN reference [16569] has been migrated to Git commit b4a40313c95511693ae8a361aabb355878555fb7
2019-07-31 22:04:16 +00:00
Henrik Levkowetz 4e131f1f2e Merged in [16589] from rjsparks@nostrum.com:
Show a calendar of upcoming meetings. Fixes #2719.
 - Legacy-Id: 16602
Note: SVN reference [16589] has been migrated to Git commit d3b70a46b882979fabb82972921a6ad177c06b08
2019-07-31 15:21:20 +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 19d38356a0 Preliminary work on converting bower management of web resources to yarn. New management command, replacing bower_install will be needed.
- Legacy-Id: 16591
2019-07-25 20:28:18 +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 4fb9f8ba19 Merged in [16561] from rjsparks@nostrum.com:
Prompt for login for approving slide suggestions instead of just presenting an error. Fixes #2750.
 - Legacy-Id: 16587
Note: SVN reference [16561] has been migrated to Git commit c80d7072104bbc8bb68281a0dcb442e4971c7dad
2019-07-24 22:51:54 +00:00
Henrik Levkowetz de43926eba Merged in [16559] from fenton@bluepopcorn.net:
Added Closing Notes to history and about pages for groups. Fixes issue #2725.
 - Legacy-Id: 16586
Note: SVN reference [16559] has been migrated to Git commit 93b4d6fcc4
2019-07-24 19:49:45 +00:00
Henrik Levkowetz 1ea89276ce Merged in [16558] from rjsparks@nostrum.com:
Make removed IPR disclosures visually distinctive on search results. Partially addresses #2687.
 - Legacy-Id: 16585
Note: SVN reference [16558] has been migrated to Git commit b4a27c59164d13a0840d285532355e0af696be33
2019-07-24 19:04:45 +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
Henrik Levkowetz 7039520557 Merged in [16557] from pusateri@bangj.com:
Partially addresses issue #1926 still displaying markdown as text. Fixes #2704.
 - Legacy-Id: 16576
Note: SVN reference [16557] has been migrated to Git commit f76c46bef0
2019-07-22 18:09:53 +00:00
Henrik Levkowetz 5a1c35909a Updated a test to match the change in r16560
- Legacy-Id: 16575
2019-07-22 17:55:29 +00:00
Henrik Levkowetz 915d8e3c2a Added LookupError to the exceptions caught during text upload decoding, leading to upload form validation error.
- Legacy-Id: 16573
2019-07-22 15:47:40 +00:00
Henrik Levkowetz 7b08563edd Added a migration for the slidesubmission.time field
- Legacy-Id: 16571
2019-07-21 21:05:22 +00:00
Henrik Levkowetz 23ac054ad6 Merged in [16554] from rjsparks@nostrum.com:
Rework how SlideSuggestion objects name their files. Improve the UI when there are multiple pending suggestions for updating the same presentation.
 - Legacy-Id: 16570
Note: SVN reference [16554] has been migrated to Git commit 1e8eb0ed6d227e32816c4bc352a7301691eaaaac
2019-07-21 21:03:13 +00:00
Russ Housley 765ce0d0b0 Improve performance for a few pages
- Legacy-Id: 16563
2019-07-20 22:59:26 +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 c22d0b9540 Show group pages also for groups of type adhoc and ise.
- Legacy-Id: 16560
2019-07-20 20:10:08 +00:00
Jim Fenton 93b4d6fcc4 Added Closing Notes to history and about pages for groups. Fixes issue #2725. Commit ready for merge.
- Legacy-Id: 16559
2019-07-20 19:47:32 +00:00
Henrik Levkowetz 3d35cb028b Added another check before building submitter email for mailtrigger entries.
- Legacy-Id: 16550
2019-07-19 00:16:11 +00:00
Henrik Levkowetz c3ffd09c6b Set version info and settings back to development mode
- Legacy-Id: 16528
2019-07-18 20:35:08 +00:00
Henrik Levkowetz 33db5c523a Set version info to release version 6.99.1 before branching.
- Legacy-Id: 16526
2019-07-18 20:34:55 +00:00
Henrik Levkowetz 8adae6176d Improved a check for authenticated user.
- Legacy-Id: 16521
2019-07-18 19:30:01 +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 ee369934b2 Added a check for submitter found before trying to get name and email.
- Legacy-Id: 16519
2019-07-18 17:08:55 +00:00
Henrik Levkowetz 8ec951c44a Shortened generated document titles a tad, to avoid line wrapping in the IESG agenda package (which breaks the relevant test).
- Legacy-Id: 16518
2019-07-18 10:17:17 +00:00
Henrik Levkowetz e3f083e6d3 Merged in [16515] from rjsparks@nostrum.com:
Save files correctly when updates to an existing set of slides are proposed. Fixes #2748.
 - Legacy-Id: 16517
Note: SVN reference [16515] has been migrated to Git commit 41fd67c6847b82d9e9f006f5bb79c03bc5b8b577
2019-07-17 21:25:46 +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 bbff4b0e69 Replaced six.ensure_str with django's force_str
- Legacy-Id: 16513
2019-07-17 18:43:40 +00:00
Henrik Levkowetz 57e16bfd57 Fixed a typo.
- Legacy-Id: 16511
2019-07-17 16:14:55 +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 9170395905 Added a email gather handler for submission_submitter that tries an Alias name lookuup if the submitter doesn't look as if it contains an email address.
- Legacy-Id: 16508
2019-07-17 14:29:42 +00:00
Henrik Levkowetz 6ea87414b5 Fixed some issues with the changed import path of ietf.settings_local.
- Legacy-Id: 16507
2019-07-17 14:27:26 +00:00
Henrik Levkowetz 820539e822 Changed import path for settings_local.py to work with absolute_import under Py2, and also under Py3.
- Legacy-Id: 16506
2019-07-17 13:42:36 +00:00
Henrik Levkowetz 6ef24e9c4e Changed agenda file reading to read files as binary when looking for draft names listed in the agenda.
- Legacy-Id: 16505
2019-07-17 13:38:46 +00:00
Henrik Levkowetz 8d2d732210 Set version info and settings back to development mode
- Legacy-Id: 16480
2019-07-16 22:22:16 +00:00
Henrik Levkowetz 88c2ade196 Set version info to release version 6.99.0 before branching.
- Legacy-Id: 16478
2019-07-16 22:22:03 +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 f47212f239 Use BinaryField instead of our own EncryptedTextField which relied on cleartext and ciphertext being the same type.
- Legacy-Id: 16472
2019-07-16 19:28:45 +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 c51e211fba Set version info and settings back to development mode
- Legacy-Id: 16466
2019-07-16 14:14:45 +00:00
Henrik Levkowetz 88af016f36 Set version info to release version 6.98.4 before branching.
- Legacy-Id: 16464
2019-07-16 14:14:29 +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 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 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 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 f481f5c3e6 Replaced use of six with the equivalent pure python3 constructs.
- Legacy-Id: 16428
2019-07-08 10:43:47 +00:00
Henrik Levkowetz 4094a472d7 Removed a debug print call.
- Legacy-Id: 16426
2019-07-07 21:04:10 +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 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
Henrik Levkowetz f8d4c3c9a6 More assertContains() and BytesIO() related changes.
- Legacy-Id: 16411
2019-07-07 12:45:57 +00:00
Henrik Levkowetz 04a728c23d Fixed bytes/str issues in some migrations (models.Index() arguments).
- Legacy-Id: 16410
2019-07-07 12:41:11 +00:00
Henrik Levkowetz 0ef7e98e0a Corrected the content type for some JSON responses.
- Legacy-Id: 16409
2019-07-07 12:39:22 +00:00
Henrik Levkowetz 40fb7b3588 Added a missing import.
- Legacy-Id: 16407
2019-07-06 19:22:37 +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 e314bb4723 Undid delete of ietf/nomcom/fields; it's currently needed by ietf/nomcom/migrations/0001_initial.py
- Legacy-Id: 16403
2019-07-04 22:04:42 +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 e55c42b20f Tweaked code to prevent sort comparison of str with None.
- Legacy-Id: 16397
2019-07-04 20:58:25 +00:00
Henrik Levkowetz fbc131c73f Replaced an obsolete file() call with open().
- Legacy-Id: 16396
2019-07-04 20:57:36 +00:00
Henrik Levkowetz 77e055264e Fixed an incorrect test that compared the meeting number string with an integer.
- Legacy-Id: 16395
2019-07-04 20:56:35 +00:00
Henrik Levkowetz fa85e6edee Typo fixes and removal of an unused import.
- Legacy-Id: 16394
2019-07-04 20:55:32 +00:00
Henrik Levkowetz 269278954e Template variable name change.
- Legacy-Id: 16393
2019-07-04 20:54:36 +00:00
Henrik Levkowetz 864fc1a814 Firmed up the handling of non-ascii names for a test email templat, tweaked some asserts, and removed unused imports.
- Legacy-Id: 16392
2019-07-04 20:53:05 +00:00
Henrik Levkowetz 41438e5c4d Fixed some bytes/str issues and unused imports.
- Legacy-Id: 16391
2019-07-04 20:51:10 +00:00