Commit graph

9897 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 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
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
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
Henrik Levkowetz 0bc19f0c7c Added group chair/secretary role information to the personal meetecho key API.
- Legacy-Id: 17806
2020-05-16 15:58:40 +00:00
Ryan Cross db6ce662f5 Fix typo in custom template filter
- Legacy-Id: 17804
2020-05-16 00:19:33 +00:00
Ryan Cross d90d97d8cc 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: 17803
2020-05-15 23:48:06 +00:00
Henrik Levkowetz 6bb0a33a8d Fleshed out a review test slightly, and did some refactoring.
- Legacy-Id: 17801
2020-05-15 14:51:25 +00:00
Henrik Levkowetz 6318d49b40 Added an utility function to get email payload as unicode text.
- Legacy-Id: 17800
2020-05-15 14:50:22 +00:00
Henrik Levkowetz 2b68095b82 Merged in [17794] from mark@painless-security.com:
Add the 'msg' variable for interpolation on reviewer availability change emails, and reformat the add-a-period email.  Fixes #2891.
 - Legacy-Id: 17799
Note: SVN reference [17794] has been migrated to Git commit 96bc71f51f150cec7043aca60d0156d35847019b
2020-05-15 11:33:03 +00:00
Henrik Levkowetz 3b99992083 Merged in [17722] from mark@painless-security.com:
Remove the 'experimental' verbiage from the references / referenced by pages.  Fixes #2857.
 - Legacy-Id: 17798
Note: SVN reference [17722] has been migrated to Git commit 52c7d13f2aff6e8e92eec821e3123da6e5277c84
2020-05-15 08:33:16 +00:00
Robert Sparks 9ba71bebac Better use of group type in interim announcement tools. Fixes #2989. Commit ready for merge.
- Legacy-Id: 17797
2020-05-14 22:38:02 +00:00
Henrik Levkowetz aa9db4995a Disabled a test that is unreliable under Django 2.
- Legacy-Id: 17795
2020-05-14 15:57:21 +00:00
Henrik Levkowetz 3439f3d42c Tweaked a log.assertion() case.
- Legacy-Id: 17793
2020-05-14 15:47:41 +00:00
Henrik Levkowetz c9f69f1869 Fixed a bug in upcoming()
- Legacy-Id: 17791
2020-05-13 12:57:58 +00:00
Henrik Levkowetz ddca2128b5 Set version info and settings back to development mode
- Legacy-Id: 17789
2020-05-13 00:22:20 +00:00
Henrik Levkowetz f2f232fa3a Set version info to release version 6.130.0 before branching.
- Legacy-Id: 17787
2020-05-13 00:21:59 +00:00
Henrik Levkowetz 154876a12a Merged in ^/trunk@17782 (just ahead of release 6.130.0)
- Legacy-Id: 17783
2020-05-12 15:54:46 +00:00
Henrik Levkowetz 4f4c3fd980 Based on [17694] from mark@painless-security.com, this merges in a set of changes that provides agenda-like details on session meeting view, and fixes issue #2751. It also aligns the styling of materials and resources link lists on the upcoming meetings and ietf agenda pages, and adds calendar symbols with links and recordings symbols with links to interim meeting pages.
- Legacy-Id: 17782
Note: SVN reference [17694] has been migrated to Git commit 4df7e5531f8273892c71a363cf328bb324585204
2020-05-12 13:35:57 +00:00
Henrik Levkowetz da6a0d83f1 Reworded the instructions for submission tool bug reporting and manual posting to avoid reports going to the wrong address.
- Legacy-Id: 17779
2020-05-11 19:43:50 +00:00
Henrik Levkowetz aa4bee7a19 Added set-up and tear-down of test directores for HasMeetingsTests
- Legacy-Id: 17776
2020-05-11 14:41:42 +00:00
Henrik Levkowetz 9a72f1b031 Updates names.json fixture, to capture the latest state of the database (minor changes only).
- Legacy-Id: 17774
2020-05-11 14:22:23 +00:00
Henrik Levkowetz a26ace5bfa Merged in [17764] from rjsparks@nostrum.com:
Allow IAB programs to use normal meeting mechanics. Fixes #2970.
 - Legacy-Id: 17773
Note: SVN reference [17764] has been migrated to Git commit fb8e5c6842
2020-05-11 11:41:22 +00:00
Henrik Levkowetz b04171b526 Added guards against using attributes of None in a couple of places.
- Legacy-Id: 17772
2020-05-10 15:47:24 +00:00
Henrik Levkowetz 111d27486f Added a pyflakes:ignore
- Legacy-Id: 17771
2020-05-10 14:25:27 +00:00
Henrik Levkowetz 0daddb5b91 Changed a log.assertion() to provide more information about the unexpected situation.
- Legacy-Id: 17770
2020-05-10 14:17:23 +00:00
Henrik Levkowetz 26e85ce53b Added a catch for malformed apikey input.
- Legacy-Id: 17769
2020-05-10 14:16:22 +00:00
Henrik Levkowetz 02804ba163 Fixed a case of too few format string parameters.
- Legacy-Id: 17768
2020-05-10 14:14:50 +00:00
Henrik Levkowetz 81197f044c Tweaked a 404 message to differentiate between two not-found cases.
- Legacy-Id: 17767
2020-05-10 14:13:39 +00:00
Henrik Levkowetz ae7c7707f0 Tweaked the interim_session_buttons template, bringing it closer to the session_buttons_include template.
- Legacy-Id: 17766
2020-05-10 14:09:40 +00:00
Robert Sparks fb8e5c6842 Allow IAB programs to use normal meeting mechanics. Fixes #2970. Commit ready for merge.
- Legacy-Id: 17764
2020-05-08 21:11:25 +00:00
Henrik Levkowetz 6d7c5b52ee Django 2.0 conversion. Test suite passes, except for javascript tests.
- Legacy-Id: 17762
2020-05-08 13:07:07 +00:00
Henrik Levkowetz 29ccca849a Added a second link to htmlized draft content (on the datatracker) in addition to the link to the tools hosted htmlized document.
- Legacy-Id: 17760
2020-05-06 18:23:47 +00:00
Henrik Levkowetz 95233536ff Fixed some instances of invalid html.
- Legacy-Id: 17758
2020-05-06 13:47:00 +00:00
Henrik Levkowetz 01027b977c Set version info and settings back to development mode
- Legacy-Id: 17756
2020-05-06 13:31:14 +00:00
Henrik Levkowetz e485d7f4a1 Set version info to release version 6.129.1 before branching.
- Legacy-Id: 17754
2020-05-06 13:30:46 +00:00
Henrik Levkowetz 42473ecfb4 Moved the agenda-popup template include for the meeting agenda page into the button-list include, to simplify agenda.html. Reduced variable dereferencing one level in many places in the agenda-popup template. Changed the look of the session-agenda links to reduce the business of the IETF agenda page and match the look of the upcoming meetings page.
- Legacy-Id: 17749
2020-05-05 16:03:54 +00:00
Henrik Levkowetz 2bace097ae Updated the interim meeting agenda-links template to show appropriate things both for past and future meetings. Added support for items with video_stream() set, to support future meetecho streamed interims.
- Legacy-Id: 17748
2020-05-05 15:59:17 +00:00
Henrik Levkowetz 7ea7ea0311 Whitespace changes only. Reindented and reformatted a template.
- Legacy-Id: 17747
2020-05-05 15:56:02 +00:00