aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Channel sync (#5135)Florent2022-08-105-6/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Move to bullmqChocobozzz2022-08-093-4/+4
|
* Limit import depending on transcoding resolutionsChocobozzz2022-08-093-22/+40
|
* Add option to not transcode original resolutionChocobozzz2022-08-092-13/+25
|
* Automatically rebuild native modules on ABI changeChocobozzz2022-08-032-25/+37
|
* Suffix external auth username on conflictChocobozzz2022-08-031-1/+1
|
* Use same mastodon regex for usernamesChocobozzz2022-08-031-3/+3
|
* Add ability to delete a specific video fileChocobozzz2022-08-011-4/+4
|
* Add rejected state to followsChocobozzz2022-07-271-1/+1
| | | | Prevent reprocessing already rejected follows
* Add ability for client to create server logsChocobozzz2022-07-181-4/+32
|
* Fix invalid http signatureChocobozzz2022-07-151-3/+6
| | | | | Date header could be inconsistent with the date included in the signature
* Reduce db retry log on failureChocobozzz2022-07-131-1/+1
|
* Correctly set mp3 codec string in hls playlistChocobozzz2022-07-131-0/+1
|
* Add compat with openssl 3Chocobozzz2022-07-123-14/+55
|
* /!\ Use a dedicated config file for developmentChocobozzz2022-07-063-5/+14
| | | | | It means you have to replace NODE_ENV=test to NODE_ENV=dev if you use it npm run dev:* commands are already updated
* Introduce experimental telemetryChocobozzz2022-07-061-42/+59
|
* Process images in a dedicated workerChocobozzz2022-06-271-8/+17
|
* Introduce worker threads to process remote imagesChocobozzz2022-06-241-19/+0
|
* Update server dependenciesChocobozzz2022-06-211-1/+1
|
* More robust duration parsingChocobozzz2022-06-141-10/+27
|
* Fix various typosluz paz2022-06-071-1/+1
| | | Found via `codespell -q 3 -S ./CREDITS.md,./CHANGELOG.md,./client/src/locale,./yarn.lock,./client/yarn.lock -L doubleclick,followings,nd,ot,ro,serie,splitted,tread,truthy`
* Remove unused functionChocobozzz2022-06-031-8/+1
|
* Update tsconfigChocobozzz2022-06-031-6/+6
|
* Add use proxy for s3 (#4973)Chocobozzz2022-05-091-0/+1
| | | | | | | | | | | | | * Fix object storage to be accessible via proxy * fix lint * Use hpagent * Fix lint * Fix PR Co-authored-by: noellabo <noel.yoshiba@gmail.com>
* Handle HTTP signature draft 11Chocobozzz2022-05-061-4/+11
|
* Fix live constraints testsChocobozzz2022-05-031-1/+1
|
* Add program date time to live playlistChocobozzz2022-04-191-1/+1
|
* Support video views/viewers stats in serverChocobozzz2022-04-157-12/+158
| | | | | | | | | | * 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
* Remove activitypub helperChocobozzz2022-03-231-229/+0
| | | | Put functions in lib/activitypub instead
* Rename studio to editorChocobozzz2022-03-221-14/+14
|
* Ensure bin dir exists before dl youtube-dlChocobozzz2022-03-211-2/+4
|
* Don't store remote rates of remote videosChocobozzz2022-03-181-1/+3
| | | | | In the future we'll stop to expose all available rates to improve users privacy
* Add latency setting supportChocobozzz2022-03-094-8/+50
|
* Merge branch 'release/4.1.0' into developChocobozzz2022-03-082-22/+42
|\
| * Remove exif tags when processing imagesChocobozzz2022-03-071-0/+11
| |
| * Remove unnecessary commentChocobozzz2022-03-071-1/+0
| |
| * Optimize markdown rendererChocobozzz2022-03-071-22/+32
| |
* | Refactor user build and express file middlewaresChocobozzz2022-03-041-4/+3
| |
* | Fill width of local avatarsChocobozzz2022-03-011-4/+18
| |
* | Fix client html performance regressionChocobozzz2022-02-281-2/+2
| |
* | Add basic video editor supportChocobozzz2022-02-2819-921/+1390
| |
* | Implement avatar miniatures (#4639)kontrollanten2022-02-281-0/+3
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Fix max buffer size for youtube-dlChocobozzz2022-02-221-1/+1
|
* Fix CLI buildChocobozzz2022-02-091-1/+1
|
* Fix import timeout inconsistencyChocobozzz2022-02-092-30/+33
|
* Add additional checks when importing a videoChocobozzz2022-02-092-0/+62
|
* Correctly check import target URL IPChocobozzz2022-02-071-0/+29
|
* Fix plaintext markdown converterChocobozzz2022-02-041-16/+52
|
* Convert markdown to html/plain text for feedsChocobozzz2022-01-311-2/+2
|
* Fix peertube tools authChocobozzz2022-01-201-1/+1
|