Commit graph

9842 commits

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