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
Lars Eggert
f8c06fa5cf
fix: Use unique data-sort
attributes ( #3836 )
...
* fix: Use unique `data-sort` attributes
So list.js properly sorts columns.
* Address @rjsparks' comments
2022-04-19 10:16:32 -05:00
Lars Eggert
3234f1a121
test: Validate HTML rendered during tests ( #3782 )
2022-04-07 13:30:38 -03:00
Lars Eggert
870fed030f
fix: More fixes for narrow screens ( #3662 )
...
* fix: More fixes for narrow screens
Need to keep checking for issues, there are more.
* Make columns more narrow on narrow screens
* More fixes
* More fixes
* Test fixes
* Fix more tests
* Close tbody
2022-03-24 12:40:48 -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
Lars Eggert
67ebadeadd
A bunch more cosmetic fixes.
...
- Legacy-Id: 19913
2022-02-09 10:11:03 +00:00
Lars Eggert
bbf088e18b
Hopefully the final check-ins.
...
- Legacy-Id: 19909
2022-02-08 17:29:15 +00:00
Lars Eggert
ed30521e14
Many more HTML fixes.
...
- Legacy-Id: 19908
2022-02-03 07:49:34 +00:00
Lars Eggert
a507b31669
More nits fixed.
...
- Legacy-Id: 19903
2022-02-01 08:29:55 +00:00
Lars Eggert
53089a94f6
And more fixes.
...
- Legacy-Id: 19902
2022-02-01 07:47:25 +00:00
Lars Eggert
9c05373699
More fixes.
...
- Legacy-Id: 19856
2022-01-18 20:04:55 +00:00
Lars Eggert
373b5dbbf4
More fixes.
...
- Legacy-Id: 19827
2022-01-10 08:41:20 +00:00
Lars Eggert
6fa5fa073e
More fixes.
...
- Legacy-Id: 19812
2022-01-06 12:26:10 +00:00
Lars Eggert
e2541030d3
More bs5 changes
...
- Legacy-Id: 19725
2021-12-01 18:45:19 +00:00
Lars Eggert
448c6dbe9e
And more bs5 stuff
...
- Legacy-Id: 19717
2021-12-01 13:52:50 +00:00
Lars Eggert
9e038d3e98
Bring back some additional js dependencies.
...
- Legacy-Id: 19707
2021-11-24 14:32:35 +00:00
Lars Eggert
a9738bc2b2
Many more changes related to tablesorter.
...
- Legacy-Id: 19702
2021-11-23 15:31:34 +00:00
Lars Eggert
6b7beb17bf
panel -> card
...
- Legacy-Id: 19618
2021-11-10 12:59:12 +00:00
Lars Eggert
bb5810a934
Labels are badges in bs5.
...
- Legacy-Id: 19616
2021-11-10 11:15:46 +00:00
Lars Eggert
f17a7eddd4
pull-right -> float-end
...
- Legacy-Id: 19613
2021-11-10 09:57:57 +00:00
Lars Eggert
021ba39712
Reindent all templates with djhtml
...
- Legacy-Id: 19610
2021-11-10 09:41:11 +00:00
Lars Eggert
288b937ff5
django_bootstrap5 removed button/endbutton tags
...
- Legacy-Id: 19609
2021-11-10 09:35:10 +00:00
Lars Eggert
726b29bf74
fontawesome -> bootstrap-icons
...
- Legacy-Id: 19608
2021-11-10 09:28:38 +00:00
Lars Eggert
1d559374ec
Replace glyphicons with bootstrap-icons.
...
- Legacy-Id: 19607
2021-11-10 08:08:02 +00:00
Lars Eggert
94b12af9da
btn-default -> btn-primary
...
- Legacy-Id: 19606
2021-11-10 07:54:58 +00:00
Lars Eggert
6b15c3de95
Fix nav-tabs
...
- Legacy-Id: 19593
2021-11-09 17:20:28 +00:00
Lars Eggert
9cf29baf5b
table-condensed -> table-sm
...
- Legacy-Id: 19589
2021-11-09 14:21:05 +00:00
Lars Eggert
39d500de8f
tablesorter -> datatables
...
https://datatables.net/ has way more features and better support, and bootstrap5
styling.
- Legacy-Id: 19587
2021-11-09 14:16:13 +00:00
Lars Eggert
df2565096d
bootstrap3 -> django_bootstrap5
...
Only load the module, no other changes yet.
- Legacy-Id: 19586
2021-11-09 14:09:28 +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
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
93e07f8650
Changed deprecated 'load staticfiles' to recommended 'load static'
...
- Legacy-Id: 18080
2020-06-27 13:51:19 +00:00
Henrik Levkowetz
b14cba5f15
Refactored some document methods to align better with Django's get_absolute_url(), and added Person.get_absolute_uri()
...
- Legacy-Id: 17189
2020-01-07 13:33:02 +00:00
Henrik Levkowetz
6f94b406cd
Fixed a wrong link to field help for liaison forms.
...
- Legacy-Id: 16987
2019-11-11 15:21:54 +00:00
Henrik Levkowetz
95fe1ae729
Removed origin information from the liaison_title.html template, as it's used in a context where html comments will be rendered. Fixes issue #2674 .
...
- Legacy-Id: 15916
2019-01-24 20:58:06 +00:00
Henrik Levkowetz
b1745770a4
Always show the liaison submitted date on liaison pages, as requested.
...
- Legacy-Id: 15775
2018-11-20 13:15:32 +00:00
Henrik Levkowetz
5b2087f910
Eliminated several variations on word wrapping, keeping only what used to be wrap_text(), but renamed as ietf.utils.text.wordwrap(). This performs better than django.utils.text.wrap() when there are indented text parts. Replaced django's default wordwrap filter with one calling ietf.utils.text.wordwrap in templates. Changed to triggered wrapping in some cases, with the maybewordwrap filter, which triggers on lines longer than 100 characters. This fixes the issue with undesired wrapping of reviews.
...
- Legacy-Id: 13505
2017-06-02 23:13:22 +00:00
Henrik Levkowetz
5f053ad21a
Cleaned up the remaining explicit url names, using dotted-paths to view
...
functions instead. In all almost 700 changes.
- Legacy-Id: 12923
2017-02-26 23:21:49 +00:00
Henrik Levkowetz
b3740bcfca
Removed instances of 'load future' from templates that don't need it any more.
...
- Legacy-Id: 12530
2016-12-15 13:14:16 +00:00
Henrik Levkowetz
8e56935cfd
Undid commit 12527, which contained much too much.
...
- Legacy-Id: 12528
2016-12-15 10:38:54 +00:00
Henrik Levkowetz
e3c6e0ac6b
Changed the state shown in all_id.txt for drafts which have entered IESG processing, but then been replaced, to show as 'Replaced' instead of 'In IESG Processing'. This is consistent with how they are shown in all_id2.txt.
...
- Legacy-Id: 12527
2016-12-15 10:36:15 +00:00
Henrik Levkowetz
4b0a9360f0
Merged in ^/branch/iola/event-saving-refactor-r10291, which refactors document saving to always use doc.save_with_history(events), and requires accompanying events. This branch also provides refactoring of recurring regexes in url patterns into a dictionary. As part of the merge, also refactored new code which didn't use the save_with_history() method.
...
- Legacy-Id: 11840
2016-08-23 10:52:08 +00:00
Robert Sparks
cdeef99dc1
Removed a bunch of redundant displays of the django messages framework messages from forms. Commit ready for merge.
...
- Legacy-Id: 10810
2016-02-09 20:15:49 +00:00
Henrik Levkowetz
9bf1ff01f1
Merged in [10621] from lars@netapp.com:
...
Use js tablesort almost everywhere I thought it would make sense. While I
touched the pages, I also corrected a few minor HTML nits, capitalization
inconsistencies and some other minor things.
Range r10605:r10621
- Legacy-Id: 10647
Note: SVN reference [10621] has been migrated to Git commit 7d3c2681e2
2016-01-12 16:47:18 +00:00
Lars Eggert
808196bc0c
Update a number of web assets to their latest versions.
...
Commit ready for merge.
- Legacy-Id: 10530
2015-12-02 15:05:51 +00:00
Ryan Cross
1ea5dcf907
Liaison changes from IETF 94 demo. Includes tab for Action Needed statements and ability to add comments to history. Commit ready for merge
...
- Legacy-Id: 10464
2015-11-12 00:26:52 +00:00
Ryan Cross
b7bbfd8312
Various small bug fixes and tweaks to UI of Liaison Management Tool. Commit ready for merge
...
- Legacy-Id: 10382
2015-11-03 07:52:05 +00:00
Ole Laursen
5a6e68ebfc
Remove non-existing tag - liaison search form doesn't have a sort field
...
- Legacy-Id: 10329
2015-10-28 10:47:01 +00:00
Ole Laursen
86c3a430d1
Merge in ^/branch/iola/event-saving-refactor-r10076, fixing a few problems
...
- Legacy-Id: 10298
2015-10-27 10:37:06 +00:00