Commit e6138ca
feat: session apis (ietf-tools#7173)
* feat: Show bluesheets using Attended tables (ietf-tools#7094)
* feat: Show bluesheets using Attended tables (ietf-tools#6898)
* feat: Allow users to add themselves to session attendance (ietf-tools#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 (ietf-tools#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>1 parent 8166601 commit e6138ca
20 files changed
Lines changed: 2106 additions & 385 deletions
File tree
- ietf
- api
- doc
- meeting
- migrations
- stats
- templates/meeting
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
223 | 225 | | |
224 | 226 | | |
225 | 227 | | |
| |||
285 | 287 | | |
286 | 288 | | |
287 | 289 | | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
288 | 404 | | |
289 | 405 | | |
290 | 406 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2594 | 2594 | | |
2595 | 2595 | | |
2596 | 2596 | | |
2597 | | - | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
2598 | 2600 | | |
2599 | 2601 | | |
2600 | 2602 | | |
2601 | 2603 | | |
2602 | 2604 | | |
2603 | 2605 | | |
| 2606 | + | |
2604 | 2607 | | |
2605 | 2608 | | |
2606 | 2609 | | |
2607 | 2610 | | |
| 2611 | + | |
2608 | 2612 | | |
2609 | 2613 | | |
2610 | 2614 | | |
2611 | 2615 | | |
| 2616 | + | |
2612 | 2617 | | |
2613 | 2618 | | |
2614 | 2619 | | |
2615 | 2620 | | |
2616 | | - | |
| 2621 | + | |
| 2622 | + | |
2617 | 2623 | | |
2618 | 2624 | | |
2619 | 2625 | | |
2620 | 2626 | | |
2621 | 2627 | | |
| 2628 | + | |
2622 | 2629 | | |
| 2630 | + | |
2623 | 2631 | | |
2624 | 2632 | | |
2625 | 2633 | | |
2626 | 2634 | | |
2627 | 2635 | | |
| 2636 | + | |
| 2637 | + | |
| 2638 | + | |
| 2639 | + | |
| 2640 | + | |
| 2641 | + | |
| 2642 | + | |
| 2643 | + | |
| 2644 | + | |
| 2645 | + | |
| 2646 | + | |
| 2647 | + | |
| 2648 | + | |
| 2649 | + | |
| 2650 | + | |
| 2651 | + | |
| 2652 | + | |
| 2653 | + | |
| 2654 | + | |
| 2655 | + | |
| 2656 | + | |
| 2657 | + | |
| 2658 | + | |
2628 | 2659 | | |
2629 | 2660 | | |
2630 | 2661 | | |
| |||
2641 | 2672 | | |
2642 | 2673 | | |
2643 | 2674 | | |
2644 | | - | |
| 2675 | + | |
| 2676 | + | |
| 2677 | + | |
2645 | 2678 | | |
2646 | 2679 | | |
2647 | 2680 | | |
2648 | 2681 | | |
2649 | 2682 | | |
2650 | 2683 | | |
| 2684 | + | |
2651 | 2685 | | |
2652 | 2686 | | |
2653 | 2687 | | |
2654 | 2688 | | |
| 2689 | + | |
2655 | 2690 | | |
2656 | 2691 | | |
2657 | 2692 | | |
2658 | 2693 | | |
| 2694 | + | |
2659 | 2695 | | |
2660 | 2696 | | |
2661 | 2697 | | |
2662 | 2698 | | |
2663 | | - | |
| 2699 | + | |
| 2700 | + | |
2664 | 2701 | | |
2665 | 2702 | | |
2666 | 2703 | | |
| 2704 | + | |
2667 | 2705 | | |
| 2706 | + | |
2668 | 2707 | | |
2669 | 2708 | | |
2670 | 2709 | | |
2671 | 2710 | | |
2672 | 2711 | | |
| 2712 | + | |
| 2713 | + | |
| 2714 | + | |
| 2715 | + | |
| 2716 | + | |
| 2717 | + | |
| 2718 | + | |
| 2719 | + | |
| 2720 | + | |
| 2721 | + | |
| 2722 | + | |
| 2723 | + | |
| 2724 | + | |
| 2725 | + | |
| 2726 | + | |
| 2727 | + | |
| 2728 | + | |
2673 | 2729 | | |
2674 | 2730 | | |
2675 | 2731 | | |
| |||
2686 | 2742 | | |
2687 | 2743 | | |
2688 | 2744 | | |
2689 | | - | |
| 2745 | + | |
| 2746 | + | |
| 2747 | + | |
2690 | 2748 | | |
2691 | 2749 | | |
2692 | 2750 | | |
2693 | 2751 | | |
2694 | 2752 | | |
2695 | 2753 | | |
2696 | | - | |
| 2754 | + | |
| 2755 | + | |
2697 | 2756 | | |
2698 | 2757 | | |
2699 | 2758 | | |
2700 | 2759 | | |
| 2760 | + | |
2701 | 2761 | | |
2702 | 2762 | | |
2703 | 2763 | | |
2704 | 2764 | | |
2705 | 2765 | | |
| 2766 | + | |
2706 | 2767 | | |
| 2768 | + | |
2707 | 2769 | | |
2708 | 2770 | | |
2709 | 2771 | | |
2710 | 2772 | | |
| 2773 | + | |
| 2774 | + | |
| 2775 | + | |
| 2776 | + | |
| 2777 | + | |
| 2778 | + | |
| 2779 | + | |
| 2780 | + | |
| 2781 | + | |
| 2782 | + | |
| 2783 | + | |
| 2784 | + | |
| 2785 | + | |
| 2786 | + | |
| 2787 | + | |
2711 | 2788 | | |
2712 | 2789 | | |
2713 | 2790 | | |
| |||
0 commit comments