Robert Sparks
3697180cc1
Reverted merge of timezone-aware migration efforts.
...
- Legacy-Id: 18792
2021-01-12 16:54:20 +00:00
Henrik Levkowetz
774e752a54
Snapshot of timezone-aware datatracker code. Tests pass, and the test-crawler shows only expected differences. Trunk changes merged in up to r18768.
...
- Legacy-Id: 18770
2020-12-16 23:53:37 +00:00
Henrik Levkowetz
f41fd1867d
Upgraded the required versions of mypy and django-stubs to the latest that support Django 2.2. Fixed some issues found by after the upgrades.
...
- Legacy-Id: 18717
2020-11-22 21:13:36 +00:00
Henrik Levkowetz
bee0dc9aa1
Added a person name validation step to prevent names using 'anonymous'.
...
- Legacy-Id: 18597
2020-10-11 15:10:27 +00:00
Henrik Levkowetz
ac5e88b82b
Added a context processor to make settings generally available in page templates. Split the SECRETARIAT_TICKET_EMAIL setting into SECRETARIAT_ACTION_EMAIL and SECRETARIAT_INFO_EMAIL, with different addresses. Updated places with hardcoded ietf-action@ietf.org addresses to use the settings value, and updated some places to use ietf-infor@ietf.org instead of the ietf-action address. Fixes issue #3081 .
...
- Legacy-Id: 18501
2020-09-17 11:10:27 +00:00
Henrik Levkowetz
2956d51ee9
Updated coverage data and tweaked an OpenIDtest and scope description.
...
- Legacy-Id: 18485
2020-09-11 10:48:44 +00:00
Henrik Levkowetz
e6f6f4697a
OpenID already has a photo URL as part of the 'profile' scope. Added the the datatracker photo url to the returned OpenID 'profile' scope information when a profile photo is available.
...
- Legacy-Id: 18484
2020-09-10 21:45:21 +00:00
Henrik Levkowetz
57938b039d
Converted many cases of plain-text 403 messages to use a properly styled page instead, with a login link when appropriate. Also changed some API endpoint 400 responses to a more correct 403.
...
- Legacy-Id: 18339
2020-08-06 10:59:52 +00:00
Henrik Levkowetz
e4bc508abc
Merged in [18298] from rjsparks@nostrum.com:
...
Convert IRTF area groups into their own group type rather than attempting to overload AG. Fixes #3027 .
- Legacy-Id: 18320
Note: SVN reference [18298] has been migrated to Git commit 2b10465aa7
2020-07-30 14:27:17 +00:00
Henrik Levkowetz
8ac37a3f51
Added some normalisation of the reg_type and ticket_type entries in the OIDC registration scope.
...
- Legacy-Id: 18301
2020-07-28 21:04:28 +00:00
Robert Sparks
2b10465aa7
Convert IRTF area groups into their own group type rather than attempting to overload AG. Fixes #3027 . Commit ready for merge.
...
- Legacy-Id: 18298
2020-07-28 18:54:44 +00:00
Henrik Levkowetz
ae6513f1c9
Improved the handling in the OpenID Connect userinfo response of multiple meeting registrations with different email addresses for the same person.
...
- Legacy-Id: 18286
2020-07-28 14:01:20 +00:00
Henrik Levkowetz
606cedd796
Merged in the ExtResource work from rjsparks@nostrum.com, based on a feature request and contributions from rsalz@akamai.com. This provides external resource models for Person, Group, and Document models, as a generalisation of the previous related-URL concept. This provides a consistent labelling and classification of URLs and other resources related to a Group, Document, or Person. The GroupURL (and similar) classes will be removed in a later step. Some DocumentURL instances (such as auth48 URLs) remain to convert, as they have come in with other merged-in work while the ExtResource work was in transit.
...
- Legacy-Id: 18192
2020-07-20 01:58:26 +00:00
Henrik Levkowetz
d8b11c4293
Removed an unused and unnecessary API endpoint, now that gather.town has gotten OpenID Connect authentication working.
...
- Legacy-Id: 18190
2020-07-17 19:33:15 +00:00
Henrik Levkowetz
1239e91b72
Removed a duplicate management command.
...
- Legacy-Id: 18188
2020-07-17 15:57:23 +00:00
Robert Sparks
6227162e53
Updated mgmt command to find github repos to back up. Improved test coverage of branch changes. Branch ready for merge.
...
- Legacy-Id: 18163
2020-07-13 17:36:34 +00:00
Robert Sparks
99df95d542
Cleaned up created names. Improved validation during migration. Cleaned up migration output. Cleaned the last of the awp includes from secr views. Removed now unused secr templates. Build extresource urls correctly during submission and when creating group wikis.
...
- Legacy-Id: 18158
2020-07-13 16:03:39 +00:00
Henrik Levkowetz
c6cdbf8ca8
Added a new field Person.plain as a fallback for names where plain_name() produces the wrong result. Fixes issue #3020 .
...
- Legacy-Id: 18147
2020-07-11 20:22:23 +00:00
Robert Sparks
53f7bc3ce6
migrated forward
...
- Legacy-Id: 18144
2020-07-09 21:07:05 +00:00
Henrik Levkowetz
62e1a17579
Fixed an issue with openid_userinfo() for persons with no email address.
...
- Legacy-Id: 18105
2020-06-30 13:50:02 +00:00
Henrik Levkowetz
94d2171c22
Removed unused imports.
...
- Legacy-Id: 18088
2020-06-27 17:38:43 +00:00
Henrik Levkowetz
cb9006eb26
Changed skip messages from test suites to use print() instead of sys.stderr.write(), to match other output from the test runner.
...
- Legacy-Id: 18087
2020-06-27 17:32:02 +00:00
Henrik Levkowetz
8c90c53463
Added meeting registration 'affiliation' field to the OAuth2 'registration' scope, so that Meetecho will have the information needed build bluesheets.
...
- Legacy-Id: 18070
2020-06-26 19:26:28 +00:00
Henrik Levkowetz
dc5ca4eebc
Merged in Django 2.1 upgrade changes.
...
- Legacy-Id: 18060
2020-06-24 20:51:00 +00:00
Henrik Levkowetz
7c7c5da39f
Changed the 2.1 removed django.contrib.auth.views.logout to LogoutView.
...
- Legacy-Id: 18052
2020-06-24 20:36:46 +00:00
Robert Sparks
bf53bf1057
Merged forward. Added some missing parts to the XMPPURLValidator.
...
- Legacy-Id: 18050
2020-06-24 19:01:45 +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
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
b03b2e2477
Tweaked the OpenID Connect 'profile' grant description.
...
- Legacy-Id: 17980
2020-06-13 21:29:37 +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
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
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
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
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
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
4139d17308
Added a factory function OidClientRecordFactory for OpenID testing
...
- Legacy-Id: 17914
2020-06-06 20:15:18 +00:00
Robert Sparks
b7f45dba05
added ways to see and edit PersonExtResources.
...
- Legacy-Id: 17869
2020-05-21 20:10:04 +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
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
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
69a5d0817d
Refined the GUI for personal API endpoints so that endpoints for which one does not have the right Roles do not show in the GUI, and added a supporting method on Person objects. Updated tests accordingly.
...
- Legacy-Id: 17643
2020-04-15 17:22:06 +00:00
Henrik Levkowetz
726fcbf27d
Removed all __future__ imports.
...
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz
566971a6ae
Removed further six usage.
...
- Legacy-Id: 17386
2020-03-05 15:10:33 +00:00
Peter E. Yee
bb7e504d14
12/13 merged into 6.113.1.dev0 with migration ordering failure
...
- Legacy-Id: 17149
2019-12-13 19:53:45 +00:00
Henrik Levkowetz
b7724c43d7
Changed some # type: ignore statements to work with the latest mypy
...
- Legacy-Id: 16968
2019-11-05 22:41:18 +00:00
Henrik Levkowetz
77abc3868e
Type checking tweaks.
...
- Legacy-Id: 16867
2019-10-15 16:54:33 +00:00
Henrik Levkowetz
33e8733b91
Fixed up mypy issues or added type:ignore comments as needed for a clean mypy run.
...
- Legacy-Id: 16772
2019-09-30 15:42:18 +00:00