aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/validators/videos
Commit message (Collapse)AuthorAgeFilesLines
* Add TMP persistent directoryChocobozzz2023-05-091-3/+3
| | | | To store files that must be preserved between peertube restarts
* Implement remote runner jobs in serverChocobozzz2023-05-093-2/+11
| | | | Move ffmpeg functions to @shared
* Allow to update a live with untouched privacyChocobozzz2023-04-141-1/+1
|
* Feature/filter already watched videos (#5739)Wicklow2023-04-121-0/+11
| | | | | * filter already watched videos * Updated code based on review comments
* Feature/Add replay privacy (#5692)Wicklow2023-03-311-1/+53
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix filters on playlistsWicklow2023-02-231-1/+1
|
* Don't inject untrusted inputChocobozzz2022-11-152-2/+4
| | | | | Even if it's already checked in middlewares It's better to have safe modals too
* Put private videos under a specific subdirectoryChocobozzz2022-10-241-8/+25
|
* Add akismet testsChocobozzz2022-09-231-2/+3
|
* Check channel sync id is owned by channelChocobozzz2022-09-161-0/+7
|
* Cleanup tests importsChocobozzz2022-08-171-8/+7
|
* Remove unnecessary logsChocobozzz2022-08-1718-149/+5
|
* Cleanup useless express validator messagesChocobozzz2022-08-1717-122/+138
|
* Add ability to list comments on local videosChocobozzz2022-08-161-0/+6
|
* Add ability to list imports of a channel syncChocobozzz2022-08-103-17/+32
|
* Channel sync (#5135)Florent2022-08-103-18/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ability to delete a specific video fileChocobozzz2022-08-011-1/+86
|
* Add live and viewers otel metricsChocobozzz2022-07-271-1/+1
|
* Fix video right checkChocobozzz2022-06-221-2/+2
|
* Refactor video rights checkerChocobozzz2022-06-224-33/+13
|
* store uploaded video filename (#4885)kontrollanten2022-06-213-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Optimize view endpointChocobozzz2022-06-171-7/+6
|
* Add filter by start/end date overall stats in apiChocobozzz2022-05-051-0/+10
|
* Support live session in serverChocobozzz2022-05-031-0/+38
|
* Save replay of permanent live in clientChocobozzz2022-05-031-4/+0
|
* Fix getting live by anonymous userChocobozzz2022-04-221-5/+1
|
* Add ability to save replay of permanent livesChocobozzz2022-04-211-6/+0
|
* Support uploads of videos with unknown durationChocobozzz2022-04-191-4/+5
|
* Add ability to set start/end date to timeserieChocobozzz2022-04-151-2/+39
|
* Support video views/viewers stats in serverChocobozzz2022-04-154-39/+149
| | | | | | | | | | * 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
* Rename studio to editorChocobozzz2022-03-222-21/+21
|
* Add latency setting supportChocobozzz2022-03-091-8/+65
|
* Merge branch 'release/4.1.0' into developChocobozzz2022-03-081-1/+1
|\
| * More robust transcoding checkerChocobozzz2022-03-081-1/+1
| |
* | Remove unnecessary codeChocobozzz2022-02-282-18/+3
| |
* | Add basic video editor supportChocobozzz2022-02-287-64/+138
|/
* Check video privacy when creating comments/ratesChocobozzz2022-02-222-1/+24
|
* Correctly check import target URL IPChocobozzz2022-02-071-11/+7
|
* Add ability to cancel & delete video importsChocobozzz2022-01-191-5/+66
|
* Upgrade uploadx dependencyChocobozzz2022-01-181-17/+0
|
* Merge branch 'release/4.0.0' into developChocobozzz2022-01-101-1/+22
|\
| * Don't display comments of private/internal videosrelease/4.0.0Chocobozzz2022-01-101-1/+22
| |
* | Merge branch 'release/4.0.0' into developChocobozzz2022-01-063-16/+43
|\|
| * Prevent caption listing of private videosChocobozzz2022-01-062-16/+25
| |
| * Prevent video import on non unicast ipsChocobozzz2022-01-061-0/+18
| |
* | Stop using tsconfig registerChocobozzz2022-01-062-2/+2
| | | | | | | | Prefer to replace paths at compile time
* | Fix shared importsChocobozzz2021-12-245-11/+12
| |
* | Give moderators access to edit channels (#4608)kontrollanten2021-12-131-45/+15
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 too long filename video uploadChocobozzz2021-12-031-1/+1
|
* Add ability to run transcoding jobsChocobozzz2021-11-183-19/+58
|