Commit graph

289 commits

Author SHA1 Message Date
Nicolas Giard 57aee14192
ci: move codecov.yml to dev 2022-05-31 18:59:12 -04:00
Nicolas Giard 8e0ff71709
ci: remove pip install from base docker image 2022-05-24 16:17:08 -04:00
Robert Sparks cdd86b9d5e
ci: show makemigrations output (#3932)
* ci: show makemigrations output

* chore: remove unused releasetest settings
2022-05-03 20:54:25 -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
Robert Sparks 3862d4a77c
doc: update manual deploy instructions (#3907)
* doc: update manual deploy instructions

* chore: correct installation unroll step
2022-04-29 09:46:30 -05:00
Robert Sparks 55d7629e4d
chore: use and expect python39 (#3908) 2022-04-29 09:45:41 -05:00
Nicolas Giard 8e48230115
ci: add missing yarn rebuild step to deploy build.sh 2022-04-26 14:57:12 -04:00
Nicolas Giard 0dec52f129
ci: enable yarn in test image 2022-04-26 11:34:16 -04: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 7c6917562f
ci: use strict semver for builds + always run pip install on tests 2022-04-21 16:57:29 -04:00
Robert Sparks 70596b757c
doc: updated production installation instructions (#3829)
* doc: updated production installation instructions

* doc: add missing install step
2022-04-16 17:08:22 -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
Nicolas Giard 82cbf05c3f
chore: add release-coverage.json fetch on tests + dev 2022-04-04 16:11:35 -04:00
NGPixel 8bd48514b0
ci: fix coverage charts version ordering 2022-03-31 18:16:29 -04:00
Nicolas Giard 1c107d2d98
ci: use npm install for coverage-action 2022-03-31 15:05:03 -04:00
NGPixel 491cddbbd8
ci: package changes to coverage-action 2022-03-31 04:32:49 -04:00
NGPixel 8ef90059f5
ci: fix coverage-action outputs + gh token common 2022-03-31 03:26:49 -04:00
NGPixel de8ec121dc
ci: coverage-action 2022-03-31 01:56:31 -04:00
Nicolas Giard c51d4d23a6
chore: move notes to dev/legacy 2022-03-30 18:12:06 -04:00
Robert Sparks 8373914678
fix: complete the removal of ietf.__init__.date. (#3771)
Co-authored-by: Nicolas Giard <github@ngpixel.com>
2022-03-30 18:43:51 -03:00
Jennifer Richards c0c8771370
Merge branch 'main' into main-merge
# Conflicts:
#	.devcontainer/docker-compose.extend.yml
#	.github/workflows/build-test-base.yml
#	.github/workflows/build.yml
#	README.md
#	docker/app.Dockerfile
#	docker/configs/settings_local.py
#	docker/docker-compose.extend.yml
#	docker/scripts/app-init.sh
#	ietf/release/tests.py
#	ietf/release/urls.py
#	ietf/templates/500.html
#	ietf/templates/api/index.html
#	ietf/templates/base.html
#	ietf/templates/base/menu.html
#	ietf/templates/group/group_about_status_edit.html
#	ietf/templates/meeting/agenda_filter.html
#	ietf/templates/release/about.html
#	ietf/utils/tests.py
#	package-lock.json
2022-03-25 11:15:05 -03:00
Nicolas Giard 595e4f241c
chore: move hold-for-merge + ready-for-merge into dev/legacy 2022-03-23 18:10:42 -04:00
Nicolas Giard f8d7e45239
ci: build improvements + skip tests option 2022-03-23 14:59:56 -04:00
Nicolas Giard fd5de45ddf
ci: fix typo test base docker image 2022-03-22 13:45:34 -04: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
Nicolas Giard cfc301d2d0
ci: add docker-cli to base test image 2022-03-19 06:27:35 -04:00
Nicolas Giard 916a3a07e3
ci: add docker-cli to base test image 2022-03-19 06:26:23 -04:00
Nicolas Giard 7ddaa513b1
ci: build base test docker image 2022-03-16 21:34:26 -04:00
Nicolas Giard 65799c9d1c
ci: build base test docker image 2022-03-16 21:23:01 -04:00
Nicolas Giard a043bd5f8e
chore: move hold-for-merge + ready-for-merge into dev/legacy 2022-03-16 13:22:10 -04:00
Jennifer Richards 3acfcdbc45 ci: call "parcel build" to package static assets 2022-03-09 15:45:32 -04:00
Jennifer Richards 0acfacaf2d ci: remove bs3 asset build step 2022-03-09 15:36:45 -04:00
NGPixel 0f1bd8f486
ci: fix npm dependencies + use build script 2022-03-09 13:19:06 -05:00
Nicolas Giard 709c1232e9
chore: remove deprecated files + add excluded patterns for deploy (#3589) 2022-03-08 08:20:52 -06:00
Nicolas Giard b09d453886
ci: fix exclude paths for release 2022-03-07 21:23:49 -05:00
Nicolas Giard 0c50770efd
ci: exclude .git from release tarball 2022-03-07 20:53:10 -05:00
Nicolas Giard d5e36d628c
ci: exclude release tarball from archiving 2022-03-07 20:24:51 -05:00
Nicolas Giard f8ede08a6f
ci: add deploy exclude patterns 2022-03-07 20:11:03 -05:00