datatracker/ietf/secr
Lars Eggert 5598762608
fix: add more HTML validation & fixes (#3891)
* Update vnu.jar

* Fix py2 -> py3 issue

* Run pyupgrade

* test: Add default-jdk to images

* test: Add option to also validate HTML with vnu.jar

Since it's already installed in bin. Don't do this by default, since it
increases the time needed for tests by ~50%.

* fix: Stop the urlizer from urlizing in linkified mailto: text

* More HTML fixes

* More HTML validation fixes

* And more HTML fixes

* Fix floating badge

* Ignore unicode errors

* Only URLize docs that are existing

* Final fixes

* Don't URLize everything during test-crawl

* Feed HTML into vnu using python rather than Java to speed things up

* Allow test-crawl to start vnu on a different port

* Increase retry count to vnu. Restore batch size to 30.

* More HTML validation fixes

* Use urllib3 to make requests to vnu, since overriding requests_mock is tricky

* Undo commit of unmodified file

* Also urlize ftp links

* Fix matching of file name

* More HTML fixes

* Add `is_valid_url` filter

* weekday -> data-weekday

* urlencode URLs

* Add and use vnu_fmt_message. Bump vnu max buffer.

* Simplify doc_exists

* Don't add tab link to mail archive if the URL is invalid

* Run urlize_ietf_docs before linkify

Reduces the possibility of generating incorrect HTML

* Undo superfluous change

* Runner fixes

* Consolidate vnu message filtering into vnu_filter_message

* Correctly handle multiple persons with same name

* Minimze diff

* Fix HTML nits

* Print source snippet in vnu_fmt_message

* Only escape if there is something to escape

* Fix snippet

* Skip crufty old IPR declarations

* Only include modal when needed. Add handles.

* Fix wordwrap+linkification

* Update ietf/doc/templatetags/ietf_filters.py

* Update ietf/doc/templatetags/tests_ietf_filters.py

* Don't right-align second column
2022-05-03 13:55:48 -05:00
..
announcement Many more HTML fixes. 2022-02-03 07:49:34 +00:00
areas preparing to merge forward 2020-07-09 20:29:45 +00:00
console Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
groups Use Roles instead of dedicated model for liaison statement group contacts. Fixes #3100. Commit ready for merge. 2021-02-12 16:39:20 +00:00
lib The context_instance parameter to render_to_response() and render_to_string() is now deprecated. Fixed this, and generally changed the idiom render_to_response('template.html', {}, RequestContext(request)) to the newer and simpler render(request, 'template.html', {}). About 200 instances. 2017-01-09 21:26:30 +00:00
meetings Merge 7.45.1.dev0 into Bootstrap 5 update branch. Made a first pass at reconciling differences. 2022-02-17 20:09:49 +00:00
middleware Changed some # type: ignore statements to work with the latest mypy 2019-11-05 22:41:18 +00:00
proceedings fix: add more HTML validation & fixes (#3891) 2022-05-03 13:55:48 -05:00
roles Use temporary directories instead of "real" filesystem for tests. Fixes #3414. Commit ready for merge. 2021-11-05 19:45:57 +00:00
rolodex Fixed a place where data provider for a POST in contained None, which cannot be serialized into POST data. Found by Django 2.2 checks. 2020-06-27 17:23:47 +00:00
sreq fix: use ModelMultipleChoiceField for 'bethere' when hidden (#3894) 2022-04-26 16:53:45 -05:00
static fix: add more HTML validation & fixes (#3891) 2022-05-03 13:55:48 -05:00
telechat Fix Telechat app bug, draft with no ballot. Commit ready for merge 2021-07-01 17:16:09 +00:00
templates fix: add more HTML validation & fixes (#3891) 2022-05-03 13:55:48 -05:00
utils Allow program leads to request meetings. Fixes #3141. Commit ready for merge. 2020-11-23 20:36:47 +00:00
__init__.py Merged in branch/amsl/1.50@6388 from rcross@amsl.com, with secretariat tool 2013-10-21 20:29:15 +00:00
context_processors.py Removed dead code. 2015-08-01 14:58:08 +00:00
urls.py Remove drafts secretariat tool because this functionality is now provided by the core Datatracker. Moved ID reports to proceedings tool. Fixes #1655. Commit ready for merge. 2020-03-21 19:52:12 +00:00