Chocobozzz
e364e31e25
Implement signup approval in server
2023-01-19 13:53:40 +01:00
Chocobozzz
71e3e879c0
Support reinjecting token in private m3u8 playlist
2022-12-02 15:25:20 +01:00
Chocobozzz
4638cd713d
Don't inject untrusted input
...
Even if it's already checked in middlewares
It's better to have safe modals too
2022-11-15 14:41:55 +01:00
Chocobozzz
2166c058f3
Allow admins to disable two factor auth
2022-10-07 14:28:35 +02:00
Chocobozzz
56f4783075
Support two factor authentication in backend
2022-10-07 10:51:16 +02:00
Chocobozzz
c5f3ff39e5
Ask password reset/email verif error handling
...
With a user that uses a plugin authentication
2022-09-28 16:00:32 +02:00
Chocobozzz
d4d9bbc6f2
Fix channel sync right check
2022-09-08 08:41:48 +02:00
Chocobozzz
a85d530384
Remove unnecessary logs
2022-08-17 14:58:40 +02:00
Chocobozzz
396f6f0140
Cleanup useless express validator messages
2022-08-17 14:27:04 +02:00
luz paz
7a4fd56ccd
Fix various typos
...
Found via `codespell -q 3 -S ./CREDITS.md,./CHANGELOG.md,./client/src/locale,./yarn.lock,./client/yarn.lock -L doubleclick,followings,nd,ot,ro,serie,splitted,tread,truthy`
2022-06-07 16:41:21 +02:00
Chocobozzz
a9bfa85d2c
Add ability for admins to set default p2p policy
2021-12-16 10:08:55 +01:00
kontrollanten
a37e9e74ff
Give moderators access to edit channels ( #4608 )
...
* give admins access to edit all channels
closes #4598
* test(channels): +admin update another users channel
* Fix tests
* fix(server): delete another users channel
Since the channel owner isn't necessary the auth user we need to check
the right account whether it's the last video or not.
* REMOVE_ANY_VIDEO_CHANNEL > MANAGE_ANY_VIDEO_CHANNEL
Merge REMOVE_ANY_VIDEO_CHANNEL and MANY_VIDEO_CHANNELS to
MANAGE_ANY_VIDEO_CHANNEL.
* user-right: moderator can't manage admins channel
* client: MyVideoChannelCreateComponent > VideoChannelCreateComponent
* client: MyVideoChannelEdit > VideoChannelEdit
* Revert "user-right: moderator can't manage admins channel"
This reverts commit 2c627c154e
.
* server: clean dupl validator functionality
* fix ensureUserCanManageChannel usage
It's not async anymore.
* server: merge channel validator middleares
ensureAuthUserOwnsChannelValidator & ensureUserCanManageChannel gets
merged into one middleware.
* client(VideoChannelEdit): redirect to prev route
* fix(VideoChannels): handle anon users
* client: new routes for create/update channel
* Refactor channel validators
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-12-13 15:29:13 +01:00
Chocobozzz
c4c0c31144
Fix my live videos filter
2021-10-20 10:04:06 +02:00
Chocobozzz
978c87e7f5
Add channel filters for my videos/followers
2021-10-20 09:25:44 +02:00
Chocobozzz
4beda9e12a
Add ability to view my followers
2021-10-20 09:25:44 +02:00
Chocobozzz
41fb13c330
esModuleInterop to true
2021-08-27 15:12:22 +02:00
Chocobozzz
8f58172565
Allow accounts to skip account setup modal
2021-08-27 10:15:55 +02:00
Chocobozzz
27db78400c
Fix backend channel name validator consistency
2021-08-05 13:54:35 +02:00
Chocobozzz
c0e8b12e7f
Refactor requests
2021-07-20 15:27:18 +02:00
Chocobozzz
d4a8e7a65f
Support short uuid for GET video/playlist
2021-06-29 14:56:35 +02:00
Chocobozzz
10363c74c1
Move middleware utils in middlewares
...
helpers modules should not import models
2021-06-03 18:03:36 +02:00
Rigel Kent
76148b27f7
refactor API errors to standard error format
2021-06-02 16:57:07 +02:00
Chocobozzz
7d9ba5c089
Cleanup models directory organization
2021-05-11 11:32:31 +02:00
Rigel Kent
b8375da931
provide more schema examples in openapi spec
2021-05-11 01:50:42 +02:00
Chocobozzz
5e8dd6e08a
Fix lint
2021-02-01 16:05:22 +01:00
Chocobozzz
6d989edc66
Add ability to update plugin auth
2021-02-01 15:39:13 +01:00
Chocobozzz
b49f22d8f9
Upgrade sequelize to v6
2020-12-09 11:41:22 +01:00
Rigel Kent
2d53be0267
replace numbers with typed http status codes ( #3409 )
2020-12-07 14:32:36 +01:00
Chocobozzz
f127331459
Add admin view to manage comments
2020-11-16 13:48:58 +01:00
Chocobozzz
fb7194043d
Check live duration and size
2020-11-09 15:33:04 +01:00
kimsible
766d13b447
Make channelName optionnal in tests only and validators
...
Fix tests channel displayName
Make channelName in createUser optionnal on server side to not break api
Fix auto channelName with createUser in tests
2020-08-11 08:46:35 +02:00
kimsible
4e68fc8605
Add validator channelName for create-user api
2020-08-11 08:46:35 +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
26d6bf6533
Split types and typings
2020-06-18 10:46:27 +02:00
Chocobozzz
9a7fd9600b
Fix external auth email/password update
...
Also check if an actor does not already exist when creating the user
2020-05-20 10:17:27 +02:00
Rigel Kent
76314386ae
Add overview of a user's actions in user-edit ( #2558 )
2020-03-27 15:19:03 +01: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
a15871560f
Move to eslint
2020-02-03 08:31:02 +01:00
Rigel Kent
ba7b7e572f
(plugins) adding signup scope and init hook, modifying ensureUserRegistrationAllowed allowedParams
2019-11-25 11:16:12 +01:00
Chocobozzz
4ce7eb71ba
Add plugin hook on registration
2019-10-25 13:54:32 +02:00
Chocobozzz
d5d9b6d7bf
Update server dependencies
2019-10-21 15:03:28 +02:00
Chocobozzz
c1e5bd23d5
Try to fix tests
2019-09-24 10:19:55 +02:00
Lukas Winkler
32d7f2b754
fix a few typos ( #2141 )
...
* fix a few typos
* apply changes to original files instead
* additional correction
2019-09-23 08:17:42 +02:00
Chocobozzz
43d0ea7f4b
Add welcome modal
2019-09-05 10:17:02 +02:00
Chocobozzz
d11c28a36b
Fix build
2019-08-23 08:56:57 +02:00
Chocobozzz
d5c8932a60
Merge branch 'release/1.4.0' into develop
2019-08-22 14:46:47 +02:00
Chocobozzz
dea16773df
Fix user creation by moderators
2019-08-22 10:59:14 +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