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
Henrik Levkowetz
cf4a4b02a7
Reworked the email address handling in order to be able to support non-ascii names as part of email address fields. Reworked the generation of user names in the test suite to generate names from multiple non-ascii locales. Fixes issue #2080 .
...
- Legacy-Id: 12872
2017-02-18 21:50:18 +00:00
Ole Laursen
c61babb418
Add citation and h-index statistics
...
- Legacy-Id: 12869
2017-02-17 17:43:14 +00:00
Ole Laursen
b2ff10b0f2
Add support for extracting the country line from the author addresses
...
to the draft parser (incorporating patch from trunk), store the
extracted country instead of trying to turn it into an ISO country
code, add country and continent name models and add initial data for
those, add helper function for cleaning the countries, add author
country and continent charts, move the affiliation models to
stats/models.py, fix a bunch of bugs.
- Legacy-Id: 12846
2017-02-15 18:43:57 +00:00
Henrik Levkowetz
aa5e61d958
Updated all urlpatterns to use ietf.utils.urls.url() instead of django's,
...
in order to autogenerate dotted path url pattern names. Updated a number
of url reverses to use dotted path, and removed explicit url pattern names
as needed.
Changed some imports to prevent import of ietf.urls before django
initialization was complete.
Changed 3 cases of form classes being curried to functions; django 1.10
didn't accept that.
Started converting old-style middleware classes to new-style middleware
functions (incomplete).
Tweaked a nomcom decorator to preserve function names and attributes, like
a good decorator should.
Replaced the removed django templatetag 'removetags' with our own version
which uses bleach, and does sanitizing in addition to removing explicitly
mentionied html tags.
Rewrote the filename argument handling in a management command which had
broken with the upgrade.
- Legacy-Id: 12818
2017-02-11 14:43:01 +00:00
Henrik Levkowetz
761ed8a723
Extended name_parts to consider military rank prefixes.
...
- Legacy-Id: 12816
2017-02-10 21:58:39 +00:00
Henrik Levkowetz
19d585255a
Django 1.10 does not permit the view argument to url() to be a string any more. Changed all cases view arguments to url() which were strings to instead reference the actual imported function.
...
- Legacy-Id: 12815
2017-02-10 14:49:16 +00:00
Ole Laursen
0d5bc33283
Fix some test errors
...
- Legacy-Id: 12787
2017-02-06 11:35:28 +00:00
Ole Laursen
ea93001c63
Remove debug output
...
- Legacy-Id: 12786
2017-02-03 18:54:23 +00:00
Ole Laursen
ef251c6bc7
Add author affiliation chart.
...
Also add a model for registering an alias for an affiliation so that
we can group affiliations that are considered the same for statistical
purposes, and a model for registering unimportant endings like Inc.
and GmbH.
Affiliation grouping is done through three means: stripping
uninteresting endings, merging entries that only differ in case and
aliases that map from case-insensitive alias to name.
Stripping endings and merging based on case seem to reduce the number
of needed manually maintained aliases greatly.
- Legacy-Id: 12785
2017-02-03 18:49:43 +00:00
Ole Laursen
9308948195
Add person, affiliation and country (through django-countries) to
...
DocumentAuthor, rename author field to email and make it optional (for
modeling old email-less submissions), remove the authors many to many
referencing field from Document as it is not really pointing the right
place.
Update the Secretariat tools to show affiliation and country.
Add migration for getting rid of the fake email addresses that the
migration script created some years ago (just set the author email
field to null).
- Legacy-Id: 12739
2017-01-26 17:10:08 +00:00
Henrik Levkowetz
c2541ec04b
Django 1.9: Removed deprecated use of django.conf.urls.patterns() from all urls*.py files.
...
- Legacy-Id: 12618
2016-12-22 17:21:57 +00:00
Henrik Levkowetz
14776bae70
Merged django18 work forward to r12447
...
- Legacy-Id: 12455
2016-12-05 15:03:40 +00:00
Henrik Levkowetz
0bb7854591
Merged django18 work forward to 6.39
...
- Legacy-Id: 12449
2016-12-05 14:01:25 +00:00
Henrik Levkowetz
486e394cbf
Added more document information to the personal profile pages at /person/<full name>, after a suggestion from Benoit Claise. Fixes issue #2066 .
...
- Legacy-Id: 12447
2016-12-05 13:00:01 +00:00
Henrik Levkowetz
1558a52c55
django.admin.utils.get_deleted_objects() changed signature. Fixed.
...
- Legacy-Id: 12268
2016-11-04 19:02:40 +00:00
Ole Laursen
9a3996a286
Make sure that name_parts doesn't accidentally turn Unicode strings
...
into plain strings
- Legacy-Id: 12146
2016-10-14 09:41:21 +00:00
Ole Laursen
958ba5ba95
Make new branch from trunk and merge in review-tracker-r11921
...
- Legacy-Id: 12129
2016-10-13 16:38:47 +00:00
Henrik Levkowetz
236fb3e185
Make it possible to merge nominations with inactive email addresses in the Nominee Merge form.
...
- Legacy-Id: 12091
2016-10-05 17:03:31 +00:00
Henrik Levkowetz
69263b8f8f
Use plain_ascii() name for formatted_email() address.
...
- Legacy-Id: 12062
2016-09-30 10:47:34 +00:00