aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/video-channels.ts
Commit message (Collapse)AuthorAgeFilesLines
* Fix CI using 127.0.0.1 for testsChocobozzz2022-12-121-3/+3
|
* Cleanup tests importsChocobozzz2022-08-171-3/+1
|
* We don't need to import mochaChocobozzz2022-08-171-1/+0
|
* Fix testsChocobozzz2022-08-031-3/+2
|
* Increase test timeoutChocobozzz2022-07-041-1/+1
|
* Added "total views" in the my channels list (#5007)Florian CUNY2022-05-311-0/+19
| | | | | | | | | | | | | | | | | * Added "total views" in the my channels list Implements https://github.com/Chocobozzz/PeerTube/issues/4331 * Fix lint * applied suggested change * updated openAPI spec for the use "withStats" when getting video channels * applied code change * removed GROUP BY in query * Fixed test
* Support video views/viewers stats in serverChocobozzz2022-04-151-2/+2
| | | | | | | | | | * Add "currentTime" and "event" body params to view endpoint * Merge watching and view endpoints * Introduce WatchAction AP activity * Add tables to store viewer information of local videos * Add endpoints to fetch video views/viewers stats of local videos * Refactor views/viewers handlers * Support "views" and "viewers" counters for both VOD and live videos
* Fix channels list countChocobozzz2022-03-211-0/+18
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-281-13/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Move test functions outside extra-utilsChocobozzz2021-12-171-4/+3
|
* shared/ typescript types dir server-commandsChocobozzz2021-12-171-1/+1
|
* Give moderators access to edit channels (#4608)kontrollanten2021-12-131-3/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Reorganize importsChocobozzz2021-07-201-1/+1
|
* Refactor requestsChocobozzz2021-07-201-3/+3
|
* Use an object to represent a serverChocobozzz2021-07-201-5/+5
|
* Shorter server command namesChocobozzz2021-07-201-46/+46
|
* Introduce videos commandChocobozzz2021-07-201-37/+32
|
* Introduce user commandChocobozzz2021-07-201-11/+11
|
* Introduce login commandChocobozzz2021-07-201-2/+1
|
* Introduce sql commandChocobozzz2021-07-201-3/+2
|
* Introduce channels commandChocobozzz2021-07-201-161/+88
|
* Fix hooks definitionChocobozzz2021-07-011-4/+14
|
* Update channel updatedAt when uploading a videoChocobozzz2021-05-101-25/+57
|
* Add size info in db for actor imagesChocobozzz2021-04-081-0/+11
|
* Add ability to update the bannerChocobozzz2021-04-081-1/+3
|
* Add banner testsChocobozzz2021-04-081-16/+70
|
* test search for subscriptions and video-channelsRigel Kent2020-07-291-0/+26
|
* Split notification testsChocobozzz2020-06-161-2/+2
|
* Add videos count in channels listChocobozzz2020-06-161-5/+24
|
* Optimize views per day in video channelsChocobozzz2020-06-121-0/+1
|
* Use inner join and document code for viewr stats for channelsRigel Kent2020-03-311-2/+2
|
* Tests for viewsPerDayRigel Kent2020-03-311-3/+41
|
* Move to eslintcontainChocobozzz2020-02-031-17/+18
|
* Server: Bulk update videos support fieldChocobozzz2019-05-311-6/+36
|
* Remove unused actor uuid fieldChocobozzz2019-05-311-4/+0
|
* Add pagination to account video channels endpointChocobozzz2019-05-291-3/+61
|
* All API tests in parallelChocobozzz2019-05-151-4/+4
|
* Redundancy and search tests in parallel tooChocobozzz2019-05-141-3/+3
|
* Use test wrapper exit functionChocobozzz2019-04-241-2/+3
|
* Cleanup testsChocobozzz2019-04-241-3/+1
|
* Shared utils -> extra-utilsChocobozzz2019-04-241-3/+3
| | | | Because they need dev dependencies
* Add user adminFlagsChocobozzz2019-04-151-1/+1
|
* Merge branch 'develop' of https://github.com/Chocobozzz/PeerTube into ↵buoyantair2018-11-201-2/+4
|\ | | | | | | move-utils-to-shared
| * Cleanup tests importsChocobozzz2018-11-191-2/+4
| |
* | Move utils to /sharedbuoyantair2018-10-291-3/+3
|/ | | | | | | Move utils used by /server/tools/* & /server/tests/**/* into /shared folder. Issue: #1336
* Add ability to set a name to a channelChocobozzz2018-08-271-17/+44
|
* API: Add ability to update video channel avatarChocobozzz2018-06-291-1/+33
|
* Improve tests when waiting pending jobsChocobozzz2018-06-131-10/+6
|
* Only use account name in routesChocobozzz2018-05-251-3/+2
|
* Add ability to update a video channelChocobozzz2018-05-111-21/+57
|