Commit graph

43 commits

Author SHA1 Message Date
Paul Selkirk 65bd689daa
fix: make chat room an overrideable property of Session (#5681)
* fix: make chat room an overrideable property of Session

* test: validate that /meeting/session/<sessionid>/edit shows and sets chat room

* test: validate Session.chat_room_name
2023-05-24 10:26:19 -05:00
Jennifer Richards 09ff9c6ced
refactor: Tie Meetecho resources to Session pk (#5281)
* feat: Use session.id to specify session for api_set_session_video_url

* feat: Use session.id to specify session for api_upload_bluesheet

* refactor: Add audio/video stream and onsite tool URLs to Session model

* refactor: Get onsite tool/stream URLs for agenda from Session

* refactor: Use Session methods for onsite tool/stream a few more places

* refactor: Move hard-coded meetecho URLs into settings.py

* feat: Add has_onsite_flag to Session

* chore: Set has_onsite_tool for sessions that had meetecho UrlResources

* fix: Only show onsite tool URLs when Session.has_onsite_tool is True

* test: Update test_api_upload_bluesheet to test deprecated version

* fix: Fix test failure in api_upload_bluesheet view

* test: Add test of new api_upload_bluesheet view

* style: Apply Black style to test_api_upload_bluesheet

* fix: Fix test failures in api_upload_bluesheet()

* test: Update test_api_set_session_video_url to test deprecated version

* fix: Fix test failure in api_set_session_video_url view

* test: Add test of new api_set_session_video_url view

* style: Apply Black styling to new test

* fix: Fix test failures in api_set_session_video_url view

* test: Fix test_meeting_agenda; set has_onsite_tool in SessionFactory

* feat: Add has_onsite_tool to Session list in admin

* feat: Add has_onsite_tool flag to SessionDetailsForm

* feat: Add has_onsite_tool flag to sreq

* feat: Show has_onsite_tool flag on secr view for a submitted request

* feat: Only prompt for has_onsite_tool in sreq for non-wg type groups

* fix: Clean up styling of sreq view a bit

* chore: Renumber migrations
2023-04-23 18:15:01 -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 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
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
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
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
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
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
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
Henrik Levkowetz 0d0db4b154 Admin page tweak for the UrlResource admin page.
- Legacy-Id: 18173
2020-07-14 20:39:48 +00:00
Sasha Romijn 2c49e7b2dd Add missing BusinessConstraint resource/admin
- Legacy-Id: 17903
2020-06-01 10:09:27 +00:00
Henrik Levkowetz 726fcbf27d Removed all __future__ imports.
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz d902aa0b1b Added search fields to the admin index for SchedulingEvent.
- Legacy-Id: 17302
2020-02-17 12:17:37 +00:00
Ole Laursen 3957743b85 Move Session.status, .requested, and .requested_by to a new SchedulingEvent
- Legacy-Id: 17122
2019-12-05 12:41:09 +00:00
Henrik Levkowetz 33e8733b91 Fixed up mypy issues or added type:ignore comments as needed for a clean mypy run.
- Legacy-Id: 16772
2019-09-30 15:42:18 +00:00
Henrik Levkowetz 2d7c9629aa Added 'from __future__' imports all over the place, to bring code behaviour into closer alignment between python2 and python3
- Legacy-Id: 16446
2019-07-15 15:40:51 +00:00
Henrik Levkowetz d7f5c84182 Initial 2to3 patch with added copyright statement updates.
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz c52bec1ea7 Merged in [16103] from rjsparks@nostrum.com:
Modified the admin model for SlideSubmission to use a couple of raw_id_field widgets.
 - Legacy-Id: 16119
Note: SVN reference [16103] has been migrated to Git commit 0b3cf0a1af
2019-03-28 13:03:30 +00:00
Henrik Levkowetz d565375028 Merged in [16102] from rjsparks@nostrum.com:
Allow logged in users to propose slides for meeting sessions. Fixes #2547 and #2403.
 - Legacy-Id: 16118
Note: SVN reference [16102] has been migrated to Git commit becad91b0b
2019-03-28 13:02:29 +00:00
Robert Sparks 0b3cf0a1af Modified the admin model for SlideSubmission to use a couple of raw_id_field widgets. Commit ready for merge.
- Legacy-Id: 16103
2019-03-26 09:34:17 +00:00
Robert Sparks becad91b0b Allow logged in users to propose slides for meeting sessions. Fixes #2547 and #2403. Commit ready for merge.
- Legacy-Id: 16102
2019-03-25 16:10:00 +00:00
Henrik Levkowetz bde205b4ab Added filtering by meeting for the UrlResource admin.
- Legacy-Id: 16086
2019-03-23 15:05:05 +00:00
Henrik Levkowetz 578960c9f6 Tweaked some meeting-related admin classes for better search and display.
- Legacy-Id: 14721
2018-03-02 16:42:20 +00:00
Henrik Levkowetz dcbd28f048 Adjusted ordering for a number of meeting-related models to make the most relevant entries appear first in lists and drop-downs. Fixes issue #2457.
- Legacy-Id: 14694
2018-02-23 22:12:53 +00:00
Robert Sparks 2e6f26af23 Moves Important Dates into the datatracker. Fixes #2338. Commit ready for merge.
- Legacy-Id: 13957
2017-07-21 10:29:56 +00:00
Henrik Levkowetz f75ec3622a A first go at adding floor labels to the agenda pages. The placement of the labels are complicated by available whitespace beeing in different horizontal positions for different types of lines. Adding another column will push the session title out of the screen on small devices.
- Legacy-Id: 13587
2017-06-12 21:00:08 +00:00
Henrik Levkowetz 04e76c9fc9 Added raw_id_fields on DocumentAuthorAdmin to speed up form loading, and added SessionPresentationAdmin to the meeting admin.py
- Legacy-Id: 13395
2017-05-19 14:09:49 +00:00
Henrik Levkowetz d3a20a8694 Added filtering of room resources in the session request form based on the 'used' flag of the room resource name. Tweaked admin to show 'used' for ResourceAssociations. Added Flipchart and U-shape-layout resources through a data migration, and added/modified resource icons.
- Legacy-Id: 13225
2017-04-15 19:13:06 +00:00
Henrik Levkowetz 7bc8e043f1 Added model UrlResource with FK to Room
This will make it easier to support audio and video streaming links
which vary by meeting, but are fixed by Room. Also added migrations,
resource, admin support, supporting methods, and a bit of refactoring.
 - Legacy-Id: 11644
2016-07-13 13:07:20 +00:00
Henrik Levkowetz 2fe2412bdd Tweaked the room admin to show additional fields.
- Legacy-Id: 11590
2016-07-10 13:59:03 +00:00
Henrik Levkowetz 9e5d990954 Added meeting FloorPlan model and added location parameters and ordering to the Room model.
- Legacy-Id: 11540
2016-07-07 12:37:09 +00:00
Henrik Levkowetz d46a3d5768 Set some admin fields to raw_id, to avoid insanely long lists of choices.
- Legacy-Id: 11420
2016-06-20 18:18:07 +00:00
Henrik Levkowetz 71dec7a692 Moved forward to 6.7.2.dev0 the changes to rename class ScheduledSession to the more correct (but unfortunately also cumbersome) SchedTimeSessAssignment, and rename reverse relationships involving this class appropriately. Accompanying changes in javascript and templates. Migrations to match.
- Legacy-Id: 10297
2015-10-26 22:45:26 +00:00
Henrik Levkowetz 30b5d6f229 Added admin support for meeting.models.ResourceAssociation.
- Legacy-Id: 8834
2014-12-22 20:11:54 +00:00
Henrik Levkowetz 4f0d483f91 Added django-admin support for meeting.ScheduledSession
- Legacy-Id: 8002
2014-06-30 19:12:34 +00:00
Henrik Levkowetz db7adf1fb5 Modified the code which adds non-session entries to a schedule so as to bind a Session object also to Break and Registration timeslots, through the Schedule/Timeslot/Session m2m table. This makes the agenda templates work as expected. There's also a migration and a standalone script that fills in this information for existing schedules.
- Legacy-Id: 7975
2014-06-30 17:05:40 +00:00
Henrik Levkowetz c296cb479f Made ietf/meeting pyflakes-clean. Removed some debug-related dead code.
- Legacy-Id: 7473
2014-03-15 18:57:07 +00:00
Henrik Levkowetz 83cab39be7 Added a RoomAdmin to the admin site.
- Legacy-Id: 6369
2013-10-04 18:08:09 +00:00
Henrik Levkowetz 6154b9922d This commit isn't tested. It captures the state after merging in branch/ssw/agenda/v4.70.
- Legacy-Id: 6273
2013-09-26 19:56:17 +00:00
Henrik Levkowetz f85881dc61 Make agenda views with timezone information work also for earlier meetings without timezone data set.
- Legacy-Id: 5568
2013-03-14 14:56:28 +00:00
Henrik Levkowetz 1af6a03cf0 Tweak TimeSlot and Session admin pages with more filter and search fields.
- Legacy-Id: 4062
2012-03-07 10:19:35 +00:00
Ole Laursen dbf5e6ab84 Remove a bunch of old admin files, fix a couple of issues with the new ones, add admin for meeting
- Legacy-Id: 3995
2012-02-28 17:29:52 +00:00