Commit graph

16535 commits

Author SHA1 Message Date
rjsparks e5b6e330b1 ci: update base image target version to 20241127T2054 2024-11-27 21:05:52 +00:00
Jennifer Richards c58490bb36
feat: django-rest-framework + Person/Email API (#8256)
* feat: django-rest-framework + Person/Email API (#8233)

* chore: djangorestframework -> requirements.txt

* chore: auth/perm/schema classes for drf

* chore: settings for drf and friends

* chore: comment that api/serializer.py is not DRF

* feat: URL router for DRF

* feat: simple api/v3/person/{id} endpoint

* fix: actually working demo endpoint

* chore: no auth for PersonViewSet

* ci: params in ci-run-tests.yml

* Revert "ci: params in ci-run-tests.yml"

This reverts commit 03808ddf94afe42b7382ddd3730959987389612b.

* feat: email addresses for person API

* feat: email update api (WIP)

* fix: working Email API endpoint

* chore: annotate address format in api schema

* chore: api adjustments

* feat: expose SpectacularAPIView

At least for now...

* chore: better schema_path_prefix

* feat: permissions for DRF API

* refactor: use permissions classes

* refactor: extract NewEmailForm validation for reuse

* refactor: ietfauth.validators module

* refactor: send new email conf req via helper

* feat: API call to issue new address request

* chore: move datatracker DRF api to /api/core/

* fix: unused import

* fix: lint

* test: drf URL names + API tests (#8248)

* refactor: better drf URL naming

* test: test person-detail view

* test: permissions

* test: add_email tests + stubs

* test: test email update

* test: test 404 vs 403

* fix: fix permissions

* test: test email partial update

* test: assert we have a nonexistent PK

* chore: disable DRF api for now

* chore: fix git inanity

* fix: lint

* test: disable tests of disabled code

* test: more lint
2024-11-27 14:54:28 -06:00
Kesara Rathnayake c18900a8e6
feat: Expose important library versions (#7713)
* feat: Expose important library versions

Update `/api/version` to include

```
"other": {
    "xml2rfc": "<version>",
    "weasyprint": "<version>"
},
```

Fixes #3415

* fix: Use importlib

* chore: Reomve additional newline

* fix: Expose libraries that are important for document submission

* fix: Rename IMPORTANT_LIBRARIES as ADVERTISE_VERSIONS
2024-11-26 21:20:24 -06:00
rjsparks 15f3ebd2d5 ci: update base image target version to 20241127T0116 2024-11-27 01:27:15 +00:00
Robert Sparks 35e3433c2a
fix: use lxml 5 (#8279) 2024-11-26 19:15:50 -06:00
Jennifer Richards 5bb79bb7ca
ci: fix comment in settings_local.py 2024-11-26 09:24:27 -04:00
Jennifer Richards 4b57602404
chore: log in-flight request lists on worker term (#8272)
* chore: log in-flight request lists on worker term

* style: Black

* chore: suppress empty in-flight logs

* chore: use list consistently
2024-11-25 12:51:44 -06:00
Matthew Holloway a45f10c0ce
fix: increase timeout from 5s to 15s for playwright status tests (#8267) 2024-11-25 09:42:05 -06:00
Jennifer Richards ff5b2e12f3
chore: fix is_authenticated logging (#8266)
"o" instead of "i" to check response headers
2024-11-22 16:54:15 -06:00
Robert Sparks 661945b638
ci: merge release to main (#8264)
ci: merge main to release (#8262)
2024-11-22 13:33:36 -06:00
Jennifer Richards 9681d9f978
fix: revert POST for document search requests (#8263)
* Revert "fix: ensure csrf cookie for searches (#8260)"

This reverts commit 622ded5d2b.

* Revert "refactor: eliminate single-use helper (#8226)"

This reverts commit 6608c9d530.

* Revert "feat: POST for document search requests (#8206)"

This reverts commit b65a37b6e8.

* test: add back test fix

* refactor: eliminate single-use helper
2024-11-22 13:30:54 -06:00
Robert Sparks 7f65171c1a
ci: merge main to release (#8262) 2024-11-22 10:41:41 -06:00
Robert Sparks ec028903f7
ci: merge release to main (#8261)
ci: merge main to release (#8254)
2024-11-22 10:40:53 -06:00
Jennifer Richards 622ded5d2b
fix: ensure csrf cookie for searches (#8260)
Needed on views that include search_form.html in their responses.
2024-11-22 10:38:36 -06:00
Jennifer Richards 394e32e022
fix: lock session requests for new meetings (#8251)
* fix: lock session requests for new meetings

* fix: lint
2024-11-22 08:13:53 -06:00
Jennifer Richards 3074be8ccf
ci: tag feature branch release images 2024-11-21 19:19:28 -04:00
Jennifer Richards a9e5057375
chore: crlf -> lf (#8255) 2024-11-21 16:57:58 -06:00
Robert Sparks 1a4df2d8d5
ci: merge main to release (#8254) 2024-11-21 10:08:59 -06:00
Robert Sparks 43195a7177
ci: merge release to main (#8253)
ci: merge main to release (#8250)
2024-11-21 10:08:01 -06:00
Jennifer Richards d09d17c338
chore(deps): pin django-tastypie version (#8252) 2024-11-21 10:06:09 -06:00
Robert Sparks 03ced83655
ci: merge main to release (#8250) 2024-11-21 08:51:12 -06:00
Robert Sparks e999d7dba0
ci: merge release to main (#8249)
ci: merge main to release (#8156)
2024-11-21 08:50:13 -06:00
Nicolas Giard bdf753e052
chore: set gitattributes for normalizing line endings (#8245)
* chore: add proper .gitattributes

* chore: normalize file endings

* chore: fix .gitattributes

* chore: normalize file endings (2)
2024-11-20 16:48:00 -06:00
Nicolas Giard 3c42d98c5d
ci: Update build.yml workflow 2024-11-20 13:09:28 -05:00
dependabot[bot] 7c025c9f2b
chore(deps): bump nanoid in /dev/deploy-to-container in the npm group (#8098)
Bumps the npm group in /dev/deploy-to-container with 1 update: [nanoid](https://github.com/ai/nanoid).


Updates `nanoid` from 5.0.7 to 5.0.8
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/5.0.7...5.0.8)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-20 12:59:39 -05:00
Robert Sparks 51a76c603d
fix: removew assumption about what pks tests milestones get (#8243) 2024-11-20 11:40:23 -06:00
Nicolas Giard c3e0d28cad
ci: Update build.yml workflow 2024-11-19 20:31:02 -05:00
dependabot[bot] 15b95da9a1
chore(deps): bump appleboy/ssh-action from 1.1.0 to 1.2.0 (#8221)
Bumps [appleboy/ssh-action](https://github.com/appleboy/ssh-action) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/appleboy/ssh-action/releases)
- [Changelog](https://github.com/appleboy/ssh-action/blob/master/.goreleaser.yaml)
- [Commits](25ce8cbbcb...7eaf76671a)

---
updated-dependencies:
- dependency-name: appleboy/ssh-action
  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>
2024-11-19 16:24:03 -05:00
Nicolas Giard 0027db42eb
ci: Update tests.yml workflow 2024-11-19 16:15:38 -05:00
Nicolas Giard 70b8c85677
ci: Update tests.yml workflow 2024-11-19 16:13:54 -05:00
Robert Sparks bdf503a73b
fix: show meetecho recordings for groups with more than one session (#8238) 2024-11-19 15:06:56 -06:00
Nicolas Giard 71f52bc964
fix: move future meetings button in group meetings page to the left (#8239) 2024-11-19 14:01:20 -06:00
Robert Sparks 952bc90ee0
fix: follow replaces when building list for diff control (#8234) 2024-11-19 08:07:49 -06:00
Robert Sparks fd816c4f41
chore: remove unused activate_this code branch (#8230) 2024-11-18 13:57:33 -06:00
Robert Sparks 1d7be8c98c
chore: remove dead activate_this branches (#8228) 2024-11-18 12:48:47 -06:00
Robert Sparks 48f339194c
chore: remove unused merge-person-records (#8227) 2024-11-18 10:41:40 -06:00
Jennifer Richards 6608c9d530
refactor: eliminate single-use helper (#8226) 2024-11-18 08:53:50 -06:00
Ryan Cross b07d4dbebc
feat: add group leadership list (#8135)
* feat: add Group Leadership list

* fix: only offer export to staff

* fix: fix export button conditional

* fix: improve tests. black format

---------

Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
2024-11-15 12:18:09 -06:00
Matthew Holloway 8bc51e3cc2
feat: important dates page: autoid-n to IETFn (#8175)
Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
2024-11-15 12:16:34 -06:00
Matthew Holloway c89646ef8d
feat: Agenda proposed badge (#8164) 2024-11-14 16:59:05 -06:00
Jennifer Richards b65a37b6e8
feat: POST for document search requests (#8206)
* refactor: doc search via POST (WIP)

Changes the search view to use a POST instead of a GET. Refactors cache key computation to use cleaned data.

Still todo:
 * refactor frontpage view to match
 * refactor menubar search (?)
 * refactor stats view that uses SearchForm
 * revive or drop the "backwards compatibility" branch

* feat: convert GET search to POST

Still todo:
 * refactor frontpage view to match
 * refactor menubar search (?)
 * refactor stats view that uses SearchForm

* fix: revert frontpage changes, search works

Still todo:
 * refactor stats view that uses SearchForm

* fix: define vars in all branches

* refactor: update stats use of SearchForm

* chore: improve message

* fix: remove lint

* chore: comments re: QuerySetAny

* test: test query string search params

* style: Black

* test: refactor test_search()

* test: refactor test_search_became_rfc()

* test: use scroll_and_click helper
2024-11-14 16:05:38 -06:00
Jennifer Richards 901fdd8d44
chore: remove newrevisiondocevent stats view (#8210)
* refactor: update node, eslint, neostandard + fix esm (#8083)

* chore: update dependencies

* fix: eslint + neostandard

* fix: add corepack prompt env var to init script

* docs: Update README.md

---------

Co-authored-by: Robert Sparks <rjsparks@nostrum.com>

* chore: remove newrevisiondocevent stats view

Not functional anyway

* chore: fix lint

* chore: remove unused template

* Revert "refactor: update node, eslint, neostandard + fix esm (#8083)"

This reverts commit 649879efd745470f6e0cc6768d889f45640e1505.

---------

Co-authored-by: Nicolas Giard <github@ngpixel.com>
Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
2024-11-14 15:21:48 -06:00
NGPixel 84a5aa3805 ci: update base image target version to 20241114T1954 2024-11-14 20:05:03 +00:00
Nicolas Giard 7905b8db61
ci: Update build.yml to use GHA larger runner 2024-11-14 01:53:55 -05:00
Jennifer Richards a70171dfd9
chore: remove more dead code (#8208)
* chore: remove unused settings

* chore: remove unused ietf.utils.aliases / config
2024-11-13 10:51:04 -06:00
Robert Sparks b4fd3bfbb7
chore: remove dead code (#8207)
* chore: remove dead SYNC_BIN_PATH

* chore: remove unused Status class name attribute

* chore: remove unused import
2024-11-13 09:51:43 -06:00
Jennifer Richards a35aa67c70
chore: clarify transaction-related comments (#8180) 2024-11-08 11:55:47 +00:00
Robert Sparks 8c787b54f9
fix: control test meeting date to be in the past (#8177) 2024-11-07 17:41:36 +00:00
Robert Sparks 277f1aafeb
fix: search for correct ids in test (#8168) 2024-11-06 16:38:37 +00:00
Nicolas Giard 701e8a5016
ci: fix build.yml clone branch 2024-11-06 07:42:44 -05:00