Commit graph

1592 commits

Author SHA1 Message Date
Jennifer Richards 3cbcfde475
fix: use meeting-local times for agenda editor (#4458)
* fix: use meeting-local times for agenda editor

* test: test agenda editor timezone handling
2022-09-15 13:18:49 -03:00
Jennifer Richards 1366b6de38
Merge branch 'feat/tzaware' into jennifer/main-to-tzaware-conflicts 2022-09-14 12:36:33 -03:00
Jennifer Richards 54c57e0419
test: refactor tests to avoid shadowing meeting.date with a datetime (#4430) 2022-09-12 11:36:58 -03:00
Jennifer Richards dcb6da947e
fix: use tz-aware meeting datetime to decide when to show ical link (#4429)
* refactor: reimplement Meeting.end_datetime() using datetime_from_date helper

* fix: use tz-aware meeting datetime to decide when to show ical link
2022-09-12 11:35:01 -03:00
Lars Eggert baf67d1cd5
fix: Use new schedule editor icons picked by @flynnliz (#4407)
Also clean up the related layout somewhat.

Fixes #4378
2022-09-06 12:11:59 -05:00
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
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
Jennifer Richards 42203d7a9c
chore: migrate timestamps for use with USE_TZ=True (#4370)
* chore: add migration to change timestamps to UTC

* 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: 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: be explicit that Meeting.vtimezone can return None

* refactor: remove unnecessary save()
2022-08-26 13:03:19 -03:00
Jennifer Richards ebebdbed3e
refactor: replace datetime.now and datetime.today with timezone.now (#4211)
* 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: renumber migrations
2022-08-25 13:45:16 -03:00
Robert Sparks 17786527d4
fix: allow 90m session requests. Prompt for cannot meet at time reasoning. (#4345)
* fix: allow 90m session requests. Prompt for cannot meet at time reasoning.

* test: adjust tests to match new acts_like_wg default.
2022-08-19 09:11:44 -05:00
Robert Sparks c0f1fd2395
chore: update to pytz 2022.2.1 (#4342) 2022-08-18 11:40:51 -05:00
Robert Sparks aa2f843725
chore: track updates to pytz (#4319) 2022-08-12 15:14:46 -05:00
Robert Sparks c7c366fd41
chore: remove session_purpose_demo mgmt command. Fixes #4290. (#4309) 2022-08-04 11:25:57 -05:00
Robert Sparks 9c236ea2a2
chore: remove unneeded logging and code marked unreachable that has not been reached. (#4305)
* chore: remove unneeded logging and code marked unreachable that has not been reached.

* fix: remove noop save override
2022-08-04 11:25:31 -05:00
Nicolas Giard aea533e4dd
fix: add missing slides + minutes tabs to session materials dialog #4274 (#4275)
* fix: handle session dropdown link on mobile view

* feat: agenda session materials API endpoint

* feat: agenda-neue - add slides + minutes tabs to session materials dialog

* fix: remove commented line leftover
2022-07-26 09:30:20 -05:00
Nicolas Giard 4e649b9e2c
fix: force open links in agenda session materials html to open in new tab (#4277) 2022-07-26 09:04:24 -05:00
Nicolas Giard a605b08de6
feat: load agenda asynchronously via REST endpoint (#4257)
* feat: load agenda asynchronously via REST endpoint

* fix: handle invalid meeting number + pre-64 meetings redirect
2022-07-24 10:34:57 -05:00
Jennifer Richards b4e5cfcf91
fix: link to jabber logs for old meetings (#4250)
* fix: link to jabber logs for old meetings

* test: validate the URL for old Session chat logs
2022-07-24 09:06:23 -05:00
Robert Sparks fe1f51aede
fix: Compute 8989 eligibility using actual attendance data. (#4236) 2022-07-21 12:58:32 -05:00
Robert Sparks add95d36eb
fix: correct json import error for 112 and 113 plenary sessions (#4234) 2022-07-21 11:19:26 -05:00
Robert Sparks 99d4e16b30
feat: improve admin for Meeting Attended (#4233)
* feat: improve admin for Meeting Attended

* fix: further tweaks to the attended admin
2022-07-20 15:15:48 -05:00
Robert Sparks 6ed4ea0f93
feat: point to Zulip chat rather than jabber. (#4218)
* feat: point to Zulip chat rather than jabber.

* fix: Address review comments from Jennifer and Nick
2022-07-15 13:48:54 -05:00
Nicolas Giard aa9490faf6
feat(ui): new dynamic agenda view (#4086)
* feat: agenda page in vue (wip)

* feat: scroll to agenda day

* fix: vue 3 composition api + eslint settings

* fix: agenda day scroll match indicator

* fix: convert vite deps to yarn

* fix: missing lodash + legacy build step

* fix: agenda - move calendar into drawer

* fix: improve agenda filter UI

* fix: download ics + move agenda into own component

* feat: use fullcalendar for agenda calendar view (wip)

* feat: add events to agenda calendar

* feat: agenda filter UI improvements

* feat: agenda add to calendar dropdown

* feat: agenda calendar filter + timezone + event coloring

* feat: agenda calendar color improvements

* chore: exclude dist-neue from git

* feat: agenda calendar event modal

* fix: rebuild yarn deps

* chore: add run migration task to vscode

* fix: agenda buttons display flag

* feat: agenda event modal component

* feat: show calendar event quick info on hover

* fix: clear calendar quick info on timezone change

* feat: agenda list view improvements

* feat: agenda list row coloring

* feat: agenda list note

* feat: agenda list icons for office hours + hackathon

* fix: agenda top links

* refactor: use pinia as store for agenda components

* feat: agenda jump to now

* fix: agenda mobile improvements

* feat: agenda search

* feat: agenda search improvements

* feat: agenda event recordings buttons for post-meeting

* fix: agenda switch to meeting timezone on load

* feat: agenda pre & live session buttons

* fix: remove agenda utc + personalize links in top menu

* feat: add pre-vue loading state on page load

* feat: filter from agenda picker mode

* fix: agenda UI improvements

* fix: django-vite non-dev mode

* chore: update yarn dependencies for vue + vite

* feat: agenda settings panel + UI improvements

* feat: agenda settings colors + import/export feature

* feat: agenda color assignments + responsive UI improvements

* feat: agenda realtime red line + debug datetime offset

* feat: agenda add aria labels for settings

* feat: add new agenda path + pages/menu

* fix: bring base/menu.html up to main

* fix: agenda various fixes

* test: add new agenda item to meetings menu for item count

* chore: restore devcontainer extensions list

* fix: agenda UI improvements + montserrat default font

* feat: agenda bolder text + hide event icons options

* feat: agenda warning badge

* fix: agenda various UI improvements + intersectionObserver fix

* feat: agenda floorplan page + various UI improvements

* feat: agenda floor plan pin

* feat: view floor plan room from agenda

* feat: agenda floor plan mobile optimization

* feat: adjust calendar options + default calendar view in settings

* feat: agenda persist picked events + change base font only on new agenda page

* feat: agenda mobile view optimizations

* fix: add .vite to cached volumes

* fix: mobile view for filters, calendar, settings panels

* test: upgrade cypress existing tests to work on bs5 + update dependencies

* fix: use named url patterns to avoid hardcoded URLs. Add rudimentary test coverage for the neue views.

Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
2022-07-13 16:20:23 -05:00
Jennifer Richards ba7d468a4d
feat: show meeting requests beyond rg/wg groups (#4134)
* feat: show session requests for all "has_meetings" groups

* test: test changes to groups whose session requests are shown

Note the change in capitalization for the 'active' group state fixes
the test but does not seem to affect production (which I guess uses
case insensitive matching?)

* test: remove leftover debug statement

* feature: exclude admin/social sessions from meeting requests view

* test: test exclusion of admin/social sessions from meeting requests view

* feat: group all non-area groups as "other" on meeting requests page

* fix: prevent doubling of first section header

* test: verify that more of the sreqs are / are not linked
2022-06-29 09:49:33 -05:00
Robert Sparks 10396d6f01
chore: remove more tools.ietf.org server only related things. (#4103)
* chore: remove more tools.ietf.org server only related things.

* chore: remove use of tools.ietf.org floorplans\n\nThe data will move into the FloorPlan models instead.
2022-06-22 14:11:46 -05:00
Jennifer Richards 7da2795565
fix: increase timeslot widths in editor so swap buttons fit (#4119) 2022-06-22 14:11:15 -05:00
Jennifer Richards 4f34c0478e
fix: Authorize interim session requests using data-driven group roles (#4120)
* fix: only use non-empty Q object as interim group filter

* refactor: add with_meetings queryset to GroupManager

* test: users can only request interims for managed groups

* fix: find managed groups from groupman_roles/authroles

* feat: let chair manage directorate groups

* test: remove debug statements and unused imports

* test: remove do-nothing code from test
2022-06-22 14:00:44 -05:00
Lars Eggert 63d80bff4c
chore: Remove various unused template tags (#4101)
* chore: Remove various unused template tags

* Replace rfcnospace with parameterized prettystdname

* Use URL resolver

* Use the URL resolver more
2022-06-21 14:05:02 -05:00
Robert Sparks b3c39bebd8
fix: make the shedule editor fit better on laptop lenses and smaller external monitors. (#4107) 2022-06-21 11:43:35 -05:00
Robert Sparks 07bfa68a75
feat: explicitly model session attendance (#4025)
* feat: add model to track session attendance

* feat: add model to track session attendance

* feat: add api to set session attendees

* fix: use user pk instead off person pk in the attended api.

* feat: calculate three of five from attended

* feat: management utility to populate Attended model history

* docs: document why nomcom calculations don't use Attended yet.

* fix: add migration to add new personalapikey endpoint to choices

* test: verify very old last login prevents api key use,

* chore: address review nits

* chore: comment on some idiosyncracies of the expected input to populate_attended

* fix: add unique_together constraint for the Attended model

* fix: correctly handle empty querysets passed to three_of_five_eligible functions.
2022-06-20 10:46:36 -05:00
Lars Eggert 86e548c952
chore: remove ietf/group/colors.py, which is unused (#4100)
* chore: remove ietf/group/colors.py, which is unused

* Rip out more
2022-06-20 10:31:20 -05:00
Jennifer Richards cb996c5c0b
fix: refactor/correct calculation of week-view event start/end times (#3947)
* fix: use DST-friendly tz calculation for TimeSlot end times

Around DST changes, localize(time + duration).astimezone() is not
the same as localize(time).astimezone() + duration. The latter allows
tz-aware times to do their magic and give correct clock times.

* fix: refactor/correct calculation of week-view event start/end times

There were bugs in the timestamp calculations around DST switchover.
This corrects those and tries to clarify and improve documentation in
the relevant code.
2022-05-11 16:08:47 -05:00
Robert Sparks def13a872a
chore: catchup with pytz country (#3933) 2022-05-03 20:54:02 -05:00
Lars Eggert 5598762608
fix: add more HTML validation & fixes (#3891)
* Update vnu.jar

* Fix py2 -> py3 issue

* Run pyupgrade

* test: Add default-jdk to images

* test: Add option to also validate HTML with vnu.jar

Since it's already installed in bin. Don't do this by default, since it
increases the time needed for tests by ~50%.

* fix: Stop the urlizer from urlizing in linkified mailto: text

* More HTML fixes

* More HTML validation fixes

* And more HTML fixes

* Fix floating badge

* Ignore unicode errors

* Only URLize docs that are existing

* Final fixes

* Don't URLize everything during test-crawl

* Feed HTML into vnu using python rather than Java to speed things up

* Allow test-crawl to start vnu on a different port

* Increase retry count to vnu. Restore batch size to 30.

* More HTML validation fixes

* Use urllib3 to make requests to vnu, since overriding requests_mock is tricky

* Undo commit of unmodified file

* Also urlize ftp links

* Fix matching of file name

* More HTML fixes

* Add `is_valid_url` filter

* weekday -> data-weekday

* urlencode URLs

* Add and use vnu_fmt_message. Bump vnu max buffer.

* Simplify doc_exists

* Don't add tab link to mail archive if the URL is invalid

* Run urlize_ietf_docs before linkify

Reduces the possibility of generating incorrect HTML

* Undo superfluous change

* Runner fixes

* Consolidate vnu message filtering into vnu_filter_message

* Correctly handle multiple persons with same name

* Minimze diff

* Fix HTML nits

* Print source snippet in vnu_fmt_message

* Only escape if there is something to escape

* Fix snippet

* Skip crufty old IPR declarations

* Only include modal when needed. Add handles.

* Fix wordwrap+linkification

* Update ietf/doc/templatetags/ietf_filters.py

* Update ietf/doc/templatetags/tests_ietf_filters.py

* Don't right-align second column
2022-05-03 13:55:48 -05:00
Jennifer Richards 310e828262
fix: offset scrollspy so righthand-nav highlights the correct entry (#3820)
Also rewrites scroll_to_element() using javascript. This seems to be less flaky
than the ActionChains implementation. Slight change in behavior - now scrolls
the requested element to the middle of the window instead of barely into view.
2022-04-14 15:35:07 -03:00
Jennifer Richards 30d1067082
test: update search in test to match template changes (#3814)
Fixes test failure caused by ietf-tools#3803.
2022-04-12 19:30:22 -03:00
Robert Sparks 0944312c20
feat: remove room-view. Fixes #3810. (#3815)
Also changes .editorconfig to not strip trailing whitespace
2022-04-12 17:35:07 -03:00
Jennifer Richards 3619d3bfbf
fix: handle invalid fields properly in proc material upload form (#3784) 2022-04-07 22:58:01 -03:00
Lars Eggert 3234f1a121
test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
Jennifer Richards 7738319c2a
fix: render meeting schedule editor icons using bootstrap-icons (#3777)
Uses template tags to render `ConstraintName` instances as HTML. Fixes #3557.
2022-04-05 18:57:08 -03:00
Jennifer Richards 016ee71855
feat: persist timeslot types made visible in the schedule editor (#3778)
This adds a POST action to the edit_meeting_schedule view that sets a list
of currently visible timeslot types in the user's session. On display of
the schedule editor, this is consulted before defaulting to show only 'regular'
timeslots. An ajax request is made to update the session when changing the
settings in the editor.
2022-04-05 16:00:59 -03:00
Jennifer Richards 2859c43677
fix: allow import of rev00 minutes and let secretariat edit materials (#3776)
* fix: show "Edit materials" button for all groups for a secretariat user

Fixes ietf-tools#3763

* fix: show "import minutes" button to import initial revision

* test: validate that import session minutes buttons are shown

* test: validate that "Edit materials" links are shown
2022-04-01 12:49:20 -03:00
Jennifer Richards 40c33b1281
fix: better handle corner cases for pre-IETF-64 agenda redirects (#3775)
Fixes #3669
2022-03-31 17:16:21 -03:00
Jennifer Richards 300f717c3d
fix: avoid needlessly blocking import of session minutes (#3761)
Fixes #3558
2022-03-30 18:38:47 -03:00
Lars Eggert 870fed030f
fix: More fixes for narrow screens (#3662)
* fix: More fixes for narrow screens

Need to keep checking for issues, there are more.

* Make columns more narrow on narrow screens

* More fixes

* More fixes

* Test fixes

* Fix more tests

* Close tbody
2022-03-24 12:40:48 -03:00
Jennifer Richards 4e437a9f2d
test: scroll swap timeslots button into view before clicking (#3719) 2022-03-22 13:33:48 -05:00
Jennifer Richards fd2adc86eb
fix: redirect to renamed schedule after saving a name change (#3696)
Fixes #3427
2022-03-21 16:22:28 -03:00
Robert Sparks 6ecd4b40e2
fix: use better address calculation for schedule owner. Fixes #2611. (#3709) 2022-03-21 10:21:22 -03:00
Robert Sparks 9df659b06e
fix: better draft name validation. Fixes #3539. (#3671) 2022-03-18 18:01:25 -05:00
Lars Eggert 52969aefca
feat: Mobile agenda improvements (#3655)
* fix: Improve agenda page for mobile (narrow) screens

* Remove unrelated change

* Remove FIXME
2022-03-16 09:30:21 -05:00
Jennifer Richards 93d3daa324 fix: handle remote_instructions field correctly on interim request form 2022-03-08 12:15:22 -04:00
Jennifer Richards 686a9150b3 Merge remote-tracking branch 'origin/main' into personal/jennifer/7.45.1.dev0.bootstrap-merge
# Conflicts:
#	ietf/templates/meeting/session_buttons_include.html
2022-03-04 15:14:52 -04:00
Jennifer Richards 077e7e2262 Merged from 7.40.1.dev0
Properly URL-encode and -decode a bunch of query parameters. [from revision 19,981]
 - Legacy-Id: 19986
2022-02-24 17:52:28 +00:00
Jennifer Richards 2610c7c736 Merged in [19978] from personal/lars/7.40.1.dev0
Hopefully fix #3556.
 - Legacy-Id: 19983
Note: SVN reference [19978] has been migrated to Git commit ca167c0172
2022-02-24 16:55:16 +00:00
Jennifer Richards 9d8f4ea207 Fix failing tests
- Legacy-Id: 19982
2022-02-24 16:47:55 +00:00
Lars Eggert 07e0eb84d9 Properly URL-encode and -decode a bunch of query parameters.
- Legacy-Id: 19981
2022-02-24 14:23:46 +00:00
Lars Eggert ca167c0172 Hopefully fix #3556.
- Legacy-Id: 19978
2022-02-24 09:11:32 +00:00
Robert Sparks 9fbc98a16d Merged in [19969] from jennifer@painless-security.com:
Use correct UTC time when creating Meetecho conferences. Fixes #3565.
 - Legacy-Id: 19970
Note: SVN reference [19969] has been migrated to Git commit 82ea659ed4
2022-02-23 21:04:25 +00:00
Jennifer Richards 82ea659ed4 Use correct UTC time when creating Meetecho conferences. Fixes #3565. Commit ready for merge.
- Legacy-Id: 19969
2022-02-23 20:51:18 +00:00
Robert Sparks bc8155f197 Add link to onsite tool to agenda. Fixes #3550. Commit ready for merge.
- Legacy-Id: 19947
2022-02-18 15:12:21 +00:00
Jennifer Richards 6c260a5b7e Merge 7.45.1.dev0 into Bootstrap 5 update branch. Made a first pass at reconciling differences.
- Legacy-Id: 19945
2022-02-17 20:09:49 +00:00
Robert Sparks f8c7be6df9 Merged in [19917] and [19930] from jennifer@painless-security.com:
Create/delete Meetecho conferences when requesting/canceling interim sessions. Fixes #3507. Fixes #3508.
 - Legacy-Id: 19934
Note: SVN reference [19917] has been migrated to Git commit 81cd64da2bc0122f733df02f7db634665c9b309a

Note: SVN reference [19930] has been migrated to Git commit c64297e495010f3c147726ad61c24ca436c324da
2022-02-14 19:08:10 +00:00
Robert Sparks d3a91b4b19 Merged in [19920] from rjsparks@nostrum.com:
Make working with session purpose easier in the admin.
 - Legacy-Id: 19928
Note: SVN reference [19920] has been migrated to Git commit 191d5b134fdab8782280eb9769beec793818975f
2022-02-14 18:14:26 +00:00
Lars Eggert bbf088e18b Hopefully the final check-ins.
- Legacy-Id: 19909
2022-02-08 17:29:15 +00:00
Lars Eggert ed30521e14 Many more HTML fixes.
- Legacy-Id: 19908
2022-02-03 07:49:34 +00:00
Robert Sparks 216ebe2b94 Provide the complete context to the template for mail about approved interim requests. Fixes #3534. Commit ready for merge.
- Legacy-Id: 19907
2022-02-03 03:16:11 +00:00
Lars Eggert 53089a94f6 And more fixes.
- Legacy-Id: 19902
2022-02-01 07:47:25 +00:00
Lars Eggert 335a39d4fc More fixes.
- Legacy-Id: 19884
2022-01-28 13:00:47 +00:00
Jennifer Richards 795d861d96 Hide timeslots type is disabled plus other schedule editor debugging/improvements. Fixes #3510. Fixes #3430. Commit ready for merge.
- Legacy-Id: 19878
2022-01-27 00:41:27 +00:00
Lars Eggert cf629a42ad And more fixes.
- Legacy-Id: 19877
2022-01-25 10:14:25 +00:00
Lars Eggert 9c05373699 More fixes.
- Legacy-Id: 19856
2022-01-18 20:04:55 +00:00
Jennifer Richards 64e904804d Link to the timeslot editor when meeting has no timeslots. Fixes #3511. Commit ready for merge.
- Legacy-Id: 19841
2022-01-14 15:48:03 +00:00
Jennifer Richards 6f3fb6930f Add timeouts to requests library calls. Fixes #3498. Commit ready for merge.
- Legacy-Id: 19839
2022-01-13 15:06:28 +00:00
Lars Eggert 5132661b06 More test fixes
- Legacy-Id: 19803
2022-01-05 11:25:25 +00:00
Robert Sparks 1d76b53215 Merged in [19788] from jennifer@painless-security.com:
Import django.conf.settings instead of ietf.settings. Fixes #3392.
 - Legacy-Id: 19798
Note: SVN reference [19788] has been migrated to Git commit ecde8a780fce609efc6539e258e57752a03aa2bd
2022-01-04 16:09:27 +00:00
Robert Sparks 9b54c9d3c9 Merged in [19763] from jennifer@painless-security.com:
Add ability to import session minutes from notes.ietf.org. Mock out calls to the requests library in tests. Call markdown library through a util method. Fixes #3489.
 - Legacy-Id: 19767
Note: SVN reference [19763] has been migrated to Git commit fd0df6f619
2021-12-09 22:43:19 +00:00
Jennifer Richards fd0df6f619 Add ability to import session minutes from notes.ietf.org. Mock out calls to the requests library in tests. Call markdown library through a util method. Fixes #3489. Commit ready for merge.
- Legacy-Id: 19763
2021-12-09 17:16:19 +00:00
Lars Eggert f974fd3c04 Fix more things
- Legacy-Id: 19762
2021-12-09 06:41:00 +00:00
Robert Sparks 640855f786 Merged in [19744] from jennifer@painless-security.com:
Treat application/octet-stream as text/markdown for '.md' materials uploads. Refactor FileUploadForm hierarchy to reduce boilerplate. Fixes #3163.
 - Legacy-Id: 19746
Note: SVN reference [19744] has been migrated to Git commit b04254a293
2021-12-02 21:31:06 +00:00
Jennifer Richards b04254a293 Treat application/octet-stream as text/markdown for '.md' materials uploads. Refactor FileUploadForm hierarchy to reduce boilerplate. Fixes #3163. Commit ready for merge.
- Legacy-Id: 19744
2021-12-02 19:50:19 +00:00
Robert Sparks ec78569b83 Merged in [19675] from jennifer@painless-security.com:
Update uploaded_filename when modifying agenda through the interim meeting request edit view. Fixes #3395.
 - Legacy-Id: 19721
Note: SVN reference [19675] has been migrated to Git commit 9d853d3de3
2021-12-01 18:08:15 +00:00
Robert Sparks 0e5da15838 Merged in [19672] from jennifer@painless-security.com:
Add tests of meeting forms for the new session purpose work and a few other untested parts. Fix a few bugs uncovered.
 - Legacy-Id: 19720
Note: SVN reference [19672] has been migrated to Git commit 71ca72d8b8
2021-12-01 18:05:22 +00:00
Lars Eggert 5174cb3e6f Merge ^/personal/lars/7.39.1.dev4
- Legacy-Id: 19705
2021-11-24 09:35:06 +00:00
Lars Eggert e195a00d1b And more agenda fixes.
- Legacy-Id: 19682
2021-11-18 15:18:48 +00:00
Jennifer Richards 9d853d3de3 Update uploaded_filename when modifying agenda through the interim meeting request edit view. Fixes #3395. Commit ready for merge.
- Legacy-Id: 19675
2021-11-17 17:23:12 +00:00
Jennifer Richards 71ca72d8b8 Add tests of meeting forms for the new session purpose work and a few other untested parts. Fix a few bugs uncovered. Commit ready for merge.
- Legacy-Id: 19672
2021-11-17 01:43:15 +00:00
Robert Sparks b243d4aab4 Merged in [19670] from rjsparks@nostrum.com:
Escape . in agenda url patterns. Guard against unrecognized extensions.
 - Legacy-Id: 19671
Note: SVN reference [19670] has been migrated to Git commit 58bd89c99e
2021-11-16 19:17:46 +00:00
Robert Sparks 58bd89c99e Escape . in agenda url patterns. Guard against unrecognized extensions. Commit ready for merge.
- Legacy-Id: 19670
2021-11-16 19:16:50 +00:00
Jennifer Richards 347b62cbb5 Fix error in assignment_display_name() and fix broken test from previous commit. Range 19665:19666 ready for merge.
- Legacy-Id: 19666
2021-11-15 21:48:43 +00:00
Jennifer Richards b77e6627a4 Guard against null timeslot location in agenda.html and add test of location_anchor tag
- Legacy-Id: 19665
2021-11-15 21:01:19 +00:00
Lars Eggert a8764f225f Track CSS class name changes in bs5.
- Legacy-Id: 19663
2021-11-15 16:49:09 +00:00
Lars Eggert dec56ffb96 Merge my bs5 changes over.
There is definitely still quite some breakage, my main focus during
the conflict resolution was not to drop any changes made by others.
 - Legacy-Id: 19632
2021-11-11 13:09:23 +00:00
Lars Eggert 6b7beb17bf panel -> card
- Legacy-Id: 19618
2021-11-10 12:59:12 +00:00
Lars Eggert 726b29bf74 fontawesome -> bootstrap-icons
- Legacy-Id: 19608
2021-11-10 09:28:38 +00:00
Jennifer Richards 83f5c7e9b6 Remove "before" versions of migrations that were renumbered during merge
- Legacy-Id: 19595
2021-11-09 18:03:06 +00:00
Jennifer Richards c3f28eeedb Add missing ifSeleniumEnabled guard for meeting.tests_js.EditTimeslotsTests
- Legacy-Id: 19592
2021-11-09 16:50:40 +00:00
Jennifer Richards 0706f8519f Update migrations and fix a few failing tests. Branch ready for merge.
- Legacy-Id: 19571
2021-11-09 02:40:54 +00:00
Jennifer Richards bcd37edfcd Merged from session_purpose_dev
Create dev branch for session purpose work (from revision [19414])
Snapshot of dev work to add session purpose annotation (from revision [19415])
Allow non-WG-like groups to request additional sessions/durations and bypass approval (from revision [19424])
Add 'closed' session purpose, assign purposes for nomcom groups, and update schedule editor to enforce timeslot type and allow blurring sessions by purpose (from revision [19427])
Add management command to set up timeslots/sessions for testing/demoing 'purpose' field (from revision [19430])
Update session purposes and group type -> purpose map to match notes page, change 'session' purpose to 'regular' (from revision [19433])
Redirect edit_schedule urls to edit_meeting_schedule view (from revision [19434])
Allow hiding/blurring sessions and timeslots based on TimeSlotType in the schedule editor (from revision [19438])
Disable session purpose/timeslot type hiding on schedule editor when only 0 or 1 options (from revision [19439])
Improvements to the timeslot and schedule editors (move new toggles to modals, handle overflowing session names, fix timeslot editor scrolling, add buttons to quickly create single timeslot, accept trailing slash on edit URL) (from revision [19449])
Update purpose/types after discussions, add on_agenda Session field, prevent session requests for groups with no allowed purpose, handle addition fields in session request, fix editing session requests, add session edit form/access from schedule editor, eliminate TimeSlotTypeName "private" field, add server-side timeslot type filtering to schedule editor (from revision [19549])
Eliminate the officehours timeslot type, update/renumber migrations, mark offagenda/reserved TimeSlotTypeNames as not used, add a 'none' SessionPurposeName and disallow null, update agenda filter keywords/filter helpers, fix broken tests and general debugging (from revision [19550])
Tear out old meeting schedule editor and related code (from revision [19551])
Fix merge errors in preceding commits (from revision [19556])
 - Legacy-Id: 19570
Note: SVN reference [19415] has been migrated to Git commit 1054f90873

Note: SVN reference [19424] has been migrated to Git commit 5318081608

Note: SVN reference [19427] has been migrated to Git commit 173e438aee

Note: SVN reference [19430] has been migrated to Git commit 7a2530a0a6

Note: SVN reference [19433] has been migrated to Git commit 3be50d6e39

Note: SVN reference [19434] has been migrated to Git commit 3e3d681e5f

Note: SVN reference [19438] has been migrated to Git commit b6ac3d4b1d

Note: SVN reference [19439] has been migrated to Git commit 446ac7a47e

Note: SVN reference [19449] has been migrated to Git commit 5cbe402036

Note: SVN reference [19549] has been migrated to Git commit 3dfce7b850

Note: SVN reference [19550] has been migrated to Git commit 7b35c09c40

Note: SVN reference [19551] has been migrated to Git commit d7f20342b6

Note: SVN reference [19556] has been migrated to Git commit 2b1864f5a0
2021-11-09 01:35:25 +00:00
Robert Sparks 5c28a85cf1 Merged in [19555] from jennifer@painless-security.com:
Use temporary directories instead of 'real' filesystem for tests. Fixes #3414.
 - Legacy-Id: 19561
Note: SVN reference [19555] has been migrated to Git commit 81d9234d54
2021-11-08 18:16:56 +00:00
Jennifer Richards 2b1864f5a0 Fix merge errors in preceding commits
- Legacy-Id: 19556
2021-11-08 16:35:23 +00:00
Jennifer Richards 81d9234d54 Use temporary directories instead of "real" filesystem for tests. Fixes #3414. Commit ready for merge.
- Legacy-Id: 19555
2021-11-05 19:45:57 +00:00
Jennifer Richards d7f20342b6 Tear out old meeting schedule editor and related code
- Legacy-Id: 19551
2021-11-04 17:07:22 +00:00
Jennifer Richards 7b35c09c40 Eliminate the officehours timeslot type, update/renumber migrations, mark offagenda/reserved TimeSlotTypeNames as not used, add a 'none' SessionPurposeName and disallow null, update agenda filter keywords/filter helpers, fix broken tests and general debugging
- Legacy-Id: 19550
2021-11-04 17:06:06 +00:00
Jennifer Richards 3dfce7b850 Update purpose/types after discussions, add on_agenda Session field, prevent session requests for groups with no allowed purpose, handle addition fields in session request, fix editing session requests, add session edit form/access from schedule editor, eliminate TimeSlotTypeName "private" field, add server-side timeslot type filtering to schedule editor
- Legacy-Id: 19549
2021-11-04 17:01:32 +00:00
Robert Sparks bfc22c2c96 Merged in [19469] from lars@eggert.org:
<span> can't have <div> in it. Fix that.
 - Legacy-Id: 19511
Note: SVN reference [19469] has been migrated to Git commit d6e60a8f8e
2021-11-01 18:03:55 +00:00
Robert Sparks 59597794b7 Merged in [19432] from lars@eggert.org:
Fix things that selenium deprecated in version 4.
 - Legacy-Id: 19504
Note: SVN reference [19432] has been migrated to Git commit 715b0949cc
2021-10-29 19:53:37 +00:00
Lars Eggert d6e60a8f8e <span> can't have <div> in it. Fix that.
Commit ready for merge.
 - Legacy-Id: 19469
2021-10-27 10:56:05 +00:00
Jennifer Richards 5cbe402036 Improvements to the timeslot and schedule editors (move new toggles to modals, handle overflowing session names, fix timeslot editor scrolling, add buttons to quickly create single timeslot, accept trailing slash on edit URL)
- Legacy-Id: 19449
2021-10-21 14:59:02 +00:00
Jennifer Richards b6ac3d4b1d Allow hiding/blurring sessions and timeslots based on TimeSlotType in the schedule editor
- Legacy-Id: 19438
2021-10-19 01:07:56 +00:00
Jennifer Richards 3e3d681e5f Redirect edit_schedule urls to edit_meeting_schedule view
- Legacy-Id: 19434
2021-10-18 15:02:39 +00:00
Jennifer Richards 3be50d6e39 Update session purposes and group type -> purpose map to match notes page, change 'session' purpose to 'regular'
- Legacy-Id: 19433
2021-10-18 14:48:36 +00:00
Lars Eggert 715b0949cc Fix things that selenium deprecated in version 4, and bump requirement
- Legacy-Id: 19432
2021-10-18 11:08:40 +00:00
Jennifer Richards 7a2530a0a6 Add management command to set up timeslots/sessions for testing/demoing 'purpose' field
- Legacy-Id: 19430
2021-10-16 20:09:00 +00:00
Jennifer Richards 173e438aee Add 'closed' session purpose, assign purposes for nomcom groups, and update schedule editor to enforce timeslot type and allow blurring sessions by purpose
- Legacy-Id: 19427
2021-10-15 19:33:33 +00:00
Jennifer Richards 5318081608 Allow non-WG-like groups to request additional sessions/durations and bypass approval
- Legacy-Id: 19424
2021-10-14 13:21:56 +00:00
Robert Sparks cd748cd760 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.
- Legacy-Id: 19422
2021-10-13 21:43:44 +00:00
Jennifer Richards 1054f90873 Snapshot of dev work to add session purpose annotation
- Legacy-Id: 19415
2021-10-12 17:08:58 +00:00
Robert Sparks 0906ac217f Updated timezone names
- Legacy-Id: 19403
2021-10-08 16:13:50 +00:00
Jennifer Richards 67198180e1 Correctly highlight session constraints in the meeting schedule editor. Fixes #3327. Commit ready for merge.
- Legacy-Id: 19385
2021-09-22 22:47:59 +00:00
Jennifer Richards 7d59456103 Update links in iCal description to be more useful. Fixes #3349. Commit ready for merge.
- Legacy-Id: 19384
2021-09-22 21:52:21 +00:00
Robert Sparks 6ac363e3e2 Remove remaining use of markdown2. Enable markdown extras when rendering agendas. Fixes #3316. Commit ready for merge.
- Legacy-Id: 19358
2021-09-08 17:54:40 +00:00
Robert Sparks 10e84fb7b0 Add migration capturing change to logo validation.
- Legacy-Id: 19345
2021-09-06 15:45:25 +00:00
Robert Sparks d5b0bc6ccc Reordered migrations. Updated name fixture.
- Legacy-Id: 19336
2021-09-04 15:33:53 +00:00
Robert Sparks 0ebccd4583 Merged in [19311] from rjsparks@nostrum.com:
Adjust tests and forms to match changes to permissions made in through the admin. These need to use the data rather than the code. See #3393.
 - Legacy-Id: 19331
Note: SVN reference [19311] has been migrated to Git commit 4240ce088e
2021-09-03 22:08:07 +00:00
Robert Sparks 65f7f62725 Merged in [19306] from jennifer@painless-security.com:
Improve proceedings display with new title block, configurable host logos, and additional PDF or URL materials. Fixes #3147.
 - Legacy-Id: 19327
Note: SVN reference [19306] has been migrated to Git commit 2060173f3a
2021-09-03 21:12:32 +00:00
Robert Sparks b80366b492 Merged in [19305] from rjsparks@nostrum.com:
Show the constraint names on the meeting session requests page. Fixes #3082.
 - Legacy-Id: 19326
Note: SVN reference [19305] has been migrated to Git commit 6a7ebfdb7a
2021-09-03 18:36:32 +00:00
Robert Sparks 4240ce088e Adjust tests to match changes to permissions made in through the admin. These need to use the data rather than the code. See #3393. Commit ready for merge.
- Legacy-Id: 19311
2021-09-01 14:30:09 +00:00
Jennifer Richards 2060173f3a Improve proceedings display with new title block, configurable host logos, and additional PDF or URL materials. Fixes #3147. Commit ready for merge.
- Legacy-Id: 19306
2021-08-30 17:02:49 +00:00
Robert Sparks 6a7ebfdb7a Show the constraint names on the meeting session requests page. Fixes #3082. Commit ready for merge.
- Legacy-Id: 19305
2021-08-27 19:45:19 +00:00
Jennifer Richards ca78da6ff4 Handle num=None case in proceedings() and specify meeting number in test_proceedings_no_agenda. Fixes #3385. Commit ready for merge.
- Legacy-Id: 19300
2021-08-20 16:16:00 +00:00
Jennifer Richards b88a695ad1 Allow generated schedules to inherit from a base schedule. Fixes #3170. Commit ready for merge.
- Legacy-Id: 19297
2021-08-10 14:22:06 +00:00
Jennifer Richards e31d360349 Update create_dummy_meeting to set start date / time zone. Related to #3166. Range 19295:19296 ready for merge.
- Legacy-Id: 19296
2021-08-09 20:46:13 +00:00
Jennifer Richards 2eacd88c0b Disable modification of past timeslots on official schedules. Fixes #3166.
- Legacy-Id: 19295
2021-08-09 20:43:20 +00:00
Robert Sparks 45abea06d9 Convert IETF111 Constraints
- Legacy-Id: 19285
2021-08-05 22:03:30 +00:00
Robert Sparks 54b6448445 Merged in [19270] from rjsparks@nostrum.com:
Bring the factory-boy and Faker dependencies forward through some minor breaking changes. Stop using the deprecated fr_QC locale in Faker.
 - Legacy-Id: 19281
Note: SVN reference [19270] has been migrated to Git commit b99eecc1ae
2021-08-05 18:07:40 +00:00
Robert Sparks b99eecc1ae Bring the factory-boy and Faker dependencies forward through some minor breaking changes. Stop using the deprecated fr_QC locale in Faker. Commit ready for merge.
- Legacy-Id: 19270
2021-08-03 22:22:35 +00:00
Jennifer Richards 336d762123 Allow configuration of group conflict types used for each meeting Fixes #2770. Commit ready for merge.
- Legacy-Id: 19266
2021-07-30 17:50:24 +00:00
Robert Sparks d577abf41e Merged in [19238] from jennifer@painless-security.com:
Find AD conflicts using AD person pk instead of role pk. Fixes #3354.
 - Legacy-Id: 19239
Note: SVN reference [19238] has been migrated to Git commit 73e0120eac
2021-07-16 15:55:22 +00:00
Jennifer Richards 73e0120eac Find AD conflicts using AD person pk instead of role pk. Fixes #3354. Commit ready for merge.
- Legacy-Id: 19238
2021-07-16 15:04:22 +00:00
Robert Sparks 805d1f4a7e Use BOF consistently.
- Legacy-Id: 19212
2021-07-14 17:33:14 +00:00
Robert Sparks 4cb03a24cc Merged in [19183] from jennifer@painless-security.com:
Add 'Select Sessions' tab to agenda pages.
 - Legacy-Id: 19185
Note: SVN reference [19183] has been migrated to Git commit 82ad0402f8
2021-07-02 00:58:34 +00:00
Robert Sparks 092e8a6e5d Merged in [19182] from rjsparks@nostrum.com:
Stop showing generated proceedings for older meetings that already had official proceedings. Fixes #3322.
 - Legacy-Id: 19184
Note: SVN reference [19182] has been migrated to Git commit 3202a25c52
2021-07-02 00:47:59 +00:00
Jennifer Richards 82ad0402f8 Add 'Select Sessions" tab to agenda pages. Commit ready for merge.
- Legacy-Id: 19183
2021-07-01 23:45:25 +00:00
Robert Sparks 3202a25c52 Stop showing generated proceedings for older meetings that already had official proceedings. Fixes #3322. Commit ready for merge.
- Legacy-Id: 19182
2021-07-01 22:45:04 +00:00
Robert Sparks 6599881aff Merged in [19168] from rjsparks@nostrum.com:
Revert the removal of the decoration of session with order_number made in r19074. The attribute is used in the templated URLs associated with Rooms (such as for the Meetecho session URL).
 - Legacy-Id: 19172
Note: SVN reference [19168] has been migrated to Git commit 0d33a8dde2
2021-06-30 20:18:17 +00:00
Robert Sparks 0d33a8dde2 Revert the removal of the decoration of session with order_number made in r19074. The attribute is used in the templated URLs associated with Rooms (such as for the Meetecho session URL). Commit ready for merge.
- Legacy-Id: 19168
2021-06-30 18:07:52 +00:00
Jennifer Richards 044293b4a9 Fix broken meeting materials button on upcoming meetings page. Fixes #3278. Commit ready for merge.
- Legacy-Id: 19164
2021-06-28 18:57:20 +00:00
Robert Sparks c9756cc106 Merged in [19153] from rjsparks@nostrum.com:
Scroll to buttons before clicking on them in Selenium tests. Fixes #3314.
 - Legacy-Id: 19154
Note: SVN reference [19153] has been migrated to Git commit d61e26567d
2021-06-24 17:45:06 +00:00
Robert Sparks d61e26567d Scroll to buttons before clicking on them in Selenium tests. Fixes #3314. Commit ready for merge.
- Legacy-Id: 19153
2021-06-24 16:39:36 +00:00
Jennifer Richards 34891213ff Swap timeslot columns in addition to full days in schedule editor. Fixes #3216. Commit ready for merge.
- Legacy-Id: 19138
2021-06-22 16:33:04 +00:00
Jennifer Richards 7c09aec10d More prominently identify BoF sessions in schedule editor. Fixes #3217. Commit ready for merge.
- Legacy-Id: 19136
2021-06-15 15:00:45 +00:00
Jennifer Richards 45916f2c3c Improve visibility of other sessions for group of selected session in schedule editor. Fixes #3219. Commit ready for merge.
- Legacy-Id: 19135
2021-06-15 14:27:13 +00:00
Jennifer Richards ba0a3ec9cb Blur sessions for hidden areas instead of hiding entirely. Fixes #3218. Commit ready for merge.
- Legacy-Id: 19134
2021-06-15 14:14:12 +00:00
Jennifer Richards 1d12391c5c Indicate session and timeslot conflicts more prominently in schedule editor. Fixes #3221. Commit ready for merge.
- Legacy-Id: 19133
2021-06-15 13:46:44 +00:00
Jennifer Richards b42f1a2d7f Display rooms in blocks with identical timeslots. Add a timeslot label row above each. Fixes #3220. Commit ready for merge.
- Legacy-Id: 19121
2021-06-14 16:33:24 +00:00
Jennifer Richards 66b9c41dcc Add ConstraintNames for chair, tech, and key participant conflicts. Replace temporary UI workaround with proper conflict type handling. Fixes #3083. Commit ready for merge.
- Legacy-Id: 19103
2021-06-09 19:36:27 +00:00
Robert Sparks 2a9b60c4da guard against many sessions.
- Legacy-Id: 19087
2021-06-06 14:16:08 +00:00
Robert Sparks 3571a4cd86 Merged in [19074] from kivinen@iki.fi:
Adds new filtering tags for sessions which have multiple sessions. I.e., in addition to wg,area,type there is wg-sessa, wg-sessb or wg-sessc etc on the tags, so now you can filter either all wg sessions or only specific sessions. Also removes the unused session.order_number, but not yet the session.order_in_meeting() function (which I think is unused too).
 - Legacy-Id: 19080
Note: SVN reference [19074] has been migrated to Git commit ddefdecca7
2021-06-04 20:21:49 +00:00
Robert Sparks 58c072083d Merged in [19073] from jennifer@painless-security.com:
Handle groups without area when sorting unscheduled sessions in schedule editor. Fixes #3173.
 - Legacy-Id: 19077
Note: SVN reference [19073] has been migrated to Git commit 0ade3f789a
2021-06-04 19:09:52 +00:00
Tero Kivinen ddefdecca7 Adds new filtering tags for sessions which have multiple sessions. I.e., in addition to wg,area,type there is wg-sessa, wg-sessb or wg-sessc etc on the tags, so now you can filter either all wg sessions or only specific sessions. Also removes the unused session.order_number, but not yet the session.order_in_meeting() function (which I think is unused too).
- Legacy-Id: 19074
2021-06-03 20:03:14 +00:00
Jennifer Richards 0ade3f789a Handle groups without area when sorting unscheduled sessions in schedule editor. Fixes #3173. Commit ready for merge.
- Legacy-Id: 19073
2021-06-03 18:55:34 +00:00
Robert Sparks f09e90d567 Merged in [19055] from rjsparks@nostrum.com:
Redirect to materials page for attempts to see proceedings for meetings that do not yet have schedules. Fixes #3294.
 - Legacy-Id: 19068
Note: SVN reference [19055] has been migrated to Git commit ffd82f1ce8
2021-06-02 19:59:18 +00:00
Robert Sparks 96602e1eb9 Merged in [19030] from mark@painless-security.com:
First swipe at making past sessions unchangable for official schedules
This change locks down the schedule of any meeting that is fully in the past.  It leaves open sessions that have finished for meetings that have not yet finished.
Addresses (partially) issue #3083.
 - Legacy-Id: 19063
Note: SVN reference [19030] has been migrated to Git commit e3ee370981
2021-06-02 18:32:28 +00:00
Robert Sparks ffd82f1ce8 Redirect to materials page for attempts to see proceedings for meetings that do not yet have schedules. Fixes #3294. Commit ready for merge.
- Legacy-Id: 19055
2021-06-01 22:57:12 +00:00
Mark J. Donnelly e3ee370981 First swipe at making past sessions unchangable for official schedules
This change locks down the schedule of any meeting that is fully in the past.  It leaves open sessions that have finished for meetings that have not yet finished.

Addresses (partially) issue #3083.  Commit ready for merge.
 - Legacy-Id: 19030
2021-05-21 20:38:51 +00:00
Jennifer Richards 43321f12ae Prevent unscheduled session drop target from collapsing to zero size in agenda editor. Fixes #3174. Commit ready for merge.
- Legacy-Id: 18998
2021-05-17 13:29:09 +00:00
Robert Sparks 85bf8cc39c Merged in [18975] from rjsparks@nostrum.com:
Add RFC 8989 nomcom eligibility calculations.
 - Legacy-Id: 18980
Note: SVN reference [18975] has been migrated to Git commit fd38a9bf96
2021-05-07 19:37:28 +00:00
Robert Sparks d119b22b29 Merged in [18970] from jennifer@painless-security.com:
Add timezone selector to upcoming meetings page. Separate general timezone handling from parts only relevant to main agenda page. Speed up agenda timezone javascript tests. Fixes #3184.
 - Legacy-Id: 18979
Note: SVN reference [18970] has been migrated to Git commit a5604992f2
2021-05-07 19:11:25 +00:00
Robert Sparks fe82f4d696 connect the new calculations to the UI. Clean flakes.
- Legacy-Id: 18974
2021-05-06 19:00:58 +00:00
Jennifer Richards a5604992f2 Add timezone selector to upcoming meetings page. Separate general timezone handling from parts only relevant to main agenda page. Speed up agenda timezone javascript tests. Fixes #3184. Commit ready for merge.
- Legacy-Id: 18970
2021-04-30 16:14:00 +00:00
Jennifer Richards 6b8347ce90 Fix occasional failure in test_agenda_view_team_group_filter_toggle. Commit ready for merge.
- Legacy-Id: 18958
2021-04-15 16:28:25 +00:00
Robert Sparks 6e3460ea5b Merged in [18940] from jennifer@painless-security.com:
Hide agenda timeslot label rows when all their sessions are hidden. Fixes #3249.
 - Legacy-Id: 18949
Note: SVN reference [18940] has been migrated to Git commit 49779a3553
2021-04-13 17:41:11 +00:00
Robert Sparks 6d7a0b6d0f Merged in [18939] from jennifer@painless-security.com:
Consolidate repeated searchable field code into SearchableField class. Fix single-valued searchable fields. Make javascript test config reusable. Use Django Form.media for JS/CSS inclusion. Fixes #3196, #3204.
 - Legacy-Id: 18948
Note: SVN reference [18939] has been migrated to Git commit 17d37723f7
2021-04-12 22:07:03 +00:00
Jennifer Richards 49779a3553 Hide agenda timeslot label rows when all their sessions are hidden. Fixes #3249. Commit ready for merge.
- Legacy-Id: 18940
2021-04-09 17:31:36 +00:00
Jennifer Richards 17d37723f7 Consolidate repeated searchable field code into SearchableField class. Fix single-valued searchable fields. Make javascript test config reusable. Use Django Form.media for JS/CSS inclusion. Fixes #3196, #3204. Commit ready for merge.
- Legacy-Id: 18939
2021-04-09 15:18:11 +00:00
Jennifer Richards 516abc5725 Drop parent group filter keyword from special group agenda items. Fixes #3115.
- Legacy-Id: 18927
2021-03-31 15:42:39 +00:00
Jennifer Richards 4a287d665d Move agenda TZ selector out of sidebar so it is always available. Fixes #3172. Commit ready for merge.
- Legacy-Id: 18884
2021-03-03 17:35:42 +00:00
Robert Sparks 762064236e Add proper folding for static content in the DESCRIPTION in the important-dates ics feed. Remove important-dates from the upcoming meetings ics.
- Legacy-Id: 18821
2021-02-04 18:14:01 +00:00
Robert Sparks b5d264bdc8 Updated timezone choices
- Legacy-Id: 18810
2021-02-01 15:12:41 +00:00
Robert Sparks 1a53f66a2d Merged in [18808] from rjsparks@nostrum.com:
Tweaked schedule editor colors to match preferences chosen by Liz. Added coloration for sessions having the IAB as a parent.
 - Legacy-Id: 18809
Note: SVN reference [18808] has been migrated to Git commit f93a5ea4f7
2021-01-29 20:09:28 +00:00
Robert Sparks f93a5ea4f7 Tweaked schedule editor colors to match preferences chosen by Liz. Added coloration for sessions having the IAB as a parent.
- Legacy-Id: 18808
2021-01-29 19:32:10 +00:00
Jennifer Richards 86dd2b2e67 Integrate week-view timezone handling with changes to main agenda page. Commit ready for merge.
- Legacy-Id: 18803
2021-01-26 14:51:55 +00:00
Robert Sparks 09809b874e Merged in [18689] from kivinen@iki.fi:
New version of the timezone support for agenda. Now the ongoing
bars work. This also moves the javascript from the agenda.html
to separate timezone.js file. This commit does not include the
moment and moment-timezone javascript libraries that are
needed to get this working, they need to be added to
ietf/externals/static separately.
 - Legacy-Id: 18800
Note: SVN reference [18689] has been migrated to Git commit f18fe23ea5
2021-01-25 16:28:34 +00:00
Robert Sparks 159b8fe37c Merged in [18712] from jennifer@painless-security.com:
Add timezone support to agenda weekview; display UTC on UTC agenda page. Fixes #3111.
 - Legacy-Id: 18796
Note: SVN reference [18712] has been migrated to Git commit d29553c0bc
2021-01-15 19:59:56 +00:00
Robert Sparks 3697180cc1 Reverted merge of timezone-aware migration efforts.
- Legacy-Id: 18792
2021-01-12 16:54:20 +00:00
Henrik Levkowetz 59b49c846b Fixed a number of TimeSlot-related issues, in particular related to getting the correct date from a timeslot. Also fixed the displayed slot times in the new schedule editors to show local times, not UTC times.
- Legacy-Id: 18785
2020-12-19 22:55:11 +00:00
Henrik Levkowetz d9ad8b8616 Removed some dead code, simplified TimeSlot *_start_time() and *_end_time() methods, and added TimeSlot.local_date().
- Legacy-Id: 18784
2020-12-19 22:52:07 +00:00
Henrik Levkowetz 774e752a54 Snapshot of timezone-aware datatracker code. Tests pass, and the test-crawler shows only expected differences. Trunk changes merged in up to r18768.
- Legacy-Id: 18770
2020-12-16 23:53:37 +00:00
Robert Sparks 2347dafb71 Be more specific when matching the url for meeting.ajax.sessions_json
- Legacy-Id: 18768
2020-12-16 18:30:36 +00:00
Robert Sparks 91b2994a9b Merged in [18729] from rcross@amsl.com:
Add argument 'days' to get_meeting() to allow specifying lag time
 - Legacy-Id: 18758
Note: SVN reference [18729] has been migrated to Git commit 3c29c111a4fa474f876ed12f265c5844ebb3c94d
2020-12-11 21:42:51 +00:00
Robert Sparks 8ab7a30ba3 Merged in [18724] from jennifer@painless-security.com:
Allow cancellation of individual sessions of multi-session interim meeting. Fixes #2959.
 - Legacy-Id: 18757
Note: SVN reference [18724] has been migrated to Git commit 79971e14c7
2020-12-11 21:13:33 +00:00
Henrik Levkowetz 4d2234c73a Added sorting of sessions to make make the materials page rendering stable.
- Legacy-Id: 18739
2020-12-08 14:11:04 +00:00
Henrik Levkowetz 44adc2c3a8 Added additional sorting of Session.constraints() return value to make page rendering stable.
- Legacy-Id: 18738
2020-12-08 14:10:02 +00:00
Henrik Levkowetz 8d3217ac7f Added sorting of agenda filter keywords to make page rendering stable.
- Legacy-Id: 18737
2020-12-08 14:08:09 +00:00
Henrik Levkowetz 9a8c6ae3f4 Added ordering to Session.constratints() to make page renderings stable.
- Legacy-Id: 18727
2020-12-03 15:40:28 +00:00
Jennifer Richards 79971e14c7 Allow cancellation of individual sessions of multi-session interim meeting. Fixes #2959. Commit ready for merge.
- Legacy-Id: 18724
2020-12-01 17:37:09 +00:00
Henrik Levkowetz 78fd1cad47 Fixed a test that was broken when run on December 1st.
- Legacy-Id: 18720
2020-12-01 12:36:17 +00:00
Jennifer Richards d29553c0bc Add timezone support to agenda weekview; display UTC on UTC agenda page. Fixes #3111. Commit ready for merge.
- Legacy-Id: 18712
2020-11-17 19:17:53 +00:00
Tero Kivinen f18fe23ea5 New version of the timezone support for agenda. Now the ongoing
bars work. This also moves the javascript from the agenda.html
to separate timezone.js file. This commit does not include the
moment and moment-timezone javascript libraries that are
needed to get this working, they need to be added to
ietf/externals/static separately.
 - Legacy-Id: 18689
2020-11-12 22:15:23 +00:00
Henrik Levkowetz d79066bac1 Fixed a recent regression in agenda.html which caused the 'now' context variable to not be available when checking if a meeting session is in the past or future, to know which recordings or live session links to show. Also fixed a potential timezone issue with regards to this.
- Legacy-Id: 18688
2020-11-12 00:36:39 +00:00
Henrik Levkowetz 088033d843 Added matching indexes to a number of models with ordering by multiple keys.
- Legacy-Id: 18664
2020-11-09 19:41:12 +00:00
Henrik Levkowetz 9da87c59e1 Merged in [18654] from jennifer@painless-security.com:
Do not require redundant meeting number for session materials view.
 - Legacy-Id: 18661
Note: SVN reference [18654] has been migrated to Git commit acbfbf53a3
2020-11-08 12:27:04 +00:00
Henrik Levkowetz f82b239d24 Merged in [18653] from jennifer@painless-security.com:
Retrieve session agenda materials by meeting/session instead of by assignment.
 - Legacy-Id: 18660
Note: SVN reference [18653] has been migrated to Git commit 27d9df7bff
2020-11-06 16:17:55 +00:00
Henrik Levkowetz 35f4f4c8a8 Merged in [18651] from jennifer@painless-security.com:
Retrieve session agenda, slides, and minutes each time agenda modal is opened. Fixes #3050.
 - Legacy-Id: 18658
Note: SVN reference [18651] has been migrated to Git commit bbf04c3fbe
2020-11-06 15:53:28 +00:00
Jennifer Richards acbfbf53a3 Do not require redundant meeting number for session materials view. Commit ready for merge.
- Legacy-Id: 18654
2020-11-02 20:11:13 +00:00
Jennifer Richards 27d9df7bff Retrieve session agenda materials by meeting/session instead of by assignment. Commit ready for merge.
- Legacy-Id: 18653
2020-11-02 19:30:23 +00:00
Jennifer Richards bbf04c3fbe Retrieve session agenda, slides, and minutes each time agenda modal is opened. Fixes #3050. Commit ready for merge.
- Legacy-Id: 18651
2020-10-30 17:17:49 +00:00
Henrik Levkowetz 7384c03859 Merged in ^/personal/jennifer/7.17.1.dev0 from jennifer@painless-security.com:
This adds support for the simpler show/hide filtering to the ical agenda
views. It also significantly rearranges (and, I hope, improves the
organization of) the tests. In particular, it specifically tests that
the ical and HTML views include equivalent sets of events. Finally, the
agenda_filter.html template is reworked to be more modular.
 - Legacy-Id: 18631
2020-10-23 18:50:42 +00:00
Henrik Levkowetz 517ebfa15b Merged in [18616] from rjsparks@nostrum.com:
Email requesters when an interim moves into the announcement queue. Partially addresses #3016 and #3099.
 - Legacy-Id: 18630
Note: SVN reference [18616] has been migrated to Git commit ff3f3bd99a
2020-10-23 18:00:27 +00:00
Jennifer Richards d67b298512 Use reworked filtering for ical agendas; refactor filter UI with office hours buttons and nicer formatting
- Legacy-Id: 18619
2020-10-16 16:06:07 +00:00
Robert Sparks ff3f3bd99a Email requesters when an interim moves into the announcement queue. Partially addresses #3016 and #3099. Commit ready for merge.
- Legacy-Id: 18616
2020-10-13 22:45:31 +00:00
Henrik Levkowetz 517555b61b Merged in [18590] from peter@akayla.com:
Added slide numbering reminder. Fixes issue #3041.
 - Legacy-Id: 18610
Note: SVN reference [18590] has been migrated to Git commit 9963ab69d1
2020-10-12 15:27:02 +00:00
Henrik Levkowetz 182aa82bb6 Merged in [18589] from rjsparks@nostrum.com:
Allow anyone to see the pending and awaiting announcement tabs on the upcoming meeting view. Fixes #2929. Partially addresses #3016.
 - Legacy-Id: 18609
Note: SVN reference [18589] has been migrated to Git commit b0eeaecca0
2020-10-12 14:46:57 +00:00
Peter E. Yee 9963ab69d1 Added slide numbering reminder. Fixes issue #3041. Commit ready for merge.
- Legacy-Id: 18590
2020-10-09 21:41:10 +00:00
Robert Sparks b0eeaecca0 Allow anyone to see the pending and awaiting announcement tabs on the upcoming meeting view. Fixes #2929. Partially addresses #3016. Commit ready for merge.
- Legacy-Id: 18589
2020-10-09 20:19:16 +00:00
Henrik Levkowetz c4a28de19f Tweaked the generation of .ics vtimezone entries to have a stable order in /meeting/upcoming.ics. Fixes issue #3097.
- Legacy-Id: 18569
2020-10-08 16:27:42 +00:00
Henrik Levkowetz 9b6c5735c9 Change the length of the schedule name field from 16 to 64, to avoid running into lenght issues for schedule names auto-generated from person name or email.
- Legacy-Id: 18566
2020-10-08 11:58:46 +00:00
Jennifer Richards 1b1bc24744 Rework agenda filters with show/hide keywords in place of 'types' and add bof / AD office hours buttons
- Legacy-Id: 18563
2020-10-05 13:55:52 +00:00
Henrik Levkowetz 703a826ddf Added a comment to explain the lack of skipIf() for a test class.
- Legacy-Id: 18545
2020-10-02 12:24:31 +00:00
Henrik Levkowetz 49e62ef6c7 Added missing exception handling for one invocation of parse_agenda_filter_params().
- Legacy-Id: 18542
2020-10-02 12:08:09 +00:00
Henrik Levkowetz 7d01c661f2 Merged in the agenda filtering improvements from jennifer@painless-security.com. This completely reworks the filtering of the IETF agenda, in order to not collide with page navigation and clean up a number of edge cases. It also reinstates the same kind of filtering for the upcoming meetings page.
- Legacy-Id: 18534
2020-09-30 11:39:40 +00:00
Jennifer Richards 97dd600a9b Rebase agenda customization from jennifer/7.13.1.dev0 to 7.17.1.dev0
- Legacy-Id: 18517
2020-09-24 14:27:30 +00:00
Jennifer Richards 7bee3020fd Rearrange agenda customization UI and add customization UI to upcoming meetings
- Legacy-Id: 18513
2020-09-23 15:03:40 +00:00
Henrik Levkowetz 3023139c03 Merged in [18508] from rjsparks@nostrum.com:
Refine day edges on weekview. Fixes #3071.
 - Legacy-Id: 18509
Note: SVN reference [18508] has been migrated to Git commit 750c41a829da416f28cb3c5dc47532bf8fbb4ea6
2020-09-22 11:57:37 +00:00
Henrik Levkowetz ce18346f2e Merged in [18466] from jennifer@painless-security.com:
Cancel multi-session meetings correctly. Fixes #2958.
 - Legacy-Id: 18505
Note: SVN reference [18466] has been migrated to Git commit c2ab6f595a
2020-09-21 12:40:24 +00:00
Henrik Levkowetz 35ee99afa0 Added a missing migration for a change in the Schedule.base field.
- Legacy-Id: 18472
2020-09-08 10:38:00 +00:00
Henrik Levkowetz f9b3e2e477 Merged in ^/branch/iola/meeting-improvement-r18382@18466. This provides a beta-level snapshot of the new schedule editor work. All known issues should be fixed, but there might be adjustments needed after experience with using the new edit view.
- Legacy-Id: 18467
2020-09-04 14:28:25 +00:00
Jennifer Richards c2ab6f595a Cancel multi-session meetings correctly. Fixes #2958. Commit ready for merge.
- Legacy-Id: 18466
2020-09-03 16:30:36 +00:00
Jennifer Richards 4c709bbfa5 Add filtering support (but no UI) to upcoming meeting views; add a group attribute to agenda view rows to avoid ambiguity when selecting rows to show/hide. Branch ready for merge.
- Legacy-Id: 18458
2020-09-02 02:02:33 +00:00
Jennifer Richards d9d5234217 Use updated filter scheme for week-view and agenda
- Legacy-Id: 18457
2020-09-01 15:54:44 +00:00
Henrik Levkowetz d227f1dba6 Merged in [18414] from olau@iola.dk:
Compute session order from available data instead of going through the
database again (saves ~2800 queries on the IETF 106 agenda page)
 - Legacy-Id: 18453
Note: SVN reference [18414] has been migrated to Git commit ca057911ea
2020-09-01 08:06:21 +00:00
Henrik Levkowetz e9bebe1274 Merged in [18103] from olau@iola.dk:
Prefetch a couple of things in the agenda view to reduce the number of
queries for IETF 106 from about 3800 to about 235.
 - Legacy-Id: 18452
Note: SVN reference [18103] has been migrated to Git commit a373f1d55c
2020-08-31 20:09:03 +00:00
Ole Laursen 72665a3f0e Small clean up to remove the explicit support for copying extendedfrom
in the new meeting editor - extendedfrom's have not been in use for
years, and the new UI doesn't support making them (one should just
make another session instead or modify the timeslot, which is now
possible to do individually).
 - Legacy-Id: 18438
2020-08-28 12:59:11 +00:00
Ole Laursen 8759339e65 Make the upcoming meetings iCal group the IETF meetings into one
block and add important dates. Also fix a couple of bugs found by
running the generated .ics through the icalendar.org validator.
 - Legacy-Id: 18434
2020-08-28 12:28:29 +00:00
Henrik Levkowetz 2603bf4a23 Merged in [18371] from mark@painless-security.com:
Track slide submissions even after acceptance or rejection.  Fixes #2835.
 - Legacy-Id: 18421
Note: SVN reference [18371] has been migrated to Git commit 21ba67fb79
2020-08-26 16:47:35 +00:00
Ole Laursen 9df0994827 Add ical download/subscription for important dates for meetings,
similar to the existing meeting view
 - Legacy-Id: 18419
2020-08-26 16:01:19 +00:00
Ole Laursen ca057911ea Compute session order from available data instead of going through the
database again (saves ~2800 queries on the IETF 106 agenda page)
 - Legacy-Id: 18414
2020-08-25 14:56:40 +00:00
Jennifer Richards b1e3c1fe92 Use new querystring format for agenda_ical and add tests. Ensure querystring precedes URL fragment in agenda JS.
- Legacy-Id: 18413
2020-08-25 14:35:44 +00:00
Henrik Levkowetz 7a422e86bf Changed the week_view() function to calculate a first_regular_session_time also when the meeting has not been populated with any sessions, by using the meeting.date as a proxy value.
- Legacy-Id: 18410
2020-08-25 13:08:57 +00:00
Henrik Levkowetz 45eaa18c77 Fixed a broken reverse migration
- Legacy-Id: 18409
2020-08-25 09:45:29 +00:00
Henrik Levkowetz cbfbedf2d3 Updated the IETF meeting agenda rendering so as to show the session links to materials, meetecho, jabber, notepad etc. also for narrov-screen devices such as phones, based on code from lars@eggert.org. Also moved some template code doing markup tweaking of the room name to a TimeSlot method, and factored out session start- and end-time display, repeated in 4 locations, to a template snipped. Added a new CSS class which provides less padding at the sides of pages on narrow devices.
- Legacy-Id: 18403
2020-08-21 13:40:14 +00:00
Ole Laursen 2029fb74fa Add private bit to time slot types so that it can be configured in the
admin instead of hardcoding the list of private sessions types in the
code.
 - Legacy-Id: 18402
2020-08-21 12:15:52 +00:00
Ole Laursen a39fa7f967 New branch from trunk @ r18382 for meeting improvements, with iola/meeting-improvement-r17835 merged in
- Legacy-Id: 18385
2020-08-20 09:36:41 +00:00
Ole Laursen 5ea30519da Add explanation to filter on regular sessions
- Legacy-Id: 18380
2020-08-18 13:37:18 +00:00
Ole Laursen 996fc716eb Add new page for editing timeslots and misc session, accessible from
the possible agendas list for a meeting.

The new page incorporates the editing functionality otherwise
accessible from

/secr/meetings/<meeting>/<schedule>/miscsessions/
/secr/meetings/<meeting>/<schedule>/regularsessions/
/meeting/<meeting>/timeslots/edit

in a time vs. room grid that gives a better overview of what's going
on each day and allows adding and editing time slots and sessions.

Regular sessions must be scheduled in the other schedule editor, but
it's possible to add regular timeslots and edit agenda notes on
scheduled regular sessions.
 - Legacy-Id: 18379
2020-08-18 13:24:30 +00:00
Henrik Levkowetz 0f5d2b290f Added a 'meeting' list filter to the admin page for ImportantDate.
- Legacy-Id: 18376
2020-08-15 09:38:00 +00:00
Mark J. Donnelly 21ba67fb79 Track slide submissions even after acceptance or rejection. Fixes #2835. Commit ready for merge.
- Legacy-Id: 18371
2020-08-13 13:48:01 +00:00
Henrik Levkowetz 07d60de46e Merged in /branch/iola/meeting-improvement-r17835@18048. This provides a new snapshot of the new schedule editor work, with improved edit page layout and details.
- Legacy-Id: 18358
2020-08-12 19:16:18 +00:00
Ole Laursen c78ffbcd18 Introduce support for setting a base schedule on a schedule. All
assignments on the base schedule are shown in the pages for the
schedule, read-only.

This allows managing things like breaks and misc sessions separately
from the regular WG sessions.

Base schedules are not allowed to be the base of other base schedules
(the hierarchy can only be one level deep) to simplify the mental
model and the code.

Add link for creating new schedules instead of relying on copying
Empty-Schedule and change the meeting creation code to no longer
create the special Empty-Schedule. Instead a "base" schedule is
created and a first schedule with the name and permissions of the user
creating the meeting, using "base" as base.

Speed up a couple of the Secretariat/AD agenda views by adding
prefetches.
 - Legacy-Id: 18355
2020-08-11 17:34:32 +00:00
Jennifer Richards ea3882034a Use querystring instead of URL hash for agenda filters
- Legacy-Id: 18353
2020-08-11 13:45:41 +00:00