aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares
Commit message (Collapse)AuthorAgeFilesLines
* Fix server lintChocobozzz2022-11-152-3/+3
|
* Don't inject untrusted inputChocobozzz2022-11-1511-15/+26
| | | | | Even if it's already checked in middlewares It's better to have safe modals too
* refactor(server): redis > ioredis (#5371)kontrollanten2022-11-141-3/+3
| | | | | | | | | | | | | | | | | | | * refactor(server): redis > ioredis * refactor(JobQueue): reuse redis connection builder * fix(redisio) * fix(redis): setValue * feat(redis): showFriendlyErrorStack * feat(redis): auto pipelining https://github.com/luin/ioredis/blob/308017a6b9429c16b074e03e70f5524499476fa9/README.md#autopipelining * dont use autopipelining for bullmq * ioredis events
* Add ability to install alpha/beta/rc pluginChocobozzz2022-11-142-6/+11
|
* Option to disable static files auth check/s3 proxyChocobozzz2022-10-272-0/+21
|
* Use private ACL for private videos in s3Chocobozzz2022-10-242-20/+58
|
* Put private videos under a specific subdirectoryChocobozzz2022-10-245-29/+204
|
* Allow admins to disable two factor authChocobozzz2022-10-071-15/+32
|
* Support two factor authentication in backendChocobozzz2022-10-074-57/+174
|
* Ask password reset/email verif error handlingChocobozzz2022-09-281-0/+14
| | | | With a user that uses a plugin authentication
* Add akismet testsChocobozzz2022-09-231-2/+3
|
* Check channel sync id is owned by channelChocobozzz2022-09-161-0/+7
|
* Fix channel sync right checkChocobozzz2022-09-081-7/+8
|
* Cleanup tests importsChocobozzz2022-08-174-15/+15
|
* Remove unnecessary logsChocobozzz2022-08-1745-352/+46
|
* Cleanup useless express validator messagesChocobozzz2022-08-1743-419/+512
|
* Add playback metric endpoint sent to OTELChocobozzz2022-08-162-0/+57
|
* Add ability to list comments on local videosChocobozzz2022-08-161-0/+6
|
* Add spans for AP signature checkersChocobozzz2022-08-111-71/+76
|
* Add ability to list imports of a channel syncChocobozzz2022-08-105-17/+57
|
* Channel sync (#5135)Florent2022-08-105-18/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
|
* Remove uneeded asyncChocobozzz2022-08-021-7/+12
|
* Add ability to delete a specific video fileChocobozzz2022-08-011-1/+86
|
* Prevent error on highlighted threadChocobozzz2022-07-291-3/+9
|
* Add live and viewers otel metricsChocobozzz2022-07-271-1/+1
|
* Prevent logging an error on lazy static 404Chocobozzz2022-07-271-1/+16
|
* Add rejected state to followsChocobozzz2022-07-272-7/+30
| | | | Prevent reprocessing already rejected follows
* Prevent headers sent errorChocobozzz2022-07-181-2/+7
|
* Add ability for client to create server logsChocobozzz2022-07-181-3/+49
|
* Relax log levelChocobozzz2022-07-131-1/+1
| | | | | 401 is expected when the token has expired federation issues are not very important
* /!\ Use a dedicated config file for developmentChocobozzz2022-07-062-5/+5
| | | | | It means you have to replace NODE_ENV=test to NODE_ENV=dev if you use it npm run dev:* commands are already updated
* Rename video full loadingChocobozzz2022-06-281-1/+1
|
* Fix video right checkChocobozzz2022-06-223-10/+11
|
* Refactor video rights checkerChocobozzz2022-06-226-50/+86
|
* 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
|
* 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`
* Bypass rate limits for admins and moderatorsChocobozzz2022-05-302-0/+32
|
* Improve admin users list tableChocobozzz2022-05-241-2/+2
| | | | | | * Fix last login sort with null values * Remember last selected columns * Display last login date by default
* 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
|
* Allow oembed to fetch unlisted videosChocobozzz2022-05-021-15/+21
|
* 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-157-48/+182
| | | | | | | | | | * 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