datatracker/ietf/utils/management/commands
Jennifer Richards b4cf04a09d
feat: celery tasks to replace ietf/bin scripts (#6971)
* refactor: Change import style for clarity

* feat: Add iana_changes_updates_task()

* chore: Squelch lint warning

My linter does not like variables defined outside
of __init__()

* feat: Add PeriodicTask for iana_changes_updates_task

* refactor: tasks instead of scripts on sync.views.notify()

* test: Test iana_changes_updates_task

* refactor: rename task for consistency

* feat: Add iana_protocols_update_task

* feat: Add PeriodicTask for iana protocols sync

* refactor: Use protocol sync task instead of script in view

* refactor: itertools.batched() not available until py312

* test: test iana_protocols_update_task

* feat: Add idindex_update_task()

Calls idindex generation functions and does the file
update dance to put them in place.

* chore: Add comments to bin/hourly

* fix: annotate types and fix bug

* feat: Create PeriodicTask for idindex_update_task

* refactor: Move helpers into a class

More testable this way

* refactor: Make TempFileManager a context mgr

* test: Test idindex_update_task

* test: Test TempFileManager

* fix: Fix bug in TestFileManager

yay testing

* feat: Add expire_ids_task()

* feat: Create PeriodicTask for expire_ids_task

* test: Test expire_ids_task

* test: Test request timeout in iana_protocols_update_task

* refactor: do not re-raise timeout exception

Not sure this is the right thing to do, but it's the
same as rfc_editor_index_update_task

* feat: Add notify_expirations_task

* feat: Add "weekly" celery beat crontab

* refactor: Reorder crontab fields

This matches the crontab file field order

* feat: Add PeriodicTask for notify_expirations

* test: Test notify_expirations_task

* test: Add annotation to satisfy mypy
2024-01-31 15:24:20 -06:00
..
__init__.py Added a makefixture management command, from http://djangosnippets.org/snippets/918/, somewhat hacked. 2013-09-29 20:50:51 +00:00
check_draft_event_revision_integrity.py refactor: Replace is_rfc() tests (#5925) 2023-07-06 12:07:53 -03:00
check_referential_integrity.py Removed a future import 2020-05-18 10:59:59 +00:00
coverage_changes.py fix: close open things (#5593) 2023-05-10 11:19:34 -05:00
download_extras.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
dumprelated.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
fix_ambiguous_timestamps.py refactor: replace datetime.now and datetime.today with timezone.now (#4211) 2022-08-25 13:45:16 -03:00
generate_apache_perms.py Prevent login case issues by generating apache permissions file entries for both uppercase and lowercase logins. 2019-07-29 19:20:38 +00:00
import_htpasswd.py feat: treat django auth username as case insensitive throughout the datatracker (#5165) 2023-02-21 10:01:03 -06:00
loadrelated.py refactor: Replace deprecated force_text with force_str 2023-05-09 15:21:50 -03:00
makefixture.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
mergedata.py refactor: Replace deprecated force_text with force_str 2023-05-09 15:21:50 -03:00
periodic_tasks.py feat: celery tasks to replace ietf/bin scripts (#6971) 2024-01-31 15:24:20 -06:00
populate_yang_model_dirs.py fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
pyflakes.py Merged in changes from trunk up to r17584. 2020-04-07 16:02:52 +00:00
run_yang_model_checks.py chore: checkpoint: docalias mostly removed 2023-08-15 16:49:17 -05:00
showloggers.py Tweaked the showloggers command help text. 2020-06-13 21:28:32 +00:00
sqldumpdump.py fix: avoid mutables as defaults. Compute date default arguments at runtime rather than loadtime. (#4144) 2022-07-06 14:39:36 -05:00
tests.py chore: Use codespell to fix typos in code. (#4797) 2022-12-07 15:10:35 -06:00
update_community_list_index.py feat: replace references to User with references to Person (#6024) 2024-01-24 11:00:19 -06:00
update_external_command_info.py chore: Use codespell to fix typos in code. (#4797) 2022-12-07 15:10:35 -06:00