Commit graph

1089 commits

Author SHA1 Message Date
Henrik Levkowetz 4efa035f51 Added a guard against trying to use historic group parent information when parent is None
- Legacy-Id: 18140
2020-07-08 17:18:44 +00:00
Henrik Levkowetz 3800c4b5e4 Removed debug statements.
- Legacy-Id: 18137
2020-07-03 13:01:21 +00:00
Henrik Levkowetz d5558f07e9 Fixed a string formatting directive.
- Legacy-Id: 18134
2020-07-03 12:32:50 +00:00
Henrik Levkowetz ef9c6e7ee0 Increased the generate_schedule optimiser run count to 160, and tweaked some output messages.
- Legacy-Id: 18133
2020-07-03 11:52:05 +00:00
Henrik Levkowetz 92aeb2f6da Tweaked an output statement for generate_schedule.
- Legacy-Id: 18116
2020-07-01 14:08:58 +00:00
Henrik Levkowetz b1bff0575e Additional small tweaks to the generate_schedule management command, maninly output.
- Legacy-Id: 18115
2020-07-01 11:45:24 +00:00
Henrik Levkowetz 7a30c14bbd Tweaked the HTML that puts session links and calendar links on the session details page to put them on the same line.
- Legacy-Id: 18114
2020-07-01 11:43:44 +00:00
Henrik Levkowetz e0c5929e31 Renamed a test module to conform to our name convention ('test_...' to 'tests_...').
- Legacy-Id: 18113
2020-07-01 11:41:28 +00:00
Henrik Levkowetz 7b568df3ed Added a guard against trying to serialize session UTC start time for a meeting with unknown timezone.
- Legacy-Id: 18112
2020-07-01 11:34:39 +00:00
Henrik Levkowetz 1743f0e591 Removed an unused import
- Legacy-Id: 18110
2020-06-30 20:24:23 +00:00
Henrik Levkowetz 90b4783082 Fixed a bug in the caching of the agenda where too much was cached. Fixes issue #3008.
- Legacy-Id: 18109
2020-06-30 18:34:11 +00:00
Henrik Levkowetz 0a7b3be977 Renamed the automatic schedule generator command from 'schedule_generator' to 'generate_schedule', to match our other 'generate_*' management commands. Added some switches to the command, and added more information to the default output, providing information about number of optimisation runs and time consumed. Added a default value for the meeting option. Made it possible to provide a name to use for the generated schedule, and changed the autogenerated names to be easier to remember and type for later manual work based on an autogenerated schedule.
- Legacy-Id: 18106
2020-06-30 14:27:07 +00:00
Henrik Levkowetz 6170ebd64a Merged in the final part of the automatic scheduler from sasha@dashcare.nl.
- Legacy-Id: 18100
2020-06-29 16:54:51 +00:00
Henrik Levkowetz 8837eb9067 Merged in Django 2.2 changes.
- Legacy-Id: 18090
2020-06-27 20:56:10 +00:00
Henrik Levkowetz 8892a6b725 Removed unused imports.
- Legacy-Id: 18089
2020-06-27 17:40:28 +00:00
Henrik Levkowetz 94d2171c22 Removed unused imports.
- Legacy-Id: 18088
2020-06-27 17:38:43 +00:00
Henrik Levkowetz cb9006eb26 Changed skip messages from test suites to use print() instead of sys.stderr.write(), to match other output from the test runner.
- Legacy-Id: 18087
2020-06-27 17:32:02 +00:00
Henrik Levkowetz cabf95daf9 Fixed an issue where a session was saved without a type_id, found by the Django 2.2 checks. The code set the value just after the first save, and then did a second save, but this is 1) more costly, and 2) keeps an invalid session object in the database for a short time.
- Legacy-Id: 18084
2020-06-27 17:21:57 +00:00
Henrik Levkowetz 3a76e4a935 Added an API endpoint for bluesheet information upload. Factored out code in common with manual upload_session_bluesheets(). Tweaked ietf.secr.proceedings.utils.handle_upload_file() to handle temp files in addition to http file objects, to support the API endpoint.
- Legacy-Id: 18067
2020-06-26 14:49:13 +00:00
Henrik Levkowetz 729b52fb36 Added a switchover date (currently July 6th) for Etherpad to CodiMD use, and modified views and templates accordingly.
- Legacy-Id: 18063
2020-06-25 16:35:40 +00:00
Henrik Levkowetz 66d2fd8604 Merged in [18021] from rjsparks@nostrum.com:
A little less waste creating meeting/interim test data.
 - Legacy-Id: 18024
Note: SVN reference [18021] has been migrated to Git commit ba41f9ba95
2020-06-22 13:18:12 +00:00
Robert Sparks ba41f9ba95 A little less waste creating meeting/interim test data. Commit ready for merge.
- Legacy-Id: 18021
2020-06-19 21:45:15 +00:00
Henrik Levkowetz 820e30d99d Merged in [18016] from rjsparks@nostrum.com:
Ensure UTC time is shown throughout the interim request, approval, and announcement workflow. Fixes #2974.
 - Legacy-Id: 18017
Note: SVN reference [18016] has been migrated to Git commit 64de3fcd8c
2020-06-18 15:02:27 +00:00
Robert Sparks 64de3fcd8c Ensure UTC time is shown throughout the interim request, approval, and announcement workflow. Fixes #2974. Commit ready for merge.
- Legacy-Id: 18016
2020-06-17 22:15:39 +00:00
Henrik Levkowetz 4033785d40 With the draft submission cutoff date before a meeting set to the meeting start date (with the intention to have no blackout), the fact that submission re-open time is midnight _local_ time led to a blackout period of a few hours after midnight UTC for meeting timezones with midnight later than UTC. Changed this to give no blackout time when cutoff-date == meeting.date
- Legacy-Id: 18014
2020-06-17 18:04:03 +00:00
Sasha Romijn fe23d2f799 Modify dummy meeting script to match IETF 106 better.
- Legacy-Id: 17995
2020-06-15 20:53:00 +00:00
Sasha Romijn 9dd0035a19 Fix migrations after rebase.
- Legacy-Id: 17994
2020-06-15 20:51:46 +00:00
Robert Sparks 02a3e9a708 Make test_interim_send_announcement a little more time_zone aware. Commit ready for merge.
- Legacy-Id: 17993
2020-06-15 20:20:34 +00:00
Sasha Romijn 6e026926f0 Rebase automatic-scheduler-2 onto 7.3.2.dev0
- Legacy-Id: 17990
2020-06-15 12:29:39 +00:00
Sasha Romijn ec1ee89e89 - Increase penalty of timerange and area meeting overlap
- Fix incidental bug in schedule optimiser
- Fix unused import
 - Legacy-Id: 17988
2020-06-15 09:16:48 +00:00
Henrik Levkowetz efcdc4d917 Updated meeting attendance and nomcom eligibility calculations to take the MeetingRegistration.attendance flag into account.
- Legacy-Id: 17955
2020-06-09 21:00:07 +00:00
Henrik Levkowetz c3b05d41b8 Removed an API meeting resource field which is not present in the database any more.
- Legacy-Id: 17936
2020-06-08 19:21:50 +00:00
Sasha Romijn d0386b8524 Add link to docs in automatic schedule builder.
- Legacy-Id: 17907
2020-06-02 17:39:25 +00:00
Sasha Romijn 69fbd46b27 Save automatic schedules as public=False visible=True
- Legacy-Id: 17906
2020-06-01 15:03:46 +00:00
Sasha Romijn a0b6c6dcfc Add capacity optimiser to automatic scheduler.
- Legacy-Id: 17905
2020-06-01 14:12:39 +00:00
Sasha Romijn fc2693370e Improved initial session scheduling for tight schedules
- Legacy-Id: 17904
2020-06-01 12:26:21 +00:00
Sasha Romijn 2c49e7b2dd Add missing BusinessConstraint resource/admin
- Legacy-Id: 17903
2020-06-01 10:09:27 +00:00
Sasha Romijn 69a5752a00 Fix incorrect timerange name in create_dummy_meeting command
- Legacy-Id: 17902
2020-06-01 09:27:25 +00:00
Sasha Romijn 57d8ffb27a Re-introduce Group.meeting_seen_as_area and use it in automatic scheduler
- Legacy-Id: 17901
2020-06-01 09:25:51 +00:00
Sasha Romijn 468afdcbe3 Fix tests to account for meetings starting on a Sunday
- Legacy-Id: 17900
2020-06-01 09:22:37 +00:00
Sasha Romijn 38aaa38a0b Don't schedule sessions on Sunday in schedule builder.
- Legacy-Id: 17899
2020-06-01 09:19:18 +00:00
Sasha Romijn 2f8dfe8c78 Removed Python 2 compatibility for schedule builder as it's obsolete
- Legacy-Id: 17896
2020-05-29 12:49:51 +00:00
Sasha Romijn 1aad1bee48 Add Python 2 compatibility for schedule builder with functools32
- Legacy-Id: 17895
2020-05-29 12:14:51 +00:00
Sasha Romijn c8e0a83b47 Add new model for business logic meeting constraint costs, update existing constraint costs, and small improvements in tests
- Legacy-Id: 17894
2020-05-29 12:03:50 +00:00
Sasha Romijn cbcb5a2bd2 Add schedule saving to automatic scheduler, various cleanups
- Legacy-Id: 17893
2020-05-28 19:47:30 +00:00
Sasha Romijn a75c29c231 Add partially completed automatic scheduler.
- Legacy-Id: 17891
2020-05-28 12:59:44 +00:00
Henrik Levkowetz 40f38a343b Merged in [17864] from housley@vigilsec.com:
Add /meeting/<num>/agenda pages to the slowpages cache. While I was in the template, I also did a recent ticket. Fixes #2992.
 - Legacy-Id: 17876
Note: SVN reference [17864] has been migrated to Git commit 5dc4931f87
2020-05-21 22:36:24 +00:00
Russ Housley 5dc4931f87 Add /meeting/<num>/agenda pages to the slowpages cache. While I was in the template, I also did a recent ticket. Fixes #2992.
- Legacy-Id: 17864
2020-05-21 14:42:37 +00:00
Henrik Levkowetz d9a40f8ef4 Renamed some view funtions for consistency. Almost all .json enpoints were named *_json(), but not all. Fixed in this commit, together with the equivalent renaiming for one .ical endpoint.
- Legacy-Id: 17855
2020-05-20 14:19:37 +00:00
Henrik Levkowetz f53d03e7ef Merged in [17835] from pusateri@bangj.com:
Add agenda_note and remote_instructions to agenda.json API.  Fixes #2955.
 - Legacy-Id: 17853
Note: SVN reference [17835] has been migrated to Git commit d275a78bce
2020-05-20 12:06:23 +00:00