Henrik Levkowetz
7ad34ba69e
The logic for displaying 'Email requested to be sent for earlier discuss' on IESG positions was wrong; it would count later discusses and discusses from other ADs as an 'earlier discuss'. Moved any_email_sent() from ballot to position, and refined the criteria.
...
- Legacy-Id: 16675
2019-08-28 20:56:34 +00:00
Henrik Levkowetz
9a9c9fb426
Merged in [16603] from rjsparks@nostrum.com:
...
Remove a debug statement from the command
- Legacy-Id: 16661
Note: SVN reference [16603] has been migrated to Git commit d27096f39022e9bee1ffa84631d5ae847af9be3e
2019-08-20 10:35:06 +00:00
Henrik Levkowetz
509e0da7ab
Merged in [16601] from rjsparks@nostrum.com:
...
A management command to correct the state of several slide presentations uploaded during IETF105, and perform some missed powerpoint to pdf conversions.
- Legacy-Id: 16659
Note: SVN reference [16601] has been migrated to Git commit a14188d95cf200dfbdd93485b89808f3336b0649
2019-08-19 17:50:56 +00:00
Henrik Levkowetz
8e313e4ed5
Adjusted migrations for Python2/3 compatibility.
...
- Legacy-Id: 16633
2019-08-08 17:11:14 +00:00
Henrik Levkowetz
41c6bbf62e
Merged in [16563] from housley@vigilsec.com:
...
Improve performance for a few pages
- Legacy-Id: 16613
Note: SVN reference [16563] has been migrated to Git commit 765ce0d0b0
2019-08-04 15:44:06 +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
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
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
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
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
e03784132d
Merged changes from current trunk to Py3 branch.
...
- Legacy-Id: 16468
2019-07-16 15:36:16 +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
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
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
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
855716e1d5
Py2/3 compatibility: Added __future__ import
...
- Legacy-Id: 16448
2019-07-15 15:46:06 +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
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