Commit graph

19 commits

Author SHA1 Message Date
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 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 f0317b3cff Added another surname particle.
- Legacy-Id: 13823
2017-07-10 20:08:33 +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
Ole Laursen 5b677dc6ba Merge author stats branch into new branch from trunk
- Legacy-Id: 13159
2017-03-28 14:36:40 +00:00
Ole Laursen c61babb418 Add citation and h-index statistics
- Legacy-Id: 12869
2017-02-17 17:43:14 +00:00
Henrik Levkowetz 761ed8a723 Extended name_parts to consider military rank prefixes.
- Legacy-Id: 12816
2017-02-10 21:58:39 +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
Henrik Levkowetz ab20d0002d Added some guards against bad data in name_parts().
- Legacy-Id: 11285
2016-06-06 16:30:30 +00:00
Henrik Levkowetz ed583bcc5f Used a more sophisticated algorithm for separation of person name parts in the photo_name() method. Added support for 'Dr' (without dot) as a titular prefix.
- Legacy-Id: 11275
2016-06-05 09:54:13 +00:00
Henrik Levkowetz 4610381eb2 Add an name utility function to return a name's initials. Handle names with an uppercase surname to the left of the given name correctly.
- Legacy-Id: 4951
2012-10-25 21:10:30 +00:00
Henrik Levkowetz 794bbad413 Refine the splitting of flat names into constituent parts. Fixes #769.
- Legacy-Id: 4065
2012-03-07 10:34:45 +00:00
Ole Laursen 95fc209f6b Catch Ph.D. as suffix in name parser, fixes "Dr. Bernard D. Aboba Ph.D."
- Legacy-Id: 3984
2012-02-27 17:59:23 +00:00
Ole Laursen b9853c707c Add main handler so name_parts can be invoked from the command line,
incorporate fix from Henrik to get rid of (Foo Bar) ending
 - Legacy-Id: 3978
2012-02-25 22:16:33 +00:00
Ole Laursen 980d4e6444 Move new schema models from redesign/ to ietf/
- Legacy-Id: 3855
2012-01-24 17:17:24 +00:00
Renamed from redesign/person/name.py (Browse further)