Chocobozzz
f43db2f46e
Refactor auth flow
...
Reimplement some node-oauth2-server methods to remove hacky code needed by our external
login workflow
2021-03-24 18:18:41 +01:00
Chocobozzz
8795d6f254
Fix broken local actors
...
Some channels can't federate because they don't have public/private
keys, maybe because the generation failed for various reasons
2021-02-26 14:22:25 +01:00
Chocobozzz
fae6e4da8f
Try to speed up server tests
2021-02-19 09:36:50 +01:00
Chocobozzz
6d989edc66
Add ability to update plugin auth
2021-02-01 15:39:13 +01:00
Chocobozzz
2dbc170da3
Add missing audit log if the user deletes its account
2021-01-04 09:54:48 +01:00
Rigel Kent
2d53be0267
replace numbers with typed http status codes ( #3409 )
2020-12-07 14:32:36 +01:00
Chocobozzz
e9c5f12338
Do not reuse reset password links
2020-08-12 09:16:08 +02:00
kimsible
69db147043
Make channelName optionnal only for the API
2020-08-11 08:46:35 +02:00
kimsible
3d215dc5f9
Add channelName to user-create server-side and models
2020-08-11 08:46:35 +02:00
Chocobozzz
edbc932546
Add server API to abuse messages
2020-07-31 11:35:19 +02:00
kimsible
963023abe6
Fix: display username in password-reset and verify-email notifs
2020-07-20 16:56:32 +02:00
Rigel Kent
ea7337cfde
add check-params test for user list
...
fixes #2918
2020-07-03 10:29:03 +02:00
Rigel Kent
8491293b02
add blocked filter in users list to filter banned users
...
fixes #2914
2020-07-02 22:50:33 +02:00
Chocobozzz
1e904cde34
Fix users tests
2020-07-02 14:23:50 +02:00
Rigel Kent
2c31866430
update openapi spec with links and callback for search
2020-06-27 13:12:34 +02:00
Chocobozzz
26d6bf6533
Split types and typings
2020-06-18 10:46:27 +02:00
Chocobozzz
faa9d434b4
Update server dependencies
2020-06-17 11:42:50 +02:00
Chocobozzz
e1c5503114
Support logout and add id and pass tests
2020-05-04 16:21:39 +02:00
Chocobozzz
7fed637506
Begin auth plugin support
2020-05-04 16:21:39 +02:00
John Livingston
45f1bd72a0
Creating a user with an empty password will send an email to let him set his password ( #2479 )
...
* Creating a user with an empty password will send an email to let him set his password
* Consideration of Chocobozzz's comments
* Tips for optional password
* API documentation
* Fix circular imports
* Tests
2020-02-17 10:16:52 +01:00
Chocobozzz
9a11f73392
Upgrade express-rate-limit
2020-02-04 10:52:05 +01:00
Chocobozzz
6f3fe96f40
Add action hooks to user routes
2019-12-06 15:59:12 +01:00
Chocobozzz
1ca9f7c3f7
Type toFormattedJSON
2019-08-20 19:23:10 +02:00
Chocobozzz
453e83ea5d
Stronger model typings
2019-08-19 17:26:35 +02:00
Chocobozzz
a95a4cc891
Moderators can only manage users
2019-07-30 09:59:19 +02:00
Chocobozzz
c1340a6ac3
Add rate limit to registration and API endpoints
2019-07-04 16:42:40 +02:00
Chocobozzz
d1ab89deb7
Handle email update on server
2019-06-11 14:31:11 +02:00
Chocobozzz
1f20622f2b
Improve registration
...
* Add ability to set the user display name
* Use display name to guess the username/channel name
* Add explanations about what is the purpose of a username/channel name
* Add a loader at the "done" step
2019-06-07 17:05:42 +02:00
Chocobozzz
6091983127
Upgrade server dependencies
2019-06-06 15:39:11 +02:00
Chocobozzz
57cfff7885
Remove unused actor uuid field
2019-05-31 14:49:31 +02:00
Chocobozzz
e590b4a512
Add ability to specify channel on registration
2019-05-28 10:46:32 +02:00
Chocobozzz
1eddc9a74f
Add user adminFlags
2019-04-15 14:39:52 +02:00
Chocobozzz
74dc3bca2b
Don't expose constants directly in initializers/
2019-04-11 14:26:41 +02:00
Chocobozzz
6dd9de95df
Move config in its own file
2019-04-11 13:45:39 +02:00
Chocobozzz
dae86118ed
Cleanup express locals typings
2019-03-19 10:35:15 +01:00
Chocobozzz
f0a3988066
Add to playlist dropdown
2019-03-18 11:17:59 +01:00
Chocobozzz
df0b219d36
Add playlist rest tests
2019-03-18 11:17:59 +01:00
Chocobozzz
374c1db98c
Upgrade server dependencies
2019-02-21 14:22:39 +01:00
Chocobozzz
b426edd485
Cleanup reset user password by admin
...
And add some tests
2019-02-11 10:37:27 +01:00
Rigel Kent
328c78bc4a
allow administration to change/reset a user's password
2019-02-11 09:26:29 +01:00
Chocobozzz
cf405589f0
Move subscriptions controllers in its own file
2019-01-14 10:44:59 +01:00
Chocobozzz
f7cc67b455
Add new follow, mention and user registered notifs
2019-01-09 11:15:15 +01:00
Chocobozzz
cef534ed53
Add user notification base code
2019-01-09 11:15:15 +01:00
Chocobozzz
8b9a525a18
Add history on server side
...
Add ability to disable, clear and list user videos history
2018-12-18 11:35:50 +01:00
Josh Morel
fc2ec87a8c
enable email verification by admin ( #1348 )
...
* enable email verification by admin
* rename/label to set email as verified
to be more explicit that admin is not sending
another email to confirm
* add update user emailVerified check-params test
* make user.model emailVerified property required
2018-11-21 08:48:29 +01:00
Chocobozzz
7ad9b9846c
Add ability for users to block an account/instance on server side
2018-10-16 16:41:36 +02:00
Chocobozzz
24b9417cec
Add users search filter
2018-10-08 15:55:32 +02:00
Chocobozzz
601527d795
Check video channel name is unique on our instance
2018-10-01 15:20:14 +02:00
Chocobozzz
f201a74992
Cache user token
2018-09-20 11:45:59 +02:00
Chocobozzz
91411dba92
Limit associations fetch when loading token
2018-09-20 11:45:59 +02:00