datatracker/ietf/doc
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
..
management fix: do nothing if rfc has no draft; add test (#6960) 2024-01-23 10:58:34 -06:00
migrations feat: Import IESG artifacts into the datatracker (#6908) 2024-02-20 16:35:08 -06:00
templatetags fix: correct DATE DTEND values - they are non-inclusive (#6907) 2024-01-10 13:55:07 -06:00
__init__.py Move new schema models from redesign/ to ietf/ 2012-01-24 17:17:24 +00:00
admin.py feat: remove DocAlias 2023-08-19 13:17:21 -05:00
expire.py fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
factories.py fix: bring tests up current. add subseries names to rfc view. fix html. 2023-09-22 12:40:15 -05:00
feeds.py chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
fields.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
forms.py fix: teach ajax_select2_search_docs about rfcs (#6679) 2023-11-21 15:33:44 -06:00
lastcall.py fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
mails.py chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
models.py feat: Import IESG artifacts into the datatracker (#6908) 2024-02-20 16:35:08 -06:00
redirect_drafts_urls.py Use the id-archive wherever we had been using the id-repository. Fixes #3080. Commit ready for merge. 2020-10-02 14:13:17 +00:00
redirect_idtracker_urls.py Updated all urlpatterns to use ietf.utils.urls.url() instead of django's, 2017-02-11 14:43:01 +00:00
resources.py feat: remove DocAlias 2023-08-19 13:17:21 -05:00
settings.py Started moving app-specific settings into app settings.py files. 2016-09-09 05:42:41 +00:00
tasks.py feat: celery tasks to replace ietf/bin scripts (#6971) 2024-01-31 15:24:20 -06:00
tests.py feat: session apis (#7173) 2024-03-12 10:22:24 -05:00
tests_ballot.py Merge branch 'feat/rfc' into related_no_alias 2023-07-19 17:48:22 -05:00
tests_bofreq.py chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
tests_charter.py chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
tests_conflict_review.py chore: merge branch 'main' into feat/rfc 2023-11-01 10:54:29 -05:00
tests_downref.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
tests_draft.py fix: Properly set AD as action holder when submitting to IESG for publication (#6854) 2024-01-03 16:30:06 -06:00
tests_irsg_ballot.py feat: enable editorial stream adoption and balloting (#5011) 2023-01-31 13:50:51 -06:00
tests_js.py ci: Switch to using geckodriver (#6541) 2023-11-21 15:30:50 -06:00
tests_material.py feat: session apis (#7173) 2024-03-12 10:22:24 -05:00
tests_models.py chore: repair merge damage 2023-11-01 12:41:15 -05:00
tests_review.py fix: Allow reassignment of withdrawn review assignment (#6723) (#6850) 2023-12-27 11:09:45 -06:00
tests_rsab_ballot.py chore: first pass at clearing out canonical_name 2023-08-18 10:59:55 -05:00
tests_statement.py chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
tests_status_change.py chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00
tests_subseries.py chore: sync subseries index test with view changes 2023-11-05 13:56:50 +01:00
tests_tasks.py feat: celery tasks to replace ietf/bin scripts (#6971) 2024-01-31 15:24:20 -06:00
tests_utils.py fix: ignore attempts to look for versions of rfcs, but find the rfc. 2023-12-13 11:54:22 -06:00
urls.py feat: Teach ajax_select2_search about subseries (#6709) 2023-11-30 11:22:32 -04:00
urls_bofreq.py Added Additional Resources. Simplified the bofreq urls file. 2021-07-07 22:28:05 +00:00
urls_charter.py Added a new document tab for some documents, showing htmlized drafts and RFCs 2017-03-20 14:08:52 +00:00
urls_conflict_review.py Removed all __future__ imports. 2020-03-05 23:53:42 +00:00
urls_material.py Cleaned up the remaining explicit url names, using dotted-paths to view 2017-02-26 23:21:49 +00:00
urls_review.py feat: add "add comment" feature to the review requests. (#6603) 2023-11-05 09:29:25 +01:00
urls_statement.py chore: feat/dark-mode <- main (#6103) 2023-08-10 09:49:15 -05:00
urls_status_change.py Cleaned up the remaining explicit url names, using dotted-paths to view 2017-02-26 23:21:49 +00:00
utils.py feat: API to replace email alias generation commands (#7012) 2024-02-07 10:15:50 -06:00
utils_bofreq.py Added the notion of responsible leadership. 2021-07-07 17:49:35 +00:00
utils_charter.py refactor: Do not use canonical_name() for charters (#5818) 2023-06-14 08:32:21 -05:00
utils_search.py feat: replace references to User with references to Person (#6024) 2024-01-24 11:00:19 -06:00
views_ballot.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
views_bofreq.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
views_charter.py chore: checkpoint: halfway through removing docalias 2023-08-15 09:11:53 -05:00
views_conflict_review.py chore: merge branch 'main' into feat/rfc 2023-11-01 10:54:29 -05:00
views_doc.py feat: session apis (#7173) 2024-03-12 10:22:24 -05:00
views_downref.py chore: correct merge errors 2023-06-26 13:14:31 -05:00
views_draft.py fix: Properly set AD as action holder when submitting to IESG for publication (#6854) 2024-01-03 16:30:06 -06:00
views_help.py fix: show state help for the editorial stream (#6836) 2023-12-26 08:53:52 -06:00
views_material.py feat: session apis (#7173) 2024-03-12 10:22:24 -05:00
views_review.py chore: merge main and fix new views 2023-11-16 15:58:22 -06:00
views_search.py refactor: Avoid module-level queries (#6916) 2024-01-16 08:53:24 -06:00
views_statement.py feat: Import IESG artifacts into the datatracker (#6908) 2024-02-20 16:35:08 -06:00
views_stats.py fix: Specify UTC for TruncDate (#5996) 2023-07-20 08:29:30 -05:00
views_status_change.py chore: merge main into feat/rfc 2023-10-12 15:11:02 -05:00