Commit graph

9888 commits

Author SHA1 Message Date
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 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
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
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
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
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
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
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
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
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