Anna Sirota
6b835e74f1
Handle date_deletion_requested in user-modified webhook D10139
2021-01-20 10:43:11 +01:00
577bf8b964
MongoDB: fixed deprecation warnings
...
- collection.count() → either counting the result or using count_documents()
- collection.update() → replaced by update_one()
2019-05-29 16:40:51 +02:00
2d6b5d4b67
Webhook: Update users' avatars with Celery task when changed on Blender ID
2019-05-28 16:19:01 +02:00
0b8ebecfea
Don't import flask_login.request
...
`flask_login.request` is the exact same thing as `flask.request`, so
importing it from `flask_login` makes no sense. Also, it's been removed
from the new Flask-Login.
2018-08-29 12:19:40 +02:00
c2518e9ae1
Send welcome email to new Cloud subscribers
2017-12-21 15:26:23 +01:00
0b34c5c1c6
Also create user when member of organisation
2017-12-20 14:22:26 +01:00
fd68f3fc8b
Allow user creation from Blender ID webhook "user modified"
...
When the webhook indicates that the user has a Cloud subscription (demo,
active, or renewable), the user is immediately created.
2017-12-20 12:56:48 +01:00
a2c24375e5
Webhooks: smarter way to find the user the webhook applies to.
...
We now also match on Blender ID (through the 'auth' section of the user
document), so that even when we have missed an email change we can still
apply the changes from the webhook.
2017-12-20 12:22:51 +01:00
be4b36a661
Also accept user-modified webhook when old email address is unknown.
...
When the old email address is unknown, and the new one does map to a user,
use the webhook to update the new user.
2017-12-20 11:40:56 +01:00
ae700b5eef
Added payload description of Blender ID webhook
2017-12-20 11:19:15 +01:00
abb0ded3f2
Lowered log level for webhook call for unknown user
2017-12-08 14:08:04 +01:00
f948969b20
Fixed webhook so that users' full_name isn't reset to the empty string.
2017-12-08 14:04:11 +01:00
f7ce8d74a7
Implemented Blender ID webhook for user change notifications
...
Handles changes in:
- roles
- full name
- email address
2017-12-01 19:06:16 +01:00