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
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
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
Robert Sparks
b7f45dba05
added ways to see and edit PersonExtResources.
...
- Legacy-Id: 17869
2020-05-21 20:10:04 +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
8adae6176d
Improved a check for authenticated user.
...
- Legacy-Id: 16521
2019-07-18 19:30:01 +00:00
Henrik Levkowetz
831fb18f8a
Python2/3 compatibility: Added force_str or force_bytes in some places, to ensure the argument right type
...
- Legacy-Id: 16450
2019-07-15 15:49:35 +00:00
Henrik Levkowetz
d7f5c84182
Initial 2to3 patch with added copyright statement updates.
...
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz
8726e74709
Merged in a refactoring of document review code from rjsparks@nostrum.com. This introduces ReviewAssignments, letting us do multiple assingments for a given RevieRequest, without conflating the assignments and their results with the request itself.
...
- Legacy-Id: 16177
2019-04-30 16:54:06 +00:00
Henrik Levkowetz
bb4fe3fbbf
Undid previous commit
...
- Legacy-Id: 16153
2019-04-22 19:22:42 +00:00
Henrik Levkowetz
cfcefc2e32
Merged in [16144] from housley@vigilsec.com:
...
Remove some clutter from I-D upload page. The information was mived to the Instructions tab, but a higligh to the Note Well and BCP 78 was added. Fixes #2057 .
- Legacy-Id: 16151
Note: SVN reference [16144] has been migrated to Git commit 37851b9742
2019-04-22 17:39:26 +00:00
Robert Sparks
6a2cf42e5c
Don't allow users to edit the 'active' value for unknown-email-* addresses. Related to #2696 . Commit ready for merge.
...
- Legacy-Id: 16106
2019-03-27 09:15:06 +00:00
Robert Sparks
0856990683
Checkpoint. Most tests do not fail. Oddness with an API resource, and with one template's coverage
...
- Legacy-Id: 16031
2019-03-14 18:39:40 +00:00
Henrik Levkowetz
753f34fba1
Merged in [15702] from johnl@taugh.com:
...
Allow email as well as username when logging in.
- Legacy-Id: 15739
Note: SVN reference [15702] has been migrated to Git commit e4dd65d9f9
2018-11-08 06:42:32 +00:00
John R. Levine
e4dd65d9f9
Allow email as well as username when logging in. Commit ready for merge.
...
- Legacy-Id: 15702
2018-11-03 09:35:55 +00:00
Henrik Levkowetz
c305498903
Prevent issues for logins without Person records by not letting Person-less users through login.
...
- Legacy-Id: 15528
2018-10-07 19:35:54 +00:00
Henrik Levkowetz
9067a2da7c
Fixed an issue where a user record without matching person record will cause an exception.
...
- Legacy-Id: 15478
2018-09-20 18:04:23 +00:00
Henrik Levkowetz
a5cc83ccb4
Fixed an issue with login().
...
- Legacy-Id: 15474
2018-09-19 15:22:44 +00:00
Henrik Levkowetz
4fba531e9e
Merged in the latest GDPR changes. This refines the handling of the consent checkbox on the account page; refines the Consent Needed warning given on login if consent is needed; tweaks several models to set the on_deletion fields for FK to User and Person appropriately; adds a Person.needs_consent() method to capture the logic of which fields require consent; refines the Person.plain_name() method and the user.log.log() function; and adds 2 management commands to send out consent requests and delete non-consent information, respectively.
...
- Legacy-Id: 15464
2018-09-16 23:12:43 +00:00
Henrik Levkowetz
50632482ea
Improved the wording of the consent required login warnin. Refactored the login view to use Person.needs_consent() instead of inline logic.
...
- Legacy-Id: 15260
2018-06-14 19:27:03 +00:00
Henrik Levkowetz
bf3074e493
Changed an attribute guard to work with a reverse relationship attribute (using hasattr()).
...
- Legacy-Id: 15251
2018-06-14 04:35:04 +00:00
Henrik Levkowetz
5f7fb2e0bd
Added a guard against trying to access attributes of a None object.
...
- Legacy-Id: 15236
2018-06-09 13:20:14 +00:00
Henrik Levkowetz
cf0061c3a0
Fixed logic of gathering which personal information needs consent confirmation in the code that requests consent on login.
...
- Legacy-Id: 15218
2018-06-06 15:13:34 +00:00
Henrik Levkowetz
adb47d595a
Fixed an issue with user.is_authenticated being used as a method rather than a property.
...
- Legacy-Id: 15212
2018-06-04 16:53:30 +00:00
Henrik Levkowetz
ad34a88b31
Added a request to give consent for non-LI information on user login. Addresses issue #2505 .
...
- Legacy-Id: 15211
2018-06-04 15:35:25 +00:00
Henrik Levkowetz
2fd1f81749
Added assignment of email origin in another place.
...
- Legacy-Id: 15175
2018-05-26 08:36:50 +00:00
Henrik Levkowetz
5f37a71889
Added origin information to all places where we create email address entries.
...
- Legacy-Id: 15127
2018-05-05 12:40:30 +00:00
Henrik Levkowetz
e7209c6e50
Added a new personal event table to keep track of personal API key logins, and a management command to send out reports about activity to users with API keys. Added a weekly cronjob script to trigger weekly reports, and a monthly script for future use. Added a @require_api_key decorator to validate API keys for API key views and log in the API key owner. Modified the API key management urls to use create and disable rather than add and delete. Updated the API key list view. Added an API placeholder view function for ballot position setting, for test purposes. Added tests for the decorator and management command.
...
- Legacy-Id: 14426
2017-12-16 18:37:52 +00:00
Henrik Levkowetz
152261a869
Added new infrastructure for personal API keys, to generate, view, and delete them.
...
- Legacy-Id: 14423
2017-12-14 14:30:59 +00:00
Robert Sparks
dc20598999
Show whether a person is nomcom eligible on their edit_profile page. Related to #2257 and #2323 . Commit ready for merge.
...
- Legacy-Id: 14086
2017-08-28 19:28:44 +00:00
Lars Eggert
8a70e9773d
Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
...
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Henrik Levkowetz
ce9f879500
Create all appropriate aliases when a Person record is created, both in ietfauth and in PersonFactory.
...
- Legacy-Id: 12958
2017-03-03 19:42:16 +00:00
Henrik Levkowetz
a94c33fd6e
Added an alert on the login form, to be shown if a user's password has been cleared. Adjusted url reverse strings to match the changed view function.
...
- Legacy-Id: 12918
2017-02-25 15:50:47 +00:00
Henrik Levkowetz
858d855eff
Changed the new account creation to require a proper name at the same time as the account password is set, before actually creating the account. Also tweaked the password strength and confirmation code.
...
- Legacy-Id: 12892
2017-02-20 16:50:39 +00:00
Henrik Levkowetz
efc77762be
Added the ability for logged-in users to change their login (username) to any of the active email addresses of the account. Fixes ticket #2052 .
...
- Legacy-Id: 12843
2017-02-15 16:59:23 +00:00
Henrik Levkowetz
0f4207c997
Added support for indicating the primary email address of one's datatracker account. Fixes issue #2106 .
...
- Legacy-Id: 12841
2017-02-15 01:32:08 +00:00
Henrik Levkowetz
7dea44e626
Added a change password page, and linked to it from the account profile page and user menu. Added zxcvbn-based browser-side password strength estimation on the various password setting, re-setting, and changing forms. Added a change password test. Changed ietfauth/urls.py to not use the deprecated string form for views in urlpatterns.
...
- Legacy-Id: 12798
2017-02-09 17:03:44 +00:00
Henrik Levkowetz
db1cc15f1f
Undid last commit
...
- Legacy-Id: 12792
2017-02-08 18:03:29 +00:00
Henrik Levkowetz
15628c698f
Tweaked the IPR Details page to show the possible a), b), and c) choices under section 'V' when licensing declaration to be provided later has been chosen.
...
- Legacy-Id: 12791
2017-02-08 18:02:03 +00:00
Henrik Levkowetz
fa684cf6d2
Merged in [12541] from rjsparks@nostrum.com:
...
Provide default filters for reviewer settings. Fixes #2093 .
- Legacy-Id: 12546
Note: SVN reference [12541] has been migrated to Git commit df86798cf3
2016-12-15 21:57:46 +00:00
Ole Laursen
4c7b2847ba
Add a utility function for extracting information about review
...
requests for a given set of teams/reviewers (making it trivial to
compute statistics), revamp the related doc event code to support this
by referencing the review request directly, add a reviewer overview
page with recent performance for each reviewer as well as
settings/unavailable periods. Fix some bugs and shuffle some of the
review code a bit around.
Finish the importer from the previous Perl-based review tool,
importing log entries, figuring out whether a given review is
early/telechat/last call and fixing corner cases.
- Legacy-Id: 12080
2016-10-03 15:52:32 +00:00
Ole Laursen
6da25e6bd9
Add personal review overview page for reviewers, add page for editing
...
reviewer availability settings, emailing the reviewer/secretary as
necessary, add tests for these pages. Fix a bunch of bugs.
- Legacy-Id: 11998
2016-09-19 16:05:32 +00:00
Henrik Levkowetz
016f912ef7
Changed some field names from address to email.
...
- Legacy-Id: 11385
2016-06-15 15:49:28 +00:00
Henrik Levkowetz
fed2a04445
Increased the requirements for account creation, and added a form where the secretariat can add whitelisting to make account creation possible for addresses that don't fulfil the default requirements.
...
- Legacy-Id: 11374
2016-06-14 21:39:12 +00:00
Henrik Levkowetz
fcd8f55117
Added person.plain_name() to the name aliases.
...
- Legacy-Id: 11297
2016-06-09 21:48:04 +00:00
Henrik Levkowetz
aa4ddc00e2
Limited the biography and photo uploading to people who have been assigned a role.
...
- Legacy-Id: 11283
2016-06-06 12:42:24 +00:00
Ole Laursen
b83e0d2c78
Unify the URL name handling in ietfauth, i.e. just refer directly to
...
the view behind the URL instead of naming it.
- Legacy-Id: 11172
2016-05-06 12:58:10 +00:00
Ole Laursen
4d4cf93f22
Make password reset use username throughout and reword the reset page
...
so it's clear that one has to enter the account name and not just any
email address associated with the account.
- Legacy-Id: 11171
2016-05-06 12:32:11 +00:00
Ole Laursen
dedb00b0a5
Control the tests of adding user passwords to the htpasswd file better
...
fixing a bug in the tests and add separate tests of the Python-based
approach and the htpasswd binary
- Legacy-Id: 11170
2016-05-06 12:11:20 +00:00