Robert Sparks
841f289b5d
fix: repair incorrect merge ( #3728 )
2022-03-22 13:51:02 -03:00
Lars Eggert
eb5423d084
ci: Also check generated HTML with the "vnu" validator ( #3682 )
...
* ci: Also check generated HTML with the "vnu" validator
Because HTML Tidy apparently misses a bunch of errors.
* thead -> tbody
* More fixes
* More fixes
* Start checker in test runner
2022-03-21 12:50:23 -05:00
Robert Sparks
9f4634f531
fix: use approver's identity instead of System ( #3701 ) ( #3705 )
...
Fixes issue #3545
Conditionally tests if the approver is AnonymousUser, in which case
System is still used
Co-authored-by: Peter Yee <github@houseofyee.com>
2022-03-20 09:00:09 -05:00
Peter Yee
4dc0247976
fix: use approver's identity instead of System ( #3701 )
...
Fixes issue #3545
Conditionally tests if the approver is AnonymousUser, in which case
System is still used
2022-03-20 07:54:15 -05:00
Russ Housley
71b1f13a79
fix: improfe draft name syntax checks ( #3703 )
...
* fix: Include blocked charters in AD dashboard that are ub external review
* fix: Improve draft name syntax checks. Fixes #3677
2022-03-20 06:59:29 -05:00
Robert Sparks
9df659b06e
fix: better draft name validation. Fixes #3539 . ( #3671 )
2022-03-18 18:01:25 -05:00
Jennifer Richards
686a9150b3
Merge remote-tracking branch 'origin/main' into personal/jennifer/7.45.1.dev0.bootstrap-merge
...
# Conflicts:
# ietf/templates/meeting/session_buttons_include.html
2022-03-04 15:14:52 -04:00
Robert Sparks
95cb3f041e
Merged in [19965] from rjsparks@nostrum.com:
...
Remove unused imports.
- Legacy-Id: 19966
Note: SVN reference [19965] has been migrated to Git commit 70cd714fac087b5b5257708541d8ae4de8c5a6a6
2022-02-22 23:12:21 +00:00
Robert Sparks
ec71083d1d
Only keep the first and most recent yang validator SubmissionCheck for any given submission. Fixes #3542 . Commit ready for merge.
...
- Legacy-Id: 19952
2022-02-18 22:46:40 +00:00
Jennifer Richards
6c260a5b7e
Merge 7.45.1.dev0 into Bootstrap 5 update branch. Made a first pass at reconciling differences.
...
- Legacy-Id: 19945
2022-02-17 20:09:49 +00:00
Lars Eggert
ed30521e14
Many more HTML fixes.
...
- Legacy-Id: 19908
2022-02-03 07:49:34 +00:00
Lars Eggert
cc723ce449
More fixes.
...
- Legacy-Id: 19899
2022-01-31 19:17:50 +00:00
Lars Eggert
335a39d4fc
More fixes.
...
- Legacy-Id: 19884
2022-01-28 13:00:47 +00:00
Lars Eggert
cf629a42ad
And more fixes.
...
- Legacy-Id: 19877
2022-01-25 10:14:25 +00:00
Lars Eggert
edf3242665
More fixes.
...
- Legacy-Id: 19836
2022-01-12 18:37:18 +00:00
Jennifer Richards
cf62b46093
Find references from submitted XML instead of rendering to text and parsing. Fixes #3342 . Commit ready for merge.
...
- Legacy-Id: 19825
2022-01-07 17:53:23 +00:00
Lars Eggert
6fa5fa073e
More fixes.
...
- Legacy-Id: 19812
2022-01-06 12:26:10 +00:00
Lars Eggert
5132661b06
More test fixes
...
- Legacy-Id: 19803
2022-01-05 11:25:25 +00:00
Robert Sparks
865dc62676
Change strategy to only creating a single file per doc/rev, and not creating the 'draft-'-less or version-less variants. Corrected calculation of date in the management command.
...
- Legacy-Id: 19789
2021-12-16 22:33:47 +00:00
Robert Sparks
f6035850d8
update bibxml-ids generation on draft submission.
...
- Legacy-Id: 19783
2021-12-14 21:53:10 +00:00
Robert Sparks
b7eec8ae26
Build and maintain a full set of bibxml-ids documents.
...
- Legacy-Id: 19782
2021-12-14 20:56:26 +00:00
Lars Eggert
f974fd3c04
Fix more things
...
- Legacy-Id: 19762
2021-12-09 06:41:00 +00:00
Lars Eggert
726b29bf74
fontawesome -> bootstrap-icons
...
- Legacy-Id: 19608
2021-11-10 09:28:38 +00:00
Robert Sparks
5c28a85cf1
Merged in [19555] from jennifer@painless-security.com:
...
Use temporary directories instead of 'real' filesystem for tests. Fixes #3414 .
- Legacy-Id: 19561
Note: SVN reference [19555] has been migrated to Git commit 81d9234d54
2021-11-08 18:16:56 +00:00
Jennifer Richards
81d9234d54
Use temporary directories instead of "real" filesystem for tests. Fixes #3414 . Commit ready for merge.
...
- Legacy-Id: 19555
2021-11-05 19:45:57 +00:00
Lars Eggert
b058ba28ec
Remove the ability to submit Postscript I-Ds.
...
Commit ready for merge. Fixes #3448 .
- Legacy-Id: 19486
2021-10-28 16:24:29 +00:00
Lars Eggert
962253f994
Remove the Note Well from the datatracker and point to the IETF web site.
...
One less thing to keep in sync if the Note Well changes.
Commit ready for merge.
- Legacy-Id: 19484
2021-10-28 13:08:10 +00:00
Robert Sparks
b99eecc1ae
Bring the factory-boy and Faker dependencies forward through some minor breaking changes. Stop using the deprecated fr_QC locale in Faker. Commit ready for merge.
...
- Legacy-Id: 19270
2021-08-03 22:22:35 +00:00
Robert Sparks
47082fe4c5
Allow submit and expire_drafts to succeed when there is no "next" IETF meeting in the database. Fixes #3370 . Commit ready for merge.
...
- Legacy-Id: 19269
2021-08-01 17:50:35 +00:00
Jennifer Richards
9ef3764ad7
Run v2v3 converter internally when v2 XML is submitted. Fixes #3305 . Commit ready for merge.
...
- Legacy-Id: 19242
2021-07-20 18:13:41 +00:00
Robert Sparks
2e861b5eff
Merged in [19122] from jennifer@painless-security.com:
...
Update action holders when a new draft is submitted. Fixes #3281 .
- Legacy-Id: 19127
Note: SVN reference [19122] has been migrated to Git commit 197194a41c
2021-06-14 20:16:49 +00:00
Jennifer Richards
197194a41c
Update action holders when a new draft is submitted. Fixes #3281 . Commit ready for merge.
...
- Legacy-Id: 19122
2021-06-14 17:11:23 +00:00
Kesara Rathnayake
0a645fd486
Parse RFC2047 formatted text properly in submission form. Fixes #2465 . Commit ready for merge.
...
- Legacy-Id: 19120
2021-06-14 10:46:35 +00:00
Jennifer Richards
1155fb32f6
Accept 'None' when updating DocumentAuthor affiliation / country. Commit ready for merge.
...
- Legacy-Id: 19028
2021-05-21 15:54:03 +00:00
Jennifer Richards
6cf9eb8dd1
Allow secretariat to edit document author list. Fixes #3185 . Commit ready for merge.
...
- Legacy-Id: 18989
2021-05-11 18:40:28 +00:00
Jennifer Richards
b08110b838
Allow external resources to be set/suggested during submission process. Fixes #3068 . Commit ready for merge.
...
- Legacy-Id: 18960
2021-04-19 20:21:19 +00:00
Jennifer Richards
17d37723f7
Consolidate repeated searchable field code into SearchableField class. Fix single-valued searchable fields. Make javascript test config reusable. Use Django Form.media for JS/CSS inclusion. Fixes #3196 , #3204 . Commit ready for merge.
...
- Legacy-Id: 18939
2021-04-09 15:18:11 +00:00
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
Henrik Levkowetz
f41fd1867d
Upgraded the required versions of mypy and django-stubs to the latest that support Django 2.2. Fixed some issues found by after the upgrades.
...
- Legacy-Id: 18717
2020-11-22 21:13:36 +00:00
Henrik Levkowetz
088033d843
Added matching indexes to a number of models with ordering by multiple keys.
...
- Legacy-Id: 18664
2020-11-09 19:41:12 +00:00
Henrik Levkowetz
b51de66324
Added additional logging of submission steps, for submission timing investigation. Should be reduced once cause of long response times has been found.
...
- Legacy-Id: 18655
2020-11-03 13:24:20 +00:00
Henrik Levkowetz
3c9798c418
Fixed a couple of pyflakes issues.
...
- Legacy-Id: 18636
2020-10-24 18:38:45 +00:00
Henrik Levkowetz
45a808db95
Added more logging for submissions, to get timing information.
...
- Legacy-Id: 18635
2020-10-24 15:20:43 +00:00
Henrik Levkowetz
c02752d884
Changed a draft submission revision consistency check to look at Submission objects rather than SubmissionDocEvent objects in order to not fail incorrectly when there are prior cancelled uploads. Related to issue #2909 .
...
- Legacy-Id: 18586
2020-10-09 13:21:53 +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
Henrik Levkowetz
9125104065
Merged in [18324] from rjsparks@nostrum.com:
...
Send extra mail to yangdoctors chairs when a draft with yang checks goes into IETF LC. Fixes #2419 .
- Legacy-Id: 18363
Note: SVN reference [18324] has been migrated to Git commit cb58810705
2020-08-13 11:23:22 +00:00
Henrik Levkowetz
57938b039d
Converted many cases of plain-text 403 messages to use a properly styled page instead, with a login link when appropriate. Also changed some API endpoint 400 responses to a more correct 403.
...
- Legacy-Id: 18339
2020-08-06 10:59:52 +00:00
Robert Sparks
cb58810705
Send extra mail to yangdoctors chairs when a draft with yang checks goes into IETF LC. Fixes #2419 . Commit ready to merge.
...
- Legacy-Id: 18324
2020-07-30 21:44:02 +00:00
Henrik Levkowetz
1dedffb550
Provide a local environment path for pyang, which is installed with pip and may not be available globally. Fixes issue #3018 .
...
- Legacy-Id: 18322
2020-07-30 15:33:24 +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
606cedd796
Merged in the ExtResource work from rjsparks@nostrum.com, based on a feature request and contributions from rsalz@akamai.com. This provides external resource models for Person, Group, and Document models, as a generalisation of the previous related-URL concept. This provides a consistent labelling and classification of URLs and other resources related to a Group, Document, or Person. The GroupURL (and similar) classes will be removed in a later step. Some DocumentURL instances (such as auth48 URLs) remain to convert, as they have come in with other merged-in work while the ExtResource work was in transit.
...
- Legacy-Id: 18192
2020-07-20 01:58:26 +00:00
Robert Sparks
99df95d542
Cleaned up created names. Improved validation during migration. Cleaned up migration output. Cleaned the last of the awp includes from secr views. Removed now unused secr templates. Build extresource urls correctly during submission and when creating group wikis.
...
- Legacy-Id: 18158
2020-07-13 16:03:39 +00:00
Robert Sparks
53f7bc3ce6
migrated forward
...
- Legacy-Id: 18144
2020-07-09 21:07:05 +00:00
Robert Sparks
066ee27505
preparing to merge forward
...
- Legacy-Id: 18143
2020-07-09 20:29:45 +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
dc7581fef4
Changed NullBoleanField() to BooleanField(null=True), according to the 2.1 upgrade recommendations.
...
- Legacy-Id: 18051
2020-06-24 20:33:57 +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
3439f3d42c
Tweaked a log.assertion() case.
...
- Legacy-Id: 17793
2020-05-14 15:47:41 +00:00
Henrik Levkowetz
111d27486f
Added a pyflakes:ignore
...
- Legacy-Id: 17771
2020-05-10 14:25:27 +00:00
Henrik Levkowetz
0daddb5b91
Changed a log.assertion() to provide more information about the unexpected situation.
...
- Legacy-Id: 17770
2020-05-10 14:17:23 +00:00
Henrik Levkowetz
9aeda11a29
Removed some Py2 compatibility decorators.
...
- Legacy-Id: 17673
2020-04-21 13:54:31 +00:00
Henrik Levkowetz
f2b883d2bb
Merged in ^/trunk@17617.
...
- Legacy-Id: 17618
2020-04-14 17:11:51 +00:00
Henrik Levkowetz
5c3c3fff82
Changed the handling of some exceptions during draft submission to give user feedback rather than server 500 responses, in order to deal better with severely malformed drafts.
...
- Legacy-Id: 17595
2020-04-08 13:12:39 +00:00
Henrik Levkowetz
0df0a87a48
Added a workaround for the current libmagic which quite easily can mischaracterise text/plain documents as text/x-Algol68. Fixes issues #2941 and #2956 .
...
- Legacy-Id: 17594
2020-04-07 18:33:24 +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
Henrik Levkowetz
e99fa4be40
Merged in [17419] from rjsparks@nostrum.com:
...
Don't warn about idcutoff when the cutoff is after the meeting starts. Fixes #2907 .
- Legacy-Id: 17422
Note: SVN reference [17419] has been migrated to Git commit edc41a8705
2020-03-11 21:46:02 +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
0f6a886ae0
Corrected the extent of a try/except block, moving more code inside the block. Fixes a submission exception that should just be a document error reported back to the user.
...
- Legacy-Id: 17411
2020-03-09 14:13:37 +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
095c3a2ccb
Fixed an issue where the lookup of recognized country names during draft submission grabbed the unicode name instead of the ascii name for non-ascii country strings in XML submissions.
...
- Legacy-Id: 17345
2020-02-26 17:20:13 +00:00
Henrik Levkowetz
a7baacf519
Added missing .as_strings() to some gather_address_lists() calls, in order to assign strings rather than lists to Message CharField instances. Fixed a Message content_type setting.
...
- Legacy-Id: 17337
2020-02-26 16:59:18 +00:00
Henrik Levkowetz
9439f718d4
Wrapped more code in an exception block, in order not to continue processing after an XML parse exception. Fixes issue #2885 .
...
- Legacy-Id: 17305
2020-02-18 20:20:09 +00:00
Henrik Levkowetz
e79eb56c01
Changed the xml parser settings for legacy xml draft submissions to remove comments before converting to .txt. Fixes and issue with comments in <artwork> text.
...
- Legacy-Id: 17297
2020-02-16 15:48:45 +00:00
Henrik Levkowetz
65ca6e240c
Added some raw_id fields to avoid long page load times
...
- Legacy-Id: 17267
2020-01-30 22:13:29 +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
060539cf1f
Added a suggestion to the error message issued for invalid characters in document names found in draft submission XML files, when the invalid character is a period. In this particular case, the problem most likely is inclusion of the filename extension in the document name. Fixes issue #2874 .
...
- Legacy-Id: 17250
2020-01-18 15:06:17 +00:00
Henrik Levkowetz
edf28348aa
Changed draft submission field validation taking place in clean() to associate the errors with the field in question, rather than raising them as general form errors.
...
- Legacy-Id: 17249
2020-01-18 15:01:35 +00:00
Henrik Levkowetz
76ee1b8cdf
Fixed a Py3 issue trying run .decode() on (already decoded) str.
...
- Legacy-Id: 17248
2020-01-18 14:59:08 +00:00
Henrik Levkowetz
3db48727ea
Specified explicit UTF-8 decoding of submission checker output
...
- Legacy-Id: 17194
2020-01-07 22:26:00 +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
Henrik Levkowetz
202d112e0d
Added handling for a decoding exception during submission processing.
...
- Legacy-Id: 17151
2019-12-16 13:32:51 +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
ac6b664fa5
Added normalization of draft title extracted from submitted XML.
...
- Legacy-Id: 17119
2019-12-02 16:24:51 +00:00
Henrik Levkowetz
c486ec8003
Fixed naming of staged xml draft submission files and tweaked the arguments for the xml2rfc parser invocation for xml draft submissions. Added some more logging.
...
- Legacy-Id: 17075
2019-11-21 04:35:31 +00:00