aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos
Commit message (Collapse)AuthorAgeFilesLines
* Add ability to delete a specific video fileChocobozzz2022-08-011-30/+142
|
* Fix lintChocobozzz2022-07-131-1/+1
|
* Increase test timeoutChocobozzz2022-07-041-1/+1
|
* Fix video right checkChocobozzz2022-06-221-1/+1
|
* store uploaded video filename (#4885)kontrollanten2022-06-212-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * store uploaded video filename closes #4731 * dont crash if videos channel exist * migration: use raw query * video source: fixes after code review * cleanup * bump migration * updates after code review * refactor: use checkUserCanManageVideo * videoSource: add openapi doc * test(check-params/video-source): fix timeout * Styling * Correctly set original filename as source Co-authored-by: Chocobozzz <me@florianbigard.com>
* 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
* Correctly fix import testsChocobozzz2022-05-201-6/+6
|
* Increase timeoutsChocobozzz2022-05-191-1/+1
|
* Fix import testsChocobozzz2022-05-181-6/+10
|
* Test digest check for resumable uploadChocobozzz2022-04-191-7/+34
|
* Fix videos history testsChocobozzz2022-04-151-1/+1
|
* Support video views/viewers stats in serverChocobozzz2022-04-156-175/+61
| | | | | | | | | | * 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
|
* Don't store remote rates of remote videosChocobozzz2022-03-181-2/+2
| | | | | In the future we'll stop to expose all available rates to improve users privacy
* Fix lintChocobozzz2022-03-011-1/+0
|
* Fix getting avatars in videos listChocobozzz2022-03-011-0/+18
|
* Create another test suite for transcoding jobsChocobozzz2022-02-286-1749/+0
|
* Add basic video editor supportChocobozzz2022-02-286-23/+404
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-286-19/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Update changelogChocobozzz2022-02-041-0/+2
|
* Fix HLS re transcoding with object storage enabledChocobozzz2022-02-011-5/+80
|
* Prevent HLS transcoding after webtorrent transcodingChocobozzz2022-02-011-1/+24
|
* Add ability to filter my imports by target URLChocobozzz2022-01-191-0/+12
|
* Add ability to cancel & delete video importsChocobozzz2022-01-191-1/+80
|
* Add ability to delete history elementChocobozzz2022-01-181-7/+29
|
* Try to fix docker buildChocobozzz2022-01-031-10/+10
|
* Move test functions outside extra-utilsChocobozzz2021-12-1720-102/+86
|
* shared/ typescript types dir server-commandsChocobozzz2021-12-1723-23/+23
|
* chore(refactor): remove shared folder dependencies to the serverlutangar2021-12-162-2/+2
| | | | | | | | | | | Many files from the `shared` folder were importing files from the `server` folder. When attempting to use Typescript project references to describe dependencies, it highlighted a circular dependency beetween `shared` <-> `server`. The Typescript project forbid such usages. Using project references greatly improve performance by rebuilding only the updated project and not all source files. > see https://www.typescriptlang.org/docs/handbook/project-references.html
* 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>
* Fix testsChocobozzz2021-12-091-2/+11
|
* Ensure we don't run transcoding after import fileChocobozzz2021-11-231-5/+1
|
* Fetch publishedAt after wait jobsChocobozzz2021-11-181-2/+2
| | | | To make sure it's published
* Add ability to run transcoding jobsChocobozzz2021-11-182-0/+157
|
* Add ability to remove hls/webtorrent filesChocobozzz2021-11-182-0/+71
|
* Add more logs for video import testsChocobozzz2021-11-161-2/+6
|
* Fix tests cleanupChocobozzz2021-11-151-0/+4
|
* Add ability to filter out public videos from adminChocobozzz2021-11-121-3/+5
|
* Force video updatedAt update on updateChocobozzz2021-11-101-0/+20
|
* Fix testsChocobozzz2021-11-102-7/+18
|
* Remove resumable cache after upload successChocobozzz2021-11-101-8/+71
|
* Added 144p encoding (#4492)Florian CUNY2021-11-054-12/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added 144p encoding Implements https://github.com/Chocobozzz/PeerTube/issues/4428 * Fixed typo in core-utils * Increased BitPerPixel for 144p * Disabled 144p by default in test.yaml * Another try at fixing tests * Fixed test in video-transcoder (api-3) * Fixed test in video-imports (api-4) * Fixed test in live-constraints (api-2) * Tried to fix tests in api-3 again * Revert "Tried to fix tests in api-3 again" This reverts commit 266e1143fa37f333d149c2c2791c7bd33621ac14. * Fixed test in config.ts (api-2) * Try to fix test in video-hls.ts (api-3) * Fixed test in video-transcoder.ts (api-3) * Fix tests Co-authored-by: Chocobozzz <me@florianbigard.com>
* Add ability to filter by file typeChocobozzz2021-11-031-3/+77
|
* Add video file size info in admin videos listChocobozzz2021-10-291-1/+27
|
* Deprecate filter video queryChocobozzz2021-10-295-139/+407
| | | | Introduce include and isLocal instead
* prevent multiple post-process triggering of upload-resumable (#4175)Rigel Kent2021-10-251-0/+15
| | | | | | | | | * prevent multiple post-process triggering of upload-resumable * switch from 409 to 503 for upload being processed * Improve resumable upload check Co-authored-by: Chocobozzz <me@florianbigard.com>
* Add peertube short link import testChocobozzz2021-10-221-2/+7
|
* Rewrite youtube-dl importChocobozzz2021-10-221-278/+354
| | | | | | | | Use python3 binary Allows to use a custom youtube-dl release URL Allows to use yt-dlp (youtube-dl fork) Remove proxy config from configuration to use HTTP_PROXY and HTTPS_PROXY env variables
* Increase some timeoutsChocobozzz2021-10-181-1/+1
|
* Fix import testsChocobozzz2021-10-141-3/+3
|