Commit graph

27 commits

Author SHA1 Message Date
Nicolas Giard 5d5fc75958
chore: fix missing devcontainer dependencies (#4024) 2022-05-31 16:47:06 -05:00
Nicolas Giard e02ce05612
chore: make /assets a named volume for dev container (#4018)
* chore: make /assets a static volume for dev container

* chore: fix create-dirs script to point to /assets
2022-05-31 16:43:29 -05:00
Nicolas Giard 742ce5a08e
chore: make dev container use base image 2022-05-24 16:49:37 -04:00
Lars Eggert 53c1377717
ci: Add watchman to image (#4014)
This speeds up repeated runs of `parcel`, but unfortunately not the initial one.
2022-05-24 15:42:20 -05:00
Nicolas Giard 9316429e0e
chore: remove workspace chown from dev init script + add warning when using root 2022-05-21 00:18:24 -04:00
Nicolas Giard b6186f1fab
chore(dev): fix uid/gid mapping for non-vscode devs (#3981)
* chore: fix uid/gid mapping for non-vscode devs

* chore: fix volume ownership in devcontainer

* chore: use zsh in init script + remove temp mounted folders

* chore: ignore group mapping error during devcontainer build

* chore: fix ownership when running as root on host

* chore: use new docker compose command format + fix root check

* chore: improve uid/gid mapping message output

* chore: include chromedriver permission fix

* chore: skip parent dev image and install node directly instead of nvm

* chore: reapply gitignore changes + better dev help message
2022-05-20 09:10:41 -05:00
Nicolas Giard 8a7f67d4d1
test: make tests run without root access (#3968) 2022-05-14 08:11:44 -05:00
Nicolas Giard f1472ffcac
chore: run devcontainer as user vscode instead of root (#3948) 2022-05-13 14:13:50 -05:00
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
Nicolas Giard 8ea883cb7e
chore: switch to Yarn 3 (#3819)
* refactor: switch to yarn 3

* chore: add other os+cpu to yarn supported architectures

* chore: add gitattributes

* chore: add missing yarn native modules rebuild step

* chore: replace npx with yarn in test_runner + update readme

* chore: remove bootstrap-datepicker github dependency, use local instead
2022-04-25 15:54:05 -05:00
Nicolas Giard 92f0ff6861
chore: add fix-missing to apt update in docker (#3796) 2022-04-07 16:16:39 -05:00
Lars Eggert 3234f1a121
test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
Lars Eggert f516f86a17
ci: Add vnu to dev + test docker image (#3724)
* ci: Add vnu to dev docker image

* Use default-jdk from apt, and just download the vnu JAR blob
2022-03-22 13:13:28 -04: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
Nicolas Giard 562742d653
chore: add memcached + docker-cli to dev container (#3691) 2022-03-19 13:05:59 -04:00
NGPixel 1771d6ea77
chore: improve dev docker for offline + other fixes 2022-03-15 22:22:30 -04: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 64d2ba2558 Run tidy as part of tests, and fix HTML issues it finds.
- Legacy-Id: 19904
2022-02-01 16:11:34 +00:00
Robert Sparks 877d8800ce Add de-gfm to the docker setup. Fixes #3494. Commit ready for merge.
- Legacy-Id: 19863
2022-01-19 19:44:28 +00:00
nick 9e89f33869 fix: missing dependencies in dockerfile from changeset #19767
Commit ready for merge.
 - Legacy-Id: 19801
2022-01-04 18:44:27 +00:00
Robert Sparks 47aadd0066 Merged in [19761] from nick@staff.ietf.org:
fix: skip chromedriver install if arch is not supported in docker build
 - Legacy-Id: 19764
Note: SVN reference [19761] has been migrated to Git commit 516877d2db
2021-12-09 17:26:38 +00:00
nick 516877d2db fix: skip chromedriver install if arch is not supported in docker build
Commit ready for merge.
 - Legacy-Id: 19761
2021-12-08 20:13:44 +00:00
Robert Sparks c0df2cd300 Merged in [19741] from lars@eggert.org:
Add ghostscript to app image, which is used by some tests.
 - Legacy-Id: 19745
Note: SVN reference [19741] has been migrated to Git commit e3b430d2ec
2021-12-02 20:47:07 +00:00
Lars Eggert e3b430d2ec Add ghostscript to app image, which is used by some tests.
Commit ready for merge.
 - Legacy-Id: 19741
2021-12-02 08:09:08 +00:00
nick db34d83feb feat: cypress JS testing for agenda meetings + weekview swimlane (WIP)
- Legacy-Id: 19693
2021-11-18 23:48:23 +00:00
Lars Eggert 273feec52d No need for bower anymore.
- Legacy-Id: 19650
2021-11-12 12:01:35 +00:00
nick d52ad4fbc2 misc: import docker improvements from 7.39.1.dev2
- Legacy-Id: 19629
2021-11-10 21:51:55 +00:00
Renamed from .devcontainer/Dockerfile (Browse further)