datatracker/ietf/person
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 feat: purge_personal_api_key_events() task (#7485) 2024-05-30 08:23:49 -05:00
migrations fix: add recording-name api key endpoint; appauth url fix (#8081) 2024-10-25 08:52:09 -05:00
templatetags fix: remove unused imports 2022-09-28 17:45:11 -03:00
__init__.py Move new schema models from redesign/ to ietf/ 2012-01-24 17:17:24 +00:00
admin.py fix: Fix incorrect "GDPR" features/terminology. Fixes #4521. (#4587) 2022-10-18 13:27:19 -05:00
ajax.py Tear out old meeting schedule editor and related code 2021-11-04 17:07:22 +00:00
api.py feat: django-rest-framework + Person/Email API (#8256) 2024-11-27 14:54:28 -06:00
factories.py fix: add recording-name api key endpoint; appauth url fix (#8081) 2024-10-25 08:52:09 -05:00
fields.py feat: only offer IAB/IESG members for bofreq responsible leadership (#4276) 2022-07-26 11:23:00 -05:00
forms.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
models.py fix: add recording-name api key endpoint; appauth url fix (#8081) 2024-10-25 08:52:09 -05:00
name.py fix: add exception to last<->first name swap (#8043) 2024-10-11 12:24:35 -05:00
resources.py Change to not serve any personalapikey metadata. Commit ready for merge. 2021-12-16 19:57:31 +00:00
serializers.py feat: django-rest-framework + Person/Email API (#8256) 2024-11-27 14:54:28 -06:00
tasks.py feat: send_apikey_usage_emails_task() (#7486) 2024-05-30 08:31:25 -05:00
tests.py fix: 404 instead of 300 for ambiguous email_or_person (#8004) 2024-10-16 11:36:54 -05:00
urls.py fix: optional / for /person/merge/ URL (#7746) 2024-07-24 14:20:18 -07:00
utils.py feat: improve / clean up logging (#7591) 2024-06-26 14:53:05 -05:00
views.py fix: 404 instead of 300 for ambiguous email_or_person (#8004) 2024-10-16 11:36:54 -05:00