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
Robert Sparks
503199eaff
Query unique person objects when searching for duplicates based on aliases. Fixes #2263 . Commit ready for merge.
...
- Legacy-Id: 13978
2017-07-26 20:37:17 +00:00
Henrik Levkowetz
f0317b3cff
Added another surname particle.
...
- Legacy-Id: 13823
2017-07-10 20:08:33 +00:00
Henrik Levkowetz
b8e11e7f71
Added a migration matching the new validator on Email.address.
...
- Legacy-Id: 13744
2017-07-01 10:26:49 +00:00
Henrik Levkowetz
70830e8705
Added email address validation for the Email.address field, now that we're not putting dummy addresses in it.
...
- Legacy-Id: 13739
2017-06-30 11:48:03 +00:00
Henrik Levkowetz
0d120fb46a
Tweaked the EmailFactory to return an email address not longer than the Email.address field.
...
- Legacy-Id: 13738
2017-06-30 11:47:12 +00:00
Henrik Levkowetz
ade8973015
Merged in [13726] from rcross@amsl.com:
...
Update secr.rolodex app to deactivate old Users when replaced on edit. Fixes #2001 .
- Legacy-Id: 13735
Note: SVN reference [13726] has been migrated to Git commit a251076903
2017-06-29 20:39:52 +00:00
Henrik Levkowetz
c4954e13b1
Added more test objects in test_merge_users(), and fixed an issue with merge_users() uncovered by the added testing.
...
- Legacy-Id: 13730
2017-06-29 14:53:00 +00:00
Ryan Cross
a251076903
Update secr.rolodex app to deactivate old Users when replaced on edit. Fixes #2001 . Commit ready for merge.
...
- Legacy-Id: 13726
2017-06-28 20:43:28 +00:00
Ryan Cross
7768e7c6b3
Improve User merge handling in merge_persons(). Fix minor bug in submit.checkers.py. Fixes #1900 . Commit ready for merge.
...
- Legacy-Id: 13718
2017-06-26 23:13:58 +00:00
Henrik Levkowetz
7e68623c90
Additional tweaks to the surname particle handling.
...
- Legacy-Id: 13670
2017-06-18 03:22:52 +00:00
Henrik Levkowetz
f1f32b41ae
Additional tweaks to the surname particle handling.
...
- Legacy-Id: 13669
2017-06-18 03:20:49 +00:00
Henrik Levkowetz
bb089c182d
Improved the handling of surname particles, (prompted by failure to handle the name of Niels ten Oever correctly)
...
- Legacy-Id: 13663
2017-06-17 15:12:54 +00:00
Henrik Levkowetz
3d387e5ff6
Merged in [13567] from rcross@amsl.com:
...
Refactor ietf/bin/merge-person-records to facilitate testing. Add tests. Fixes #2162 .
- Legacy-Id: 13580
Note: SVN reference [13567] has been migrated to Git commit e9b7c5753e
2017-06-10 07:48:19 +00:00
Ryan Cross
e9b7c5753e
Refactor ietf/bin/merge-person-records to facilitate testing. Add tests. Fixes #2162 . Commit ready for merge.
...
- Legacy-Id: 13567
2017-06-08 23:28:43 +00:00
Henrik Levkowetz
55d36e284d
Changed the '%s <%s>'%(name,email) idiom in several places to use email.utils.formataddr() instead, to avoid future problems with names that would need quotes. Added comments in 2 places where this change would not be appropriate.
...
- Legacy-Id: 13536
2017-06-05 22:40:11 +00:00
Henrik Levkowetz
76628be3fd
Merged in ^/branch/iola/author-stats-r13145 from olau@iola.dk, and fixed some tests in code which moved after the latest merge with trunk. The test suite passes, but the migrations are _not_ ready to run, because of numbering conflicts (again due to code changes on trunk since the latest sync).
...
- Legacy-Id: 13479
2017-05-31 20:59:26 +00:00
Henrik Levkowetz
e6191432f3
Updated person migration 0017 to avoid database referential inconsistency due to missing person records.
...
- Legacy-Id: 13371
2017-05-16 15:17:07 +00:00
Henrik Levkowetz
48c275fa64
Merged in [13336] from rcross@amsl.com:
...
Fix issue where deferring a ballot causes 500 error in Telechat app. Fixes #1342 .
- Legacy-Id: 13360
Note: SVN reference [13336] has been migrated to Git commit 7542e8daa3
2017-05-15 14:05:25 +00:00
Robert Sparks
8030fb3965
Created an EditedAuthorsDocEvent to capture the basis or reason for changing a documentauthor set. Mapped a large number of email addresses found from the RFC Editor database and from parsing RFCs to the right Person objects, and creating Person objects as necessary. Updated the documentauthors set for RFCs based on reconciling what the tracker already knew with the RFC Editor database and the parsing the RFCs. Manually inspected the Updates to ensure no author was inappropriately removed from the set. Commit ready for merge.
...
- Legacy-Id: 13289
2017-05-09 20:16:11 +00:00
Henrik Levkowetz
4803be0c03
Return a person search string instead of bombing out if there are multiple identical names where one don't have an active email address.
...
- Legacy-Id: 13245
2017-04-19 14:05:43 +00:00
Robert Sparks
0088273f5a
Adds scripts to create/delete a dummy nomcom to use in development environments. Commit ready for merge. Fixes #2283 .
...
- Legacy-Id: 13230
2017-04-18 16:13:14 +00:00
Ole Laursen
5b677dc6ba
Merge author stats branch into new branch from trunk
...
- Legacy-Id: 13159
2017-03-28 14:36:40 +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
ae8e07ef22
Merged in [12932] from rjsparks@nostrum.com:
...
Move primary but inactive email to the most recently touched active email for a Person. If a person has more than one primary email, make all but the first be not primary. Fixes #2214 .
- Legacy-Id: 12937
Note: SVN reference [12932] has been migrated to Git commit 572e373f95
2017-02-28 23:28:30 +00:00
Henrik Levkowetz
695bf37bc6
Merged in [12930] from rjsparks@nostrum.com:
...
Use the Role email associated with a reviewer as the From when emailing a review. Fixes #2201 .
- Legacy-Id: 12936
Note: SVN reference [12930] has been migrated to Git commit 8577a5e84a
2017-02-28 21:50:12 +00:00
Robert Sparks
572e373f95
Move primary but inactive email to the most recently touched active email for a Person. If a person has more than one primary email, make all but the first be not primary. Fixes #2214 . Commit ready for merge.
...
- Legacy-Id: 12932
2017-02-28 19:39:01 +00:00
Robert Sparks
8577a5e84a
Use the Role email associated with a reviewer as the From when emailing a review. Fixes #2201 . Commit ready for merge.
...
- Legacy-Id: 12930
2017-02-28 18:40:09 +00:00
Henrik Levkowetz
5f053ad21a
Cleaned up the remaining explicit url names, using dotted-paths to view
...
functions instead. In all almost 700 changes.
- Legacy-Id: 12923
2017-02-26 23:21:49 +00:00
Henrik Levkowetz
988a2b808f
Added explicit charset setting and consistent encoding to several email paths through the datatracker. After introducing support for non-ascii names in email addresses, using role.formatted_email() to insert names into email content doesn't work any more, since uncode names will now be rfc2047-encoded in formatted_email(). Added another method role.name_and_email() for this case. Replaced another case of '%s <%s>' name-and-email formatting with formataddr(). Fixed some tests which did not send unicode email bodies to the email functions. Fixes issue #2017 .
...
- Legacy-Id: 12896
2017-02-21 19:17:10 +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
8930d29a8e
Merged in Django-1.10 upgrade work from ^/personal/henrik/6.43.1-django-1.10
...
- Legacy-Id: 12881
2017-02-19 18:18:00 +00:00