datatracker/ietf/templates/meeting
Jennifer Richards 8b52d27b02
refactor: refactor timestamp handling so tests in meeting app pass (#4371)
* refactor: replace datetime.now with timezone.now

* refactor: migrate model fields to use timezone.now as default

* refactor: replace datetime.today with timezone.now

datetime.datetime.today() is equivalent to datetime.datetime.now(); both
return a naive datetime with the current local time.

* refactor: rephrase datetime.now(tz) as timezone.now().astimezone(tz)

This is effectively the same, but is less likely to encourage accidental
use of naive datetimes.

* refactor: revert datetime.today() change to old migrations

* refactor: change a missed datetime.now to timezone.now

* chore: renumber timezone_now migration

* chore: add migration to change timestamps to UTC

* refactor: move tz instantiation/caching from TimeSlot to Meeting

* fix: assume utc if meeting.time_zone is blank

* chore: make datetime.combine() calls tz aware in the meeting app

* ci: correctly use meeting.tz in TimeSlotFactory

* chore: compute TimeSlot utc / local times assuming tz-aware times

* chore: use tzaware math for agenda editor timeslot layout

* chore: fill in Meeting.time_zone where it is blank

Nearly all interim meetings on or before 2016-07-01 have blank
time_zone values. This migration fills these in with PST8PDT.

* chore: disallow blank Meeting.time_zone value

* refactor: no need to handle blank time_zone case in TZ migration

* refactor: remove now-unnecessary checks that meeting has time_zone

* chore: fix timezone handling in agenda.ics and Meeting.updated()

* chore: fix tz handling in interim_request_details, exercise in tests

* chore: fix timezone handling for test_interim_send_announcement

* chore: fix timezone handling in agenda_json()

* chore: fix timezone handling in old agenda

* chore: fix timezone handling for EditTimeslotsTests

* refactor: refactor a few fixes for more consistent timezone handling

* chore: add timezone info to timestamps in fixtures

* chore: remove naive datetime warnings found in meetings.tests_views

* chore: fix a few more test failures in meetings.tests_views

All tests in meetings.tests_views now passing

* chore: remove unused import

* chore: fix timezone handling in test_schedule_generator.py

* chore: fix timezone handling affecting meeting.tests_js

* chore: fix timeslot test bug when local date != UTC date

* test: fix a few failing tests, all meetings tests now pass

(for me, anyway)

* chore: renumber migrations

* chore: update timestamp conversion migration

The django-celery-beat package introduces tables with timestamp
columns. These columns are stored in CELERY_TIMEZONE. Because we run with
this set to UTC, the migration ignores these columns.

* chore: fix pytz-related change in migration

* chore: remove duplicate migrations

* chore: remove CELERY_BEAT_TZ_AWARE setting now that USE_TZ is True

* test: avoid failure in test with bogus timezone
2022-08-26 16:53:19 -03:00
..
proceedings fix: Remove stray space from end of href (#4113) 2022-06-22 12:00:54 -05:00
.gitignore Merged from log:branch/2.00@2363: Current release branch head to trunk. 2010-07-21 12:48:05 +00:00
add_session_drafts.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
agenda-neue.html feat: load agenda asynchronously via REST endpoint (#4257) 2022-07-24 10:34:57 -05:00
agenda.html refactor: refactor timestamp handling so tests in meeting app pass (#4371) 2022-08-26 16:53:19 -03:00
agenda.ics refactor: refactor timestamp handling so tests in meeting app pass (#4371) 2022-08-26 16:53:19 -03:00
agenda.txt Snapshot of dev work to add session purpose annotation 2021-10-12 17:08:58 +00:00
agenda_by_room.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
agenda_by_type.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
agenda_filter.html fix: Better agenda display on phone screens (#4156) 2022-07-08 16:34:40 -05:00
agenda_personalize_buttonlist.html fix: clean up agenda personalization links (#3803) 2022-04-12 12:03:13 -03:00
approve_proposed_slides.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
bluesheet.txt Changed to using a template to generate bluesheets and added a count of participants at the top. 2020-08-07 09:58:46 +00:00
create_timeslot.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
delete_schedule.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
diff_schedules.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
edit_materials_button.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
edit_meeting_schedule.html fix(ui): import moment.js library with moment-timezone support in wrapper (#3977) 2022-05-18 09:23:07 -05:00
edit_meeting_schedule_session.html fix: make the shedule editor fit better on laptop lenses and smaller external monitors. (#4107) 2022-06-21 11:43:35 -05:00
edit_meeting_timeslots_and_misc_sessions.html fix(ui): badge -> badge rounded-pill (#4076) 2022-06-15 13:43:49 -05:00
edit_session.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
edit_timeslot.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
edit_timeslot_form.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
edit_timeslot_type.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
finalize.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
floor-plan.html feat(ui): new dynamic agenda view (#4086) 2022-07-13 16:20:23 -05:00
group_materials.html fix(ui): badge -> badge rounded-pill (#4076) 2022-06-15 13:43:49 -05:00
group_proceedings.html fix(ui): badge -> badge rounded-pill (#4076) 2022-06-15 13:43:49 -05:00
import_minutes.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
important-dates.html fix: add more HTML validation & fixes (#3891) 2022-05-03 13:55:48 -05:00
important_dates.ics Make the upcoming meetings iCal group the IETF meetings into one 2020-08-28 12:28:29 +00:00
important_dates_for_meeting.ics Use BOF consistently. 2021-07-14 17:33:14 +00:00
interim_announce.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
interim_announcement.txt refactor: refactor timestamp handling so tests in meeting app pass (#4371) 2022-08-26 16:53:19 -03:00
interim_announcement_request.txt Merged in [11792] from rcross@amsl.com: 2016-08-18 15:03:55 +00:00
interim_approval.txt Email requesters when an interim moves into the announcement queue. Partially addresses #3016 and #3099. Commit ready for merge. 2020-10-13 22:45:31 +00:00
interim_approval_request.txt email confirming interim meeting request now says 'the Area Director of the <area>' instead of '<area> Area Director'. Fixes issue #2522. Commit ready to merge. 2018-07-14 18:52:38 +00:00
interim_info.txt Reverted merge of timezone-aware migration efforts. 2021-01-12 16:54:20 +00:00
interim_meeting_cancellation_notice.txt Allow cancellation of individual sessions of multi-session interim meeting. Fixes #2959. Commit ready for merge. 2020-12-01 17:37:09 +00:00
interim_minutes_reminder.txt feat: point to Zulip chat rather than jabber. (#4218) 2022-07-15 13:48:54 -05:00
interim_nav.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
interim_pending.html fix: Remove stray space from end of href (#4113) 2022-06-22 12:00:54 -05:00
interim_request.html fix: .visually-hidden -> .d-none (#3800) 2022-04-08 14:53:56 -03:00
interim_request_cancel.html ci: Also check generated HTML with the "vnu" validator (#3682) 2022-03-21 12:50:23 -05:00
interim_request_details.html refactor: refactor timestamp handling so tests in meeting app pass (#4371) 2022-08-26 16:53:19 -03:00
interim_request_edit.html fix: .visually-hidden -> .d-none (#3800) 2022-04-08 14:53:56 -03:00
interim_send_announcement.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
interim_session_buttons.html feat: point to Zulip chat rather than jabber. (#4218) 2022-07-15 13:48:54 -05:00
interim_session_cancellation_notice.txt Allow cancellation of individual sessions of multi-session interim meeting. Fixes #2959. Commit ready for merge. 2020-12-01 17:37:09 +00:00
interim_skip_announce.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
make_schedule_official.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
materials.html chore: Use URL resolver in more places (#4104) 2022-06-22 14:10:16 -05:00
materials_editable_groups.html fix(ui): badge -> badge rounded-pill (#4076) 2022-06-15 13:43:49 -05:00
materials_upload_closed.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
meeting_heading.html feat(ui): new dynamic agenda view (#4086) 2022-07-13 16:20:23 -05:00
new_meeting_schedule.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
no-agenda.csv Changed the logic for what is the 'current' ietf meeting to disregard whether there's an agenda for the meeting or not. This lets people see the correct session request page for the current meeting. However, it also makes the /meeting/agenda.html page fail because there's no schedule associated with the meeting; so alternative pages saying 'No agenda available' has been added, too. 2014-04-25 13:14:53 +00:00
no-agenda.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
no-agenda.txt Added meeting.agenda_info_note. Commit ready for merge. 2018-10-09 22:08:45 +00:00
past.html fix(ui): badge -> badge rounded-pill (#4076) 2022-06-15 13:43:49 -05:00
previously_approved_slides.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
private_schedule.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
proceedings.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
proceedings_acknowledgements.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
proceedings_attendees.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
proceedings_attendees_table.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
proceedings_overview.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
proceedings_progress_report.html chore: Remove various unused template tags (#4101) 2022-06-21 14:05:02 -05:00
properties_edit.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
propose_session_slides.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
remove_sessionpresentation.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
request_minutes.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
request_minutes.txt Use BOF consistently. 2021-07-14 17:33:14 +00:00
requests.html feat: show meeting requests beyond rg/wg groups (#4134) 2022-06-29 09:49:33 -05:00
schedule_list.html fix(ui): badge -> badge rounded-pill (#4076) 2022-06-15 13:43:49 -05:00
session_agenda_include.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
session_buttons_include.html fix: Move Meetecho buttons to separate button group (#4295) 2022-08-02 10:20:26 -05:00
session_details.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
session_details_form.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
session_details_panel.html fix(ui): badge -> badge rounded-pill (#4076) 2022-06-15 13:43:49 -05:00
session_materials.html fix(ui): badge -> badge rounded-pill (#4076) 2022-06-15 13:43:49 -05:00
slides_proposed.txt Allow logged in users to propose slides for meeting sessions. Fixes #2547 and #2403. Commit ready for merge. 2019-03-25 16:10:00 +00:00
timeslot_edit.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
timeslot_edit_timeslot.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
timeslot_start_end.html refactor: refactor timestamp handling so tests in meeting app pass (#4371) 2022-08-26 16:53:19 -03:00
tz-display.html fix: Better agenda display on phone screens (#4156) 2022-07-08 16:34:40 -05:00
upcoming.html refactor: refactor timestamp handling so tests in meeting app pass (#4371) 2022-08-26 16:53:19 -03:00
upcoming.ics fix: show session name on meeting/upcoming. Fixes #4010. (#4017) 2022-05-24 15:23:47 -05:00
upload_session_agenda.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
upload_session_bluesheets.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
upload_session_minutes.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
upload_session_slides.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
week-view.html fix(ui): import moment.js library with moment-timezone support in wrapper (#3977) 2022-05-18 09:23:07 -05:00