aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/videos/import.ts
Commit message (Collapse)AuthorAgeFilesLines
* Fix transcoding failure when importing a videoChocobozzz2022-10-311-1/+1
|
* Channel sync (#5135)Florent2022-08-101-267/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Use bullmq job dependencyChocobozzz2022-08-091-2/+2
|
* Limit import depending on transcoding resolutionsChocobozzz2022-08-091-1/+5
|
* Fix lintChocobozzz2022-07-131-1/+1
|
* Refactor user build and express file middlewaresChocobozzz2022-03-041-6/+1
|
* Add additional checks when importing a videoChocobozzz2022-02-091-1/+28
|
* Add ability to cancel & delete video importsChocobozzz2022-01-191-2/+46
|
* Fix shared importsChocobozzz2021-12-241-4/+3
|
* Ability for admins to set default upload valuesChocobozzz2021-12-141-3/+3
|
* Add upload/import/go live video attributes hooksChocobozzz2021-12-101-4/+13
|
* Rewrite youtube-dl importChocobozzz2021-10-221-5/+5
| | | | | | | | 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
* More robust youtube-dl thumbnail importChocobozzz2021-10-111-2/+10
|
* Add peertube import testChocobozzz2021-08-271-1/+5
|
* esModuleInterop to trueChocobozzz2021-08-271-5/+5
|
* createThumbnail -> updateThumbnailChocobozzz2021-06-041-5/+5
|
* correct error codes and backward compatRigel Kent2021-06-021-1/+1
|
* refactor API errors to standard error formatRigel Kent2021-06-021-11/+10
|
* Instance homepage support (#4007)Chocobozzz2021-05-271-2/+2
| | | | | | | | | | | | | | | | | * Prepare homepage parsers * Add ability to update instance hompage * Add ability to set homepage as landing page * Add homepage preview in admin * Dynamically update left menu for homepage * Inject home content in homepage * Add videos list and channel miniature custom markup * Remove unused elements in markup service
* Refactor a little bit controllersChocobozzz2021-05-121-66/+94
|
* Stricter models typingChocobozzz2021-05-121-3/+6
|
* Error if importing a torrent with multiple filesChocobozzz2021-05-111-5/+15
|
* Use a class for youtube-dlChocobozzz2021-05-111-3/+6
|
* Remove previous thumbnail if neededChocobozzz2021-02-161-4/+6
|
* Generate a name for caption filesChocobozzz2021-02-161-18/+14
|
* Guess if we need to generate the thumbnail for importsChocobozzz2021-02-121-2/+0
|
* Fix (again) youtube importChocobozzz2021-01-191-2/+1
|
* stricter youtubedl format selectors (#3516)Rigel Kent2021-01-151-6/+6
| | | | | | | | | | | | | | * stricter youtubedl format selectors make sure selectors avoid av1, and otherwise match as closely to the maximum resolution enabled for transcoding * add support for merge formats in youtubedl * avoid vp9.2 in youtubedl to avoid any HDR * move getEnabledResolutions, safer replace of imported extension * add test for youtube-dl selectors
* Upgrade sequelize to v6Chocobozzz2020-12-091-3/+2
|
* replace numbers with typed http status codes (#3409)Rigel Kent2020-12-071-1/+2
|
* Fix incorrect IDs in AP federationChocobozzz2020-11-201-2/+2
|
* Refactor video creationChocobozzz2020-11-091-35/+37
|
* Split types and typingsChocobozzz2020-06-181-2/+2
|
* Update server dependenciesChocobozzz2020-06-171-1/+1
|
* Avoir some circular dependenciesChocobozzz2020-05-041-1/+1
|
* Add licence and language support to y-dl importsChocobozzz2020-04-201-3/+3
|
* Add thumbnail / preview generation from url on the fly (#2646)Kim2020-04-201-6/+40
| | | | | | | | | | | * Add thumbnails generation on the fly to URL import * Display generated preview to import first edit * Use ternary to get type inference * Move preview/thumbnail test just after import Co-authored-by: kimsible <kimsible@users.noreply.github.com>
* Use originallyPublishedAt from body on import if it existsChocobozzz2020-04-171-1/+1
|
* Fix import captions testChocobozzz2020-04-151-1/+2
|
* Add getSubs to YoutubeDL video importkimsible2020-04-141-1/+28
|
* Support audio files importChocobozzz2020-04-031-1/+4
|
* Move to eslintcontainChocobozzz2020-02-031-11/+11
|
* Fix default true values when uploding videosChocobozzz2019-08-281-2/+2
|
* Bug fix logical and/or boolean selectorFrank Sträter2019-08-281-2/+2
|
* Type toFormattedJSONChocobozzz2019-08-201-5/+5
|
* Cleanup model typesChocobozzz2019-08-201-2/+2
|
* Fix testsChocobozzz2019-08-201-1/+5
|
* Stronger model typingsChocobozzz2019-08-191-16/+18
|
* Automatically update playlist thumbnailsChocobozzz2019-08-011-2/+2
|
* Correctly notify on auto blacklistChocobozzz2019-07-241-1/+8
|