Commit graph

8972 commits

Author SHA1 Message Date
Henrik Levkowetz 942fc7f907 Fixed a bad call argument to FeedbackFactory
- Legacy-Id: 16351
2019-07-01 12:01:02 +00:00
Henrik Levkowetz 1e115539c4 The previous nomcom.fields.EncryptedTextField relied on initial cleartext content having the same type as ciphertext. Under Python3, that's not the case (ciphertext has type bytes). Rewrote the nomcom app and tests to handle capture of comments and encryption to the Feedback.comments ciphertext differently.
- Legacy-Id: 16350
2019-07-01 11:59:59 +00:00
Henrik Levkowetz f76d8bf776 Replaced multiple asserts with assertContains().
- Legacy-Id: 16349
2019-07-01 11:53:46 +00:00
Henrik Levkowetz f1172b5647 Replaced multiple asserts with assertContains().
- Legacy-Id: 16348
2019-07-01 11:47:36 +00:00
Henrik Levkowetz a73e84a84c Removed
- Legacy-Id: 16347
2019-07-01 11:46:40 +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 aad1d0f1e5 Fixed another str/bytes issue.
- Legacy-Id: 16344
2019-06-30 21:00:38 +00:00
Henrik Levkowetz ff6997df2b Fixed a case of indeterminate ordering.
- Legacy-Id: 16343
2019-06-30 20:58:26 +00:00
Henrik Levkowetz 8b52899459 Fixed some additional str/bytes issues.
- Legacy-Id: 16342
2019-06-30 20:56:56 +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 05f275a3af Changed instances of json.loads(r.content) to r.json(). Changed some instances of assert* to assertContains.
- Legacy-Id: 16338
2019-06-30 20:44:45 +00:00
Henrik Levkowetz 4b080c8042 Added a simple functional test for hash_list_message_id()
- Legacy-Id: 16337
2019-06-30 17:55:54 +00:00
Henrik Levkowetz 15e74e89cb Converted instances of assertTrue(text in response.content) to the recommended assertContains(response, text), and similar for assertFalse(... in ...)
- Legacy-Id: 16336
2019-06-29 13:43:31 +00:00
Henrik Levkowetz 42c620f4ae Fixed search result ordering where we had comparisons between int and str, which is disallowed in py3.
- Legacy-Id: 16335
2019-06-29 13:32:44 +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 2b1f238204 Changed regex strings to raw strings and fixed a sort comparison int/str issue.
- Legacy-Id: 16333
2019-06-29 13:29:13 +00:00
Henrik Levkowetz e27a06c0b8 Added a warnings filter for deprecated library code.
- Legacy-Id: 16332
2019-06-29 13:25:30 +00:00
Henrik Levkowetz 484dcece5f Changed all model __unicode__() methods to __str__()
- Legacy-Id: 16330
2019-06-28 21:07:08 +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 9decae5e7e Fixed changed object attributes for UUID objets.
- Legacy-Id: 16327
2019-06-28 20:49:03 +00:00
Henrik Levkowetz 5e4146cb58 Fixed a bytes/str issue in a patch library call.
- Legacy-Id: 16326
2019-06-28 20:47:36 +00:00
Henrik Levkowetz 92350834c7 Give hashlib.md5() bytes instead of str.
- Legacy-Id: 16325
2019-06-28 20:20:18 +00:00
Henrik Levkowetz e66c0243d5 Updated PersonalApiKey models with correct python3 unicode/bytes handling.
- Legacy-Id: 16322
2019-06-28 13:35:37 +00:00
Henrik Levkowetz d40a5ac5ac Removed some regex unicode flags.
- Legacy-Id: 16321
2019-06-28 13:33:38 +00:00
Henrik Levkowetz 318bd0d5ea Changed regex strings to r strings.
- Legacy-Id: 16320
2019-06-28 13:32:50 +00:00
Henrik Levkowetz d8ac01dd42 Removed anora from installed apps, and changed PEM key to bytes instead of str.
- Legacy-Id: 16318
2019-06-28 13:29:56 +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 2fdaa7f9c4 Changed sort() argument to use key=
- Legacy-Id: 16314
2019-06-27 18:10:13 +00:00
Henrik Levkowetz 240d5bc64d Replaced force_unicode() with force_text()
- Legacy-Id: 16313
2019-06-27 18:08:56 +00:00
Henrik Levkowetz 06daf6ac65 Changed regex strings to raw strings.
- Legacy-Id: 16312
2019-06-27 18:08:02 +00:00
Henrik Levkowetz 218f6d86a6 Replaced smart_unicode() with smart_text()
- Legacy-Id: 16311
2019-06-27 18:04:50 +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 4e603c263c Set version info and settings back to development mode
- Legacy-Id: 16296
2019-06-20 13:18:03 +00:00
Henrik Levkowetz 8830c1793d Set version info to release version 6.98.1 before branching.
- Legacy-Id: 16294
2019-06-20 13:17:02 +00:00
Henrik Levkowetz 84a80e99a8 Fixed bad logic for the display of previous related IPR informatio in the IPR details template.
- Legacy-Id: 16291
2019-06-19 15:05:59 +00:00
Henrik Levkowetz ac73bd6223 Tweaked some test failure messages for better debugging.
- Legacy-Id: 16290
2019-06-19 14:49:24 +00:00
Henrik Levkowetz 13705976e2 Merged in [16287] from rjsparks@nostrum.com:
Send mail to a list when a new IETF WG -00 is submitted. Fixes #2730.
 - Legacy-Id: 16289
Note: SVN reference [16287] has been migrated to Git commit 9ace7db719
2019-06-19 14:32:25 +00:00
Henrik Levkowetz db12f2b948 Fixed some name versus pk issues lingering after the Document/DocAlias primary key refactoring. Fixes issue #2729.
- Legacy-Id: 16288
2019-06-19 12:57:52 +00:00
Robert Sparks 9ace7db719 Send mail to a list when a new IETF WG -00 is submitted. Fixes #2730. Commit ready for merge.
- Legacy-Id: 16287
2019-06-18 21:24:49 +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 b8e92d31da Added generation of Meta.ordering for API ModelResources in mkresources.
- Legacy-Id: 16283
2019-06-18 12:32:28 +00:00
Henrik Levkowetz 565c55ab05 The Document and DocAlias primary key refactoring caused the Tastypie API under /api/v1/ to change -- reverting that to use the old form, with name ask key.
- Legacy-Id: 16282
2019-06-17 18:53:17 +00:00
Henrik Levkowetz a5cf8b6a3b Added a better error message for too long draft names during submission.
- Legacy-Id: 16281
2019-06-17 18:25:05 +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 eeb4c08b01 Reduced generate-draft-alias verbosity again
- Legacy-Id: 16279
2019-06-17 18:23:18 +00:00
Henrik Levkowetz 1e76d9ce60 Fixed buggy guard code
- Legacy-Id: 16278
2019-06-17 18:22:02 +00:00
Henrik Levkowetz 814ac8fe24 Added a guard against duplicate insertions in SearchRule.name_contains_index
- Legacy-Id: 16276
2019-06-17 17:46:55 +00:00
Henrik Levkowetz 5de5e97dd0 Fixed a docalias problem with generate-draft-aliases
- Legacy-Id: 16275
2019-06-17 13:14:53 +00:00
Henrik Levkowetz 2ab2bd09f1 Merged in [16248] from rjsparks@nostrum.com:
Removed the IETF chair as a recipient of new IPR disclosures if there is no group or active document to send them to. Fixes #2727.
 - Legacy-Id: 16274
Note: SVN reference [16248] has been migrated to Git commit 427d9fe34e
2019-06-17 13:08:51 +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 798b12c6ef Admin page tweaks: another raw_id field, added search fields
- Legacy-Id: 16272
2019-06-17 13:01:28 +00:00
Henrik Levkowetz c9a7571e0a Changed a field to use raw_id to avoid choice fields with 90000 entries
- Legacy-Id: 16271
2019-06-17 12:12:46 +00:00
Henrik Levkowetz 34d17c389a Set version info and settings back to development mode
- Legacy-Id: 16268
2019-06-16 14:20:07 +00:00
Henrik Levkowetz 4b7c8cb3a0 Set version info to release version 6.98.0 before branching.
- Legacy-Id: 16266
2019-06-16 14:19:47 +00:00
Henrik Levkowetz 05c5abed53 Added a missing migration
- Legacy-Id: 16263
2019-06-16 13:18:06 +00:00
Henrik Levkowetz be92e6b868 Removed an incorrect log.unreachble() invocation.
- Legacy-Id: 16262
2019-06-15 21:32:15 +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
Robert Sparks 427d9fe34e Removed the IETF chair as a recipient of new IPR disclosures if there is no group or active document to send them to. Fixes #2727. Commit ready for merge.
- Legacy-Id: 16248
2019-06-14 18:18:11 +00:00
Henrik Levkowetz df08d82d88 Set version info and settings back to development mode
- Legacy-Id: 16246
2019-06-14 13:31:02 +00:00
Henrik Levkowetz 02409c4b8f Set version info to release version 6.97.1 before branching.
- Legacy-Id: 16244
2019-06-14 13:30:51 +00:00
Henrik Levkowetz c545648a44 Updated bower-managed static web assets
- Legacy-Id: 16240
2019-06-14 11:20:11 +00:00
Henrik Levkowetz d300a82845 Added validation of draft names extracted from XML submission files.
- Legacy-Id: 16239
2019-06-12 22:06:53 +00:00
Henrik Levkowetz 5e796292ff Added class inheritance from 'object'.
- Legacy-Id: 16238
2019-06-12 21:31:42 +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 c80827190d Adjusted some static resources.
- Legacy-Id: 16236
2019-06-08 13:51:58 +00:00
Henrik Levkowetz b5ad7dbf49 Updated references of RFC 5226 to RFC 8126, which obsoletes it. Fixes issue #2726.
- Legacy-Id: 16235
2019-06-07 12:30:21 +00:00
Henrik Levkowetz f4e2352eed Fixed the 'Request closing group' button incorrectly showing for group chairs. Fixes issue #2724.
- Legacy-Id: 16233
2019-06-05 14:16:14 +00:00
Henrik Levkowetz 0bc7af8e0f Syntax fix
- Legacy-Id: 16231
2019-06-03 15:02:19 +00:00
Henrik Levkowetz 47cbb8cf1b Moved some explicit URLs from code and templates to settings (related to www6 cleanup).
- Legacy-Id: 16230
2019-06-03 14:53:30 +00:00
Henrik Levkowetz 94de3e0f7e Refined the handling of draft xml version 3 versus version 2.
- Legacy-Id: 16229
2019-06-03 14:51:34 +00:00
Henrik Levkowetz fac6433641 Added a comment in settings.py
- Legacy-Id: 16227
2019-06-01 16:00:01 +00:00
Henrik Levkowetz 9733908fff Removed a patch from the list of package patches to apply.
- Legacy-Id: 16225
2019-05-23 18:16:29 +00:00
Henrik Levkowetz 4986f50c85 Set version info and settings back to development mode
- Legacy-Id: 16222
2019-05-23 15:10:46 +00:00
Henrik Levkowetz 47c04e0618 Set version info to release version 6.97.0 before branching.
- Legacy-Id: 16220
2019-05-23 15:10:04 +00:00
Henrik Levkowetz 3647162c4c Updated bower-managed static web assets
- Legacy-Id: 16216
2019-05-23 14:22:19 +00:00
Henrik Levkowetz be99a475ae Added a link to the meeting registration page to the meetings menu.
- Legacy-Id: 16214
2019-05-22 19:20:22 +00:00
Henrik Levkowetz 6f0d17fd00 Added a link to the registration page from the meeting 'Important Dates' page.
- Legacy-Id: 16213
2019-05-22 19:18:28 +00:00
Henrik Levkowetz 8e6eb3068a Builds on [16168]. Removed additional instances of links to unposted IPR disclosures that would result in 404 pages.
- Legacy-Id: 16212
Note: SVN reference [16168] has been migrated to Git commit 17db4cd4a4
2019-05-16 19:43:25 +00:00
Henrik Levkowetz a62e029932 After feedback from the RFC-Editor staff, changed the URL POST notification of Group name changes to an Email notification.
- Legacy-Id: 16210
2019-05-15 18:40:23 +00:00
Henrik Levkowetz b34b51cab9 Added .ics links for future meetings to the group meetings tab.
- Legacy-Id: 16209
2019-05-15 12:21:57 +00:00
Henrik Levkowetz de471d4e18 Added a signal receiver for notifications to the RFC editor about changed Group names.
- Legacy-Id: 16208
2019-05-14 13:59:32 +00:00
Henrik Levkowetz cda1d5eb32 Added sample notification JWT signature verification code to /api/index.html.
- Legacy-Id: 16207
2019-05-14 13:06:18 +00:00
Henrik Levkowetz f1ab5a78f1 Updated settings with EC/P-256 api keys (JWT does not support RS2048, which is what we had). Added a variable for RFC Editor group name notifications, with a placeholder value.
- Legacy-Id: 16206
2019-05-14 13:04:58 +00:00
Henrik Levkowetz 60fdfa2c83 Fixed template and view to restore previous review display on the Manage Unassigned Reviews page. Fixes issue #2718.
- Legacy-Id: 16205
2019-05-13 12:19:05 +00:00
Henrik Levkowetz 9099c1e1c1 Tweaked the review assignment presentation in review/request_info.html.
- Legacy-Id: 16204
2019-05-08 13:20:23 +00:00
Henrik Levkowetz 1b5cdfe2f5 Added review assignment information to the review-document view. Addresses issue #2717.
- Legacy-Id: 16203
2019-05-07 21:53:38 +00:00
Henrik Levkowetz d627049531 Set version info and settings back to development mode
- Legacy-Id: 16199
2019-05-06 15:36:24 +00:00
Henrik Levkowetz a393bc1991 Set version info to release version 6.96.0 before branching.
- Legacy-Id: 16197
2019-05-06 15:35:00 +00:00
Henrik Levkowetz 68f7043e1a Updated bower-managed static web assets
- Legacy-Id: 16194
2019-05-06 14:39:39 +00:00
Henrik Levkowetz cfbaf5b1a9 Fixed a pyflakes issue.
- Legacy-Id: 16193
2019-05-06 14:38:34 +00:00
Henrik Levkowetz 0993b8e1a6 Updated bower-managed static web assets
- Legacy-Id: 16190
2019-05-06 14:11:18 +00:00
Henrik Levkowetz fae7444df8 Updated the ReviewAssignment api resource to match the current model.
- Legacy-Id: 16189
2019-05-06 13:36:16 +00:00
Henrik Levkowetz 2538a581c2 Whitespace changes only
- Legacy-Id: 16187
2019-05-06 13:32:29 +00:00
Henrik Levkowetz 40f4ca4ae7 Modified a template to handle old reviews with incomplete information appropriately, instead of leading to 500 errors.
- Legacy-Id: 16186
2019-05-03 22:00:43 +00:00
Henrik Levkowetz 3502a49cab Fixed a problem in 3 views that were accessible through URLs without meeting numbers (e.g., .../meeting/proceedings/overview/) but gave 500 errors when accessed.
- Legacy-Id: 16185
2019-05-02 20:00:07 +00:00
Henrik Levkowetz 9d556204d6 Corrected an old URL for past meeting procedures.
- Legacy-Id: 16184
2019-05-02 19:57:39 +00:00