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
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
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
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
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