datatracker/ietf/doc
Jennifer Richards fa56223939
feat: API to replace email alias generation commands (#7012)
* feat: DraftAliasGenerator class

Encapsulates logic from generate_draft_aliases.py

* refactor: Avoid circular imports

* feat: Add draft_aliases API endpoint

* feat: Add @requires_api_token decorator

Stolen from feat/rpc-api

* feat: Add token auth to draft_aliases endpoint

* feat: draft-aliases-from-json.py script

Parses output from the draft_aliases API call

* chore: Remove unused cruft

* refactor: Avoid shadowing "draft" name

* fix: Suppress empty lists from DraftAliasGenerator

* refactor: Use a GET instead of POST

* feat: GroupAliasGenerator class

* feat: group aliases API view

* fix: Handle domains array correctly

* fix: Suppress empty group aliases

* refactor: Generalize aliases-from-json.py script

* refactor: Same output fmt for draft and group alias apis

* feat: Sort addresses for stability

* fix: Add "anything" virtual alias

* test: Test requires_api_token decorator

* feat: Harden is_valid_token against misconfig

* test: Test is_valid_token

* test: Test draft_aliases view

* test: Test group_aliases view

* test: Test DraftAliasGenerator

* fix: ise group is type "ise" in test data

* test: Fix logic in testManagementCommand

The test was incorrect - and fails when fixed. :-(

* test: Test GroupAliasGenerator

Test currently fails

* fix: Suppress empty -ads alias

* test: Fix group acronym copy/paste error

I *think* this must be what had been intended. The
code does not look like it ever dealt with GroupHistory,
so I'm pretty sure it wasn't meant to have the same
acronym used by two different Groups at different
times.

* test: Check draft .notify alias generation

* test: Cover get_draft_notify_emails()
2024-02-07 10:15:50 -06:00
..
management fix: do nothing if rfc has no draft; add test (#6960) 2024-01-23 10:58:34 -06:00
migrations fix: Allow blank originaltargetaliasname (#6748) 2023-12-07 15:01:55 -04:00
templatetags fix: correct DATE DTEND values - they are non-inclusive (#6907) 2024-01-10 13:55:07 -06:00
__init__.py Move new schema models from redesign/ to ietf/ 2012-01-24 17:17:24 +00:00
admin.py feat: remove DocAlias 2023-08-19 13:17:21 -05:00
expire.py fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
factories.py fix: bring tests up current. add subseries names to rfc view. fix html. 2023-09-22 12:40:15 -05:00
feeds.py chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
fields.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
forms.py fix: teach ajax_select2_search_docs about rfcs (#6679) 2023-11-21 15:33:44 -06:00
lastcall.py fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
mails.py chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
models.py test: unpin django-stubs and update mypy (#6901) 2024-01-10 09:53:43 -06:00
redirect_drafts_urls.py Use the id-archive wherever we had been using the id-repository. Fixes #3080. Commit ready for merge. 2020-10-02 14:13:17 +00:00
redirect_idtracker_urls.py Updated all urlpatterns to use ietf.utils.urls.url() instead of django's, 2017-02-11 14:43:01 +00:00
resources.py feat: remove DocAlias 2023-08-19 13:17:21 -05:00
settings.py Started moving app-specific settings into app settings.py files. 2016-09-09 05:42:41 +00:00
tasks.py feat: celery tasks to replace ietf/bin scripts (#6971) 2024-01-31 15:24:20 -06:00
tests.py feat: API to replace email alias generation commands (#7012) 2024-02-07 10:15:50 -06:00
tests_ballot.py Merge branch 'feat/rfc' into related_no_alias 2023-07-19 17:48:22 -05:00
tests_bofreq.py chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
tests_charter.py chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
tests_conflict_review.py chore: merge branch 'main' into feat/rfc 2023-11-01 10:54:29 -05:00
tests_downref.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
tests_draft.py fix: Properly set AD as action holder when submitting to IESG for publication (#6854) 2024-01-03 16:30:06 -06:00
tests_irsg_ballot.py feat: enable editorial stream adoption and balloting (#5011) 2023-01-31 13:50:51 -06:00
tests_js.py ci: Switch to using geckodriver (#6541) 2023-11-21 15:30:50 -06:00
tests_material.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
tests_models.py chore: repair merge damage 2023-11-01 12:41:15 -05:00
tests_review.py fix: Allow reassignment of withdrawn review assignment (#6723) (#6850) 2023-12-27 11:09:45 -06:00
tests_rsab_ballot.py chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
tests_statement.py chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
tests_status_change.py chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
tests_subseries.py chore: sync subseries index test with view changes 2023-11-05 13:56:50 +01:00
tests_tasks.py feat: celery tasks to replace ietf/bin scripts (#6971) 2024-01-31 15:24:20 -06:00
tests_utils.py fix: ignore attempts to look for versions of rfcs, but find the rfc. 2023-12-13 11:54:22 -06:00
urls.py feat: Teach ajax_select2_search about subseries (#6709) 2023-11-30 11:22:32 -04:00
urls_bofreq.py Added Additional Resources. Simplified the bofreq urls file. 2021-07-07 22:28:05 +00:00
urls_charter.py Added a new document tab for some documents, showing htmlized drafts and RFCs 2017-03-20 14:08:52 +00:00
urls_conflict_review.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
urls_material.py Cleaned up the remaining explicit url names, using dotted-paths to view 2017-02-26 23:21:49 +00:00
urls_review.py feat: add "add comment" feature to the review requests. (#6603) 2023-11-05 09:29:25 +01:00
urls_statement.py chore: feat/dark-mode <- main (#6103) 2023-08-10 09:49:15 -05:00
urls_status_change.py Cleaned up the remaining explicit url names, using dotted-paths to view 2017-02-26 23:21:49 +00:00
utils.py feat: API to replace email alias generation commands (#7012) 2024-02-07 10:15:50 -06:00
utils_bofreq.py Added the notion of responsible leadership. 2021-07-07 17:49:35 +00:00
utils_charter.py refactor: Do not use canonical_name() for charters (#5818) 2023-06-14 08:32:21 -05:00
utils_search.py feat: replace references to User with references to Person (#6024) 2024-01-24 11:00:19 -06:00
views_ballot.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
views_bofreq.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
views_charter.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
views_conflict_review.py chore: merge branch 'main' into feat/rfc 2023-11-01 10:54:29 -05:00
views_doc.py feat: replace references to User with references to Person (#6024) 2024-01-24 11:00:19 -06:00
views_downref.py chore: correct merge errors 2023-06-26 13:14:31 -05:00
views_draft.py fix: Properly set AD as action holder when submitting to IESG for publication (#6854) 2024-01-03 16:30:06 -06:00
views_help.py fix: show state help for the editorial stream (#6836) 2023-12-26 08:53:52 -06:00
views_material.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
views_review.py chore: merge main and fix new views 2023-11-16 15:58:22 -06:00
views_search.py refactor: Avoid module-level queries (#6916) 2024-01-16 08:53:24 -06:00
views_statement.py chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
views_stats.py fix: Specify UTC for TruncDate (#5996) 2023-07-20 08:29:30 -05:00
views_status_change.py chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00