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
Nicolas Giard
f09ad380c6
ci: fix pg db pgdata path
2022-12-13 21:51:59 +00:00
Nicolas Giard
a42086bef2
ci: fix pg db data path
2022-12-13 21:42:53 +00:00
Nicolas Giard
3b76c64002
ci: improve pg db script
2022-12-13 20:50:37 +00:00
Jennifer Richards
3d47a9069c
fix: eliminate race condition when creating a review Document ( #4876 )
2022-12-13 14:45:42 -06:00
Nicolas Giard
0d2e264de4
ci: add test pg build workflow
2022-12-13 15:37:04 -05:00
Nicolas Giard
f2e9701302
ci: pg db nightly build script
2022-12-13 20:29:57 +00:00
Nicolas Giard
dc023b3e17
ci: fix nightly db build workflow
2022-12-13 14:47:10 -05:00
Jennifer Richards
73fcf51709
fix: handle both rev is None and '' in document_main ( #4887 )
2022-12-13 12:22:43 -06:00
Lars Eggert
017b5f54d1
fix: Force font-size and line-height for plaintext PDFization ( #4879 )
...
Fixes #4343
2022-12-13 10:10:14 -06:00
Lars Eggert
49f586ed4f
fix: Apply CSS suggestion by @martinthomson ( #4872 )
...
Fixes #4869
2022-12-13 08:41:35 -06:00
Nicolas Giard
17fc283944
ci: add pg dockerfile to nightly build
2022-12-13 00:34:53 -05:00
Jennifer Richards
5a1fc4c2ab
fix: use a single Meeting instance for all assignments in agenda views ( #4877 )
2022-12-12 16:33:08 -06:00
Lars Eggert
f0966e43f5
fix: Don't show checker validations on HTMLization page ( #4873 )
...
Modals in static sidebars don't work; fixing this needs a larger rework.
Fixes #4865
2022-12-12 13:25:21 -06:00
Robert Sparks
572733d3f1
feat: validate the document notify field ( #4856 )
...
* feat: validate the document notify field
* chore: fix spelling in comment
* feat: be more explicit in notify validation, preserving input order.
* fix: restrict notify duplicate check to nameaddrs. Add tests.
2022-12-12 13:16:41 -06:00
Robert Sparks
15569771ff
Merge remote-tracking branch 'upstream/main' into feat/postgres
2022-12-12 09:54:49 -06:00
Jennifer Richards
6644ab48c0
fix: handle groups_at_the_time cache misses ( #4853 )
...
* fix: handle groups_at_the_time cache misses
* refactor: add comments, share meeting-start code between calls
* test: test Meeting.group_at_the_time()
2022-12-09 13:57:27 -06:00
Robert Sparks
25da1a1c2a
fix: restore session materials revision button url ( #4867 )
2022-12-09 13:49:11 -06:00
Lars Eggert
5af9b82927
fix: Properly hide the sidebar on medium and smaller viewports ( #4860 )
...
Fixes #4858 .
2022-12-09 08:17:21 -06:00
Lars Eggert
f870715a80
fix: Allow more email addresses in notification lists ( #4792 )
...
* fix: Allow more email addresses in notification lists
Fixes #4736
* Do what @rjsparks suggested
* Number migration
* Number migration
* Fix tests and apply for all doc types
2022-12-08 15:46:35 -06:00
Lars Eggert
7991dadc5e
feat: Add links to tools, so people know where to file issues. ( #4851 )
...
* feat: Add links to tools, so people know where to file issues.
* Remove spurious character
2022-12-08 13:58:04 -06:00
Robert Sparks
44c38abbbb
fix: in htmlization ignore html files that do not parse as html ( #4850 )
2022-12-08 13:55:15 -06:00
Lars Eggert
efb9f135c3
fix: Apply various suggestions from @martinthomson ( #4849 )
...
* With bs 5.2.3, no need to rewrite dots in ids and hrefs.
* Remove leftover console.log().
* Inherit color for <code>
* Don't wrap boilerplate URLs; makes it look more like text version.
2022-12-08 08:58:28 -06:00
Nicolas Giard
83771aceb3
ci: scheduled shared assets rsync
2022-12-07 17:49:47 -05:00
Lars Eggert
220be21998
chore: Use codespell to fix typos in code. ( #4797 )
...
* chore: Use codespell to fix typos in code.
Second part of replacement of #4651
@rjsparks, I probably need to revert some things here, and I also
still need to add that new migration - how do I do that?
* Revert migrations
* Migrate "Whitelisted" to "Allowlisted"
* TEST_COVERAGE_MASTER_FILE -> TEST_COVERAGE_MAIN_FILE
* Fix permissions
* Add suggestions from @jennifer-richards
2022-12-07 15:10:35 -06:00
Jennifer Richards
015ac316fb
test: fix test broken by 40fd46a2
( #4847 )
2022-12-07 15:06:43 -06:00
Jennifer Richards
40fd46a293
fix: be more sure to create interim's timeslot / update duration ( #4846 )
2022-12-07 14:45:00 -06:00
Robert Sparks
a7c0cc0464
fix: ignore badly coded user-provided html of older documents ( #4845 )
2022-12-07 11:11:25 -06:00
Nicolas Giard
81b8ffc929
ci: add hostname label to sandbox container
2022-12-06 18:03:00 -05:00