Commit graph

14923 commits

Author SHA1 Message Date
Nicolas Giard 64fffae37d
ci: update build workflow to set latest flag on release 2022-12-22 17:17:19 -05:00
Nicolas Giard 7da67f64af
ci: add shared test volume to sandbox deploy 2022-12-22 17:15:35 -05:00
Robert Sparks 1f0ab6418f
chore: update test name fixture (#4925) 2022-12-21 14:28:07 -06:00
Nicolas Giard 9b50ce1292
docs: update README badge to postgres 2022-12-21 02:53:21 -05:00
Nicolas Giard acfa7a1629
ci: fix build + pr test steps to use pg db 2022-12-20 20:22:08 -05:00
Robert Sparks 795c182df8
Merge remote-tracking branch 'origin/main' into feat/postgres 2022-12-20 08:31:02 -06:00
Robert Sparks 0f35f5df3a
fix: handle names with endings that might parse as versions better (#4897)
* fix: Use the doc name matched by fuzzy_find_documents when rendering

Fixes #4855

* Follow suggestion by @rjsparks

* fix: handle names with endings that might parse as versions better

Co-authored-by: Lars Eggert <lars@eggert.org>
2022-12-20 08:16:08 -06:00
Nicolas Giard 51b68d6365
ci: fix db-pg-migrate script to use pgdb instead of pg 2022-12-19 18:11:23 -05:00
Nicolas Giard c01054432b
ci: set pgloader workers to 3 2022-12-19 17:50:48 -05:00
Nicolas Giard 29731bf36d
ci: reduce pgloader workers arg to 1 2022-12-19 16:50:46 -05:00
Nicolas Giard 24c8738e1e
ci: fix db migrate script to use mysql first 2022-12-19 16:37:56 -05:00
Nicolas Giard 68895ef6dc
ci: fix deploy-to-container script to use postgres image 2022-12-19 16:28:58 -05:00
Lars Eggert 82bb7c81d2
Create dependency-review.yml (#4522) 2022-12-19 15:07:09 -06:00
Jennifer Richards a8780dc439
test: fix (and simplify) changed email address generation (#4919) 2022-12-19 13:33:51 -06:00
Lars Eggert 4b1c10f6ab
feat: Add preference to make citation links go straight to cited docs (#4886)
* feat: Add preference to make citation links go straight to cited documents

* Use localStorage
2022-12-19 13:30:08 -06:00
Jennifer Richards 30f852179c
test: ensure author fields are actually changed by test (#4918) 2022-12-19 11:07:15 -06:00
Lars Eggert bc2b5f72ef
More fixes for HTMLization and PDFization (#4899)
* More fixes for HTMLization and PDFization

* Remove print

* More fixed from @martinthomson

* Hopefully fix #4885

* Apply suggestion from @rjsparks
2022-12-19 09:04:44 -06:00
Lars Eggert c3e7c1e188
feat: Linkify state descriptions (#4916) 2022-12-19 09:03:44 -06:00
Lars Eggert cab9b1c5e5
fix: Remove spurious title attribute (#4917) 2022-12-19 09:01:06 -06:00
Lars Eggert d00d19f512
chore: Update deps (#4904)
* chore: Update deps

* Revert to shepherd@10
2022-12-19 08:53:46 -06:00
Jennifer Richards 27469c1264
fix: do not create ReviewRequestDocEvent when assigning a review req (#4913)
* fix: do not create ReviewRequestDocEvent when assigning a review req

* test: test docevent creation
2022-12-16 15:17:10 -06:00
Lars Eggert ad5cf0bb01
fix: Fix layout issue in ballot modals on narrow screens (#4911)
* fix: Fix layout issue in ballot modals on narrow screens

Fixes #4902

* Also apply change to old positions

* Fix tests

* Use badge to indicate former ADs
2022-12-16 13:09:55 -06:00
Lars Eggert e6e0d8fc1a
feat: Diff arbitrary versions from new HTMLization page (#4863)
* feat: Diff arbitrary versions from new HTMLization page

Fixes #4859

* Rework this based on @rjsparks' suggestion. Not quite done yet.

* Progress

* Fix HTML

* Don't show compare buttons if there aren't at least two versions

* Remove spurious title attribute

* Use and style select2 for the version diff dropdowns

* Roll in code review suggestions

* Some tests!
2022-12-16 10:46:05 -06:00
Nicolas Giard cdef8f4114
ci: use lower batch size for pg migrate 2022-12-15 17:45:15 -05:00
Nicolas Giard 286e737d98
ci: nightly db build - pin download artifact action to v3 2022-12-15 15:52:31 -05:00
Nicolas Giard 94d367000b
ci: add search path modif to db dump import 2022-12-15 15:43:25 -05:00
Nicolas Giard 233ac51ab2
chore: modify cleandb script to remove pg volume 2022-12-15 15:05:13 -05:00
Robert Sparks 01c705323d
ci: use prebuilt postgres data for the build container (#4908)
* ci: use prebuilt postgres data for the build container

* ci: remove volumes that wont be reused anyhow
2022-12-15 14:02:30 -06:00
Nicolas Giard a60d52253e
chore: use prebuilt pg db image in dev (#4890) 2022-12-15 14:00:51 -06:00
Robert Sparks 3d802497f4
Merge remote-tracking branch 'upstream/main' into feat/postgres 2022-12-15 09:58:24 -06:00
Lars Eggert 8a599b749b
fix: Set font size from cookie before DOM is ready, to avoid flickering (#4882)
* fix: Set font size from cookie before DOM is ready, to avoid flickering

* fix: Use localStorage instead of cookies where possible
2022-12-15 09:36:30 -06:00
Jennifer Richards 38748cb10b
refactor: add guards/type hints to build_file_urls() (#4896)
* refactor: add guards/type hints to build_file_urls()

* fix: compare doc.type_id, not doc.type, with string value

* test: add cursory test of build_file_urls()
2022-12-14 17:22:26 -06:00
Lars Eggert 36e6b98394
fix: Fix sidebar hiding functionality (#4891)
Broken by #4860
Fixes #4858
2022-12-14 15:11:41 -06:00
Nicolas Giard ce9afdcc90
ci: move pg build to nightly db workflow 2022-12-14 00:20:49 -05:00
Nicolas Giard eac5ec0d67
ci: add workflow permissions to pgtest 2022-12-13 23:38:51 -05:00
Nicolas Giard 6f8caaf342
ci: add createdb to db-pg-import.sh 2022-12-14 02:13:44 +00:00
Nicolas Giard 96be49f9d3
ci: add dropdb to db-pg-import.sh 2022-12-14 02:02:21 +00:00
Nicolas Giard 6a70cefb55
ci: remove dropdb from db-pg-import.sh 2022-12-14 01:21:26 +00:00
Nicolas Giard b4bbd7a592
ci: fix pg_dump 2022-12-14 01:08:12 +00:00
Nicolas Giard d9f7488dfb
ci: add missing workflow dependency 2022-12-13 19:57:47 -05:00
Nicolas Giard 5e76cd47b7
ci: adapt db-pg.Dockerfile to import db dump 2022-12-14 00:54:39 +00:00
Nicolas Giard 5a48d6a77d
ci: add multi-platform pg image build workflow steps 2022-12-13 19:39:27 -05:00
Nicolas Giard 9daa628d8b
ci: create export dump in db-pg-migrate.sh 2022-12-14 00:25:13 +00:00
Nicolas Giard 5d26f908c9
ci: remove quotes for batch size 2022-12-13 23:45:09 +00:00
Nicolas Giard 735c851e67
ci: pgloader set batch size 2022-12-13 23:38:30 +00:00
Nicolas Giard 4eae51f0be
ci: remove time from db-pg-migrate.sh 2022-12-13 18:07:43 -05:00
Nicolas Giard 0f5cfc80ee
ci: remove typo in dg-pg-migrate.sh 2022-12-13 18:01:13 -05:00
Nicolas Giard dc66d7506d
ci: use pgdb service container 2022-12-13 17:50:28 -05:00
Nicolas Giard bc1cba1cca
ci: add pgdb service to test build workflow 2022-12-13 17:48:54 -05: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