aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/video-channel.ts
Commit message (Collapse)AuthorAgeFilesLines
* Refactor user build and express file middlewaresChocobozzz2022-03-041-3/+2
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-281-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * client: remove unused file * refactor(client/my-actor-avatar): size from input Read size from component input instead of scss, to make it possible to use smaller avatar images when implemented. * implement avatar miniatures close #4560 * fix(test): max file size * fix(search-index): normalize res acc to avatarMini * refactor avatars to an array * client/search: resize channel avatar to 120 * refactor(client/videos): remove unused function * client(actor-avatar): set default size * fix tests and avatars full result When findOne is used only an array containting one avatar is returned. * update migration version and version notations * server/search: harmonize normalizing * Cleanup avatar miniature PR Co-authored-by: Chocobozzz <me@florianbigard.com>
* Fix shared importsChocobozzz2021-12-241-2/+1
|
* Give moderators access to edit channels (#4608)kontrollanten2021-12-131-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Add video file size info in admin videos listChocobozzz2021-10-291-1/+0
|
* Deprecate filter video queryChocobozzz2021-10-291-4/+13
| | | | Introduce include and isLocal instead
* Split check user params testsChocobozzz2021-10-201-1/+1
|
* Add ability to view my followersChocobozzz2021-10-201-10/+45
|
* esModuleInterop to trueChocobozzz2021-08-271-1/+1
|
* Remove useless asyncChocobozzz2021-08-261-2/+2
|
* Refactor search query optionsChocobozzz2021-07-291-11/+5
|
* Refactor requestsChocobozzz2021-07-201-1/+1
|
* Add ability to search playlistsChocobozzz2021-06-251-2/+2
|
* Refactor AP actorsChocobozzz2021-06-031-1/+1
|
* refactor API errors to standard error formatRigel Kent2021-06-021-2/+2
|
* Refactor a little bit controllersChocobozzz2021-05-121-5/+2
|
* Add ability to filter my videos by liveChocobozzz2021-05-031-11/+12
|
* Add banner testsChocobozzz2021-04-081-1/+1
|
* Add banners supportChocobozzz2021-04-081-17/+49
|
* Agnostic actor image storageChocobozzz2021-04-081-1/+1
|
* Fix broken local actorsChocobozzz2021-02-261-4/+3
| | | | | Some channels can't federate because they don't have public/private keys, maybe because the generation failed for various reasons
* Allow webp image uploadsChocobozzz2021-01-261-3/+3
|
* add ability to remove one's avatar for account and channels (#3467)Rigel Kent2021-01-131-2/+17
| | | | | | | * add ability to remove one's avatar for account and channels * add ability to remove one's avatar for account and channels * only display avatar edition options after input change
* Use dedicated hooks for account/channel videosChocobozzz2020-12-081-2/+9
|
* replace numbers with typed http status codes (#3409)Rigel Kent2020-12-071-2/+3
|
* Optimize default sort when listing videosChocobozzz2020-08-201-20/+21
| | | | createdAt does not have the appropriate index
* harmonize search for librariesRigel Kent2020-07-291-2/+1
|
* variable columns for users list, more columns possible, badge display for ↵Rigel Kent2020-07-291-2/+9
| | | | statuses
* Split types and typingsChocobozzz2020-06-181-1/+1
|
* Support logout and add id and pass testsChocobozzz2020-05-041-1/+1
|
* Avoir some circular dependenciesChocobozzz2020-05-041-2/+3
|
* Move to eslintcontainChocobozzz2020-02-031-2/+1
|
* Add ability to skip count queryChocobozzz2020-01-081-2/+4
|
* Type toActivityPubObject functionsChocobozzz2019-08-211-1/+2
|
* Type toFormattedJSONChocobozzz2019-08-201-2/+2
|
* Stronger model typingsChocobozzz2019-08-191-1/+1
|
* Server: Bulk update videos support fieldChocobozzz2019-05-311-5/+21
|
* Remove unused actor uuid fieldChocobozzz2019-05-311-6/+5
|
* Don't expose constants directly in initializers/Chocobozzz2019-04-111-1/+2
|
* Move config in its own fileChocobozzz2019-04-111-1/+2
|
* Cleanup express locals typingsChocobozzz2019-03-191-10/+9
|
* Add playlist rest testsChocobozzz2019-03-181-1/+6
|
* Playlist server APIChocobozzz2019-03-181-1/+26
|
* Refresh remote actors on GET enpointsChocobozzz2019-01-141-0/+6
|
* Support additional video extensionsChocobozzz2018-12-111-2/+2
|
* Remove inferred typeChocobozzz2018-12-051-2/+2
|
* Add tmp and redundancy directoriesChocobozzz2018-12-041-1/+1
|
* Add ability for users to block an account/instance on server sideChocobozzz2018-10-161-1/+1
|
* Add ability to list all local videosChocobozzz2018-10-101-1/+3
| | | | Including private/unlisted for moderators/admins
* Check video channel name is unique on our instanceChocobozzz2018-10-011-1/+1
|