Robert Sparks
42bd8f5a41
Enable two tests that were not running because of typos in the test name. Thanks to Jennifer for spotting the typos.
...
- Legacy-Id: 18819
2021-02-01 22:37:57 +00:00
Robert Sparks
9a9f3fa360
Merged in [18798] from jennifer@painless-security.com:
...
Improve handling of submissions for closed working groups. Fixes #3058 .
- Legacy-Id: 18807
Note: SVN reference [18798] has been migrated to Git commit 233bff8196
2021-01-27 23:19:42 +00:00
Jennifer Richards
233bff8196
Improve handling of submissions for closed working groups. Fixes #3058 . Commit ready for merge.
...
- Legacy-Id: 18798
2021-01-18 14:55:25 +00:00
Robert Sparks
3697180cc1
Reverted merge of timezone-aware migration efforts.
...
- Legacy-Id: 18792
2021-01-12 16:54:20 +00:00
Henrik Levkowetz
774e752a54
Snapshot of timezone-aware datatracker code. Tests pass, and the test-crawler shows only expected differences. Trunk changes merged in up to r18768.
...
- Legacy-Id: 18770
2020-12-16 23:53:37 +00:00
Robert Sparks
10c24535a9
Merged in [18753] from henrik@levkowetz.com:
...
Added test case setUp() and tearDown() code to create yang model test directories for ApiSubmitTests.
- Legacy-Id: 18754
Note: SVN reference [18753] has been migrated to Git commit bca7a5d128
2020-12-11 19:41:16 +00:00
Robert Sparks
4a12278a39
revert unintended commit of debugging
...
- Legacy-Id: 18747
2020-12-10 17:07:44 +00:00
Robert Sparks
b673e9f836
Merged in [18719] from housley@vigilsec.com:
...
Automatically move the IESG document state when a ballot is issued, prevent a writeup change or re-issue of ballot if the document is already approved, and warn about issuing ballots before the IETF Last Call is finished. Fixes #3119 .
- Legacy-Id: 18746
Note: SVN reference [18719] has been migrated to Git commit 89ec802a5b
2020-12-10 17:04:41 +00:00
Robert Sparks
3baea05e6d
Use the id-archive wherever we had been using the id-repository. Fixes #3080 . Commit ready for merge.
...
- Legacy-Id: 18550
2020-10-02 14:13:17 +00:00
Henrik Levkowetz
15ea994266
Added an xml_version field to Submission objects, to capture the schema version of submitted XML files (if any). Related to issue #3067 .
...
- Legacy-Id: 18440
2020-08-28 14:31:36 +00:00
Robert Sparks
2b10465aa7
Convert IRTF area groups into their own group type rather than attempting to overload AG. Fixes #3027 . Commit ready for merge.
...
- Legacy-Id: 18298
2020-07-28 18:54:44 +00:00
Henrik Levkowetz
0a0df995e6
Merged in [18250] from jennifer@painless-security.com:
...
Reject or require manual processing for submissions when inconsistent SubmissionDocEvent revs exist. Fixes #2909 .
- Legacy-Id: 18277
Note: SVN reference [18250] has been migrated to Git commit b61bdc289b
2020-07-26 11:15:49 +00:00
Henrik Levkowetz
f0baae3623
Made test parts that depends on yanglint conditional. Added some informational messages about tests skipped due to missing resources.
...
- Legacy-Id: 18255
2020-07-24 13:43:59 +00:00
Jennifer Richards
b61bdc289b
Reject or require manual processing for submissions when inconsistent SubmissionDocEvent revs exist. Fixes #2909 . Commit ready for merge.
...
- Legacy-Id: 18250
2020-07-24 13:24:00 +00:00
Henrik Levkowetz
25e644d0e2
Added support for pulling yang modules from yangcatalog.org.
...
- Legacy-Id: 18141
2020-07-08 18:44:56 +00:00
Henrik Levkowetz
9047875296
Removed an unused parameter from submit.tests.do_submission_email().
...
- Legacy-Id: 18082
2020-06-27 17:17:22 +00:00
Henrik Levkowetz
186e2ae67b
Decorated post_submission() with @transaction.atomic, and did some slight refactoring of code related to post_submission() calls and submission events. This was triggered by a submission left in an intermediate state because of a WSGI timeout (leading to a 504 error).
...
- Legacy-Id: 17892
2020-05-28 15:01:33 +00:00
Henrik Levkowetz
bc05e7a8d0
Refactored many instances of msg.get_payload(decode=True).decode('utf-8') and similar to get_payload_text(msg), which uses msg.get_charset() to get the actual charset to do the decoding, in a consistent manner. Also removed some instances of force_str, but more remain.
...
- Legacy-Id: 17807
2020-05-16 20:20:05 +00:00
Henrik Levkowetz
f10ddadc0e
Merged in changes from trunk up to r17584.
...
- Legacy-Id: 17593
2020-04-07 16:02:52 +00:00
Henrik Levkowetz
4d345573ae
Check if any files matching the submitted draft name and revision already exists on disk in the active drafts or archived drafts directories, and if so reject the submission. Fixes issue #2908
...
- Legacy-Id: 17498
2020-03-21 22:56:57 +00:00
Robert Sparks
edc41a8705
Don't warn about idcutoff when the cutoff is after the meeting starts. Fixes #2907 . Commit ready for merge.
...
- Legacy-Id: 17419
2020-03-11 16:15:40 +00:00
Henrik Levkowetz
726fcbf27d
Removed all __future__ imports.
...
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz
e9a37d8ac8
Removed six.text_type(), changed six.moves.urllib to plain urllib, and removed now unused six imports.
...
- Legacy-Id: 17385
2020-03-05 14:41:41 +00:00
Henrik Levkowetz
b4d7dd131a
Added ability to use the submission API with active secondary email addresses. Fixes issue #2639 .
...
- Legacy-Id: 17383
2020-03-04 18:05:56 +00:00
Henrik Levkowetz
096c08aac4
Added a test case for draft submission errors due to periods in document names.
...
- Legacy-Id: 17251
2020-01-18 15:07:51 +00:00
Henrik Levkowetz
6482254a03
Merged in ^/branch/akayla/irsg/6.113.1.dev0 from peter@akayla.com.
...
This provides support for IRSG ballots, similar to the IESG ballots support which has been in use for quite some time. The IRSG ballots differ from IESG ballots in a number of ways, described in detail in the RFP and SoW for this work and implemented here.
- Legacy-Id: 17164
2019-12-20 15:00:55 +00:00
Peter E. Yee
bb7e504d14
12/13 merged into 6.113.1.dev0 with migration ordering failure
...
- Legacy-Id: 17149
2019-12-13 19:53:45 +00:00
Henrik Levkowetz
994e0ba6cc
Moved the code that generates .txt and .html draft files from .xml to a place where potential errors can be caught and displayed better. Related to ticket #2814 .
...
- Legacy-Id: 16862
2019-10-15 14:33:35 +00:00
Henrik Levkowetz
9d4ca615d3
Merged in [16607] from rcross@amsl.com:
...
Fix issue where third session requests, which rerequire AD approval, get left with approved status, instead of scheduled, after Secretraiat sends out notifications of official schedule. Fixes #2765 .
- Legacy-Id: 16817
Note: SVN reference [16607] has been migrated to Git commit 9a82586e1b
2019-10-02 20:55:54 +00:00
Henrik Levkowetz
3939c0b88c
Changed draft submission to not require an email round-trip when the submitter is logged in. Added corresponding test cases.
...
- Legacy-Id: 16749
2019-09-26 14:43:26 +00:00
Henrik Levkowetz
78889979a1
Changed the draft submission form and views so that an email address is required for each author in order to complete self-service draft submission. It is possible to add these as metadata updates, but this will lead to submission through the secretariat (and the email addresses will still be required). Also updated related templates to make the handling of form section headings more consistent.
...
- Legacy-Id: 16745
2019-09-23 17:26:16 +00:00
Henrik Levkowetz
a3f59ee9a2
Added conversion of version 3 XML draft submissions to v3 HTML, in addition to text. Added a link to HTML versions (when present) to the document status page, and renamed the link to the htmlized version to 'htmlized'. Converted the submission XML test-file to version 3. Added test code to check that HTML is generated for version 3 XML submissions.
...
- Legacy-Id: 16737
2019-09-20 14:24:44 +00:00
Henrik Levkowetz
44f42cdb3a
Undid the previous commit
...
- Legacy-Id: 16735
2019-09-20 11:30:04 +00:00
Henrik Levkowetz
e3e9f676b7
Added class 'bg-danger' to submission error messages. The big 'Meta-Data errors found' pane on red background is so noticeable that class 'text-danger' which gives bold text is insufficient to stand out clearly. Adding 'bg-danger' gives the specific error messages red background, too.
...
- Legacy-Id: 16734
2019-09-20 11:28:53 +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
48bab56be9
Removed a print() call
...
- Legacy-Id: 16420
2019-07-07 13:04:20 +00:00
Henrik Levkowetz
1225f8af6b
Refactored submission code to be clearer and only do mimetype extraction in one place, made the point where files are saved less obscure, fixed bytes/str issues for file read and write, fixed regex strings, fixed variable name visibility due to scope changes in py3.
...
- Legacy-Id: 16375
2019-07-04 15:49:42 +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
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
d7f5c84182
Initial 2to3 patch with added copyright statement updates.
...
- Legacy-Id: 16309
2019-06-27 14:40:54 +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
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
Robert Sparks
21a673490b
Incremental improvements to the submit_existing tests. Commit ready for merge.
...
- Legacy-Id: 15833
2018-12-18 23:22:40 +00:00
Robert Sparks
3d6c1f991b
Make state/substate changes on new submissions sensitive to stream. Fixes #2642 . Commit ready for merge.
...
- Legacy-Id: 15829
2018-12-17 22:38:22 +00:00
Henrik Levkowetz
ef3cbf4684
Merged in [15595] from rjsparks@nostrum.com:
...
Converted stats, submit, sync. and utils/test to use factories. Excluded utils/test_data from coverage checks.
- Legacy-Id: 15599
Note: SVN reference [15595] has been migrated to Git commit 39e76a836996ec9ed8ea449c92bdfae91c3dbaae
2018-10-19 12:54:58 +00:00