aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/validators/users.ts
Commit message (Collapse)AuthorAgeFilesLines
* feature/ability to disable video history by default (#5728)Wicklow2023-04-071-0/+3
| | | | | | | | | | | | | * draft: ability to disable video history by default * Update configuration and add tests * Updated code based on review comments * Add tests on registration and video quota * Remove required video quotas in query * Fix tests
* Implement signup approval in serverChocobozzz2023-01-191-147/+4
|
* Support reinjecting token in private m3u8 playlistChocobozzz2022-12-021-1/+1
|
* Don't inject untrusted inputChocobozzz2022-11-151-1/+2
| | | | | Even if it's already checked in middlewares It's better to have safe modals too
* Allow admins to disable two factor authChocobozzz2022-10-071-15/+32
|
* Support two factor authentication in backendChocobozzz2022-10-071-57/+30
|
* Ask password reset/email verif error handlingChocobozzz2022-09-281-0/+14
| | | | With a user that uses a plugin authentication
* Fix channel sync right checkChocobozzz2022-09-081-7/+8
|
* Remove unnecessary logsChocobozzz2022-08-171-34/+8
|
* Cleanup useless express validator messagesChocobozzz2022-08-171-46/+85
|
* Fix various typosluz paz2022-06-071-1/+1
| | | 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`
* Add ability for admins to set default p2p policyChocobozzz2021-12-161-0/+4
|
* Give moderators access to edit channels (#4608)kontrollanten2021-12-131-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 2c627c154e2bfe6af2e0f45efb27faf4117572f3. * 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>
* Fix my live videos filterChocobozzz2021-10-201-1/+1
|
* Add channel filters for my videos/followersChocobozzz2021-10-201-2/+25
|
* Add ability to view my followersChocobozzz2021-10-201-4/+18
|
* esModuleInterop to trueChocobozzz2021-08-271-1/+1
|
* Allow accounts to skip account setup modalChocobozzz2021-08-271-4/+8
|
* Fix backend channel name validator consistencyChocobozzz2021-08-051-5/+7
|
* Refactor requestsChocobozzz2021-07-201-1/+1
|
* Support short uuid for GET video/playlistChocobozzz2021-06-291-3/+3
|
* Move middleware utils in middlewaresChocobozzz2021-06-031-4/+3
| | | | helpers modules should not import models
* refactor API errors to standard error formatRigel Kent2021-06-021-52/+61
|
* Cleanup models directory organizationChocobozzz2021-05-111-2/+2
|
* provide more schema examples in openapi specRigel Kent2021-05-111-0/+1
|
* Fix lintChocobozzz2021-02-011-1/+1
|
* Add ability to update plugin authChocobozzz2021-02-011-1/+2
|
* Upgrade sequelize to v6Chocobozzz2020-12-091-13/+12
|
* replace numbers with typed http status codes (#3409)Rigel Kent2020-12-071-25/+30
|
* Add admin view to manage commentsChocobozzz2020-11-161-0/+1
|
* Check live duration and sizeChocobozzz2020-11-091-1/+1
|
* Make channelName optionnal in tests only and validatorskimsible2020-08-111-14/+11
| | | | | | | | Fix tests channel displayName Make channelName in createUser optionnal on server side to not break api Fix auto channelName with createUser in tests
* Add validator channelName for create-user apikimsible2020-08-111-0/+17
|
* add check-params test for user listRigel Kent2020-07-031-2/+1
| | | | fixes #2918
* add blocked filter in users list to filter banned usersRigel Kent2020-07-021-0/+16
| | | | fixes #2914
* Split types and typingsChocobozzz2020-06-181-1/+1
|
* Fix external auth email/password updateChocobozzz2020-05-201-2/+7
| | | | Also check if an actor does not already exist when creating the user
* Add overview of a user's actions in user-edit (#2558)Rigel Kent2020-03-271-4/+5
|
* Creating a user with an empty password will send an email to let him set his ↵John Livingston2020-02-171-1/+2
| | | | | | | | | | | | | | | | 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
* Move to eslintcontainChocobozzz2020-02-031-4/+3
|
* (plugins) adding signup scope and init hook, modifying ↵Rigel Kent2019-11-251-1/+2
| | | | ensureUserRegistrationAllowed allowedParams
* Add plugin hook on registrationChocobozzz2019-10-251-3/+14
|
* Update server dependenciesChocobozzz2019-10-211-1/+2
|
* Try to fix testsChocobozzz2019-09-241-1/+6
|
* fix a few typos (#2141)Lukas Winkler2019-09-231-1/+1
| | | | | | | | * fix a few typos * apply changes to original files instead * additional correction
* Add welcome modalChocobozzz2019-09-051-0/+7
|
* Fix buildChocobozzz2019-08-231-1/+1
|
* Merge branch 'release/1.4.0' into developChocobozzz2019-08-221-3/+8
|\
| * Fix user creation by moderatorsChocobozzz2019-08-221-3/+8
| |
* | Stronger model typingsChocobozzz2019-08-191-2/+3
|/