aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params
Commit message (Collapse)AuthorAgeFilesLines
* Migrate server to ESMChocobozzz2023-08-1147-14024/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sorry for the very big commit that may lead to git log issues and merge conflicts, but it's a major step forward: * Server can be faster at startup because imports() are async and we can easily lazy import big modules * Angular doesn't seem to support ES import (with .js extension), so we had to correctly organize peertube into a monorepo: * Use yarn workspace feature * Use typescript reference projects for dependencies * Shared projects have been moved into "packages", each one is now a node module (with a dedicated package.json/tsconfig.json) * server/tools have been moved into apps/ and is now a dedicated app bundled and published on NPM so users don't have to build peertube cli tools manually * server/tests have been moved into packages/ so we don't compile them every time we want to run the server * Use isolatedModule option: * Had to move from const enum to const (https://www.typescriptlang.org/docs/handbook/enums.html#objects-vs-enums) * Had to explictely specify "type" imports when used in decorators * Prefer tsx (that uses esbuild under the hood) instead of ts-node to load typescript files (tests with mocha or scripts): * To reduce test complexity as esbuild doesn't support decorator metadata, we only test server files that do not import server models * We still build tests files into js files for a faster CI * Remove unmaintained peertube CLI import script * Removed some barrels to speed up execution (less imports)
* Remove deprecated video query filterChocobozzz2023-07-281-73/+0
|
* currentTime is now requiredChocobozzz2023-07-281-2/+3
|
* Refactor enableTranscoding command helpersChocobozzz2023-07-282-5/+5
|
* Add ability to force transcodingChocobozzz2023-07-281-2/+4
|
* Improve runner managementChocobozzz2023-07-271-4/+48
| | | | | | | * Add ability to remove runner jobs * Add runner job state quick filter * Merge registration tokens and runners tables in the same page * Add copy button to copy registration token
* Fix check params testsChocobozzz2023-07-262-42/+65
|
* Add more rate limitsChocobozzz2023-07-261-1/+1
|
* Implement replace file in server sideChocobozzz2023-07-212-19/+134
|
* Add p2p info to metricsChocobozzz2023-07-211-2/+9
|
* Add peers number and p2p enabled label to metricsChocobozzz2023-07-201-4/+23
|
* Avoid update remote runner errorChocobozzz2023-07-121-3/+5
|
* Avoid duplicate runner namesChocobozzz2023-07-121-0/+9
|
* Rename webtorrent config to web_videosChocobozzz2023-07-111-2/+2
|
* Prefer web videos in favour of webtorrentChocobozzz2023-07-113-30/+30
|
* Remove webtorrent support from clientChocobozzz2023-07-101-1/+1
|
* Fix CI testsChocobozzz2023-06-296-14/+14
|
* Add storyboard supportChocobozzz2023-06-294-1/+50
|
* Feature/password protected videos (#5836)Wicklow2023-06-293-11/+646
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add server endpoints * Refactoring test suites * Update server and add openapi documentation * fix compliation and tests * upload/import password protected video on client * add server error code * Add video password to update resolver * add custom message when sharing pw protected video * improve confirm component * Add new alert in component * Add ability to watch protected video on client * Cannot have password protected replay privacy * Add migration * Add tests * update after review * Update check params tests * Add live videos test * Add more filter test * Update static file privacy test * Update object storage tests * Add test on feeds * Add missing word * Fix tests * Fix tests on live videos * add embed support on password protected videos * fix style * Correcting data leaks * Unable to add password protected privacy on replay * Updated code based on review comments * fix validator and command * Updated code based on review comments
* Update server dependenciesChocobozzz2023-05-221-1/+1
|
* Fix testsChocobozzz2023-05-221-16/+0
|
* Remove low timeoutsChocobozzz2023-05-222-4/+0
| | | | Default timeout is 30s
* Improve remote runner config UXChocobozzz2023-05-192-2/+2
|
* Fix testsChocobozzz2023-05-171-1/+1
|
* Increase test timeoutsChocobozzz2023-05-111-1/+1
|
* Fix test cleanupChocobozzz2023-05-101-1/+1
|
* Add more tests on registration request conflictChocobozzz2023-05-101-1/+14
|
* Prefer video studio instead of video editionChocobozzz2023-05-091-5/+5
| | | | Clearer and easier to find in the project
* Support studio transcoding in peertube runnerChocobozzz2023-05-092-22/+194
|
* Add runner server testsChocobozzz2023-05-096-7/+716
|
* Allow to update a live with untouched privacyChocobozzz2023-04-141-1/+7
|
* Feature/filter already watched videos (#5739)Wicklow2023-04-121-2/+17
| | | | | * filter already watched videos * Updated code based on review comments
* feature/ability to disable video history by default (#5728)Wicklow2023-04-072-12/+5
| | | | | | | | | | | | | * 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
* Feature/Add replay privacy (#5692)Wicklow2023-03-311-2/+45
| | | | | | | | | | | | | | | | | | | | | | | | | * Add replay settings feature * Fix replay settings behaviour * Fix tests * Fix tests * Fix tests * Update openapi doc and fix tests * Add tests and fix code * Models correction * Add migration and update controller and middleware * Add check params tests * Fix video live middleware * Updated code based on review comments
* Hotfix/filter subscription videos (#5665)Wicklow2023-03-021-1/+2
| | | | | | | | | * Fix filters on subscription videos * Add tests to common video filters * Improve reliability when skipping subscrition path * Better parameters for skipping subscription videos
* Add ability to disable http duration OTEL metricsChocobozzz2023-02-271-3/+0
|
* Move to new documentation linksChocobozzz2023-02-221-5/+5
|
* Add more signup limit testsChocobozzz2023-01-191-4/+35
|
* Add signup approval API testsChocobozzz2023-01-198-268/+539
|
* Fix buildChocobozzz2022-12-291-1/+1
|
* Fix CI using 127.0.0.1 for testsChocobozzz2022-12-128-67/+67
|
* Fix DISABLE_LOCAL_SEARCH blocking request to local search API (#5411)Florent2022-11-231-5/+0
|
* Put private videos under a specific subdirectoryChocobozzz2022-10-244-91/+188
|
* Allow admins to disable two factor authChocobozzz2022-10-071-8/+21
|
* Support two factor authentication in backendChocobozzz2022-10-072-2/+278
|
* Check channel sync id is owned by channelChocobozzz2022-09-161-2/+32
|
* Cleanup tests importsChocobozzz2022-08-177-9/+1
|
* We don't need to import mochaChocobozzz2022-08-1724-26/+2
|
* Reimplement a typed omit functionChocobozzz2022-08-178-51/+34
|
* Add playback metric endpoint sent to OTELChocobozzz2022-08-162-0/+184
|