datatracker/ietf/meeting
Robert Sparks e6138ca126
feat: session apis (#7173)
* feat: Show bluesheets using Attended tables (#7094)

* feat: Show bluesheets using Attended tables (#6898)

* feat: Allow users to add themselves to session attendance (#6454)

* chore: Correct copyright year

* fix: Address review comments

* fix: Don't try to generate empty bluesheets

* refactor: Complete rewrite of bluesheet.html

* refactor: Fill in a few gaps, close a few holes

- Rename the live "bluesheet" to "attendance", add some explanatory text.
- Add attendance links in materials view and pre-finalized proceedings view.
- Don't allow users to add themselves after the corrections cutoff date.

* fix: Report file-save errors to caller

* fix: Address review comments

* fix: typo

* refactor: if instead of except; refactor gently

* refactor: Rearrange logic a little, add comment

* style: Black

* refactor: auto_now_add->default to allow override

* refactor: jsonschema to validate API payload

* feat: Handle new API data format

Not yet tested except that it falls back when the old
format is used.

* test: Split test into deprecated/new version

Have not yet touched the new version

* style: Black

* test: Test new add_session_attendees API

* fix: Fix bug uncovered by test

* refactor: Refactor affiliation lookup a bit

* fix: Order bluesheet by Attended.time

* refactor: Move helpers from views.py to utils.py

* test: Test that finalize calls generate_bluesheets

* test: test_bluesheet_data()

* fix: Clean up merge

* fix: Remove debug statement

* chore: comments

* refactor: Renumber migrations

---------

Co-authored-by: Paul Selkirk <paul@painless-security.com>

* chore: Remove unused import

* style: Black

* feat: Stub session update notify API

* feat: Add order & rev to slides JSON

* style: Black

* feat: Stub actual Meetecho slide deck mgmt API

* refactor: Limit reordering to type="slides"

* chore: Remove repository from meetecho API

(API changed on their end)

* feat: update Meetecho on slide reorder

* refactor: drop pytz from meetecho.py

* chore: Remove more repository refs

* refactor: Eliminate more pytz

* test: Test add_slide_deck api

* fix: Allow 202 status code / absent Content-Type

* test: Test delete_slide_deck api

* test: Test update_slide_decks api

* refactor: sessionpresentation_set -> presentations

* test: Test send_update()

* fix: Debug send_update()

* test: ajax_reorder_slides calls Meetecho API

* test: Test SldesManager.add()

* feat: Implement SlidesManager.add()

* test: Test that ajax_add_slides... calls API

* feat: Call Meetecho API when slides added to session

* test: Test SlidesManager.delete()

* feat: Implement SlidesManager.delete()

* test: ajax_remove_slides... calls Meetecho API

* feat: Call Meetecho API when slides removed

* chore: Update docstring

* feat: rudimentary debug mode for Meetecho API

* test: remove_sessionpresentation() calls Meetecho API

* feat: Call Meetecho API from remove_sessionpresentation()

* test: upload_slides() calls Meetecho API

* style: Black

* fix: Refactor/debug upload_session_slides

Avoids double-save of a SessionPresentation for the session
being updated and updates other sessions when apply_to_all
is set (previously it only created ones that did not exist,
so rev would never be updated).

* test: Fix test bug

* feat: Call Meetecho API when uploading session slides

* fix: Only replace slides actually linked to session

* fix: Delint

Removed some type checking rather than debugging it

* fix: Send get_versionless_href() as url for slides

* test: TZ-aware timestamps, please

* chore: Add comments

* feat: Call Meetecho API in edit_sessionpresentation

* feat: Call Meetecho API in remove_sessionpresentation

* feat: Call Meetecho API from add_sessionpresentation

* fix: Set order in add_sessionpresentation

* fix: Restrict API calls to "slides" docs

* feat: Call Meetecho API on title changes

* test: Check meetecho API calls in test_revise()

* fix: better Meetecho API "order" management

* fix: no PUT if there are no slides after DELETE

* feat: Catch exceptions from SlidesManager

Don't let errors in the MeetEcho slides API interfere with
the ability to modify slides for a session.

* feat: Limit which sessions we send notifications for

* fix: handle absence of request_timeout in api config

* test: always send slide notifications in tests

* fix: save slides before sending notification (#7172)

* fix: save slides before sending notification

* style: fix indentation

It's not a bug, it's a flourish!

---------

Co-authored-by: Jennifer Richards <jennifer@staff.ietf.org>
Co-authored-by: Paul Selkirk <paul@painless-security.com>
2024-03-12 10:22:24 -05:00
..
fixtures refactor: refactor timestamp handling so tests in meeting app pass (#4371) 2022-08-26 16:53:19 -03:00
management fix: emit bulk redirect configuration for iesg artifacts (#7086) 2024-02-22 13:15:29 -06:00
migrations feat: session apis (#7173) 2024-03-12 10:22:24 -05:00
templatetags feat: Import IESG artifacts into the datatracker (#6908) 2024-02-20 16:35:08 -06:00
__init__.py Adding copyright notices to all python files 2007-06-27 21:16:34 +00:00
admin.py fix: make chat room an overrideable property of Session (#5681) 2023-05-24 10:26:19 -05:00
factories.py chore: use factory-boy 3.3 (#6269) 2023-09-05 09:54:30 -05:00
feeds.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
fields.py 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 2021-11-04 17:06:06 +00:00
forms.py feat: upload narrative minutes (#7125) 2024-03-04 16:48:02 -06:00
helpers.py feat: Import IESG artifacts into the datatracker (#6908) 2024-02-20 16:35:08 -06:00
models.py feat: session apis (#7173) 2024-03-12 10:22:24 -05:00
resources.py feat: explicitly model session attendance (#4025) 2022-06-20 10:46:36 -05:00
test_data.py feat: Import IESG artifacts into the datatracker (#6908) 2024-02-20 16:35:08 -06:00
test_procmat.pdf Improve proceedings display with new title block, configurable host logos, and additional PDF or URL materials. Fixes #3147. Commit ready for merge. 2021-08-30 17:02:49 +00:00
tests_forms.py fix: init time inputs in correct tz when editing an interim request (#4838) 2022-12-06 08:46:48 -06:00
tests_helpers.py test: fix test broken by 40fd46a2 (#4847) 2022-12-07 15:06:43 -06:00
tests_js.py feat: Import IESG artifacts into the datatracker (#6908) 2024-02-20 16:35:08 -06:00
tests_models.py fix: make chat room an overrideable property of Session (#5681) 2023-05-24 10:26:19 -05:00
tests_schedule_forms.py feat: Show room functional name when editing timeslots (#7075) 2024-02-20 11:02:48 -06:00
tests_schedule_generator.py fix: test on postgres. POST and check intended pks. (#4949) 2023-01-10 10:28:43 -06:00
tests_views.py feat: session apis (#7173) 2024-03-12 10:22:24 -05:00
urls.py feat: session apis (#7173) 2024-03-12 10:22:24 -05:00
utils.py feat: session apis (#7173) 2024-03-12 10:22:24 -05:00
views.py feat: session apis (#7173) 2024-03-12 10:22:24 -05:00
views_proceedings.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00