Robert Sparks
8b90ecd4aa
feat: add pronouns to Person and oidc claims. Fixes #4043 . ( #4059 )
...
* feat: add pronouns
* fix: include migrations
* fix: correct daggers on person form.
* fix: clean pronouns
* feat: add choices to pronouns
* feat: show pronouns on public profile
* feat: add pronouns to oidc userinfo
* fix: move pronouns to new claim. Add tests.
* fix: improve html generated by new widget
* feat: use a MultiWidget for pronouns
* refactor: use two fields on Person for the two types of pronoun entry.
* chore: update copyrights
2022-06-21 15:02:02 -05:00
Robert Sparks
07bfa68a75
feat: explicitly model session attendance ( #4025 )
...
* feat: add model to track session attendance
* feat: add model to track session attendance
* feat: add api to set session attendees
* fix: use user pk instead off person pk in the attended api.
* feat: calculate three of five from attended
* feat: management utility to populate Attended model history
* docs: document why nomcom calculations don't use Attended yet.
* fix: add migration to add new personalapikey endpoint to choices
* test: verify very old last login prevents api key use,
* chore: address review nits
* chore: comment on some idiosyncracies of the expected input to populate_attended
* fix: add unique_together constraint for the Attended model
* fix: correctly handle empty querysets passed to three_of_five_eligible functions.
2022-06-20 10:46:36 -05:00
Kesara Rathnayake
43513ed2f5
Adds private app authentication API for bibxml. Fixes #3480 . Commit ready for merge.
...
- Legacy-Id: 19711
2021-11-25 04:26:30 +00:00
Jennifer Richards
d7f20342b6
Tear out old meeting schedule editor and related code
...
- Legacy-Id: 19551
2021-11-04 17:07:22 +00:00
Kesara Rathnayake
90297bc2ab
Fixes API authentication issue. Commit ready for merge.
...
- Legacy-Id: 19393
2021-10-01 04:43:54 +00:00
Kesara Rathnayake
02b8559512
Adds ability to hanndle garbage API keys. Fixes #3412 . Commit ready for merge.
...
- Legacy-Id: 19382
2021-09-22 06:40:49 +00:00
Kesara Rathnayake
dc833aa85c
Implements /api/appauth/authortools API endpoint. Fixes #3396 . Commit ready for merge.
...
- Legacy-Id: 19344
2021-09-06 11:42:16 +00:00
Robert Sparks
a3305e1bd5
Additional tweak to oidc profile photo url generation. Commit ready for merge.
...
- Legacy-Id: 19177
2021-07-01 16:31:15 +00:00
Robert Sparks
c906a8e654
Use a cdn for the oidc profile photo url. Commit ready for merge.
...
- Legacy-Id: 19176
2021-07-01 15:56:53 +00:00
Ryan Cross
92f2d02207
Fix /api/v2/person/person to work with Robot apikey. Commit ready for merge.
...
- Legacy-Id: 19101
2021-06-09 18:13:17 +00:00
Robert Sparks
80798f8dfa
Avoid duplicate choices for person api endpoints.
...
- Legacy-Id: 19082
2021-06-04 21:45:16 +00:00
Robert Sparks
6e14727e09
Tweaked results of r19059 to allow for a better transition post release.
...
- Legacy-Id: 19060
2021-06-02 17:39:52 +00:00
Ryan Cross
b7502ed96c
Change PERSON_API_KEY_VALUE for mail archive lookups
...
Change /api/v2/person/person to ROBOT to prepare for
switching from personal api key to robot, mail-archive
api key. Once in place, generate new key for this
endpoint and install.
- Legacy-Id: 19035
2021-05-25 23:27:29 +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
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
112cb6293e
Tweaked plain_ascii() to not return leading or trailing spaces.
...
- Legacy-Id: 18598
2020-10-11 15:12:05 +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
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
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
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
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
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
38ba0f401d
merged forward
...
- Legacy-Id: 17868
2020-05-21 18:30:48 +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
Henrik Levkowetz
9aeda11a29
Removed some Py2 compatibility decorators.
...
- Legacy-Id: 17673
2020-04-21 13:54:31 +00:00
Robert Sparks
672f9bce26
Added display-name. Refined migrations.
...
- Legacy-Id: 17646
2020-04-15 19:54:29 +00:00
Henrik Levkowetz
69a5d0817d
Refined the GUI for personal API endpoints so that endpoints for which one does not have the right Roles do not show in the GUI, and added a supporting method on Person objects. Updated tests accordingly.
...
- Legacy-Id: 17643
2020-04-15 17:22:06 +00:00
Henrik Levkowetz
2d1685868d
Added the meetecho access api key to the list of personal API keys available through the Personal API GUI, and removed a secretariat-only key from the list.
...
- Legacy-Id: 17633
2020-04-15 12:04:39 +00:00
Robert Sparks
c055d37dcb
Removed extref app. Refined population migrations.
...
- Legacy-Id: 17509
2020-03-22 19:27:28 +00:00
Robert Sparks
316dd183d9
first run at external resources
...
- Legacy-Id: 17470
2020-03-19 23:32:24 +00:00
Henrik Levkowetz
726fcbf27d
Removed all __future__ imports.
...
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz
ab173cb2eb
Removed further six usage: six.string_types, six.integer_types, six.moves.urllib instances.
...
- Legacy-Id: 17390
2020-03-05 20:46:58 +00:00
Henrik Levkowetz
e9a37d8ac8
Removed six.text_type(), changed six.moves.urllib to plain urllib, and removed now unused six imports.
...
- Legacy-Id: 17385
2020-03-05 14:41:41 +00:00
Henrik Levkowetz
b14cba5f15
Refactored some document methods to align better with Django's get_absolute_url(), and added Person.get_absolute_uri()
...
- Legacy-Id: 17189
2020-01-07 13:33:02 +00:00
Henrik Levkowetz
dc6201eeeb
Made sure Person.active_drafts() and .expired_drafts() don't return duplicate entries. Fixes issue #2784 .
...
- Legacy-Id: 16665
2019-08-20 22:43:51 +00:00
Henrik Levkowetz
bdc73e771a
Python2/3 compatibility: replaced six.ensure_text() with either six.text_type or django's force_text(), depending on the case, and fixed a variable scope issue.
...
- Legacy-Id: 16461
2019-07-16 13:20:05 +00:00
Henrik Levkowetz
8c6eb3a30a
Python2/3 compatibility: Changed the use of open() and StringIO to io.open() etc.
...
- Legacy-Id: 16458
2019-07-15 19:14:04 +00:00
Henrik Levkowetz
f481f5c3e6
Replaced use of six with the equivalent pure python3 constructs.
...
- Legacy-Id: 16428
2019-07-08 10:43:47 +00:00
Henrik Levkowetz
0679eaa8d4
Removed unused imports.
...
- Legacy-Id: 16402
2019-07-04 21:06:57 +00:00
Henrik Levkowetz
f480799af9
Undid unintentional bulk commit
...
- Legacy-Id: 16401
2019-07-04 21:04:46 +00:00
Henrik Levkowetz
fc09a59950
Added decode() of command pipe output.
...
- Legacy-Id: 16400
2019-07-04 21:01:39 +00:00
Henrik Levkowetz
484dcece5f
Changed all model __unicode__() methods to __str__()
...
- Legacy-Id: 16330
2019-06-28 21:07:08 +00:00