Commit graph

289 commits

Author SHA1 Message Date
depfu[bot] 04fbb8cff3
chore(deps): update all npm dependencies for dev/del-old-packages (#5669)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-05-24 09:50:24 -05:00
depfu[bot] 8e5adb99a3
chore(deps): update all npm dependencies for dev/coverage-action (#5671)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-05-24 09:50:10 -05:00
Jennifer Richards 7475aa01b6
Merge pull request #5634 from ietf-tools/main
chore: Merge main into feat/django4
2023-05-16 13:06:49 -03:00
depfu[bot] 0ff693d077
chore(deps): update all npm dependencies for dev/diff (#5621)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-05-15 16:42:26 -05:00
NGPixel c777f6f67d
ci: fix sandbox refresh script 2023-05-15 13:45:05 -04:00
NGPixel ad992b96ec
ci: add refresh sandbox DB containers script 2023-05-15 13:42:23 -04:00
depfu[bot] 6688cceb04
chore(deps): update all npm dependencies for dev/diff (#5526)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-05-15 10:33:24 -05:00
depfu[bot] 675de0ac73
chore(deps): update all npm dependencies for dev/deploy-to-container (#5617)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-05-15 10:32:35 -05:00
Jennifer Richards 264ff60cd2
Merge pull request #5601 from jennifer-richards/django4
chore: Upgrade to Django 3.0
2023-05-11 11:04:36 -04:00
Jennifer Richards ed571ae50b
chore: Rename DB engine to drop the deprecated "_psycopg2" suffix 2023-05-10 12:40:37 -03:00
depfu[bot] c53d7836ed
chore(deps): update all npm dependencies for dev/deploy-to-container (#5587)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-05-09 15:23:33 -05:00
Robert Sparks 400a830661
chore: add bibxml-ids dir to container build. (#5590) 2023-05-08 15:16:31 -05:00
depfu[bot] f2d34dddac
chore(deps): update all npm dependencies for dev/coverage-action 2023-05-01 06:18:43 +00:00
Nicolas Giard d1ae52de9b
ci: fix remaining ietf db name references 2023-04-25 12:53:00 -04:00
Nicolas Giard 392fa0826a
ci: fix prepare.sh database name 2023-04-25 12:17:24 -04:00
depfu[bot] 5f1f7aa511
chore(deps): update all npm dependencies for dev/coverage-action (#5497)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-04-23 10:58:36 -05:00
Nicolas Giard 16ba4a438b
fix: set search_path to datatracker 2023-04-18 21:42:01 -04:00
Nicolas Giard ee2ed27e9f
chore: change db name to datatracker 2023-04-18 19:19:58 -04:00
Nicolas Giard 9c40b9300a
chore: update remaining config files to point to new db image 2023-04-18 17:16:13 -04:00
Nicolas Giard 2d08375442
ci: update deploy-to-container to use new db image 2023-04-18 17:06:59 -04:00
Nicolas Giard 0744a95173
ci: make codecov PR patch checks informational only 2023-04-17 03:07:41 -04:00
depfu[bot] 244142cc7d
chore(deps): update all npm dependencies for dev/coverage-action (#5477)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-04-12 17:36:36 -05:00
depfu[bot] 61136aded6
chore(deps): update all npm dependencies for dev/deploy-to-container (#5478)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-04-12 17:36:18 -05:00
Robert Sparks f556d1f6da
Merge remote-tracking branch 'ietf-tools/main' into feat/postgres 2023-04-10 12:20:24 -05:00
depfu[bot] 103cd9492a
chore(deps): update all npm dependencies for dev/deploy-to-container (#5464)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-04-10 09:10:05 -05:00
depfu[bot] fb4c6d70e5
chore(deps): update all npm dependencies for dev/diff (#5465)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-04-10 09:09:12 -05:00
Robert Sparks 01b4a91bfe
Merge remote-tracking branch 'ietf-tools/main' into feat/postgres 2023-03-29 10:41:47 +09:00
depfu[bot] 1425c15355
chore(package): update all npm dependencies for dev/del-old-packages (#5369)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-03-21 18:58:08 -04:00
depfu[bot] 1de83ca870
chore(package): update all npm dependencies for dev/deploy-to-container (#5370)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-03-21 18:57:42 -04:00
depfu[bot] ec8543f886
chore(package): update all npm dependencies for dev/diff (#5371)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-03-21 18:57:10 -04:00
Robert Sparks 88a78cf1ab
Merge remote-tracking branch 'ietf-tools/main' into feat/postgres 2023-03-20 13:46:32 -05:00
Nicolas Giard 28b7134bc8
chore: force chartjs dependency to 3.5.1 2023-03-16 21:26:22 +00:00
Nicolas Giard 28e18be8fa
chore: fix coverage-action dependencies 2023-03-16 20:16:04 +00:00
Robert Sparks c3e6708b72
chore: change the way migrations are invoked for actions and dev builds (#5356) 2023-03-16 12:24:03 -05:00
dependabot[bot] d0422d0b84
chore(deps-dev): bump eslint-plugin-import in /dev/coverage-action (#5305)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.25.4 to 2.27.5.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.25.4...v2.27.5)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 19:45:24 -04:00
dependabot[bot] 41d095ede9
chore(deps-dev): bump eslint-plugin-promise in /dev/coverage-action (#5327)
Bumps [eslint-plugin-promise](https://github.com/eslint-community/eslint-plugin-promise) from 5.2.0 to 6.1.1.
- [Release notes](https://github.com/eslint-community/eslint-plugin-promise/releases)
- [Changelog](https://github.com/eslint-community/eslint-plugin-promise/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint-community/eslint-plugin-promise/compare/v5.2.0...v6.1.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-promise
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 19:38:57 -04:00
dependabot[bot] 95bc92cdc7
chore(deps): bump @octokit/core in /dev/del-old-packages (#5303)
Bumps [@octokit/core](https://github.com/octokit/core.js) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/octokit/core.js/releases)
- [Commits](https://github.com/octokit/core.js/compare/v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: "@octokit/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 16:01:51 -04:00
dependabot[bot] ffd6149cb5
chore(deps): bump pretty-bytes from 6.0.0 to 6.1.0 in /dev/diff (#5302)
Bumps [pretty-bytes](https://github.com/sindresorhus/pretty-bytes) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/sindresorhus/pretty-bytes/releases)
- [Commits](https://github.com/sindresorhus/pretty-bytes/compare/v6.0.0...v6.1.0)

---
updated-dependencies:
- dependency-name: pretty-bytes
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 16:00:48 -04:00
dependabot[bot] eba8fc6c6c
chore(deps): bump yargs in /dev/deploy-to-container (#5300)
Bumps [yargs](https://github.com/yargs/yargs) from 17.5.1 to 17.7.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.5.1...v17.7.1)

---
updated-dependencies:
- dependency-name: yargs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 15:59:09 -04:00
Robert Sparks 4b4e876305
Merge branch 'main' into feat/postgres 2023-03-09 11:43:38 -06:00
Lars Eggert ce7ae86b55
chore: Merge dependabot PRs (#5272)
* chore(deps): bump luxon from 3.0.1 to 3.2.1 in /dev/diff

Bumps [luxon](https://github.com/moment/luxon) from 3.0.1 to 3.2.1.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/3.0.1...3.2.1)

---
updated-dependencies:
- dependency-name: luxon
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump luxon from 3.1.0 to 3.2.1 in /playwright

Bumps [luxon](https://github.com/moment/luxon) from 3.1.0 to 3.2.1.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/3.1.0...3.2.1)

---
updated-dependencies:
- dependency-name: luxon
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump http-cache-semantics in /playwright

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump json5 from 1.0.1 to 1.0.2

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump json5 from 1.0.1 to 1.0.2 in /dev/coverage-action

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump terser from 5.13.1 to 5.16.5

Bumps [terser](https://github.com/terser/terser) from 5.13.1 to 5.16.5.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.13.1...v5.16.5)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump json5 from 1.0.1 to 1.0.2 in /playwright

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump luxon from 2.3.1 to 2.5.2 in /dev/coverage-action

Bumps [luxon](https://github.com/moment/luxon) from 2.3.1 to 2.5.2.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/2.3.1...2.5.2)

---
updated-dependencies:
- dependency-name: luxon
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /dev/diff

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 13:04:16 -06:00
Nicolas Giard 04c46ee201
ci: set search_path during sandbox init if PGHOST is defined 2023-02-13 22:19:24 -05:00
Nicolas Giard f0482363ad
ci: alter pg search path on sandbox deploy 2023-02-13 18:47:23 -05:00
Robert Sparks e1206fa91e
Merge remote-tracking branch 'upstream/main' into feat/postgres 2023-02-13 09:17:05 -06:00
NGPixel d73e5d7d53
ci: remove old versions during nightly db build 2023-02-08 15:41:47 -05:00
Robert Sparks 9447ccfa85
ci: force pg path in test app container build 2023-02-07 15:26:13 -06:00
Robert Sparks ec2b7d0d04
Merge remote-tracking branch 'upstream/main' into feat/postgres 2023-01-06 17:29:49 -06:00
Nicolas Giard bd34dd47d7
ci: fix build workflow to handle non-existant shared test volume 2022-12-22 22:25:33 -05:00
Nicolas Giard d38ca93054
ci: debug shared test docker volume 2022-12-22 17:47:43 -05:00
Nicolas Giard 7da67f64af
ci: add shared test volume to sandbox deploy 2022-12-22 17:15:35 -05:00
Nicolas Giard 68895ef6dc
ci: fix deploy-to-container script to use postgres image 2022-12-19 16:28:58 -05:00
Nicolas Giard a60d52253e
chore: use prebuilt pg db image in dev (#4890) 2022-12-15 14:00:51 -06:00
Robert Sparks 912c7b5ee3
fix: simplify migrations when building postgres db image (#4889)
* chore: remove the effectively unused DATABASE_TEST_OPTIONS setting

* fix: simplify default settings_local so that db-include-fix.py is not needed in CI

* fix: simplify migrations in db-pg-migrate.sh
2022-12-13 17:37:24 -05:00
Nicolas Giard 83771aceb3
ci: scheduled shared assets rsync 2022-12-07 17:49:47 -05:00
Nicolas Giard 81b8ffc929
ci: add hostname label to sandbox container 2022-12-06 18:03:00 -05:00
Nicolas Giard 7a4c8b375f
ci: fix sandbox label app version 2022-12-06 17:34:28 -05:00
Nicolas Giard 9c78c250ed
ci: force sandbox container labels to be string 2022-12-06 17:26:03 -05:00
Nicolas Giard 0bb036ef1d
ci: add labels to sandbox container 2022-12-06 17:16:46 -05:00
Robert Sparks 9457e2b1e1
feat: better htmlization views (#4825)
* feat: Use bs5 for htmlized doc (#4082)

Co-authored-by: Martin Thomson <mt@lowentropy.net>

* fix: Various fixes to HTMLized document view (#4501)

* fix: Pref labels were switched

* fix: Fix ToC for htmlized docs

* Replace datatracker button with document name link to datatracker

* ui: Make fonts even larger on larger window widths

* fix: Document format buttons open new tabs

* fix: Various suggestions from Jay

* fix: Don't show "htmlized" self-link under formats

* ui: Font size fix for iOS

* ui: More little tweaks

* feat/htmlize fixes and improvements (#4506)

* fix: Don't open htmlized view in new tab

* fix: Tests were failing

* feat: Add pref settings to cap max font size

* feat: Add ability to hide side panel

* fix: And more `feat/htmlize` fixes (#4511)

* fix: Remove superfluous scrollbars

* fix: Show email links for authors

* fix: Only show "email authors" button for latest reversion

* fix: Remove duplicate code, fix nav scrolling

* feat: Add RFCs to revision lists

* feat: Add pref option to control dependency inlining

* fix: Add analytical tags

* feat: Notify user of rendering inconsistencies

* feat: Split out bootstrap-icons when not inlining dependencies

* fix: Revision list and minor other fixes

* feat: Show stream logo when possible (#4516)

* fix: Remove superfluous scrollbars

* fix: Show email links for authors

* fix: Only show "email authors" button for latest reversion

* fix: Remove duplicate code, fix nav scrolling

* feat: Add RFCs to revision lists

* feat: Add pref option to control dependency inlining

* fix: Add analytical tags

* feat: Notify user of rendering inconsistencies

* feat: Split out bootstrap-icons when not inlining dependencies

* fix: Revision list and minor other fixes

* feat: Show stream logos when possible

* fix: Pick up CSS changes from https://github.com/martinthomson/rfc-txt-html (#4520)

* fix: Remove superfluous scrollbars

* fix: Show email links for authors

* fix: Only show "email authors" button for latest reversion

* fix: Remove duplicate code, fix nav scrolling

* feat: Add RFCs to revision lists

* feat: Add pref option to control dependency inlining

* fix: Add analytical tags

* feat: Notify user of rendering inconsistencies

* feat: Split out bootstrap-icons when not inlining dependencies

* fix: Revision list and minor other fixes

* feat: Show stream logos when possible

* fix: Pick up CSS changes from https://github.com/martinthomson/rfc-txt-html

* chore: add debug script to replicate GitHub Actions test environment

* chore: cleanup from merge of main

* fix: Fix PDFixation crash due to referencing renamed CSS asset (#4665)

* fix: Rename some CSS classes to handle recent xml2rfc changes (#4791)

* Merge main

* fix: Rename some CSS classes to handle recent xml2rfc changes

Fixes #4784.

* chore: repair merge damage

* chore: more merge corrections

* chore: one more merge correction

* fix: npm dependencies

* fix: Change default font size (#4817)

* Fix dependency issues

* Cap fontsize at 12pt by default

Co-authored-by: Nicolas Giard <github@ngpixel.com>

Co-authored-by: Lars Eggert <lars@eggert.org>
Co-authored-by: Martin Thomson <mt@lowentropy.net>
Co-authored-by: Nicolas Giard <github@ngpixel.com>
2022-12-02 15:17:14 -06:00
Jennifer Richards e56135a30c
chore: apply patches as root inside celery container (#4803) 2022-11-29 13:25:39 -06:00
Robert Sparks 2636c59f99
feat: stop supporting pre-tzaware migration database dumps. (#4782)
* feat: stop supporting pre-tzaware migration database dumps.

* chore: remove unnecessary env variable
2022-11-28 10:17:22 -06:00
Nicolas Giard 4c471983c3
ci: revert prod settings change when deploying to sandbox 2022-11-14 17:26:48 -05:00
Nicolas Giard 069c913817
ci: force set server mode to dev for sandbox deploy 2022-11-14 15:48:13 -05:00
Robert Sparks eb4b523e66
chore: merge main (#4714) 2022-11-06 12:36:14 -06:00
Jennifer Richards f43e37ea99
ci: Do the USE_TZ dance when running migrations 2022-10-27 16:58:36 -03:00
Jennifer Richards f42016d8fb
Merge branch 'feat/tzaware' into dev/main-merge-to-tzaware 2022-10-27 11:58:32 -03:00
NGPixel b49d92e674
ci: deploy to sandbox - celery containers 2022-10-27 00:04:05 -04:00
NGPixel 417bf3da1c
ci: deploy to sandbox - fix settings replace 2022-10-26 23:13:09 -04:00
NGPixel bd66b59794
ci: deploy to sandbox - fix nanoid-dictionary import 2022-10-26 23:05:23 -04:00
NGPixel 89cff5cc3c
ci: deploy to sandbox - create mq container 2022-10-26 22:55:22 -04:00
NGPixel 1d6f2002ad
ci: deploy to container workflow - add test/data folder contents 2022-10-26 14:49:33 -04:00
NGPixel 6503e57174
ci: deploy to container workflow - remove anonymous volumes on db delete 2022-10-26 03:10:17 -04:00
NGPixel db3c93a25a
ci: deploy to container workflow - add assets volume bind 2022-10-26 03:04:25 -04:00
NGPixel cd4992e412
ci: deploy to container workflow - use shared network 2022-10-26 02:45:56 -04:00
NGPixel 4d1f61ea1a
ci: deploy to container tool cleanup + docs 2022-10-26 00:10:29 -04:00
NGPixel f7ce4cec00
ci: deploy-to-container tool 2022-10-26 00:04:02 -04:00
Jennifer Richards 7b1b7f5273
Merge branch 'feat/tzaware' into dev/tzaware-main-merge 2022-10-11 14:57:34 -03:00
Nicolas Giard 2981242a7b
ci: disable codecov line annotations 2022-10-07 17:39:22 -04:00
Jennifer Richards ca1320f303
chore: merge main into feat/tzaware
chore: merge main into feat/tzaware
2022-09-22 12:21:38 -03:00
dependabot[bot] 3ab7e671d0
chore(deps): bump @actions/core in /dev/coverage-action (#4490)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-21 22:52:04 -04:00
Nicolas Giard 143877ec3d
test: Use Playwright + agenda start/end dates fix (#4471)
* test: agenda-neue - separate timezone controls assertions to allow retries

* test: agenda-neue - use dom query selectors instead of first() / eq()

* test: agenda-neue - playwright

* test: fix playwright setup for ci

* test: playwright - remove safari + fix timezone local

* test: upload playwright report

* test: playwright - fix trace upload

* test

* test: playwright - agenda search

* test: fix startdate timezone

* test: playwright - agenda table events

* test: playwright - remove only filter

* test: remove exit early flag

* test: allow longer tests

* test: agenda materials dialog

* test: agenda filter by area/group

* test: agenda calendar view

* test: agenda settings

* test: jump to day

* test: fix agenda jump to day timezone parse

* test: increase test timeout

* test: remove fail fast

* test: test sharding + increase delay

* test: fixes

* test: use macos image

* test: fixes

* test: agenda color assign + future + live meeting tests

* test: agenda mobile tests

* test: remainder of tests for playwright + optimizations

* test: red line intersection accept close value

* test: add delay for agenda search tests

* chore: cleanup old tests + adapt build workflow

* ci: fix build workflow

* ci: fix build workflow order

* fix: point to playwright floor plan images + readme
2022-09-20 13:33:22 -05:00
Nicolas Giard 5d6f1e7509
chore: diff tool - inject files into container instead of mount (#4479) 2022-09-20 12:08:26 -05:00
Jennifer Richards 1366b6de38
Merge branch 'feat/tzaware' into jennifer/main-to-tzaware-conflicts 2022-09-14 12:36:33 -03:00
Nicolas Giard 9d055f8dd8
test: add agenda-neue cypress tests (#4293)
* fix: move vue app to parent dir

* test: prepare vue for cypress testing

* test: add basic cypress test for vue app

* test: add agenda-neue header tests

* test: meeting generator for cypress tests (wip)

* test: agenda-neue meeting nav + settings button

* test: agenda-neue check settings button position against viewport size

* test: agenda-neue fix viewport + add schedule list header tests

* test: agenda-neue timezone tests + future meeting template

* test: agenda-neue add test floor plan image fixtures

* test: floor-plan-neue - handle floor plan images

* test: floor-plan-neue room selection + pin drop tests

* test: floor-plan-neue - test all viewports

* test: floor-plan-neue add missing header tests

* test: agenda-neue - generate areas + groups

* test: agenda-neue - test filter areas + groups dialog

* test: agenda-neue code cleanup + generate schedule (wip)

* test: agenda-neue - generate schedule (wip)

* test: agenda-neue - generate schedule + test settings dialog (wip)

* test: agenda-neue - settings timezone controls

* test: agenda-neue - settings toggles + agenda table headers tests

* test: agenda-neue - table events + memory fixes

* test - agenda-neue - table events remaining columns tests

* test: agenda-neue - meeting materials dialog + future schedule list table buttons

* test: agenda-neue - remove skips

* test: agenda-neue - search

* test: agenda-neue - remove skips

* test: agenda-neue - use random seed for deterministic results

* test: agenda-neue - set constant clock

* test: add percy to cypress + upgrade cypress

* test: agenda-neue - jump to day tests

* test: agenda-neue - add to calendar tests

* test: agenda-neue - add pick sessions tests

* test: agenda-neue - calendar view tests

* test: agenda-neue - color assignment tests

* test: agenda-neue - skip test not supported in firefox/safari

* test: agenda-neue - live sessions tests

* test: agenda-neue - smaller screens tests

* chore: update workflows to handle modern + legacy cypress tests

* test: fix legacy agenda weekview test + cypress legacy config
2022-09-07 14:14:12 -04:00
Robert Sparks 9f0e5d1a65
fix: move check and migrate into prepare.sh for dev/diff. (#4397) 2022-08-31 16:23:55 -05:00
Robert Sparks 7ea3e18705
fix: move check and migrate to prepare.js for diff/cli builds. (#4398) 2022-08-31 17:14:42 -03:00
Nicolas Giard e96c79c2e8
docs: update the dev/diff readme 2022-08-30 17:42:10 -04:00
Nicolas Giard 41ae0cfac1
ci: update baseline coverage on build + new file URL (#4365) 2022-08-25 09:58:16 -05:00
Robert Sparks e1bb3e057e
doc: update INSTALL to reflect needed roles for each step (#4363) 2022-08-24 13:03:31 -05:00
Jennifer Richards a3f2d4bdc0
chore: run checks using celery UID/GID in container (#4364)
* chore: run checks as celery uid/gid in celery container

* chore: add init flag to suggested beat container config
2022-08-24 13:00:01 -05:00
Jennifer Richards 727feabfff
chore: create stale submission cleanup task and other deployment tweaks (#4358)
* chore: disable beat container for dev

* chore: use init option with celery container

* chore: create cancel_stale_submissions task via migration

* chore: revert accidental change included in last commit

* chore: terminate celery docker-init.sh on failed command
2022-08-24 12:29:48 -05:00
Jennifer Richards 280629e061
ci: fix repo used for container builds (#4353)
* doc: change /a/docker/datatracker-cel to .../datatracker

* ci: remove debug repo from build workflows
2022-08-22 15:18:04 -05:00
Jennifer Richards 3705bedfcd
feat: Celery support and asynchronous draft submission API (#4037)
* ci: add Dockerfile and action to build celery worker image

* ci: build celery worker on push to jennifer/celery branch

* ci: also build celery worker for main branch

* ci: Add comment to celery Dockerfile

* chore: first stab at a celery/rabbitmq docker-compose

* feat: add celery configuration and test task / endpoint

* chore: run mq/celery containers for dev work

* chore: point to ghcr.io image for celery worker

* refactor: move XML parsing duties into XMLDraft

Move some PlaintextDraft methods into the Draft base class and
implement for the XMLDraft class. Use xml2rfc code from ietf.submit
as a model for the parsing.

This leaves some mismatch between the PlaintextDraft and the Draft
class spec for the get_author_list() method to be resolved.

* feat: add api_upload endpoint and beginnings of async processing

This adds an api_upload() that behaves analogously to the api_submit()
endpoint. Celery tasks to handle asynchronous processing are added but
are not yet functional enough to be useful.

* perf: index Submission table on submission_date

This substantially speeds up submission rate threshold checks.

* feat: remove existing files when accepting a new submission

After checking that a submission is not in progress, remove any files
in staging that have the same name/rev with any extension. This should
guard against stale files confusing the submission process if the
usual cleanup fails or is skipped for some reason.

* refactor: make clear that deduce_group() uses only the draft name

* refactor: extract only draft name/revision in clean() method

Minimizing the amount of validation done when accepting a file. The
data extraction will be moved to asynchronous processing.

* refactor: minimize checks and data extraction in api_upload() view

* ci: fix dockerfiles to match sandbox testing

* ci: tweak celery container docker-compose settings

* refactor: clean up Draft parsing API and usage

  * remove get_draftname() from Draft api; set filename during init
  * further XMLDraft work
    - remember xml_version after parsing
    - extract filename/revision during init
    - comment out long broken get_abstract() method
  * adjust form clean() method to use changed API

* feat: flesh out async submission processing

First basically working pass!

* feat: add state name for submission being validated asynchronously

* feat: cancel submissions that async processing can't handle

* refactor: simplify/consolidate async tasks and improve error handling

* feat: add api_submission_status endpoint

* refactor: return JSON from submission api endpoints

* refactor: reuse cancel_submission method

* refactor: clean up error reporting a bit

* feat: guard against cancellation of a submission while validating

Not bulletproof but should prevent

* feat: indicate that a submission is still being validated

* fix: do not delete submission files after creating them

* chore: remove debug statement

* test: add tests of the api_upload and api_submission_status endpoints

* test: add tests and stubs for async side of submission handling

* fix: gracefully handle (ignore) invalid IDs in async submit task

* test: test process_uploaded_submission method

* fix: fix failures of new tests

* refactor: fix type checker complaints

* test: test submission_status view of submission in "validating" state

* fix: fix up migrations

* fix: use the streamlined SubmissionBaseUploadForm for api_upload

* feat: show submission history event timestamp as mouse-over text

* fix: remove 'manual' as next state for 'validating' submission state

* refactor: share SubmissionBaseUploadForm code with Deprecated version

* fix: validate text submission title, update a couple comments

* chore: disable requirements updating when celery dev container starts

* feat: log traceback on unexpected error during submission processing

* feat: allow secretariat to cancel "validating" submission

* feat: indicate time since submission on the status page

* perf: check submission rate thresholds earlier when possible

No sense parsing details of a draft that is going to be dropped regardless
of those details!

* fix: create Submission before saving to reduce race condition window

* fix: call deduce_group() with filename

* refactor: remove code lint

* refactor: change the api_upload URL to api/submission

* docs: update submission API documentation

* test: add tests of api_submission's text draft consistency checks

* refactor: rename api_upload to api_submission to agree with new URL

* test: test API documentation and submission thresholds

* fix: fix a couple api_submission view renames missed in templates

* chore: use base image + add arm64 support

* ci: try to fix workflow_dispatch for celery worker

* ci: another attempt to fix workflow_dispatch

* ci: build celery image for submit-async branch

* ci: fix typo

* ci: publish celery worker to ghcr.io/painless-security

* ci: install python requirements in celery image

* ci: fix up requirements install on celery image

* chore: remove XML_LIBRARY references that crept back in

* feat: accept 'replaces' field in api_submission

* docs: update api_submission documentation

* fix: remove unused import

* test: test "replaces" validation for submission API

* test: test that "replaces" is set by api_submission

* feat: trap TERM to gracefully stop celery container

* chore: tweak celery/mq settings

* docs: update installation instructions

* ci: adjust paths that trigger celery worker image  build

* ci: fix branches/repo names left over from dev

* ci: run manage.py check when initializing celery container

Driver here is applying the patches. Starting the celery workers
also invokes the check task, but this should cause a clearer failure
if something fails.

* docs: revise INSTALL instructions

* ci: pass filename to pip update in celery container

* docs: update INSTALL to include freezing pip versions

Will be used to coordinate package versions with the celery
container in production.

* docs: add explanation of frozen-requirements.txt

* ci: build image for sandbox deployment

* ci: add additional build trigger path

* docs: tweak INSTALL

* fix: change INSTALL process to stop datatracker before running migrations

* chore: use ietf.settings for manage.py check in celery container

* chore: set uid/gid for celery worker

* chore: create user/group in celery container if needed

* chore: tweak docker compose/init so celery container works in dev

* ci: build mq docker image

* fix: move rabbitmq.pid to writeable location

* fix: clear password when CELERY_PASSWORD is empty

Setting to an empty password is really not a good plan!

* chore: add shutdown debugging option to celery image

* chore: add django-celery-beat package

* chore: run "celery beat" in datatracker-celery image

* chore: fix docker image name

* feat: add task to cancel stale submissions

* test: test the cancel_stale_submissions task

* chore: make f-string with no interpolation a plain string

Co-authored-by: Nicolas Giard <github@ngpixel.com>
Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
2022-08-22 13:29:31 -05:00
Nicolas Giard 822a572589
feat: diff crawl docker tool (#4310)
* feat: diff docker tool (wip)

* feat: diff docker tool - download + extract from github

* feat: diff docker tool - pull + create + shutdown containers

* feat: diff docker tool - start app containers + execute prepare script

* fix: many fixes + run target instance server

* feat: diff docker tool - run crawl + options

* fix: diff docker tool - various fixes

* feat: diff docker tool - add tag + commit fetch options

* feat: diff docker tool - handle log save + more options

* feat: diff docker tool - F10 quit option + better exec display + checklist fixes

* fix: diff docker tool - remove latest release option
2022-08-18 12:28:47 -05:00
Robert Sparks adcca27a74
ci: more portable sh/bash test construction 2022-07-15 09:12:12 -05:00
Nicolas Giard 46c5914547
ci: fix incorrect if else in build.sh 2022-07-14 21:36:45 -04:00
Nicolas Giard 744bcc54e8
fix: set vite base path during deploy build + allow google fonts (#4217)
* fix: set vite base path during deploy build + allow google fonts

* ci: only set vite base path if build is for production release

* test: add html-validate ignore rules for vite generated content that is valid

* fix: show buttons on regular sessions without agenda materials + link to legacy agenda

* fix: temporarily hide left menu on agenda-neue and floor-plan-neue

* fix: set resize handler to whole app

* fix: apply html-validate ignore to agenda-neue only + deploy/build.sh fix

* test: change old agenda cypress to always take the same elements to avoid #3564
2022-07-14 18:55:55 -05:00
Nicolas Giard e8c37d6f4b
ci: run cypress tests 2022-07-13 18:57:48 -04:00
Nicolas Giard aa9490faf6
feat(ui): new dynamic agenda view (#4086)
* feat: agenda page in vue (wip)

* feat: scroll to agenda day

* fix: vue 3 composition api + eslint settings

* fix: agenda day scroll match indicator

* fix: convert vite deps to yarn

* fix: missing lodash + legacy build step

* fix: agenda - move calendar into drawer

* fix: improve agenda filter UI

* fix: download ics + move agenda into own component

* feat: use fullcalendar for agenda calendar view (wip)

* feat: add events to agenda calendar

* feat: agenda filter UI improvements

* feat: agenda add to calendar dropdown

* feat: agenda calendar filter + timezone + event coloring

* feat: agenda calendar color improvements

* chore: exclude dist-neue from git

* feat: agenda calendar event modal

* fix: rebuild yarn deps

* chore: add run migration task to vscode

* fix: agenda buttons display flag

* feat: agenda event modal component

* feat: show calendar event quick info on hover

* fix: clear calendar quick info on timezone change

* feat: agenda list view improvements

* feat: agenda list row coloring

* feat: agenda list note

* feat: agenda list icons for office hours + hackathon

* fix: agenda top links

* refactor: use pinia as store for agenda components

* feat: agenda jump to now

* fix: agenda mobile improvements

* feat: agenda search

* feat: agenda search improvements

* feat: agenda event recordings buttons for post-meeting

* fix: agenda switch to meeting timezone on load

* feat: agenda pre & live session buttons

* fix: remove agenda utc + personalize links in top menu

* feat: add pre-vue loading state on page load

* feat: filter from agenda picker mode

* fix: agenda UI improvements

* fix: django-vite non-dev mode

* chore: update yarn dependencies for vue + vite

* feat: agenda settings panel + UI improvements

* feat: agenda settings colors + import/export feature

* feat: agenda color assignments + responsive UI improvements

* feat: agenda realtime red line + debug datetime offset

* feat: agenda add aria labels for settings

* feat: add new agenda path + pages/menu

* fix: bring base/menu.html up to main

* fix: agenda various fixes

* test: add new agenda item to meetings menu for item count

* chore: restore devcontainer extensions list

* fix: agenda UI improvements + montserrat default font

* feat: agenda bolder text + hide event icons options

* feat: agenda warning badge

* fix: agenda various UI improvements + intersectionObserver fix

* feat: agenda floorplan page + various UI improvements

* feat: agenda floor plan pin

* feat: view floor plan room from agenda

* feat: agenda floor plan mobile optimization

* feat: adjust calendar options + default calendar view in settings

* feat: agenda persist picked events + change base font only on new agenda page

* feat: agenda mobile view optimizations

* fix: add .vite to cached volumes

* fix: mobile view for filters, calendar, settings panels

* test: upgrade cypress existing tests to work on bs5 + update dependencies

* fix: use named url patterns to avoid hardcoded URLs. Add rudimentary test coverage for the neue views.

Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
2022-07-13 16:20:23 -05:00
Robert Sparks f7ec783d7b
docs: update INSTALL to reflect finally leaving apache and remove cruft. (#4085) 2022-06-16 11:34:51 -05:00
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