Commit graph

340 commits

Author SHA1 Message Date
Robert Sparks 48fef02aab revert unintended commit of person/factories.py
- Legacy-Id: 19012
2021-05-20 17:38:31 +00:00
Robert Sparks 7cbaad721a Move adjustments to PHOTO_DIR forward from settings_sqlitetest to settings_releastetest
- Legacy-Id: 19011
2021-05-20 17:37:08 +00:00
Jennifer Richards 6cf9eb8dd1 Allow secretariat to edit document author list. Fixes #3185. Commit ready for merge.
- Legacy-Id: 18989
2021-05-11 18:40:28 +00:00
Robert Sparks fe82f4d696 connect the new calculations to the UI. Clean flakes.
- Legacy-Id: 18974
2021-05-06 19:00:58 +00:00
Robert Sparks fc182c176b Merged in [18941] from jennifer@painless-security.com:
Add purge_old_personal_api_key_events management command. Fixes #3144.
 - Legacy-Id: 18950
Note: SVN reference [18941] has been migrated to Git commit 475fb37c29
2021-04-13 18:12:53 +00:00
Robert Sparks 6d7a0b6d0f Merged in [18939] from jennifer@painless-security.com:
Consolidate repeated searchable field code into SearchableField class. Fix single-valued searchable fields. Make javascript test config reusable. Use Django Form.media for JS/CSS inclusion. Fixes #3196, #3204.
 - Legacy-Id: 18948
Note: SVN reference [18939] has been migrated to Git commit 17d37723f7
2021-04-12 22:07:03 +00:00
Jennifer Richards 475fb37c29 Add purge_old_personal_api_key_events management command. Fixes #3144. Commit ready for merge.
- Legacy-Id: 18941
2021-04-09 18:40:28 +00:00
Jennifer Richards 17d37723f7 Consolidate repeated searchable field code into SearchableField class. Fix single-valued searchable fields. Make javascript test config reusable. Use Django Form.media for JS/CSS inclusion. Fixes #3196, #3204. Commit ready for merge.
- Legacy-Id: 18939
2021-04-09 15:18:11 +00:00
Ryan Cross 8da4caf30f Fix test for handle_reviewer_settings. Commit ready for merge
- Legacy-Id: 18878
2021-03-02 22:27:57 +00:00
Ryan Cross aca3b41445 Add special handling for ReviewerSettings to merge person feature. Fixes #3183. Commit ready for merge
- Legacy-Id: 18860
2021-02-23 21:03:16 +00:00
Jennifer Richards e11583a87f Allow assignment of Person as "action holder" for a Doc, plus rudimentary automation of assignment. Fixes #3146. Commit ready for merge.
- Legacy-Id: 18829
2021-02-12 20:31:00 +00:00
Robert Sparks 3697180cc1 Reverted merge of timezone-aware migration efforts.
- Legacy-Id: 18792
2021-01-12 16:54:20 +00:00
Henrik Levkowetz 774e752a54 Snapshot of timezone-aware datatracker code. Tests pass, and the test-crawler shows only expected differences. Trunk changes merged in up to r18768.
- Legacy-Id: 18770
2020-12-16 23:53:37 +00:00
Henrik Levkowetz a284bcefee Added 'De' as a surname particle, in addition to 'de' (for author Luca De Cicco). Commit ready to merge.
- Legacy-Id: 18765
2020-12-15 14:24:41 +00:00
Henrik Levkowetz 23a81923aa Added exception catching to the photo endpoint, for cases where conversion fails (we just had one case of RGBA to JPEG didn't work).
- Legacy-Id: 18697
2020-11-16 07:55:18 +00:00
Henrik Levkowetz 088033d843 Added matching indexes to a number of models with ordering by multiple keys.
- Legacy-Id: 18664
2020-11-09 19:41:12 +00:00
Henrik Levkowetz c0d924cfdc Modified the name and help text of the Person.plain field, to make the intended use clearer (to avoid cases of incorrect usage seen recently).
- Legacy-Id: 18649
2020-10-28 16:30:30 +00:00
Henrik Levkowetz 72c7018073 Disabled mail sending for management command check_person_names_and_aliases, to avoid duplicate person email notifications.
- Legacy-Id: 18634
2020-10-24 15:12:59 +00:00
Henrik Levkowetz 0d001481e8 Added better guards against passing empty data to the person profile template.
- Legacy-Id: 18623
2020-10-20 12:35:05 +00:00
Henrik Levkowetz 435d64910f Added a management command: 'check_person_names_and_aliases'.
When we started explicitly listing draft and RFC author names on the documemnt
pages in commit [18549], it uncovered a number of links that 404'ed because
name alias entries were missing for some person entries, in particular for
authors of early RFCs and drafts.  Adding such alias entries can be done
automatically in most cases.  This new management command will do so, and also
report (and in some cases fix) additional issues, such as names incorrectly
incorporating '<>', name aliases that are email addresses, and more.

Run with -v2 (verbosity 2) it will report all found names and aliases for each
issue type, and run with -f it will fix those that can be automatically fixed.
 - Legacy-Id: 18599
Note: SVN reference [18549] has been migrated to Git commit 2899c2a65d
2020-10-11 15:22:28 +00:00
Henrik Levkowetz 112cb6293e Tweaked plain_ascii() to not return leading or trailing spaces.
- Legacy-Id: 18598
2020-10-11 15:12:05 +00:00
Henrik Levkowetz d6efe1fcb5 Fixed a bug in the name_parts() function when dealing with names listing uppercased surname first, followed by given name.
- Legacy-Id: 18596
2020-10-11 15:07:37 +00:00
Henrik Levkowetz 07be1f8516 Added a view to retrieve profile photos, in order to support Meetecho's need for such, at /person/{email}/photo. The default is to supply images with 80px width. Image scaling is available using the same query argument as Gravatar: ?size=200 or ?s=200 for 200-pixel wide images.
- Legacy-Id: 18483
2020-09-10 21:41:01 +00:00
Henrik Levkowetz 6e0426d0ef Added a migration corresponding to the new /api/notify/meeting/bluesheet endpoint selection for personal API keys.
- Legacy-Id: 18345
2020-08-07 14:53:32 +00:00
Henrik Levkowetz 57938b039d Converted many cases of plain-text 403 messages to use a properly styled page instead, with a login link when appropriate. Also changed some API endpoint 400 responses to a more correct 403.
- Legacy-Id: 18339
2020-08-06 10:59:52 +00:00
Henrik Levkowetz 606cedd796 Merged in the ExtResource work from rjsparks@nostrum.com, based on a feature request and contributions from rsalz@akamai.com. This provides external resource models for Person, Group, and Document models, as a generalisation of the previous related-URL concept. This provides a consistent labelling and classification of URLs and other resources related to a Group, Document, or Person. The GroupURL (and similar) classes will be removed in a later step. Some DocumentURL instances (such as auth48 URLs) remain to convert, as they have come in with other merged-in work while the ExtResource work was in transit.
- Legacy-Id: 18192
2020-07-20 01:58:26 +00:00
Henrik Levkowetz 0435ee732c Added a missing migration
- Legacy-Id: 18191
2020-07-20 00:02:12 +00:00
Henrik Levkowetz d8b11c4293 Removed an unused and unnecessary API endpoint, now that gather.town has gotten OpenID Connect authentication working.
- Legacy-Id: 18190
2020-07-17 19:33:15 +00:00
Henrik Levkowetz 16bb1227bd Added the 'plain' field to the Person admin.
- Legacy-Id: 18178
2020-07-15 15:06:36 +00:00
Henrik Levkowetz bfccc6cf2f Tweaked a migration.
- Legacy-Id: 18149
2020-07-11 20:29:23 +00:00
Henrik Levkowetz 0dbb061be8 Added a migration for the Person model change.
- Legacy-Id: 18148
2020-07-11 20:26:51 +00:00
Henrik Levkowetz c6cdbf8ca8 Added a new field Person.plain as a fallback for names where plain_name() produces the wrong result. Fixes issue #3020.
- Legacy-Id: 18147
2020-07-11 20:22:23 +00:00
Robert Sparks 53f7bc3ce6 migrated forward
- Legacy-Id: 18144
2020-07-09 21:07:05 +00:00
Henrik Levkowetz 06fa5e517a Adjusted the code to the changed signature of admin.utils.get_deleted_objects()
- Legacy-Id: 18053
2020-06-24 20:39:27 +00:00
Henrik Levkowetz dc7581fef4 Changed NullBoleanField() to BooleanField(null=True), according to the 2.1 upgrade recommendations.
- Legacy-Id: 18051
2020-06-24 20:33:57 +00:00
Robert Sparks bf53bf1057 Merged forward. Added some missing parts to the XMPPURLValidator.
- Legacy-Id: 18050
2020-06-24 19:01:45 +00:00
Henrik Levkowetz 0f17e03121 Merged in [18020] from rjsparks@nostrum.com:
Construct Faker objects used for person name generation only once. Results in a roughly 20% speedup of the test-suite.
 - Legacy-Id: 18023
Note: SVN reference [18020] has been migrated to Git commit c60cc1b1a0
2020-06-22 12:58:44 +00:00
Robert Sparks c60cc1b1a0 Construct Faker objects used for person name generation only once. Results in a roughly 20% speedup of the test-suite. Commit ready for merge.
- Legacy-Id: 18020
2020-06-19 19:54:50 +00:00
Henrik Levkowetz ec5d159b4f Added a new API endpoint to be used by the registration system, to trigger account creation.
- Legacy-Id: 17941
2020-06-08 19:51:10 +00:00
Henrik Levkowetz 228f00287b Added migrations for model changes
- Legacy-Id: 17938
2020-06-08 19:28:15 +00:00
Robert Sparks 8a0578040e Added better self-descriptive __str__ functions to PersonExtResource, GroupExtResource, and DocExtResource
- Legacy-Id: 17871
2020-05-21 20:59:44 +00:00
Robert Sparks 02e1226a03 Added appropriate Admin classes
- Legacy-Id: 17870
2020-05-21 20:48:03 +00:00
Robert Sparks 38ba0f401d merged forward
- Legacy-Id: 17868
2020-05-21 18:30:48 +00:00
Robert Sparks 785f6243f1 explicit resource names for classes with the word resource in their name
- Legacy-Id: 17857
2020-05-20 18:28:05 +00:00
Robert Sparks 7e57be2bd3 merged forward ^/personal/rjs/explore-extref
- Legacy-Id: 17840
2020-05-19 18:47:47 +00:00
Henrik Levkowetz 154876a12a Merged in ^/trunk@17782 (just ahead of release 6.130.0)
- Legacy-Id: 17783
2020-05-12 15:54:46 +00:00
Henrik Levkowetz 26e85ce53b Added a catch for malformed apikey input.
- Legacy-Id: 17769
2020-05-10 14:16:22 +00:00
Henrik Levkowetz 6d7c5b52ee Django 2.0 conversion. Test suite passes, except for javascript tests.
- Legacy-Id: 17762
2020-05-08 13:07:07 +00:00
Robert Sparks 2de9eb93b5 Added validation to the migrations. Added external resources to the draft display page. Built an editor for DocExternalResources.
- Legacy-Id: 17683
2020-04-24 16:14:43 +00:00
Henrik Levkowetz 9aeda11a29 Removed some Py2 compatibility decorators.
- Legacy-Id: 17673
2020-04-21 13:54:31 +00:00