Commit graph

685 commits

Author SHA1 Message Date
Henrik Levkowetz b2be7975c9 Merged in [16600] from rjsparks@nostrum.com:
Fixed a subtle bug in the code that converts slides to PDF that was writing back into settings.
 - Legacy-Id: 16645
Note: SVN reference [16600] has been migrated to Git commit b4714f95579efcb5051438239a5df002036c9975
2019-08-10 18:06:40 +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 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 a5e31c3f40 Py2/3 compatibility: Added __future__ import.
- Legacy-Id: 16452
2019-07-15 15:52:18 +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 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 fbc131c73f Replaced an obsolete file() call with open().
- Legacy-Id: 16396
2019-07-04 20:57:36 +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 8c66e95a57 Test changes to match production group type changes for some special groups.
- Legacy-Id: 16357
2019-07-01 18:30:59 +00:00
Henrik Levkowetz f5ae2541ad Replaced multiple asserts with assertContains().
- Legacy-Id: 16353
2019-07-01 14:09:12 +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 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 484dcece5f Changed all model __unicode__() methods to __str__()
- Legacy-Id: 16330
2019-06-28 21:07:08 +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 f9cd72168f Updated some functions and views in secr/srec/ to use GroupFeatures instead of harcoded lists of group types.
- Legacy-Id: 16301
2019-06-23 11:52:58 +00:00
Henrik Levkowetz da5ff11538 Make session requests also work for ad-hoc groups, which may not have a parent area.
- Legacy-Id: 16300
2019-06-20 21:43:41 +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 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
Russ Housley 746ed7a524 Tests for IESG Telechat moderator package changes related to downrefs
- Legacy-Id: 16125
2019-04-01 19:22:08 +00:00
Henrik Levkowetz f54d6cd23d Merged in [16092] from rcross@amsl.com:
Remove ability to cancel a break session.  Fixes #2703.
 - Legacy-Id: 16105
Note: SVN reference [16092] has been migrated to Git commit b5850d5c7f
2019-03-26 15:53:41 +00:00
Henrik Levkowetz 5707df2770 Merged in [16088] from rcross@amsl.com:
Fix multiple issues with secretariat non-session view, including indicator of cancelled sessions.  Fixes #2701.
 - Legacy-Id: 16097
Note: SVN reference [16088] has been migrated to Git commit 41966122dd
2019-03-24 15:04:43 +00:00
Henrik Levkowetz 3252183d61 Merged in [16087] from housley@vigilsec.com:
Add downward references to telechat moderator package and Secretariat telechat pages.
 - Legacy-Id: 16093
Note: SVN reference [16087] has been migrated to Git commit 268b99bd56
2019-03-23 17:19:52 +00:00
Ryan Cross b5850d5c7f Remove ability to cancel a break session. Fixes #2703. Commit ready for merge.
- Legacy-Id: 16092
2019-03-23 17:00:52 +00:00
Ryan Cross 41966122dd Fix multiple issues with secretariat non-session view, including indicator of cancelled sessions. Fixes #2701. Commit ready for merge.
- Legacy-Id: 16088
2019-03-23 16:02:00 +00:00
Russ Housley 268b99bd56 Add downward references to telechat moderator package and Secretariat telechat pages. Commit ready for merge.
- Legacy-Id: 16087
2019-03-23 15:36:07 +00:00
Ryan Cross 2842ad12bb Fix issue where cancelling one break session causes other breaks to get cancelled. Fixes #2699. Commit ready for merge.
- Legacy-Id: 16085
2019-03-23 14:49:33 +00:00
Henrik Levkowetz 682ddee8e4 Reverted earlier application of on_behalf_of() at mail sending call points, and instead did all on_behalf_of processing in condition_message(). Added insertion of Reply-To header fields in this case. Changed all use of the mail-sending 'extra' parameters to use value lists. Updated a bunch of tests accordingly.
- Legacy-Id: 16020
2019-03-11 17:01:33 +00:00
Henrik Levkowetz d57088b1f3 Modified one call and one exception point related to on_behalf_of() use for email sending.
- Legacy-Id: 16008
2019-03-06 19:13:15 +00:00
Henrik Levkowetz 55bd2e5e42 Fixed some unintentional wg list address changes, and added some other test mail address changes.
- Legacy-Id: 15994
2019-03-04 20:54:38 +00:00
Henrik Levkowetz 435a0da12d Added on_behalf_of() calls for from addresses needing it throughout the code.
- Legacy-Id: 15992
2019-03-04 20:14:19 +00:00
Henrik Levkowetz ccb9074bc7 Temporary fix for a potential server 500. Expecting a better fix from Ryan.
- Legacy-Id: 15959
2019-02-21 15:26:40 +00:00
Henrik Levkowetz ef97f2a821 Merged in GroupFeatures refactoring and expansion from ^/personal/henrik/6.89.4.dev0@15911.
- Legacy-Id: 15912
2019-01-24 15:25:01 +00:00
Henrik Levkowetz 57a4c9f41f Added 9 new group features, and changed list-like char fields to json fields, to get better support for using the values as lists. Modified code to use the group features instead of explicit lists of group types in many places in the code.
- Legacy-Id: 15908
2019-01-22 18:11:46 +00:00
Henrik Levkowetz 4e8ef492fc Modified the rolodex code to make sure we capture information about the origin of email addresses if they are added by the secretariat, to ensure GPR compliance.
- Legacy-Id: 15898
2019-01-18 18:27:29 +00:00
Robert Sparks 25cc00f925 Refactored DocumentInfo to address overloading the external_url field with strings that are not URLs. Commit ready for merge.
- Legacy-Id: 15864
2019-01-02 22:55:00 +00:00
Robert Sparks 6118975620 Added an explicit ID-Exists state for the IESG state machine. Reworked code so that the IESG state machine always has a state. Added the ability to release a document from a working group, research group, or the independent stream. Releasing a document removes all stream state, and sets the document to have no stream.
- Legacy-Id: 15809
2018-12-11 22:38:05 +00:00
Henrik Levkowetz e55a079591 Merged in [15787] from rcross@amsl.com:
Rework page flow and forms of secr/meetings app.  Fixes #2609.
 - Legacy-Id: 15794
Note: SVN reference [15787] has been migrated to Git commit e634dc2488
2018-11-30 20:48:40 +00:00
Ryan Cross 4322bdaa6a Add missing template. Remove unused templates. Comit ready for merge.
- Legacy-Id: 15791
2018-11-29 18:21:40 +00:00
Ryan Cross e634dc2488 Rework page flow and forms of secr/meetings app. Fixes #2609. Commit ready for merge.
- Legacy-Id: 15787
2018-11-21 22:43:04 +00:00
Henrik Levkowetz 1149ebcacf Merged in [15722] from rcross@amsl.com:
Add link to meeting/../agendas/list.  Fixes #2627.
 - Legacy-Id: 15762
Note: SVN reference [15722] has been migrated to Git commit b15a008c40
2018-11-12 16:52:56 +00:00
Henrik Levkowetz 18c7e90d94 Merged in [15719] from rcross@amsl.com:
Removed resources field from secr/meetings/../rooms.
Tweaked CSS for this page to eliminate horizontal scrolling. 
Includes new base templates to facilitate transition to bootstrap.
Fixes #2628.
 - Legacy-Id: 15759
Note: SVN reference [15719] has been migrated to Git commit afbcc4e0ad
2018-11-12 14:17:32 +00:00
Henrik Levkowetz d284c56ed5 Removed a print statement from a test.
- Legacy-Id: 15758
2018-11-12 14:11:34 +00:00