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
Henrik Levkowetz
0ca9ec769c
Added a None guard for the person merge last_login date comparison. Fixes issue #2562
...
- Legacy-Id: 15418
2018-07-30 16:57:59 +00:00
Henrik Levkowetz
0df2c0dee8
Tweaked unidecode_name() to avoid double-quotes in the ascii string.
...
- Legacy-Id: 15256
2018-06-14 15:06:08 +00:00
Henrik Levkowetz
dbe9211963
Tweaked unidecode_name() to not produce single-letter ascii surnames from non-ascii codepoints. The unidecode transliteration is in any case somewhat arbitrary, and in most cases a real person will tweak the ascii name of his account. When running tests, however, this tweak avoids some false test failures. And no, it's not simple to fix the draft author-extraction heuristics to deal well with single-letter surnames.
...
- Legacy-Id: 15239
2018-06-10 14:48:13 +00:00
Henrik Levkowetz
a4d6d3c01e
Data migrations to populate email origin and Person.name_from_draft.
...
- Legacy-Id: 15189
2018-05-29 13:10:20 +00:00
Henrik Levkowetz
2522082979
Changed the email origin field during test to hold user.username in order to exercise more of the code. Changed the EmailFactory to also use user.username as origin.
...
- Legacy-Id: 15172
2018-05-26 08:32:20 +00:00
Henrik Levkowetz
6ec050d807
Removed a long-running data migration (it will return in the following release).
...
- Legacy-Id: 15171
2018-05-24 16:11:05 +00:00
Henrik Levkowetz
619b20d2e7
Data migration to assign email origin based on existing records (author, role, and more).
...
- Legacy-Id: 15148
2018-05-17 16:50:49 +00:00
Henrik Levkowetz
f47e1ff2ff
Updated email admin to show origin in lists.
...
- Legacy-Id: 15147
2018-05-17 16:48:49 +00:00
Henrik Levkowetz
70ed611472
Changed the field type for the Person.consent field.
...
- Legacy-Id: 15146
2018-05-17 16:45:21 +00:00
Henrik Levkowetz
874aad0322
Added a consent field to the Person model.
...
- Legacy-Id: 15142
2018-05-08 16:24:26 +00:00
Henrik Levkowetz
a66639299d
Removed all references to the removed Person.affiliation field.
...
- Legacy-Id: 15129
2018-05-05 12:47:55 +00:00
Henrik Levkowetz
9fe73b5736
Updated admin and resources with email history entries.
...
- Legacy-Id: 15128
2018-05-05 12:41:47 +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
37f0d141e9
Added a new field name_from_draft to Person, to hold the name field equivalent as captured from drafts, in case name has been modified by the user and we're asked to remove that info under GDPR. Added history for Email, and also an origin field to capture from where we got an email address (draft name, username, meeting registration, etc.) Added a log.assertion() to Email.save() in order to ensure we don't create any email without setting origin.
...
- Legacy-Id: 15126
2018-05-05 12:37:15 +00:00
Henrik Levkowetz
61a16856ad
Updated the admin interface to use the simple-history admin support for Person history.
...
- Legacy-Id: 15097
2018-05-01 11:07:12 +00:00
Henrik Levkowetz
c7d31b44c3
Added django-simple-history and replaced the old (and unused) PersonHistory class with a history=HistoricalRecords() field on Person. Added the needed migrations and changes to admin, resources, and settings. Related to issues #2505 and #2507 .
...
- Legacy-Id: 15096
2018-04-27 17:36:20 +00:00
Henrik Levkowetz
53c4ac36db
Removed the Person.address field, which is not being used. This was a legacy from the 2001 perl-based datatracker tables. Fixes issue #2504 .
...
- Legacy-Id: 15095
2018-04-27 14:00:33 +00:00
Henrik Levkowetz
4da044e2db
Pyflakes fixes.
...
- Legacy-Id: 14989
2018-04-01 19:06:02 +00:00
Henrik Levkowetz
8e97669dff
Added a get_active_ads() utility function that uses the cache to reduce database access. Moved some utility functions so as to reduce import loops.
...
- Legacy-Id: 14986
2018-04-01 18:36:36 +00:00
Henrik Levkowetz
934c884f4d
Migration to match the new endpoint choice avilable in the PersonalApiKey model.
...
- Legacy-Id: 14973
2018-03-30 15:11:20 +00:00
Henrik Levkowetz
e8f999dc07
Added an API endpoint to let Meetech associate recording urls with sessions.
...
- Legacy-Id: 14967
2018-03-29 11:04:47 +00:00
Henrik Levkowetz
2354cc74d4
Tweaked person factory ascii name generation to not include periods inside names.
...
- Legacy-Id: 14875
2018-03-20 15:24:20 +00:00
Henrik Levkowetz
bccb7fb849
Merged in [14862] from rcross@amsl.com:
...
Add view for merge person records.
- Legacy-Id: 14871
Note: SVN reference [14862] has been migrated to Git commit 85f4861f9f
2018-03-20 12:31:34 +00:00
Ryan Cross
85f4861f9f
Add view for merge person records. Commit ready for merge.
...
- Legacy-Id: 14862
2018-03-18 18:01:56 +00:00
Henrik Levkowetz
b9e34b3eec
Merged in [14843] from adam@nostrum.com:
...
Updated (deprecated, unregistered) 'text/json' with 'application/json' everwhere.
- Legacy-Id: 14853
Note: SVN reference [14843] has been migrated to Git commit 3c4c0f2584
2018-03-17 18:48:01 +00:00
Ryan Cross
f0a4ff213f
Backout premature commit of person/tests.py. Commit ready for merge
...
- Legacy-Id: 14846
2018-03-17 15:51:28 +00:00
Ryan Cross
01bfbff170
Remove unused roles/forms.py. Commit ready for merge
...
- Legacy-Id: 14845
2018-03-17 15:49:02 +00:00
Adam Roach
3c4c0f2584
Updated (deprecated, unregistered) 'text/json' with 'application/json' everwhere. Commit ready for merge.
...
- Legacy-Id: 14843
2018-03-17 15:14:57 +00:00
Henrik Levkowetz
98f64dfea4
Added result caching for the Person.email() method.
...
- Legacy-Id: 14797
2018-03-14 19:14:16 +00:00
Henrik Levkowetz
06362ec046
Got rid of old migrations and created new initial migrations.
...
- Legacy-Id: 14662
2018-02-21 23:46:22 +00:00
Henrik Levkowetz
5638cf3da3
Changed all usage of ForeignKey and OneToOneFiled in model.py files to the compatibility versions from ietf.utils.models.
...
- Legacy-Id: 14661
2018-02-20 15:36:05 +00:00
Henrik Levkowetz
87f4997bf5
Fixed unbalanced parentheses.
...
- Legacy-Id: 14520
2018-01-14 19:20:24 +00:00
Henrik Levkowetz
4431c3eac3
Exluded another locale from author name generation during testing, due to problematic romanization.
...
- Legacy-Id: 14519
2018-01-14 18:55:22 +00:00
Henrik Levkowetz
b48996f383
Exclude arabic names from PersonFactory due to difficulties with the romanization of the names in connection with draft author extraction.
...
- Legacy-Id: 14500
2018-01-10 15:20:16 +00:00
Henrik Levkowetz
f28eacdd47
Tastypie cannot serialize binary fields. Exclude from PersonalApiKey resource.
...
- Legacy-Id: 14434
2017-12-18 17:57:48 +00:00
Henrik Levkowetz
789b88d25d
Adjusted the personalapikey migration.
...
- Legacy-Id: 14433
2017-12-18 17:56:46 +00:00
Henrik Levkowetz
6567e707ce
Merged in ^/personal/henrik/6.64.2-ballotapi@14426. This provides personal API keys and a ballot position API at /api/iesg/position. Also added an endpoint description at /api/.
...
- Legacy-Id: 14430
2017-12-17 23:43:44 +00:00
Henrik Levkowetz
b0863c8963
Modified some names.
...
- Legacy-Id: 14428
2017-12-16 18:43:08 +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
Henrik Levkowetz
f2f21c4ef3
Improved cleaning of unidecode results in ascii name conversion.
...
- Legacy-Id: 14405
2017-12-08 12:36:23 +00:00
Henrik Levkowetz
999cd502e2
Tweaked ascii name normalization.
...
- Legacy-Id: 14381
2017-11-30 16:09:06 +00:00
Henrik Levkowetz
2c1438c240
Moved unidecode_name from utils.text to person.name.
...
Modified UserFactory to use a new locale for each new user, instead of the
same locale for a whole test run. This (almost) ensures the exercise of
code to deal with non-ascii names, something which would not happen if a
locale with ascii names was chosen at the start of a run.
Modified name.initials() to not use non-word characters as initials.
Modified unidecode_name() to do more normalization, to conform to the
conventions used in internet-drafts.
Added saving of the factory-boy random state in order to be able to re-run
a test suite with the same pseudo-random sequence as in a previous failed
run.
Fixed an issue with email formatting in test_api_submit_ok().
Modified the draft author extraction code to deal better with names with
embedded apostrophes.
- Legacy-Id: 14141
2017-09-20 15:36:30 +00:00
Henrik Levkowetz
33b275b04f
Added ietf.utils.text.unidecode_name() and replaced various uses of unidecode() with it, in order to normalize the generation of ascii versions of names, to avoid different practices in space stripping and space normalization in different parts of the code.
...
- Legacy-Id: 14128
2017-09-17 15:12:18 +00:00
Henrik Levkowetz
0fac54cb3e
Merged in [14086] from rjsparks@nostrum.com:
...
Show whether a person is nomcom eligible on their edit_profile page. Related to #2257 and #2323 .
- Legacy-Id: 14090
Note: SVN reference [14086] has been migrated to Git commit dc20598999
2017-08-31 15:21:17 +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
Henrik Levkowetz
4dad8cdf9a
Added a test to check for missing admin models, and added the admin models that were currently missing.
...
- Legacy-Id: 14021
2017-08-01 14:00:29 +00:00