Commit graph

10137 commits

Author SHA1 Message Date
Henrik Levkowetz c60e915751 Fixed an issue with secr.meetings.views.send_notifications() that could occur if a session didn't have a timeslot set.
- Legacy-Id: 18135
2020-07-03 12:44:13 +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 35a7dc9827 Added a warnings filter for a deprecated message triggered by a library module.
- Legacy-Id: 18132
2020-07-03 11:50:30 +00:00
Robert Sparks 49c2fa8be2 Add configuration and mechanisms to allow meeting materials to be served via a CDN. Fixes #2935. Commit ready for merge.
- Legacy-Id: 18131
2020-07-02 21:53:30 +00:00
Robert Sparks c6f55a3306 Fixed some test scaffolding that used non-existent keys (uncovered by recent improvements in sqlite3 integrity checking). Commit ready for merge.
- Legacy-Id: 18130
2020-07-02 20:05:02 +00:00
Henrik Levkowetz 87b6ad9b4f Set version info and settings back to development mode
- Legacy-Id: 18124
2020-07-01 16:35:25 +00:00
Henrik Levkowetz 7ac7ea899a Set version info to release version 7.7.0 before branching.
- Legacy-Id: 18122
2020-07-01 16:35:05 +00:00
Henrik Levkowetz 1654f9319e Reworked the support for remote access urls in the agenda_note and remote_instructions fields of Session objects so as to accept any of a list of conference service domains as remote call-in URLs -- not only webex.
- Legacy-Id: 18119
2020-07-01 14:17:01 +00:00
Henrik Levkowetz 129d62e666 Added 'remote_instructions' as an editable field for misc. sessions in the secretariat app, in order to be able to set remote access URLs.
- Legacy-Id: 18118
2020-07-01 14:14:05 +00:00
Henrik Levkowetz ae5de75b65 Added some CSRF settings to make login from a meetecho iframe possible.
- Legacy-Id: 18117
2020-07-01 14:11:09 +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 0924640676 Removed the command to purge request_profiler entries, given that request_profiler is incompatible with Django 2.2
- Legacy-Id: 18107
2020-06-30 14:34:15 +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 62e1a17579 Fixed an issue with openid_userinfo() for persons with no email address.
- Legacy-Id: 18105
2020-06-30 13:50:02 +00:00
Henrik Levkowetz 12fc334279 Renamed and adjusted a migration to avoid multiple migration leaf nodes.
- Legacy-Id: 18101
2020-06-29 17:02:42 +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 4386aa0c01 Set version info and settings back to development mode
- Legacy-Id: 18095
2020-06-29 10:57:37 +00:00
Henrik Levkowetz 72904cb16e Set version info to release version 7.6.0 before branching.
- Legacy-Id: 18093
2020-06-29 10:56:36 +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 47a2174e80 Django 2.2 does not wrap single queries in transactions, for performance reasons. This caused some template tags that did database lookups to trigger exceptions. Fixed by moving the lookups (which would not normally change between apache reloads) out from the template tag code to module scope. Adding new groups of type ['ag','area','team','dir','program'] will now require a reload to show up in the group menu.
- Legacy-Id: 18086
2020-06-27 17:28:50 +00:00
Henrik Levkowetz 10b56c4e33 Fixed a place where data provider for a POST in contained None, which cannot be serialized into POST data. Found by Django 2.2 checks.
- Legacy-Id: 18085
2020-06-27 17:23:47 +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 9047875296 Removed an unused parameter from submit.tests.do_submission_email().
- Legacy-Id: 18082
2020-06-27 17:17:22 +00:00
Henrik Levkowetz 4649c9ae4e Added a warnings filter. Removed the use request_profiler, which is not compatible with Django 2.2.
- Legacy-Id: 18081
2020-06-27 17:15:25 +00:00
Henrik Levkowetz 93e07f8650 Changed deprecated 'load staticfiles' to recommended 'load static'
- Legacy-Id: 18080
2020-06-27 13:51:19 +00:00
Henrik Levkowetz fcfc71684c Set version info and settings back to development mode
- Legacy-Id: 18077
2020-06-27 12:21:09 +00:00
Henrik Levkowetz 06510f77ae Set version info to release version 7.5.0 before branching.
- Legacy-Id: 18075
2020-06-27 12:20:48 +00:00
Henrik Levkowetz bbb5b9ce3f Merged in [18064] from rjsparks@nostrum.com:
Change group edit field url regexp to accept the field names (specifically role names) we use by allowing hyphens.
 - Legacy-Id: 18072
Note: SVN reference [18064] has been migrated to Git commit db0f902145
2020-06-27 11:55:12 +00:00
Henrik Levkowetz 8c90c53463 Added meeting registration 'affiliation' field to the OAuth2 'registration' scope, so that Meetecho will have the information needed build bluesheets.
- Legacy-Id: 18070
2020-06-26 19:26:28 +00:00
Henrik Levkowetz 9910d1ecf0 Added the use of local test directories instead of default settings for bluesheet files in the bluesheet upload API test.
- Legacy-Id: 18069
2020-06-26 15:37:21 +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
Robert Sparks db0f902145 Change group edit field url regexp to accept the field names (specifically role names) we use by allowing hyphens. Commit ready to merge.
- Legacy-Id: 18064
2020-06-25 20:41:49 +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 6a38234b0a Tweaked the MeetingRegistration admin.
- Legacy-Id: 18062
2020-06-25 16:22:41 +00:00
Henrik Levkowetz 7c91e740a2 Added patch/fix-django-password-strength-kwargs.patch to the settings patch list.
- Legacy-Id: 18061
2020-06-24 21:33:20 +00:00
Henrik Levkowetz dc5ca4eebc Merged in Django 2.1 upgrade changes.
- Legacy-Id: 18060
2020-06-24 20:51:00 +00:00
Henrik Levkowetz b332233d6f Fixed a problem with the handling of multiple registrations for the same person and meeting in api_new_meeting_registration().
- Legacy-Id: 18059
2020-06-24 20:49:13 +00:00
Henrik Levkowetz a827c482c2 Removed the wsgi.py warning about starting without virtualenv; this is normal under Py3.
- Legacy-Id: 18058
2020-06-24 20:48:01 +00:00
Henrik Levkowetz e8094b2016 Fixed a config error in settings_testcrawl
- Legacy-Id: 18057
2020-06-24 20:47:15 +00:00
Henrik Levkowetz 27da6e86d4 Widgets' .render() method now must accept an additional keyword argument (renderer); adjusted the code accordingly (including a library patch -- pull request also submitted).
- Legacy-Id: 18056
2020-06-24 20:44:47 +00:00
Henrik Levkowetz 6459638fad Adjusted the code to the 2.1 attribute name change from ._size to .size in upload file objects.
- Legacy-Id: 18054
2020-06-24 20:42:05 +00:00
Henrik Levkowetz 06fa5e517a Adjusted the code to the changed signature of admin.utils.get_deleted_objects()
- Legacy-Id: 18053
2020-06-24 20:39:27 +00:00
Henrik Levkowetz 7c7c5da39f Changed the 2.1 removed django.contrib.auth.views.logout to LogoutView.
- Legacy-Id: 18052
2020-06-24 20:36:46 +00:00
Henrik Levkowetz dc7581fef4 Changed NullBoleanField() to BooleanField(null=True), according to the 2.1 upgrade recommendations.
- Legacy-Id: 18051
2020-06-24 20:33:57 +00:00
Robert Sparks bf53bf1057 Merged forward. Added some missing parts to the XMPPURLValidator.
- Legacy-Id: 18050
2020-06-24 19:01:45 +00:00
Ole Laursen 15de8ef380 Remove the responsible AD at the top of the session info in the new
meeting editor as the information is now redundant - the AD appears as
an AD constraint.
 - Legacy-Id: 18048
2020-06-24 15:50:28 +00:00
Ole Laursen 44cbfca7bd Add support for detecting and displaying AD conflicts.
- Legacy-Id: 18046
2020-06-24 12:42:00 +00:00
Henrik Levkowetz ddf874bc77 Fixed an issue in a test function that could occasionally fail incorrectly.
- Legacy-Id: 18045
2020-06-24 11:07:11 +00:00
Henrik Levkowetz e493377a52 Fixed a problem with the code to update missing person record association in a meeting registration record.
- Legacy-Id: 18044
2020-06-24 11:03:49 +00:00
Henrik Levkowetz 595dcb75e9 Fixed a silly bug in [18040]. 'settings' isn't a dictionary.
- Legacy-Id: 18043
Note: SVN reference [18040] has been migrated to Git commit e1ed51b0b6
2020-06-23 21:16:02 +00:00
Henrik Levkowetz 649831e7c7 Added a default logger and level for 'django.security' log items, to route them to our regular syslog. This will give us more information about failures to retrieve session info, and also things like 404 responses, which will already be captured in the apache log but with less info. May need revisiting if it proves to cause excessive logging.
- Legacy-Id: 18042
2020-06-23 20:47:58 +00:00
Henrik Levkowetz ed8e578a07 Separated the session cache from the default cache, using slightly different settings, in order to not drop sessions when a new release is deployed.
- Legacy-Id: 18041
2020-06-23 20:41:26 +00:00
Henrik Levkowetz e1ed51b0b6 Fixed a logging issue when running the test crawler.
- Legacy-Id: 18040
2020-06-23 20:38:33 +00:00
Robert Sparks f7b1ce1fce Remove abandoned charters from any future telechats. Fixes #3003. Commit ready for merge.
- Legacy-Id: 18037
2020-06-22 21:22:54 +00:00
Robert Sparks da0c81d78f Tweak to title of the page used to complete reviews. Fixes #2767. Commit ready to merge.
- Legacy-Id: 18036
2020-06-22 20:32:58 +00:00
Ole Laursen 3b31ed9ad1 Update the constraint name fixtures.
- Legacy-Id: 18034
2020-06-22 17:40:06 +00:00
Ole Laursen 49d4be8d17 Rework the new meeting editor label formatting to store the icon
references directly in the database as HTML.

Rework the label update migration to take this into account (can be
rerun by running "ietf/manage.py migrate name 0011 --fake" first).

Add a little bit of support for the recently added constraints types -
the JS does not hint about them, but they do show up without looking
silly.
 - Legacy-Id: 18033
2020-06-22 17:33:54 +00:00
Henrik Levkowetz 5ea79b87dd Set version info and settings back to development mode
- Legacy-Id: 18031
2020-06-22 13:59:28 +00:00
Henrik Levkowetz c4f454f996 Set version info to release version 7.4.0 before branching.
- Legacy-Id: 18029
2020-06-22 13:59:08 +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
Henrik Levkowetz 0f17e03121 Merged in [18020] from rjsparks@nostrum.com:
Construct Faker objects used for person name generation only once. Results in a roughly 20% speedup of the test-suite.
 - Legacy-Id: 18023
Note: SVN reference [18020] has been migrated to Git commit c60cc1b1a0
2020-06-22 12:58:44 +00:00
Ole Laursen ab178173f4 Fix bug in showing the time of other sessions of the same group in the
new meeting schedule editor
 - Legacy-Id: 18022
2020-06-22 12:31:39 +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
Robert Sparks c60cc1b1a0 Construct Faker objects used for person name generation only once. Results in a roughly 20% speedup of the test-suite. Commit ready for merge.
- Legacy-Id: 18020
2020-06-19 19:54:50 +00:00
Ole Laursen a70ece9a34 Hint when a timeslot is unsuitable because the room is too small.
Expand test to cover the timeslot hints too.
 - Legacy-Id: 18019
2020-06-19 17:50:55 +00:00
Ole Laursen 770341f122 Add information about other sessions of the same group to the session
info in the new meeting schedule editor.
 - Legacy-Id: 18018
2020-06-19 16:57:08 +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
Ole Laursen 674dae22c7 Fix a bunch of meeting schedule editor test bugs introduced by the
changes in the previous commit.
 - Legacy-Id: 18013
2020-06-17 17:59:06 +00:00
Ole Laursen b60939a26c Change new meeting schedule editor to not layout the time slots on a
linear scale, instead lay them out horizontally per day in
chronological order with a small amount of size hinting by
interpolating the width depending on the duration of the
timeslot/session.

Solve the problem of labeling time slots that don't necessarily align
by simply labeling each slot separately.

Add scheduled time slot information to the session info in the bottom
right corner.

Add selector for hiding timeslots to make it possible to hide special
morning sessions.

Add requested duration to the sessions in the grid.

Use a smaller font size for the grid and switch to a non-serif, more
condensed font. Tweak the margins. The grid is now slightly smaller
than the old editor.

Fix a couple of bugs.
 - Legacy-Id: 18012
2020-06-17 16:16:57 +00:00
Henrik Levkowetz 9b672fc801 The registration system creates separate records for hackathon and session registration, but in order to provide OAuth2 registration information to for instance Meetecho we want just one consolidated record. Changed the handling of notifications from the registration system to aggregate reg_type and ticket_type information in one record.
- Legacy-Id: 18011
2020-06-17 15:44:37 +00:00
Henrik Levkowetz bf230a738b Added a test suite switch to optionally show logging output. Normally this is suppressed while running tests. In production, it goes to syslog's user facility. With --show-logging, it will go to the console when running tests.
- Legacy-Id: 18010
2020-06-17 15:05:57 +00:00
Henrik Levkowetz a6a99a449f Removed a debug statement
- Legacy-Id: 18009
2020-06-17 14:56:26 +00:00
Henrik Levkowetz b0b9bb4ce9 Added code in the OpenID registration scope to look for registration matches also by email, to handle the case where somebody registered with a new email and only added it to the datatracker later. In this case, we would not have connected up the registration and the person record when first notified.
- Legacy-Id: 18008
2020-06-17 13:31:55 +00:00
Henrik Levkowetz 26dbcc85be Set version info and settings back to development mode
- Legacy-Id: 18005
2020-06-16 21:16:41 +00:00
Henrik Levkowetz 5c68b60a84 Set version info to release version 7.3.2 before branching.
- Legacy-Id: 18003
2020-06-16 21:16:21 +00:00
Ole Laursen 8bd9e5de6e Round the debug time sum
- Legacy-Id: 17998
2020-06-16 16:48:29 +00:00
Henrik Levkowetz a5ccd3a806 Merged in [17993] from rjsparks@nostrum.com:
Make test_interim_send_announcement a little more time_zone aware.
 - Legacy-Id: 17997
Note: SVN reference [17993] has been migrated to Git commit 02a3e9a708
2020-06-16 13:21:40 +00:00
Henrik Levkowetz af87bf8e1b Merged in [17992] from rjsparks@nostrum.com:
Improve admin form validation for used_roles.
 - Legacy-Id: 17996
Note: SVN reference [17992] has been migrated to Git commit c69556efe1
2020-06-16 12:59:46 +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
Robert Sparks c69556efe1 Improve admin form validation for used_roles. Commit ready for merge.
- Legacy-Id: 17992
2020-06-15 19:14:42 +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 3589ea2cd9 Fixed two mypy issues with utils.log code to set loggin handlers.
- Legacy-Id: 17987
2020-06-14 18:32:45 +00:00
Henrik Levkowetz 0a7648b7de Improved the handling of logger enabling entries in UTILS_LOGGER_LEVELS to set a handler if none exists for a given logger.
- Legacy-Id: 17981
2020-06-13 21:31:31 +00:00
Henrik Levkowetz b03b2e2477 Tweaked the OpenID Connect 'profile' grant description.
- Legacy-Id: 17980
2020-06-13 21:29:37 +00:00
Henrik Levkowetz cb0817175e Tweaked the showloggers command help text.
- Legacy-Id: 17979
2020-06-13 21:28:32 +00:00
Henrik Levkowetz c5f6883624 Fixed a couple of mypy errors.
- Legacy-Id: 17977
2020-06-12 22:05:03 +00:00
Henrik Levkowetz 96bbf3457a The datatracker logs directly to syslog, but some python libraries send debug logging to the python logging module. Added a python logging syslog handler to the django logging setup, in order to make it easier to turn on built-in logging from external modules when needed.
- Legacy-Id: 17976
2020-06-12 20:35:56 +00:00
Henrik Levkowetz 1cc9712ddf Changed the OpenID profile data description to match what the datatracker actually shares.
- Legacy-Id: 17975
2020-06-12 16:17:06 +00:00
Henrik Levkowetz 77524a333b Added a management command to list registered loggers, in order to see which can be configured in settings_local with the UTILS_LOGGER_LEVELS settings.
- Legacy-Id: 17974
2020-06-12 15:00:15 +00:00
Henrik Levkowetz 682036321d Reorganized the python logging setup slightly, and added a possibility to configure logging levels for individual loggers in settings_local.py
- Legacy-Id: 17973
2020-06-12 14:41:41 +00:00
Henrik Levkowetz eeba4ea992 Removed an unnecessary entry from the OIDC auth request arguments in test_oidc_code_auth().
- Legacy-Id: 17972
2020-06-12 14:39:54 +00:00
Ole Laursen 27384a1935 Make constraint hints more obvious. Show constraints in the session
information panel.
 - Legacy-Id: 17971
2020-06-11 17:22:36 +00:00
Henrik Levkowetz 033da559d2 Set version info and settings back to development mode
- Legacy-Id: 17968
2020-06-10 20:59:26 +00:00
Henrik Levkowetz 6d3e07be12 Set version info to release version 7.3.1 before branching.
- Legacy-Id: 17966
2020-06-10 20:59:06 +00:00
Henrik Levkowetz ae6b39459f Updated API resources for MeetingRegistration.
- Legacy-Id: 17961
2020-06-10 18:22:47 +00:00
Henrik Levkowetz 567449d3d2 Merged in [17908] from rjsparks@nostrum.com:
Add used_roles to Group and default_used_roles to GroupFeatures. Dynamically build the group edit form to provide a field for all used_roles. Fixes #2785 and #2572. Partially addresses #2160.
 - Legacy-Id: 17960
Note: SVN reference [17908] has been migrated to Git commit 2862727d02
2020-06-10 12:58:29 +00:00
Henrik Levkowetz 980de4fac0 Removed an unused import
- Legacy-Id: 17959
2020-06-10 11:32:24 +00:00
Henrik Levkowetz 6e30b36515 Expanded the test case for api_new_meeting_registration() to test both the existing and new account case, and that additional table fields are set appropriately.
- Legacy-Id: 17958
2020-06-09 21:06:09 +00:00
Henrik Levkowetz 8547432583 Updated the api_new_meeting_registration() endpoint to set all provided fields correctly. Fixes a bug that left some fields unset.
- Legacy-Id: 17957
2020-06-09 21:04:12 +00:00
Henrik Levkowetz 61f01721c6 Added some code to set the meeting attendance flag when Meetecho pulls OAuth2 profile data for session participation between the start and end dates for a meeting.
- Legacy-Id: 17956
2020-06-09 21:01:49 +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 8a6026ce6e Added a MeetingRegistration.attended field, to keep apart meeting attendence and meeting registration before attendance.
- Legacy-Id: 17954
2020-06-09 20:58:35 +00:00
Henrik Levkowetz 59487f5627 Fixed an issue with multiple objects matching a registsration record fetched from the registration system (this has been caused by not correctly detecting changes in registration system details).
- Legacy-Id: 17953
2020-06-09 19:42:11 +00:00
Henrik Levkowetz 956ddaf3cf Fixed an incorrect admin site search field specification.
- Legacy-Id: 17951
2020-06-09 18:26:45 +00:00
Henrik Levkowetz 3e008518c9 With ticket_type and reg_type fields now part of MeetingRegistratoin, removed the conditional handling of these attributes in the OpenID 'registration' scope handler.
- Legacy-Id: 17949
2020-06-09 14:00:47 +00:00
Henrik Levkowetz 516a2af54d Set version info and settings back to development mode
- Legacy-Id: 17946
2020-06-08 20:18:38 +00:00
Henrik Levkowetz 0a82b60138 Set version info to release version 7.3.0 before branching.
- Legacy-Id: 17944
2020-06-08 20:18:16 +00:00
Henrik Levkowetz ec5d159b4f Added a new API endpoint to be used by the registration system, to trigger account creation.
- Legacy-Id: 17941
2020-06-08 19:51:10 +00:00
Henrik Levkowetz 2416a46f5e Refactored some account creation code to re-use the email sending part in the registration system notification api for new meeting registrations.
- Legacy-Id: 17940
2020-06-08 19:49:30 +00:00
Henrik Levkowetz 275e48681d Updated the email template that goes out for password setting on account creation, to give directions also for the case when the user already has a pre-existing account. Updated a test to match.
- Legacy-Id: 17939
2020-06-08 19:48:05 +00:00
Henrik Levkowetz 228f00287b Added migrations for model changes
- Legacy-Id: 17938
2020-06-08 19:28:15 +00:00
Henrik Levkowetz 49bf6090d0 Updated the @require_api_key decorator to not check for recent login dates for staff (which would include robots)
- Legacy-Id: 17937
2020-06-08 19:24:42 +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
Henrik Levkowetz 0ba2c93d7f Added a showapikeys management command, to be able to easily see the api keys.
- Legacy-Id: 17935
2020-06-08 19:20:27 +00:00
Henrik Levkowetz 542c165907 Added a migration to create login and person records for the mail-archive and registration-system users.
- Legacy-Id: 17934
2020-06-08 19:19:25 +00:00
Henrik Levkowetz ff0279e7ae Added a new role 'Robot', for use with reg-system and mail-archive automated accesses.
- Legacy-Id: 17933
2020-06-08 19:16:23 +00:00
Henrik Levkowetz c01dcddea1 Added reg_type and ticket_type to the MeetingRegistration model.
- Legacy-Id: 17932
2020-06-08 19:14:21 +00:00
Henrik Levkowetz 40fac7a283 Set version info and settings back to development mode
- Legacy-Id: 17929
2020-06-07 12:08:35 +00:00
Henrik Levkowetz b46ddbe754 Set version info to release version 7.2.0 before branching.
- Legacy-Id: 17927
2020-06-07 12:08:16 +00:00
Henrik Levkowetz 65c919b325 Added OpenID support through django-oidc-provider, with tests using the certified python oic module.
- Legacy-Id: 17919
2020-06-06 21:01:21 +00:00
Henrik Levkowetz 5a2a255bcb Added django urlconfig namespace support in ietf.utils.test.get_callbacks() (needed when testing the reverse lookups in templates for oidc_provider).
- Legacy-Id: 17917
2020-06-06 20:19:54 +00:00
Henrik Levkowetz cd186fa04b Tweaked patch.py for Py3 compatibility.
- Legacy-Id: 17916
2020-06-06 20:17:31 +00:00
Henrik Levkowetz 0ca29a80c2 Tweaked log.unreachable() and log.assertion() for Py3 compatibility.
- Legacy-Id: 17915
2020-06-06 20:17:04 +00:00
Henrik Levkowetz 4139d17308 Added a factory function OidClientRecordFactory for OpenID testing
- Legacy-Id: 17914
2020-06-06 20:15:18 +00:00
Henrik Levkowetz b9b36dc124 Tweaked the meetecho access API fallback response to use person.plain_name instead of person.name.
- Legacy-Id: 17913
2020-06-06 20:13:54 +00:00
Robert Sparks 2862727d02 Add used_roles to Group and default_used_roles to GroupFeatures. Dynamically build the group edit form to provide a field for all used_roles. Fixes #2785 and #2572. Partially addresses #2160. Commit ready for merge.
- Legacy-Id: 17908
2020-06-04 21:05:33 +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
Henrik Levkowetz 186e2ae67b Decorated post_submission() with @transaction.atomic, and did some slight refactoring of code related to post_submission() calls and submission events. This was triggered by a submission left in an intermediate state because of a WSGI timeout (leading to a 504 error).
- Legacy-Id: 17892
2020-05-28 15:01:33 +00:00
Sasha Romijn a75c29c231 Add partially completed automatic scheduler.
- Legacy-Id: 17891
2020-05-28 12:59:44 +00:00
Ole Laursen d357723a54 Style BoFs differently in the meeting schedule editor
- Legacy-Id: 17888
2020-05-26 16:38:18 +00:00
Ole Laursen c9394ae6a2 Make the selection more obvious in the meeting schedule editor
- Legacy-Id: 17887
2020-05-26 15:51:01 +00:00
Ole Laursen 65e5245626 Fix mypy warning when overriding DEV_TEMPLATE_CONTEXT_PROCESSORS by
turning it into a list (can't override a tuple without the type
changing)
 - Legacy-Id: 17886
2020-05-26 15:46:05 +00:00
Ole Laursen 27ebc639f4 Fix bug in hex conversion (missing digit) in meetings schedule editor
by switching to rgb() notation instead - fixes problem with art area
not having a color
 - Legacy-Id: 17885
2020-05-26 15:20:13 +00:00
Henrik Levkowetz 29a8264647 Set version info and settings back to development mode
- Legacy-Id: 17881
2020-05-21 23:12:28 +00:00
Henrik Levkowetz 15bf49d4b3 Set version info to release version 7.1.0 before branching.
- Legacy-Id: 17879
2020-05-21 23:12:08 +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
Henrik Levkowetz 65c6a878f7 Merged in [17843] from housley@vigilsec.com:
Create slowpages cache for some very stable pages
 - Legacy-Id: 17874
Note: SVN reference [17843] has been migrated to Git commit f7886df212
2020-05-21 22:03:38 +00:00
Robert Sparks d87a1d009b Map some new urls. Create a new external resource type
- Legacy-Id: 17873
2020-05-21 21:46:51 +00:00
Robert Sparks 324be05151 added an XMPP URL validator
- Legacy-Id: 17872
2020-05-21 21:27:36 +00:00
Robert Sparks 8a0578040e Added better self-descriptive __str__ functions to PersonExtResource, GroupExtResource, and DocExtResource
- Legacy-Id: 17871
2020-05-21 20:59:44 +00:00
Robert Sparks 02e1226a03 Added appropriate Admin classes
- Legacy-Id: 17870
2020-05-21 20:48:03 +00:00
Robert Sparks b7f45dba05 added ways to see and edit PersonExtResources.
- Legacy-Id: 17869
2020-05-21 20:10:04 +00:00
Robert Sparks 38ba0f401d merged forward
- Legacy-Id: 17868
2020-05-21 18:30:48 +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 a3979c3cf7 Merged in [17838] from fenton@bluepopcorn.net:
Give IRSG at-large members balloting capability. Fixes #2979. Branch
 - Legacy-Id: 17863
Note: SVN reference [17838] has been migrated to Git commit c9bc6b43f0
2020-05-21 13:54:44 +00:00
Henrik Levkowetz 0240c5c0e6 Changed wording in one place on the NomCom Chair help page to be in line with menu entry and page title of the NomCom Settings page, based on feedback from Barbara Stark.
- Legacy-Id: 17861
2020-05-20 21:41:39 +00:00
Henrik Levkowetz ac52ce6595 Updated the NomCom eligibility calculation to use the last 5 in-person meetings, in accordance with draft-iesg-nomcom-eligibility-2020-03 which has now been approved for publication. The code will need revisiting when the long-term policy is available.
- Legacy-Id: 17859
2020-05-20 19:41:25 +00:00
Henrik Levkowetz 950f1822bc Refined the makeresources management command slightly to improve handling of models with names ending in 'Resource' -- tastypie requires the resource name to be explicitly set in that case.
- Legacy-Id: 17858
2020-05-20 19:38:44 +00:00
Robert Sparks 785f6243f1 explicit resource names for classes with the word resource in their name
- Legacy-Id: 17857
2020-05-20 18:28:05 +00:00
Henrik Levkowetz 5697c6ed72 Additional name changes for agenda_ical()
- Legacy-Id: 17856
2020-05-20 15:50:06 +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 2340f310c7 Changed the nomcom chair help page to show 4-digit years, rather than 2-digit
- Legacy-Id: 17854
2020-05-20 14:16:04 +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
Henrik Levkowetz cd7eeb238f Added a missing guard against attribute access on None.
- Legacy-Id: 17852
2020-05-20 10:28:09 +00:00
Henrik Levkowetz b88a9ccae0 Set version info and settings back to development mode
- Legacy-Id: 17850
2020-05-20 09:34:02 +00:00
Henrik Levkowetz cad36dbf83 Set version info to release version 7.0.0 before branching.
- Legacy-Id: 17848
2020-05-20 09:33:43 +00:00
Henrik Levkowetz 8fcfd2073a Added a migration where Django 2.0 captures more model information than 1.11 did.
- Legacy-Id: 17845
2020-05-20 07:31:35 +00:00
Henrik Levkowetz 420099d72a Added a template with-clause that was lost in merging.
- Legacy-Id: 17844
2020-05-20 07:11:50 +00:00
Russ Housley f7886df212 Create slowpages cache for some very stable pages
- Legacy-Id: 17843
2020-05-19 21:29:25 +00:00
Henrik Levkowetz ee103c99ec Merged in [17839] from rcross@amsl.com:
Fixed issue where any session request was referred to as Virtual
 - Legacy-Id: 17841
Note: SVN reference [17839] has been migrated to Git commit 95bb522693
2020-05-19 19:54:11 +00:00
Robert Sparks 7e57be2bd3 merged forward ^/personal/rjs/explore-extref
- Legacy-Id: 17840
2020-05-19 18:47:47 +00:00
Ryan Cross 95bb522693 Fixed issue where any session request was referred to as Virtual
- Legacy-Id: 17839
2020-05-19 17:42:11 +00:00
Jim Fenton c9bc6b43f0 Give IRSG at-large members balloting capability. Fixes #2979. Branch ready for merge.
- Legacy-Id: 17838
2020-05-19 16:34:24 +00:00
Tom Pusateri d275a78bce Add agenda_note and remote_instructions to agenda.json API. Commit ready for merge. Fixes #2955.
- Legacy-Id: 17835
2020-05-19 15:53:38 +00:00
Henrik Levkowetz d986c5b227 Merged in [17803] from rcross@amsl.com:
Made various changes to session request form, mostly removal of fields, to support virtual session requests. Also added settings.SECR_VIRTUAL_MEETINGS list.
 - Legacy-Id: 17829
Note: SVN reference [17803] has been migrated to Git commit d90d97d8cc
2020-05-19 12:13:37 +00:00
Henrik Levkowetz 0a885bfbb7 Fixed a test that incorrectly lookdef or author.name instead of author.plain_name()
- Legacy-Id: 17827
2020-05-19 09:13:00 +00:00
Henrik Levkowetz 3a963eaf29 Removed a future import
- Legacy-Id: 17818
2020-05-18 10:59:59 +00:00
Henrik Levkowetz 488ff08352 Merged in ^/personal/henrik/6.129.2-django2.0 which contains an upgrade of Django from 1.11 to 2.0, with the code changes needed.
- Legacy-Id: 17817
2020-05-18 06:50:50 +00:00
Henrik Levkowetz a44a80b068 Set version info and settings back to development mode
- Legacy-Id: 17815
2020-05-18 04:46:57 +00:00
Henrik Levkowetz 0f8eddff1a Set version info to release version 6.130.1 before branching.
- Legacy-Id: 17813
2020-05-18 04:46:34 +00:00
Henrik Levkowetz d36d717fe5 Removed some debug code.
- Legacy-Id: 17810
2020-05-17 19:46:14 +00:00
Henrik Levkowetz e87dd6b599 Merged in [17797] from rjsparks@nostrum.com:
Better use of group type in interim announcement tools. Fixes #2989.
 - Legacy-Id: 17809
Note: SVN reference [17797] has been migrated to Git commit 9ba71bebac
2020-05-17 19:44:39 +00:00
Henrik Levkowetz bc05e7a8d0 Refactored many instances of msg.get_payload(decode=True).decode('utf-8') and similar to get_payload_text(msg), which uses msg.get_charset() to get the actual charset to do the decoding, in a consistent manner. Also removed some instances of force_str, but more remain.
- Legacy-Id: 17807
2020-05-16 20:20:05 +00:00