Commit graph

12109 commits

Author SHA1 Message Date
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 73a0627bf1 Changed the settings_local.py for the docker image to use the database type enforced in docker/updatedb
- Legacy-Id: 17952
2020-06-09 18:55:59 +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 f06ab575ec Updated release coverage
- Legacy-Id: 17948
2020-06-09 11:52:40 +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 7e15a1353c Changelog entry for 7.3.0
- Legacy-Id: 17943
2020-06-08 20:18:04 +00:00
Henrik Levkowetz a94630636f Code coverage data for release 7.3.0
- Legacy-Id: 17942
2020-06-08 20:17:44 +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 37cd5daaed Updated patch for oidc_provider, to remove tzinfo in a default datetime value.
- Legacy-Id: 17931
2020-06-08 19:12:14 +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 936a192885 Changelog entry for 7.2.0
- Legacy-Id: 17926
2020-06-07 12:08:04 +00:00
Henrik Levkowetz ff1f092206 Code coverage data for release 7.2.0
- Legacy-Id: 17925
2020-06-07 12:07:50 +00:00
Henrik Levkowetz a3bc062952 Added cleanout of local tables missing from db dump (assuming they have been created by migrations) and added new switches --no-load and --no-zap to docker/updatedb
- Legacy-Id: 17924
2020-06-07 11:45:47 +00:00
Henrik Levkowetz f9ad2346bc Updated patch for oicd_provider char field size
- Legacy-Id: 17923
2020-06-07 11:42:57 +00:00
Henrik Levkowetz 48d1cd8bb6 Increased the required version of request-profiler and updated its patch file.
- Legacy-Id: 17922
2020-06-06 21:15:10 +00:00
Henrik Levkowetz 5139027170 Updated release coverage.
- Legacy-Id: 17921
2020-06-06 21:02:54 +00:00
Henrik Levkowetz 0e24e99628 Added patches for some issues with the oic and oidc-provider modules, and updated a patch for request-profiler.
- Legacy-Id: 17920
2020-06-06 21:02:30 +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 516f41e5d7 Excluded a majority of htmlized drafts at /doc/html (but keeping some for testing) in order to reduce the crawl time.
- Legacy-Id: 17918
2020-06-06 20:58:04 +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
Henrik Levkowetz d4106f38c9 Added a couple of functions to debug.py
- Legacy-Id: 17912
2020-06-06 20:12:00 +00:00
Henrik Levkowetz 4de5722905 Patched a bug in pyjwkest.jwt which would cause a root logger handler to be created if none existed, resulting in logging in following code being emitted even if intentionally set up to be visible. (See https://github.com/IdentityPython/pyjwkest/pull/97 , created to fix this upstream)
- Legacy-Id: 17911
2020-06-06 16:19:14 +00:00
Henrik Levkowetz b27d5198bd Patched a bug in pyjwkest.jwt which would cause a root logger handler to be created if none existed, resulting in logging in following code being emitted even if intentionally set up to be visible. (See https://github.com/IdentityPython/pyjwkest/pull/97 , created to fix this upstream)
- Legacy-Id: 17910
2020-06-06 16:18:45 +00:00
Henrik Levkowetz 4e79500df8 Added a download-only switch to docker/updatedb
- Legacy-Id: 17909
2020-06-05 11:54:51 +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