datatracker/ietf/api
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
..
management refactor: replace datetime.now and datetime.today with timezone.now (#4211) 2022-08-25 13:45:16 -03:00
templates/api ci: Also check generated HTML with the "vnu" validator (#3682) 2022-03-21 12:50:23 -05:00
__init__.py feat: Site status message (#7659) 2024-08-07 13:36:21 -05:00
__init__.pyi feat: dev mode admin + refactor api init (#7628) 2024-08-07 09:16:40 -05:00
apps.py feat: django-rest-framework + Person/Email API (#8256) 2024-11-27 14:54:28 -06:00
authentication.py feat: django-rest-framework + Person/Email API (#8256) 2024-11-27 14:54:28 -06:00
ietf_utils.py feat: API to replace email alias generation commands (#7012) 2024-02-07 10:15:50 -06:00
permissions.py feat: django-rest-framework + Person/Email API (#8256) 2024-11-27 14:54:28 -06:00
routers.py feat: django-rest-framework + Person/Email API (#8256) 2024-11-27 14:54:28 -06:00
schema.py feat: django-rest-framework + Person/Email API (#8256) 2024-11-27 14:54:28 -06:00
serializer.py feat: django-rest-framework + Person/Email API (#8256) 2024-11-27 14:54:28 -06:00
tests.py feat: Expose important library versions (#7713) 2024-11-26 21:20:24 -06:00
tests_core.py feat: django-rest-framework + Person/Email API (#8256) 2024-11-27 14:54:28 -06:00
urls.py feat: django-rest-framework + Person/Email API (#8256) 2024-11-27 14:54:28 -06:00
views.py feat: Expose important library versions (#7713) 2024-11-26 21:20:24 -06:00