Commit graph

307 commits

Author SHA1 Message Date
Robert Sparks f9c9644263
chore: merge main and fix conflicts 2023-08-30 16:35:20 -05:00
Robert Sparks dbe1749438
feat: IAB statements (#5940)
* feat: support iab and iesg statements. Import iab statements. (#5895)

* feat: infrastructure for statements doctype

* chore: basic test framework

* feat: basic statement document view

* feat: show replaced statements

* chore: black

* fix: state help for statements

* fix: cleanout non-relevant email expansions

* feat: import iab statements, provide group statements tab

* fix: guard against running import twice

* feat: build redirect csv for iab statements

* fix: set document state on import

* feat: show published date on main doc view

* feat: handle pdf statements

* feat: create new and update statements

* chore: copyright block updates

* chore: remove flakes

* chore: black

* feat: add edit/new buttons for the secretariat

* fix: address PR #5895 review comments

* fix: pin pydantic until inflect catches up (#5901) (#5902)

* chore: re-un-pin pydantic
2023-07-23 11:00:24 -07:00
Nicolas Giard a38b6c1bde
docs: update docker/README.md 2023-07-21 18:59:29 -04:00
Roman Beltiukov a1a88c5244
docs: update VS Code extensions names (#5997)
[ci skip]
2023-07-20 12:26:54 -05:00
Nicolas Giard added8603a
chore(dev): increase dev nginx timeout to 1d 2023-06-19 16:58:22 -04:00
Nicolas Giard 4179d08dbb
chore(dev): silence browserlist warnings 2023-06-15 23:30:10 -04:00
Nicolas Giard f3831de3ef
chore(dev): fix internal static proxy + add /pgadmin to reverse-proxy (#5809) 2023-06-13 10:56:11 -05:00
Rich Salz 32b90b99bc
fix: Make sure "./run" is the invocation (#5724)
* fix: Make sure "./run" is the invocation

* Use $(dirname $0) instead of hacky test

* chore: Update docs
2023-06-08 15:27:23 -05:00
Lars Eggert 860e661cf5
fix: port 8000 -> 8001 (#5788) 2023-06-08 14:15:46 -05:00
Nicolas Giard 52e175b39b
chore: start devcontainer services on re-open (#5776) 2023-06-06 17:07:06 -05:00
Nicolas Giard fd2303044c
chore: rewrite host header in dev nginx proxy config (#5772) 2023-06-06 16:11:32 -05:00
Nicolas Giard cfaf966492
fix: add internal static.ietf.org var for pdfized render (#5765) 2023-06-05 20:18:35 -05:00
Nicolas Giard 055651f5f7
chore: fix app-init.sh 2023-06-05 18:06:19 -04:00
Nicolas Giard 03a192b54c
chore: add nginx reverse proxy to dev environment (#5745)
* chore: add nginx reverse proxy to dev environment

* chore: replace settings_local in docker and backup old
2023-06-05 16:47:06 -05:00
Jennifer Richards 1922a6066e
Merge pull request #5700 from ietf-tools/main
chore: main -> django4
2023-05-31 10:59:09 -03:00
Nicolas Giard 0a11892414
chore: use variable for static.ietf.org references (#5692) 2023-05-25 17:23:18 -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
Nicolas Giard 2163a01adc
chore: move git safe directory command to top 2023-05-10 15:40:22 -04:00
Nicolas Giard 871afb1b86
chore: add git safe directory to docker init script 2023-05-10 15:20:48 -04:00
Jennifer Richards ed571ae50b
chore: Rename DB engine to drop the deprecated "_psycopg2" suffix 2023-05-10 12:40:37 -03:00
Robert Sparks 400a830661
chore: add bibxml-ids dir to container build. (#5590) 2023-05-08 15:16:31 -05:00
Nicolas Giard 82d0d42b28
chore: add pgadmin to dev environment 2023-04-25 18:02:34 -04:00
Nicolas Giard 86a183ec21
chore: cleanup of legacy scripts 2023-04-25 16:42:46 -04:00
Robert Sparks be47b76128
fix: more search_path tweaking (#5535) 2023-04-25 13:35:33 -05:00
Nicolas Giard 7f2043336b
chore: remove alter search_path from app-init.sh 2023-04-25 14:17:17 -04:00
dependabot[bot] 835d99d06e
chore(deps): bump postgres from 14.5 to 14.6 in /docker (#5528)
* chore(deps): bump postgres from 14.5 to 14.7 in /docker

Bumps postgres from 14.5 to 14.7.

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

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

* ci: Update db.Dockerfile

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicolas Giard <github@ngpixel.com>
2023-04-25 12:10:18 -05:00
Robert Sparks e649bfdb3b
chore: wrangle db search_path (#5523) 2023-04-25 11:59:58 -05:00
Nicolas Giard 16ba4a438b
fix: set search_path to datatracker 2023-04-18 21:42:01 -04:00
Nicolas Giard 7b922f6a3f
ci: fix db dump path 2023-04-18 19:49:36 -04:00
Nicolas Giard 2ef6985674
chore: update db-import db name 2023-04-18 19:22:39 -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
Rich Salz cffc5cfdc6
fix: Avoid creating a .yml-r file (#5358)
* fix: Don't create yml-r files on OSx

Use sed portably, "sed <foo >bar" and avoid the flags.

* Update docker/run

Fix command line, per Carsten.

Co-authored-by: cabo <cabo@tzi.org>

---------

Co-authored-by: cabo <cabo@tzi.org>
2023-04-14 17:01:13 -05:00
Nicolas Giard fd92dc2b8d
ci: add no-owner flag to db-import.sh 2023-04-12 22:52:12 -04:00
Nicolas Giard d7f808393d
chore: change db workflow for pg 2023-04-12 22:26:37 -04:00
Jim Fenton 0f1a6c960f
chore: Update test docs to postgresql; remove extraneous sqlite stuff (#5400)
* chore: Update test docs to postgresql; remove extraneous sqlite stuff

* Reverted addition of settings_postgrestest.py to .gitignore
2023-03-29 10:45:03 +09:00
Jennifer Richards 6b826fd985
refactor: Purge old migrations and update ci to build on a clean schema (#5431)
* refactor: Remove all existing migrations

* refactor: Create clean set of migrations

* chore: Skip check_statetype_slugs when DB is not yet populated

* fix: Do not cache active_groups_menu on module import

* fix: Do not patch timezone awareness out of oidc-provider

* refactor: Migrate to create postgres schema, only use pgloader for data

* ci: Use migration scripts from feat/pg-migrations branch

* Revert "ci: Use migration scripts from feat/pg-migrations branch"

This reverts commit c82f64c614241ccede4865a50d494725c8a47c15.

* ci: Run check before migrate

* fix: Remove redundant migration caused by merge error

* chore: Add casts/ALTER TABLEs to eliminate pgloader errors/warnings

* chore: Change schema name to match docker image assumptions

* chore: Clear out schema so we get a clean start in case of a retry
2023-03-28 18:06:07 +09:00
Robert Sparks 736382a13e
fix: default settings_local needs a pyflakes ignore (#5381) 2023-03-20 17:19:49 -05:00
Robert Sparks 88a78cf1ab
Merge remote-tracking branch 'ietf-tools/main' into feat/postgres 2023-03-20 13:46:32 -05: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
Robert Sparks 82f23da2b3
Merge remote-tracking branch 'ietf-tools/main' into feat/postgres 2023-02-28 16:25:46 -06:00
Robert Sparks ad553ccdc0
fix: repair app container use of assets (#5241) 2023-02-28 15:01:16 -06:00
Robert Sparks f010766654
Merge remote-tracking branch 'ietf-tools/main' into feat/postgres 2023-02-27 12:55:47 -06:00
Lars Eggert 1fb5bd7429
fix: Use the location app-rsync-extras.sh uses for the I-D archive (#5161) 2023-02-16 09:04:20 -06:00
Robert Sparks e1206fa91e
Merge remote-tracking branch 'upstream/main' into feat/postgres 2023-02-13 09:17:05 -06:00
Nicolas Giard d98dc6fb10
ci: remove duplicate pg client tools from app image 2023-02-07 17:34:38 -05:00
Nicolas Giard 6513b4dbb1
ci: add pg client tools to base image 2023-02-07 17:33:45 -05:00
Nicolas Giard 9e340cd0e4
ci: add pg client to base app image 2023-02-07 17:00:54 -05:00
Robert Sparks 117bb2a5b8
ci: clean up after recent exploration. 2023-02-02 13:19:37 -06:00
Robert Sparks ec0f718191
ci: further pg_restore tuning 2023-02-02 11:59:41 -06:00