Leo McArdle
2c9cc36010
FEATURE: Prevent editing of synced fields from DinoPark
...
https://github.com/mozilla/discourse/issues/187
2019-04-26 17:50:07 +01:00
Leo McArdle
01cb63210c
Merge branch 'development' into cpu-poc
2019-04-26 17:11:13 +01:00
Leo McArdle
316f713485
FIX: correct default cis webhook audience
...
https://github.com/mozilla/discourse/issues/184
2019-04-26 15:48:04 +01:00
Leo McArdle
3b0df9af18
BACKPORT: FEATURE: consume CIS webhook and refresh profiles
...
https://github.com/mozilla/discourse/issues/184
2019-04-25 17:52:12 +01:00
Leo McArdle
dfda0ec62a
FIX: change to user fabricator names
...
https://github.com/discourse/discourse/pull/7405
2019-04-24 17:18:15 +01:00
Leo McArdle
6a99670ea1
FIX: store last_refresh and aal in database per session
...
https://github.com/mozilla/discourse/issues/188#issuecomment-483593821
2019-04-17 13:19:34 +01:00
Leo McArdle
87882823ae
FIX: update dinopark edit CTA url
...
https://github.com/mozilla/discourse/issues/185
2019-04-12 18:48:22 +01:00
Leo McArdle
94320b29c6
FEATURE: consume CIS webhook and refresh profiles
...
https://github.com/mozilla/discourse/issues/184
2019-04-12 11:20:15 +01:00
Leo McArdle
8d915405d6
FIX: log session when users are logged out
2019-04-11 19:33:24 +01:00
Leo McArdle
c4221c5939
FIX: allow impersonation of system accounts
2019-04-11 18:51:49 +01:00
Leo McArdle
ac64dc9d74
FEATURE: add link to dinopark profile, and preferences CTA
...
We're not currently getting any personal website data from dinopark
so setting the website preference to the dinopark profile link.
This avoids the slightly convoluted process of adding a link from a
custom user field. We can do that once dinopark starts sending
personal websites.
https://github.com/mozilla/discourse/issues/183
https://github.com/mozilla/discourse/issues/185
2019-04-10 19:08:58 +01:00
Leo McArdle
24e7e716c4
FEATURE: Implement profile picture refresh method
...
https://github.com/mozilla/discourse/issues/183
2019-04-10 15:04:00 +01:00
Leo McArdle
652d284ad0
FIX: add increased logging around when users are logged out
...
https://github.com/mozilla/discourse/issues/188
2019-04-08 13:31:32 +01:00
Leo McArdle
c9e43eadf6
FEATURE: first pass at dinopark sign-up flow
...
Specs still need to be written.
https://github.com/mozilla/discourse/issues/186
2019-04-05 13:44:49 +01:00
Leo McArdle
02708a3278
FEATURE: Add edit on people.mozilla.org CTA to preferences
...
For: username, full name, title, profile, biography, location
Other fields not being synced yet so still to do.
No frontend tests, will write these later.
https://github.com/mozilla/discourse/issues/185
2019-04-04 15:25:34 +01:00
Leo McArdle
ade12b37a3
FIX: unstable username when dinopark username taken
...
Taken usernames would change on every profile refresh.
https://github.com/mozilla/discourse/issues/183
2019-04-04 02:23:44 +01:00
Leo McArdle
95249527ff
FEATURE: Implement refresh method for location
...
https://github.com/mozilla/discourse/issues/183
2019-04-01 21:40:31 +01:00
Leo McArdle
6bcf7cedee
FIX: usernames were being unnecessarily updated when needing sanitization
...
https://github.com/mozilla/discourse/issues/183
2019-04-01 18:35:10 +01:00
Leo McArdle
ded00deded
FEATURE: Implement refresh method for bio
...
https://github.com/mozilla/discourse/issues/183
2019-04-01 18:13:29 +01:00
Leo McArdle
2b49d2b2dd
FEATURE: Implement refresh method for title
...
Takes preferred pronouns and fun job title and combines them into
a user's Discourse title.
https://github.com/mozilla/discourse/issues/183
2019-04-01 16:15:22 +01:00
Leo McArdle
7ef8ce5baa
FEATURE: Implement full name refresh method
...
Updates name from Person API v2 for users with dinopark_enabled?
set to true.
Also DRYs some specs.
https://github.com/mozilla/discourse/issues/183
2019-03-28 18:07:58 +00:00
Leo McArdle
743e186cf1
FEATURE: Implement username refresh method
...
Updates username from Person API v2 for users with dinopark_enabled?
set to true, after sanitization to ensure it meets Discourse's
requirements.
https://github.com/mozilla/discourse/issues/183
2019-03-27 18:32:25 +00:00
Leo McArdle
ad3ce0d8aa
FEATURE: consume Person API v2
...
Adds an API class for Person API v2. Returns a profile with public
and verified attributes. Returns a full_name based off first_name,
last_name and alternative_name.
Also adds better logging/error messages to failed OAuth requests.
https://github.com/mozilla/discourse/issues/182
2019-03-25 12:49:58 +00:00
Leo McArdle
b1d67c450d
FEATURE: add dinopark_enabled? profile flag
...
shows in admin user details
https://github.com/mozilla/discourse/issues/181
2019-03-25 12:42:28 +00:00
Leo McArdle
7b36d1ff86
FIX: add login.auth0.name i18n string
2019-03-21 17:30:47 +00:00
Leo McArdle
6ea134429b
bump version
2019-03-13 15:16:18 +00:00
Leo McArdle
e609924a1a
TEST: fix occasionally failing qunit test
...
qunit tests are run out of order, so send empty duplicate_accounts
array to ensure the test uses that data, rather than remnants
from another test
https://github.com/mozilla/discourse/issues/173
2019-03-13 15:14:56 +00:00
Leo McArdle
71b24576ed
FIX: load callback view relative to initializer
...
this was causing tests to fail in travis because it loads the
plugin in plugins/mozilla-iam
https://github.com/mozilla/discourse/issues/173
2019-03-13 15:14:56 +00:00
Leo McArdle
87cda3b293
FEATURE: show custom error page to users logging in with secondary email
2019-03-11 17:30:07 +00:00
Leo McArdle
a8312f6449
Revert "allow users to log in with secondary emails"
...
This reverts commit 2f52f66454
.
2019-02-27 09:06:53 +00:00
Leo McArdle
1aad1cfe14
bump version to 1.0.0
2019-02-25 11:42:26 +00:00
Leo McArdle
56d233d3a0
FIX: incorrect callback_url being send to auth0
2019-02-15 14:46:11 +00:00
Leo McArdle
d51b4e6335
FIX: redirect to original origin after failing login
...
fixes https://github.com/mozilla/discourse/issues/169
2019-02-12 16:18:41 +00:00
Leo McArdle
2f52f66454
allow users to log in with secondary emails
2019-01-13 21:20:21 +00:00
Leo McArdle
957a748321
show nice error for AAL auth failure
2019-01-13 21:13:45 +00:00
Leo McArdle
a1a73b619f
FEATURE: show custom error page
2019-01-13 20:21:51 +00:00
Leo McArdle
a0a206b870
first attempt at AAL compatibility
...
will block login of users if their AAL isn't sufficient,
and kill sessions if they later require a higher AAL
2019-01-13 19:08:20 +00:00
Leo McArdle
c652048f2a
FIX: update to work with jwt 2.1.0
2019-01-08 15:33:41 +00:00
Leo McArdle
8e2fd1ff31
update readme with note about bug reports
2018-09-27 17:50:12 +01:00
Leo McArdle
e99caa10cd
fix tests
2018-09-19 18:04:42 +01:00
Leo McArdle
c906c493ce
UI: improve look and a11y of email addresses preference
2018-09-12 14:36:49 +01:00
Leo McArdle
3a35f8e555
bump version number
2018-09-11 17:09:07 +01:00
Leo McArdle
6497c39f4e
FEATURE: show "includes ldap aliases" instruction to ldap users
...
also sends mozilla_iam user custom_fields to users
2018-09-11 16:55:17 +01:00
Leo McArdle
51e83d0469
FIX: prevent infinite recursion of serializer
2018-09-11 14:43:49 +01:00
Leo McArdle
1a3d67ddb7
FEATURE: show duplicate accounts in user preferences
2018-09-10 17:36:21 +01:00
Leo McArdle
8e9e27cd54
fix test, bump version number
2018-09-05 18:23:45 +01:00
Leo McArdle
12966f5f41
FEATURE: display secondary emails in user prefs
2018-09-05 18:04:04 +01:00
Leo McArdle
8229dd6e37
FIX: make update_emails work with non-en locales
2018-08-31 16:52:10 +01:00
Leo McArdle
38fe5060c5
TEMP: disable update_emails
...
broken for non-english browser locales
2018-08-31 12:55:22 +01:00
Leo McArdle
672977ddf0
SECURITY: if last_refresh isn't set in session, fetch from user profile
2018-08-29 18:56:54 +01:00