Henrik Levkowetz
726fcbf27d
Removed all __future__ imports.
...
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz
ab173cb2eb
Removed further six usage: six.string_types, six.integer_types, six.moves.urllib instances.
...
- Legacy-Id: 17390
2020-03-05 20:46:58 +00:00
Henrik Levkowetz
e9a37d8ac8
Removed six.text_type(), changed six.moves.urllib to plain urllib, and removed now unused six imports.
...
- Legacy-Id: 17385
2020-03-05 14:41:41 +00:00
Henrik Levkowetz
e9d3809099
Refined the links from document stats pages to author pages so as to not link to non-existent pages. Fixes 404 errors in the test crawler logs.
...
- Legacy-Id: 17237
2020-01-17 00:49:01 +00:00
Henrik Levkowetz
fb3645fcb5
Merged in [17178] from housley@vigilsec.com:
...
Turn text names into links on the stats pages. Fixes #2854
- Legacy-Id: 17190
Note: SVN reference [17178] has been migrated to Git commit dd07878bb0
2020-01-07 13:52:21 +00:00
Henrik Levkowetz
b14cba5f15
Refactored some document methods to align better with Django's get_absolute_url(), and added Person.get_absolute_uri()
...
- Legacy-Id: 17189
2020-01-07 13:33:02 +00:00
Russ Housley
dd07878bb0
Turn text names into links on the stats pages. Fixes #2854
...
- Legacy-Id: 17178
2020-01-03 21:50:24 +00:00
Henrik Levkowetz
6482254a03
Merged in ^/branch/akayla/irsg/6.113.1.dev0 from peter@akayla.com.
...
This provides support for IRSG ballots, similar to the IESG ballots support which has been in use for quite some time. The IRSG ballots differ from IESG ballots in a number of ways, described in detail in the RFP and SoW for this work and implemented here.
- Legacy-Id: 17164
2019-12-20 15:00:55 +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
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
Henrik Levkowetz
dc6201eeeb
Made sure Person.active_drafts() and .expired_drafts() don't return duplicate entries. Fixes issue #2784 .
...
- Legacy-Id: 16665
2019-08-20 22:43:51 +00:00
Henrik Levkowetz
8e313e4ed5
Adjusted migrations for Python2/3 compatibility.
...
- Legacy-Id: 16633
2019-08-08 17:11:14 +00:00
Henrik Levkowetz
e03784132d
Merged changes from current trunk to Py3 branch.
...
- Legacy-Id: 16468
2019-07-16 15:36:16 +00:00
Henrik Levkowetz
bdc73e771a
Python2/3 compatibility: replaced six.ensure_text() with either six.text_type or django's force_text(), depending on the case, and fixed a variable scope issue.
...
- Legacy-Id: 16461
2019-07-16 13:20:05 +00:00
Henrik Levkowetz
ef4a41c14b
Fixed a bytes/str issue with the arguments to syslog.openlog()
...
- Legacy-Id: 16460
2019-07-16 13:18:37 +00:00
Henrik Levkowetz
8c6eb3a30a
Python2/3 compatibility: Changed the use of open() and StringIO to io.open() etc.
...
- Legacy-Id: 16458
2019-07-15 19:14:04 +00:00
Henrik Levkowetz
2d7c9629aa
Added 'from __future__' imports all over the place, to bring code behaviour into closer alignment between python2 and python3
...
- Legacy-Id: 16446
2019-07-15 15:40:51 +00:00
Henrik Levkowetz
edc1da3023
Added a validation step for SearchablePersonField, to avoid later server 500 errors on bad input.
...
- Legacy-Id: 16433
2019-07-08 18:14:05 +00:00
Henrik Levkowetz
f481f5c3e6
Replaced use of six with the equivalent pure python3 constructs.
...
- Legacy-Id: 16428
2019-07-08 10:43:47 +00:00
Henrik Levkowetz
0679eaa8d4
Removed unused imports.
...
- Legacy-Id: 16402
2019-07-04 21:06:57 +00:00
Henrik Levkowetz
f480799af9
Undid unintentional bulk commit
...
- Legacy-Id: 16401
2019-07-04 21:04:46 +00:00
Henrik Levkowetz
fc09a59950
Added decode() of command pipe output.
...
- Legacy-Id: 16400
2019-07-04 21:01:39 +00:00
Henrik Levkowetz
0589d0b313
Changed a bunch of regexes to use r strings; also miscellaneous smaller fixes.
...
- Legacy-Id: 16376
2019-07-04 15:51:05 +00:00
Henrik Levkowetz
942fc7f907
Fixed a bad call argument to FeedbackFactory
...
- Legacy-Id: 16351
2019-07-01 12:01:02 +00:00
Henrik Levkowetz
05f275a3af
Changed instances of json.loads(r.content) to r.json(). Changed some instances of assert* to assertContains.
...
- Legacy-Id: 16338
2019-06-30 20:44:45 +00:00
Henrik Levkowetz
484dcece5f
Changed all model __unicode__() methods to __str__()
...
- Legacy-Id: 16330
2019-06-28 21:07:08 +00:00
Henrik Levkowetz
e66c0243d5
Updated PersonalApiKey models with correct python3 unicode/bytes handling.
...
- Legacy-Id: 16322
2019-06-28 13:35:37 +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
7270d5f67a
Added the option to order API resource lists by primary key, for stable ordering when paging through a list.
...
- Legacy-Id: 16284
2019-06-18 12:40:19 +00:00
Henrik Levkowetz
9bfb488110
After having test_duplicate_person_name() fail for a non-ascii name, changed the test to always supply a non-ascii name.
...
- Legacy-Id: 16180
2019-05-01 21:34:59 +00:00
Henrik Levkowetz
4e8ef492fc
Modified the rolodex code to make sure we capture information about the origin of email addresses if they are added by the secretariat, to ensure GPR compliance.
...
- Legacy-Id: 15898
2019-01-18 18:27:29 +00:00
Henrik Levkowetz
5abcec4441
Added a bit of name normalization for test factory person names.
...
- Legacy-Id: 15888
2019-01-14 20:50:52 +00:00
Henrik Levkowetz
d6caf615e0
Added testing of test_unidecode() and another name_parts() test case, and removed some debug.statements.
...
- Legacy-Id: 15771
2018-11-13 19:31:18 +00:00
Henrik Levkowetz
0735021d2b
Added a test for various name part combinations, and fixed a couple of issues with utils.name.name_parts().
...
- Legacy-Id: 15753
2018-11-11 15:12:20 +00:00
Henrik Levkowetz
888a39b3aa
Added a migration for the additional API endpoint for PersonalApiKey.
...
- Legacy-Id: 15571
2018-10-14 22:38:18 +00:00
Henrik Levkowetz
8f073efb13
Merged in [15551] from rjsparks@nostrum.com:
...
Used factories instead of make_test_data for malinglists, mailtrigger, message, person, secr/announcement, and secr/areas tests.
- Legacy-Id: 15555
Note: SVN reference [15551] has been migrated to Git commit 5c57cf1b91
2018-10-11 10:49:55 +00:00
Robert Sparks
5c57cf1b91
Used factories instead of make_test_data for malinglists, mailtrigger, message, person, secr/announcement, and secr/areas tests. Commit ready for merge.
...
- Legacy-Id: 15551
2018-10-10 05:36:34 +00:00
Henrik Levkowetz
8f2ba33059
Merged in [15263], [15264], [15265], [15287] from rcross@amsl.com:
...
Added new custom API endpoints for export of person data, restricted
to secretariat use. Added a test for the new custom API.
- Legacy-Id: 15543
Note: SVN reference [15263] has been migrated to Git commit 8e7e0faf529db057ac4f7496d0bc84fb05f0625d
Note: SVN reference [15264] has been migrated to Git commit e6549635650d4d9f9a9de7c5b4711f5a4a25c42c
Note: SVN reference [15265] has been migrated to Git commit 7c0e97f824b874763550adf1647841129017bf5a
Note: SVN reference [15287] has been migrated to Git commit 7431bdfcd9f2213c812a9004162ca576ae230a94
2018-10-08 14:23:51 +00:00
Henrik Levkowetz
1cb567f234
Fixed some pyflakes issues.
...
- Legacy-Id: 15506
2018-09-29 20:22:03 +00:00
Henrik Levkowetz
5318c03b54
Added a PersonEvent type for email address deactivation.
...
- Legacy-Id: 15503
2018-09-29 20:06:33 +00:00
Henrik Levkowetz
9b7c18d994
Tweaked PersonAdmin to show name_from_draft after the name field.
...
- Legacy-Id: 15502
2018-09-29 20:05:33 +00:00
Henrik Levkowetz
437418ed36
Added a management command to deactivate email addresses found in delivery-status emails or given on the command-line.
...
- Legacy-Id: 15501
2018-09-29 19:42:34 +00:00
Henrik Levkowetz
bf3b1f7a45
Added 'consent' to the fields handled when merging person records.
...
- Legacy-Id: 15488
2018-09-27 12:31:29 +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
75f703578c
Tweaked the Person.needs_consent() method to take historic roles into account and to handle records without associated usesrs.
...
- Legacy-Id: 15459
2018-09-16 13:49:25 +00:00
Henrik Levkowetz
44d4d76092
Added a migration to capture a change in on_delete for the Person.user field.
...
- Legacy-Id: 15457
2018-09-16 13:46:28 +00:00
Henrik Levkowetz
74359e9538
Refined Person.plain_name() to avoid leading or trailing spaces when only one name component is present.
...
- Legacy-Id: 15456
2018-09-16 13:44:27 +00:00
Henrik Levkowetz
cf82379503
Undid unintentional commit
...
- Legacy-Id: 15455
2018-09-14 20:31:17 +00:00
Henrik Levkowetz
89b8fe6c1b
Moved document methods rfc_number() and rfcnum() to the abstract parent class to have them available also for historical document records. Should fix the recent server 500 on /doc/draft-ietf-aaa-diameter/17/.
...
- Legacy-Id: 15454
2018-09-14 20:29:07 +00:00
Henrik Levkowetz
6dacd694bc
More name normalization
...
- Legacy-Id: 15452
2018-09-13 18:58:30 +00:00