datatracker/ietf
Jennifer Richards 32054111df
fix: fix failing tests and eliminate naive datetime warnings (#4402)
* test: fix timestamp construction in several doc tests

* refactor: rename date2datetime to datetime_from_date and clarify code

* chore: helper to get tzinfo for PRODUCTION_TIMEZONE

* fix: fix timezone handling in make_last_call()

* test: fix datetime generation in doc.tests_charter

* refactor: remove PRODUCTION_TIMEZONE setting

Replaces the PRODUCTION_TIMEZONE setting with a constant,
DEADLINE_TZINFO, in ietf.utils.timezone.

* test: be more careful about timezone in tests_charter.py

* test: be more careful about timezone in doc/tests.py

* fix: fix timezone handling affecting doc.tests_draft

* fix: fix timezone handling affecting tests_irsg_ballot.py

* fix: fix timezone handling affecting tests_review.py

* fix: fix timezone handling affecting last ietf.doc tests

* fix: fix timezone handling affecting last ietf.group tests

* fix: fix timezone handling affecting ietf.iesg tests

* fix: handle timezones in get_8989_eligibility_querysets

* fix: handle timezones affecting ietfauth tests

* fix: return tz-aware datetime from utc_from_string

* fix: specify timezone for constants in ipr_rfc_number()

* fix: specify tz for ipr deadlines

* fix: handle timezones affecting liaisons tests

* fix: treat leap day in get_8989_eligibility_querysets()

Manual cherry-pick of 248d6474

* test: treat leap day properly in nomcom tests

* fix: fix timezone handling affecting nomcom tests

* test: fix timezone handling in review tests

* fix: fix timezone handling affecting secr.meetings tests

* fix: handle both pytz and zoneinfo timezones in ietf.utils.timezone

* fix: fix timezone handling affecting secr.proceedings tests

* refactor: use make_aware() helper in secr.meetings tests

* test: fix timezone handling in secr.telechat tests

* fix: fix timezone handling affecting stats tests

* fix: eliminate tz-naive helpers affecting sync email parsing

* fix: include timezone data when serializing DeletedEvent data

* fix: fix timezone handling affecting sync tests

* style: remove unused import
2022-09-01 13:07:28 -03:00
..
api fix: pytz manipulation of dumptime 2022-09-01 12:31:06 -03:00
bin refactor: replace datetime.now and datetime.today with timezone.now (#4211) 2022-08-25 13:45:16 -03:00
community refactor: replace datetime.now and datetime.today with timezone.now (#4211) 2022-08-25 13:45:16 -03:00
cookies More fixes 2021-12-02 11:07:50 +00:00
database-notes
dbtemplate test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
doc fix: fix failing tests and eliminate naive datetime warnings (#4402) 2022-09-01 13:07:28 -03:00
group fix: fix failing tests and eliminate naive datetime warnings (#4402) 2022-09-01 13:07:28 -03:00
help Added django-simple-history and replaced the old (and unused) PersonHistory class with a history=HistoricalRecords() field on Person. Added the needed migrations and changes to admin, resources, and settings. Related to issues #2505 and #2507. 2018-04-27 17:36:20 +00:00
idindex refactor: replace datetime.now and datetime.today with timezone.now (#4211) 2022-08-25 13:45:16 -03:00
iesg fix: fix failing tests and eliminate naive datetime warnings (#4402) 2022-09-01 13:07:28 -03:00
ietfauth fix: fix failing tests and eliminate naive datetime warnings (#4402) 2022-09-01 13:07:28 -03:00
ipr fix: fix failing tests and eliminate naive datetime warnings (#4402) 2022-09-01 13:07:28 -03:00
liaisons fix: fix failing tests and eliminate naive datetime warnings (#4402) 2022-09-01 13:07:28 -03:00
mailinglists chore: remove unneeded logging and code marked unreachable that has not been reached. (#4305) 2022-08-04 11:25:31 -05:00
mailtrigger Use temporary directories instead of "real" filesystem for tests. Fixes #3414. Commit ready for merge. 2021-11-05 19:45:57 +00:00
meeting fix: fix failing tests and eliminate naive datetime warnings (#4402) 2022-09-01 13:07:28 -03:00
message refactor: replace datetime.now and datetime.today with timezone.now (#4211) 2022-08-25 13:45:16 -03:00
name refactor: refactor timestamp handling so tests in meeting app pass (#4371) 2022-08-26 16:53:19 -03:00
nomcom fix: fix failing tests and eliminate naive datetime warnings (#4402) 2022-09-01 13:07:28 -03:00
person refactor: replace datetime.now and datetime.today with timezone.now (#4211) 2022-08-25 13:45:16 -03:00
redirects Update internal references to trac.tools.ietf.org to point to trac.ietf.org. Remove several links into tools.ietf.org. Commit ready for merge. 2021-10-13 21:43:44 +00:00
release feat: reflect breaking change in internal release description (#3826) 2022-04-14 15:04:09 -05:00
review fix: fix failing tests and eliminate naive datetime warnings (#4402) 2022-09-01 13:07:28 -03:00
secr fix: fix failing tests and eliminate naive datetime warnings (#4402) 2022-09-01 13:07:28 -03:00
static fix: use white ietf text logo in header (#4283) 2022-07-27 15:43:06 -05:00
stats fix: fix failing tests and eliminate naive datetime warnings (#4402) 2022-09-01 13:07:28 -03:00
submit refactor: replace datetime.now and datetime.today with timezone.now (#4211) 2022-08-25 13:45:16 -03:00
sync fix: fix failing tests and eliminate naive datetime warnings (#4402) 2022-09-01 13:07:28 -03:00
templates refactor: refactor timestamp handling so tests in meeting app pass (#4371) 2022-08-26 16:53:19 -03:00
utils fix: fix failing tests and eliminate naive datetime warnings (#4402) 2022-09-01 13:07:28 -03:00
.gitignore feat: diff crawl docker tool (#4310) 2022-08-18 12:28:47 -05:00
.yarnrc Preliminary work on converting bower management of web resources to yarn. New management command, replacing bower_install will be needed. 2019-07-25 20:28:18 +00:00
__init__.py feat: Celery support and asynchronous draft submission API (#4037) 2022-08-22 13:29:31 -05:00
celeryapp.py feat: Celery support and asynchronous draft submission API (#4037) 2022-08-22 13:29:31 -05:00
checks.py Convert generate-draft-aliaes and generate-wg-aliases into management commands: generate_draft_aliases and generate_group_aliases. Also provide tests for the new management commands. 2021-03-13 17:30:35 +00:00
context_processors.py feat: improve release information in footer. (#3738) 2022-03-30 11:53:07 -03:00
feed_urls.py Changed urlpattern order to list the more specific of overlapping patterns first, and made the rfc feed per year pattern more permissive. 2017-12-04 16:32:58 +00:00
LICENSE Merged in the port from Django 1.2 to Django 1.6 from olau@iola.dk: branch/iola/djangoport@7121, and fixed some merge issues. 2014-01-18 21:02:40 +00:00
manage.py Moved warnings settings from manage.py and test_runner.py to one single place, settings.py. Decreased the verbosity level when invoking 'loaddata' from the test runner. 2016-12-15 13:25:20 +00:00
middleware.py Updated a middleware function to use the correct Py3 idiom to access exception arguments. 2020-09-21 12:39:00 +00:00
settings.py fix: fix failing tests and eliminate naive datetime warnings (#4402) 2022-09-01 13:07:28 -03:00
settings_sqlitetest.py chore: Use URL resolver in more places (#4104) 2022-06-22 14:10:16 -05:00
settings_testcrawl.py chore: improve ALLOWED_HOSTS in settings (ports are not useful there) (#4232) 2022-07-20 15:16:14 -05:00
urls.py fix: test web manifest (#4047) 2022-06-02 11:10:11 -05:00
virtualenv-manage.py More Py2/3 adaptations fetched from production. 2020-02-23 16:27:30 +00:00
wsgi.py Update internal references to trac.tools.ietf.org to point to trac.ietf.org. Remove several links into tools.ietf.org. Commit ready for merge. 2021-10-13 21:43:44 +00:00