Commit graph

169 commits

Author SHA1 Message Date
Robert Sparks 6d7a0b6d0f Merged in [18939] from jennifer@painless-security.com:
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.
 - Legacy-Id: 18948
Note: SVN reference [18939] has been migrated to Git commit 17d37723f7
2021-04-12 22:07:03 +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 e6347ea187 Update the submission instructions to encourage submission of v3 xml. Fixes #3232. Commit ready for merge.
- Legacy-Id: 18914
2021-03-19 15:57:44 +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
Henrik Levkowetz 2cb14e6e29 Grammar fix.
- Legacy-Id: 18561
2020-10-05 11:01:26 +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 a8f13b79c3 Added links to v3 HTML output for v3 draft submissions. Fixesissue #3067.
- Legacy-Id: 18443
2020-08-28 15:31:17 +00:00
Henrik Levkowetz 6b560de71d Updated the instructions for how to expand a vocab v3 file to standalone (by using --expand with xml2rfc)
- Legacy-Id: 18401
2020-08-21 12:05:40 +00:00
Henrik Levkowetz 93e07f8650 Changed deprecated 'load staticfiles' to recommended 'load static'
- Legacy-Id: 18080
2020-06-27 13:51:19 +00:00
Henrik Levkowetz da6a0d83f1 Reworded the instructions for submission tool bug reporting and manual posting to avoid reports going to the wrong address.
- Legacy-Id: 17779
2020-05-11 19:43:50 +00:00
Henrik Levkowetz e0bd77f8a3 Fixed a html closing tag error.
- Legacy-Id: 17684
2020-04-24 18:15:44 +00:00
Henrik Levkowetz 5f57e59a2b Clarified the standalone XML draft submission requirements, and mentioned the xml2rfc switch to use for v3 sources.
- Legacy-Id: 17589
2020-04-06 20:04:27 +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 2c72d33b84 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: 16736
2019-09-20 11:31:09 +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 92590b70bf Updated contact address and text for submission problems to streamline secretariat handling.
- Legacy-Id: 16639
2019-08-09 21:58:40 +00:00
Henrik Levkowetz 269278954e Template variable name change.
- Legacy-Id: 16393
2019-07-04 20:54:36 +00:00
Henrik Levkowetz 5547b6d871 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: 16155
Note: SVN reference [16144] has been migrated to Git commit 37851b9742
2019-04-23 11:40:25 +00:00
Henrik Levkowetz bb4fe3fbbf Undid previous commit
- Legacy-Id: 16153
2019-04-22 19:22:42 +00:00
Russ Housley 37851b9742 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. Commit ready for merge.
- Legacy-Id: 16144
2019-04-16 20:18:27 +00:00
Henrik Levkowetz cce8032ba5 Removed a statement about IETF being an activity of the Internet Society from a template file, and tweaked the remaining text.
- Legacy-Id: 16017
2019-03-09 15:02:32 +00:00
Henrik Levkowetz 39d6dee878 Fixed various html issues.
- Legacy-Id: 15032
2018-04-08 15:56:33 +00:00
Henrik Levkowetz 2b1afa2fa2 Updated Note Well. Fixes issue 2474.
- Legacy-Id: 14876
2018-03-20 16:25:49 +00:00
Henrik Levkowetz 6cccabe03c The datatracker /html/ URLs don't currently accept revision numbers. Fix the URL in the announcement email for the time being, and improve the urls in the upcoming revisit of htmlized draft pages.
- Legacy-Id: 14736
2018-03-05 21:57:08 +00:00
Adam Roach 8a8f358ae8 Commit ready for merge: excessive author warning
- Legacy-Id: 14575
2018-01-26 20:58:37 +00:00
Henrik Levkowetz d442b0c15d Added a mention of the submission automation API on the submission upload page.
- Legacy-Id: 14228
2017-10-29 17:52:14 +00:00
Henrik Levkowetz 2d817427fc Added a cancel button to the submission confirmation page. Fixes issue #2379.
- Legacy-Id: 14170
2017-09-27 14:18:12 +00:00
Henrik Levkowetz 8d3c540edd Added submit API instructions and fixed a bug in error handling for the submission validity checkers.
- Legacy-Id: 14126
2017-09-17 13:04:41 +00:00
Henrik Levkowetz 2a62b8c39d Fixed a couple of html issues.
- Legacy-Id: 14002
2017-07-29 11:41:52 +00:00
Peter E. Yee 6df0b52532 Prints the group type and IRTF/IETF correctly now. Fixes #2034. Commit ready for merge.
- Legacy-Id: 13919
2017-07-15 18:03:30 +00:00
Henrik Levkowetz 1063a749fc Linked to the submission status page from the submission confirmation page, in case people want to look at the text or xml which will be posted.
- Legacy-Id: 13769
2017-07-03 21:22:18 +00:00
Henrik Levkowetz fde4843389 On request from a user, added information about running idnits before submission upload to the upload form page.
- Legacy-Id: 13762
2017-07-03 14:05:11 +00:00
Henrik Levkowetz 207ea51723 Added a test case for invalid yang in a draft submission.
- Legacy-Id: 13633
2017-06-15 19:22:36 +00:00
Henrik Levkowetz d98054c103 Added a new yang checker, 'yanglint', to the existing Yang checker class, in
addition to the existing 'pyang' checker.

Added modal overlay displays showing the yang check results every place the
yin/yang symbol is shown (red or green) to indicate the presencee and result
of yang checks.  Added a Yang Validation: line in the document
meta-information section on the document's page in the datatracker.

Added the result of the xym extaction to the yang check results, to make
extration failures visible.

Added the version of the used xym, pyang, and yanglint commands to the check
results.

Added an action to move successfully extracted and validated modules to the
module library directories immediately on submission.

Added the xym and pyang repositories as svn:external components, rather than
listing them in requirements.txt, as there has been delays of many months
between essential features in the repositories, and an actual release.  We may
get occasional buildbot failures if broken code is pulled in from the
repository, but better that than the functionality failure of severely
outdated componets.

Added a new management command to re-run yang validation for active drafts for
which yang modules were found at submission time, in order to pick up imported
models which may have arrived in the model libraries after the draft's
submission.  Run daily from bin/daily.

Added a table to hold version information for external commands.  The yang
checker output should include the version information of the used checkers,
but seems unnecessary to run each command with its --version switch every
time we check a module...

Added a new management command to collect version information for external
commands on demand.  To be run daily from bin/daily.

Added tests to verify that xym, pyang and yanglint information is available
on the submission confirmation page, and updated the yang module contained in
the test document to validate under both pyang and yanglint.

Updated admin.py and resource.py files as needed.
 - Legacy-Id: 13630
2017-06-15 16:09:28 +00:00
Henrik Levkowetz 76628be3fd Merged in ^/branch/iola/author-stats-r13145 from olau@iola.dk, and fixed some tests in code which moved after the latest merge with trunk. The test suite passes, but the migrations are _not_ ready to run, because of numbering conflicts (again due to code changes on trunk since the latest sync).
- Legacy-Id: 13479
2017-05-31 20:59:26 +00:00
Ole Laursen 5b677dc6ba Merge author stats branch into new branch from trunk
- Legacy-Id: 13159
2017-03-28 14:36:40 +00:00
Henrik Levkowetz e557c2113e Merged in [13118] from lars@netapp.com:
Update vnu.jar and fix various HTML5 nits it found during a test crawl.
 - Legacy-Id: 13152
Note: SVN reference [13118] has been migrated to Git commit 76a3c8bdc0
2017-03-27 17:35:38 +00:00
Lars Eggert 76a3c8bdc0 Update vnu.jar and fix various HTML5 nits it found during a test crawl.
Commit ready for merge.
 - Legacy-Id: 13118
2017-03-25 20:21:14 +00:00
Henrik Levkowetz ebef6d06d8 Reverted some links to htmlized draft versions, on request.
- Legacy-Id: 13091
2017-03-23 10:57:19 +00:00
Henrik Levkowetz 814e1315b5 Added a new document tab for some documents, showing htmlized drafts and RFCs
using the htmlization code previously developed for tools.ietf.org.  As the
generation of the htmlized page is a bit too costly to do on the fly for
often-referenced drafts and RFCs, the part of each page which contains the
htmlized document is cached on file with a cache time of 2 weeks.

Changed all links which pointed to the htmlized version on tools to instead
point at the datatracker htmlized document.

Tweaked some URLs which didn't permit retrieval of intermediate-rev-charters.

Narrowed the pattern for document names to disallow dots in names, and
instead explicitly enumerated the few historical draftw with dots in the
name.

Added a file-system cache for the htmlized documents, and specified a
max_entries value for caches, overriding the default 300 entries.

Tweaked the code for new author email entries to provide a time if missing
in an updated entry.

Changed links in various email templates which pointed at tools.ietf.org
pages to instead point at datatracker pages, where appropriate.

Changed the search result rows to provide links to both the current meta-
information document pages (with a (i) info symbol) and to the new htmlized
document pages.
 - Legacy-Id: 13040
2017-03-20 14:08:52 +00:00
Henrik Levkowetz 27351c4349 Fixed url lookups for doc.views_doc.document_main() to only use dotted-path, and removed the doc_view explicit url name. Fixes a 500 error in /submit/status/NNNN/.
- Legacy-Id: 12897
2017-02-22 11:40:55 +00:00
Ole Laursen d5e98c9644 Add mail to link to Secretariat on country page in case people are
missing a country or alias, adjust wording a bit on status page.
 - Legacy-Id: 12866
2017-02-17 10:21:34 +00:00
Ole Laursen 9d8874d8b1 Add a suggestion to fix the country name when submitting a draft in
case we can't parse it and it's not empty, add page with list of
countries (to be able to refer people to it), add ISO codes as country
aliases - the country alias code is now more intelligent with respect
to case so it's easier to keep these aliases explicitly
 - Legacy-Id: 12862
2017-02-16 17:56:23 +00:00
Ole Laursen b2ff10b0f2 Add support for extracting the country line from the author addresses
to the draft parser (incorporating patch from trunk), store the
extracted country instead of trying to turn it into an ISO country
code, add country and continent name models and add initial data for
those, add helper function for cleaning the countries, add author
country and continent charts, move the affiliation models to
stats/models.py, fix a bunch of bugs.
 - Legacy-Id: 12846
2017-02-15 18:43:57 +00:00
Henrik Levkowetz f6a1fcdaf8 Added more information about submission errors and a full idnits run to the manual post email sent to the secretariat.
- Legacy-Id: 12831
2017-02-13 20:37:47 +00:00
Ole Laursen 90051a1575 Add support for displaying and editing author affiliation and country
when submitting a draft, replace the Submission.authors line-based
text field with a JSON field
 - Legacy-Id: 12745
2017-01-27 16:10:31 +00:00
Ole Laursen 0479600ed0 Simple wording fix
- Legacy-Id: 12663
2017-01-17 13:53:13 +00:00
Ole Laursen 76bcab6efc Show formal languages used on new submissions and make the field
editable, also add it to the test with a simple JSON example
 - Legacy-Id: 12662
2017-01-17 13:52:16 +00:00
Ole Laursen f4555c4269 Fix another spacing bug on the submit page
- Legacy-Id: 12661
2017-01-17 13:50:41 +00:00