aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/validators/config.ts
Commit message (Collapse)AuthorAgeFilesLines
* Implement signup approval in serverChocobozzz2023-01-191-0/+1
|
* Remove unnecessary logsChocobozzz2022-08-171-4/+1
|
* Cleanup useless express validator messagesChocobozzz2022-08-171-94/+92
|
* Channel sync (#5135)Florent2022-08-101-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add external channel URL for channel update / creation (#754) * Disallow synchronisation if user has no video quota (#754) * More constraints serverside (#754) * Disable sync if server configuration does not allow HTTP import (#754) * Working version synchronizing videos with a job (#754) TODO: refactoring, too much code duplication * More logs and try/catch (#754) * Fix eslint error (#754) * WIP: support synchronization time change (#754) * New frontend #754 * WIP: Create sync front (#754) * Enhance UI, sync creation form (#754) * Warning message when HTTP upload is disallowed * More consistent names (#754) * Binding Front with API (#754) * Add a /me API (#754) * Improve list UI (#754) * Implement creation and deletion routes (#754) * Lint (#754) * Lint again (#754) * WIP: UI for triggering import existing videos (#754) * Implement jobs for syncing and importing channels * Don't sync videos before sync creation + avoid concurrency issue (#754) * Cleanup (#754) * Cleanup: OpenAPI + API rework (#754) * Remove dead code (#754) * Eslint (#754) * Revert the mess with whitespaces in constants.ts (#754) * Some fixes after rebase (#754) * Several fixes after PR remarks (#754) * Front + API: Rename video-channels-sync to video-channel-syncs (#754) * Allow enabling channel sync through UI (#754) * getChannelInfo (#754) * Minor fixes: openapi + model + sql (#754) * Simplified API validators (#754) * Rename MChannelSync to MChannelSyncChannel (#754) * Add command for VideoChannelSync (#754) * Use synchronization.enabled config (#754) * Check parameters test + some fixes (#754) * Fix conflict mistake (#754) * Restrict access to video channel sync list API (#754) * Start adding unit test for synchronization (#754) * Continue testing (#754) * Tests finished + convertion of job to scheduler (#754) * Add lastSyncAt field (#754) * Fix externalRemoteUrl sort + creation date not well formatted (#754) * Small fix (#754) * Factorize addYoutubeDLImport and buildVideo (#754) * Check duplicates on channel not on users (#754) * factorize thumbnail generation (#754) * Fetch error should return status 400 (#754) * Separate video-channel-import and video-channel-sync-latest (#754) * Bump DB migration version after rebase (#754) * Prettier states in UI table (#754) * Add DefaultScope in VideoChannelSyncModel (#754) * Fix audit logs (#754) * Ensure user can upload when importing channel + minor fixes (#754) * Mark synchronization as failed on exception + typos (#754) * Change REST API for importing videos into channel (#754) * Add option for fully synchronize a chnanel (#754) * Return a whole sync object on creation to avoid tricks in Front (#754) * Various remarks (#754) * Single quotes by default (#754) * Rename synchronization to video_channel_synchronization * Add check.latest_videos_count and max_per_user options (#754) * Better channel rendering in list #754 * Allow sorting with channel name and state (#754) * Add missing tests for channel imports (#754) * Prefer using a parent job for channel sync * Styling * Client styling Co-authored-by: Chocobozzz <me@florianbigard.com>
* Add option to not transcode original resolutionChocobozzz2022-08-091-0/+5
|
* Use single quotes in server/ and update eslint rulesFlorent2022-08-081-2/+2
|
* Rename studio to editorChocobozzz2022-03-221-6/+6
|
* Add basic video editor supportChocobozzz2022-02-281-0/+14
|
* Added 144p encoding (#4492)Florian CUNY2021-11-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Made the video channels limit (per user) server-wide configurable (#4491)Florian CUNY2021-10-261-0/+2
| | | | | | | | | | | | | | | * Made the video channels limit (per user) server-wide configurable Implements https://github.com/Chocobozzz/PeerTube/issues/3092 Also added a "quota bar" in the account's settings page * Fixed lint errors * Another pass at fixing lint errors * Applied code suggestions * Removed 'video channels quota'
* Fix admin edition disabling featureChocobozzz2021-10-141-1/+2
|
* Allow configuration to be static/readonly (#4315)Jelle Besseling2021-10-121-2/+14
| | | | | | | | | | | * Allow configuration to be static/readonly * Make all components disableable * Improve disabled component styling * Rename edits allowed field in configuration * Fix CI
* esModuleInterop to trueChocobozzz2021-08-271-1/+1
|
* Move middleware utils in middlewaresChocobozzz2021-06-031-1/+1
| | | | helpers modules should not import models
* refactor API errors to standard error formatRigel Kent2021-06-021-10/+3
|
* Implemented configurable minimum signup agePoslovitch2021-05-281-0/+1
| | | | | | | | | | | | | | Implements https://github.com/Chocobozzz/PeerTube/issues/3612 Fixed lint and removed debug Fixed another lint error Apply suggestions from code review Co-authored-by: Chocobozzz <chocobozzz@cpy.re> Add tests for min signup age config
* Add ability to update torrents cache in clientChocobozzz2021-02-181-0/+1
|
* Allow to specify transcoding and import jobs concurrencyChocobozzz2021-02-081-0/+2
|
* move from trending routes to alg paramRigel Kent2021-01-281-1/+3
|
* add default trending page choice, revert comments count for hot strategyRigel Kent2021-01-281-1/+2
|
* add support for 1440p (Quad HD/QHD/WQHD) videosRigel Kent2021-01-131-0/+2
|
* Use -1 for max live duration unlimitedChocobozzz2020-12-151-2/+2
|
* replace numbers with typed http status codes (#3409)Rigel Kent2020-12-071-5/+6
|
* Add max lives limitChocobozzz2020-11-091-0/+2
|
* Check live duration and sizeChocobozzz2020-11-091-6/+34
|
* First implem global searchChocobozzz2020-06-101-1/+8
|
* Support broadcast messagesChocobozzz2020-05-291-0/+5
|
* Refactor email enabled functionChocobozzz2020-02-171-2/+2
|
* Move to eslintcontainChocobozzz2020-02-031-1/+1
|
* Add warning if admin disables webtorrentChocobozzz2020-01-061-1/+1
|
* Add audio-only option to transcoders and playerfrankdelange2019-11-251-0/+1
| | | | | | | | This patch adds an audio-only option to PeerTube by means of a new transcoding configuration which creates mp4 files which only contain an audio stream. This new transcoder has a resolution of '0' and is presented in the preferences and in the player resolution menu as 'Audio-only' (localised). When playing such streams the player shows the file thumbnail as background and disables controls autohide. Audio-only files can be shared and streamed just like any other file. They can be downloaded as well, the resulting file will be an mp4 container with a single audio stream. This patch is a proof of concept to show the feasibility of 'true' audio-only support. There are better ways of doing this which also enable multiple audio streams for a given video stream (e.g. DASH) but as this would entail a fundamental change in the way PeerTube works it is a bridge too far for a simple proof of concept.
* Add ability to disable webtorrentChocobozzz2019-11-251-0/+17
| | | | In favour of HLS
* Fix express validatorChocobozzz2019-07-251-1/+1
|
* Add peertube plugin index website modelsChocobozzz2019-07-241-2/+3
|
* WIP plugins: add theme supportChocobozzz2019-07-241-1/+4
|
* Add ability to manually approves instance followers in REST APIChocobozzz2019-04-081-0/+3
|
* check email enabled for requiresEmailVer configJosh Morel2019-02-181-0/+18
|
* Implement contact form on server sideChocobozzz2019-01-101-2/+17
|
* Add import.video.torrent configurationChocobozzz2018-08-081-0/+1
|
* Add import http enabled configurationChocobozzz2018-08-061-0/+1
|
* Add ability to choose what policy we have for NSFW videosChocobozzz2018-04-191-1/+2
| | | | There is a global instance setting and a per user setting
* Add ability to change the homepageChocobozzz2018-03-011-0/+6
|
* Add ability to update some configuration keysChocobozzz2018-01-171-0/+32