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
f481f5c3e6
Replaced use of six with the equivalent pure python3 constructs.
...
- Legacy-Id: 16428
2019-07-08 10:43:47 +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
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
d957f32690
Fixed a syntax error and removed unused imports.
...
- Legacy-Id: 16389
2019-07-04 20:48:55 +00:00
Henrik Levkowetz
a1e7dc9acc
Changed a function name.
...
- Legacy-Id: 16386
2019-07-04 16:10:21 +00:00
Henrik Levkowetz
81fa6dc962
Fixed some issues with bulk changes related to assertContains()
...
- Legacy-Id: 16379
2019-07-04 16:04:39 +00:00
Henrik Levkowetz
f33ecaa1a4
Fixed a test that compared an int with a meeting number string. Changed meeting test data to use meeting number 72 instead of 42, because proceedings code gives 404 for meetings before 65. Changed a number of StringIO() to BytesIO().
...
- Legacy-Id: 16378
2019-07-04 16:01:32 +00:00
Henrik Levkowetz
b7690fbdcd
Changed additional regexes to r strings.
...
- Legacy-Id: 16377
2019-07-04 15:54:23 +00:00
Henrik Levkowetz
0589d0b313
Changed a bunch of regexes to use r strings; also miscellaneous smaller fixes.
...
- Legacy-Id: 16376
2019-07-04 15:51:05 +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
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
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
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
484dcece5f
Changed all model __unicode__() methods to __str__()
...
- Legacy-Id: 16330
2019-06-28 21:07:08 +00:00
Henrik Levkowetz
d40a5ac5ac
Removed some regex unicode flags.
...
- Legacy-Id: 16321
2019-06-28 13:33:38 +00:00
Henrik Levkowetz
06daf6ac65
Changed regex strings to raw strings.
...
- Legacy-Id: 16312
2019-06-27 18:08:02 +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
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
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
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
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
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
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
2538a581c2
Whitespace changes only
...
- Legacy-Id: 16187
2019-05-06 13:32:29 +00:00
Henrik Levkowetz
ed2042da0e
Some additional tweaks to the review assingment migrations.
...
- Legacy-Id: 16183
2019-05-02 15:40:21 +00:00
Henrik Levkowetz
9282195d6c
Fixed some migrations issues that prevented the review assignment refactoring migrations from being reversed and re-applied.
...
- Legacy-Id: 16182
2019-05-02 13:49:14 +00:00
Henrik Levkowetz
ca1f3340c0
Changed a ReviewAssignmentDocEvent type from 'closed_review_request' to 'closed_review_assignment', for consistency and readability.
...
- Legacy-Id: 16181
2019-05-02 12:38:41 +00:00
Henrik Levkowetz
8726e74709
Merged in a refactoring of document review code from rjsparks@nostrum.com. This introduces ReviewAssignments, letting us do multiple assingments for a given RevieRequest, without conflating the assignments and their results with the request itself.
...
- Legacy-Id: 16177
2019-04-30 16:54:06 +00:00
Henrik Levkowetz
bb4fe3fbbf
Undid previous commit
...
- Legacy-Id: 16153
2019-04-22 19:22:42 +00:00
Henrik Levkowetz
cfcefc2e32
Merged in [16144] from housley@vigilsec.com:
...
Remove some clutter from I-D upload page. The information was mived to the Instructions tab, but a higligh to the Note Well and BCP 78 was added. Fixes #2057 .
- Legacy-Id: 16151
Note: SVN reference [16144] has been migrated to Git commit 37851b9742
2019-04-22 17:39:26 +00:00
Henrik Levkowetz
33e0f8c35d
Merged in [16126] from housley@vigilsec.com:
...
Allow Secretariat to handle downrefs when they approve a document
- Legacy-Id: 16134
Note: SVN reference [16126] has been migrated to Git commit 8c7e75101d
2019-04-08 17:02:02 +00:00
Henrik Levkowetz
5aad3a652d
Merged in [16110] from rjsparks@nostrum.com:
...
Include the note itself in email sent when the RFC editor note changes after document approval. Also changed the flow to redirect back to the writeups pages after editing the RFC editor note. Fixes #2672 .
- Legacy-Id: 16130
Note: SVN reference [16110] has been migrated to Git commit fbfd204eb9
2019-04-03 19:30:10 +00:00
Henrik Levkowetz
c7e5459d5a
Merged in [16109] from rjsparks@nostrum.com:
...
Protect drafts in certain IRTF states from expiring. Fixes #2669 .
- Legacy-Id: 16129
Note: SVN reference [16109] has been migrated to Git commit 003e472d04
2019-04-03 19:03:38 +00:00
Russ Housley
8c7e75101d
Allow Secretariat to handle downrefs when they approve a document
...
- Legacy-Id: 16126
2019-04-01 19:46:14 +00:00
Robert Sparks
fbfd204eb9
Include the note itself in email sent when the RFC editor note changes after document approval. Also changed the flow to redirect back to the writeups pages after editing the RFC editor note. Fixes #2672 . Commit ready for merge.
...
- Legacy-Id: 16110
2019-03-28 10:07:11 +00:00
Robert Sparks
003e472d04
Protect drafts in certain IRTF states from expiring. Fixes #2669 . Commit ready for merge.
...
- Legacy-Id: 16109
2019-03-28 08:48:35 +00:00
Peter E. Yee
cfdbae1f3c
Fixed bad calls to rfcdiff for -00 drafts and replaced drafts. Fixes issue #2697 . Commit ready for merge.
...
- Legacy-Id: 16095
2019-03-23 18:17:51 +00:00
Robert Sparks
81c5b5091a
Made some docevent creation more consistent. Addressed the TODOs added during the refactor.
...
- Legacy-Id: 16049
2019-03-19 18:48:05 +00:00