Commit Graph

27 Commits

Author SHA1 Message Date
Chocobozzz 5a122dddc5
Option to disable static files auth check/s3 proxy 2022-10-27 09:13:10 +02:00
Chocobozzz e82cb08722
Fix proxy tests 2022-10-25 15:01:51 +02:00
Chocobozzz 9ab330b90d Use private ACL for private videos in s3 2022-10-24 14:48:24 +02:00
Chocobozzz 3545e72c68 Put private videos under a specific subdirectory 2022-10-24 14:48:24 +02:00
Chocobozzz 56f4783075
Support two factor authentication in backend 2022-10-07 10:51:16 +02:00
kontrollanten 6c5f0d3aeb
server: serve files from storage/well-known ()
* server: serve files from storage/well-known

closes 

* well-known: add tests

* test: try to skip new tests

* test: another try

* fix(config/prod): well_known path

* test: fix broken tests

* Update misc-endpoints.ts

* Use getDirectoryPath for tests

* Fix tests

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-10-04 10:53:00 +02:00
Chocobozzz fd3c2e8705
Add playback metric endpoint sent to OTEL 2022-08-16 10:33:27 +02:00
Chocobozzz a3b472a12e
Add ability to list imports of a channel sync 2022-08-10 14:32:00 +02:00
Florent 2a491182e4
Channel sync ()
* Add external channel URL for channel update / creation ()

* Disallow synchronisation if user has no video quota ()

* More constraints serverside ()

* Disable sync if server configuration does not allow HTTP import ()

* Working version synchronizing videos with a job ()

TODO: refactoring, too much code duplication

* More logs and try/catch ()

* Fix eslint error ()

* WIP: support synchronization time change ()

* New frontend 

* WIP: Create sync front ()

* Enhance UI, sync creation form ()

* Warning message when HTTP upload is disallowed

* More consistent names ()

* Binding Front with API ()

* Add a /me API ()

* Improve list UI ()

* Implement creation and deletion routes ()

* Lint ()

* Lint again ()

* WIP: UI for triggering import existing videos ()

* Implement jobs for syncing and importing channels

* Don't sync videos before sync creation + avoid concurrency issue ()

* Cleanup ()

* Cleanup: OpenAPI + API rework ()

* Remove dead code ()

* Eslint ()

* Revert the mess with whitespaces in constants.ts ()

* Some fixes after rebase ()

* Several fixes after PR remarks ()

* Front + API: Rename video-channels-sync to video-channel-syncs ()

* Allow enabling channel sync through UI ()

* getChannelInfo ()

* Minor fixes: openapi + model + sql ()

* Simplified API validators ()

* Rename MChannelSync to MChannelSyncChannel ()

* Add command for VideoChannelSync ()

* Use synchronization.enabled config ()

* Check parameters test + some fixes ()

* Fix conflict mistake ()

* Restrict access to video channel sync list API ()

* Start adding unit test for synchronization ()

* Continue testing ()

* Tests finished + convertion of job to scheduler ()

* Add lastSyncAt field ()

* Fix externalRemoteUrl sort + creation date not well formatted ()

* Small fix ()

* Factorize addYoutubeDLImport and buildVideo ()

* Check duplicates on channel not on users ()

* factorize thumbnail generation ()

* Fetch error should return status 400 ()

* Separate video-channel-import and video-channel-sync-latest ()

* Bump DB migration version after rebase ()

* Prettier states in UI table ()

* Add DefaultScope in VideoChannelSyncModel ()

* Fix audit logs ()

* Ensure user can upload when importing channel + minor fixes ()

* Mark synchronization as failed on exception + typos ()

* Change REST API for importing videos into channel ()

* Add option for fully synchronize a chnanel ()

* Return a whole sync object on creation to avoid tricks in Front ()

* Various remarks ()

* Single quotes by default ()

* Rename synchronization to video_channel_synchronization

* Add check.latest_videos_count and max_per_user options ()

* Better channel rendering in list 

* Allow sorting with channel name and state ()

* Add missing tests for channel imports ()

* Prefer using a parent job for channel sync

* Styling

* Client styling

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-08-10 09:53:39 +02:00
Chocobozzz 84cae54e7a
Add option to not transcode original resolution 2022-08-09 09:18:07 +02:00
Chocobozzz 927fa4b11f
Add rejected state to follows
Prevent reprocessing already rejected follows
2022-07-27 13:52:13 +02:00
Chocobozzz 53023be33a
Fix fast restream in saved permanent live 2022-06-23 10:30:48 +02:00
Chocobozzz 010382b603
Completely remove best default trending algorithm 2022-06-03 14:04:52 +02:00
Chocobozzz b211106695 Support video views/viewers stats in server
* 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
2022-04-15 09:49:35 +02:00
Chocobozzz 92e66e04f7
Rename studio to editor 2022-03-22 17:24:32 +01:00
Chocobozzz 1808a1f8e4
Add video edition finished notification 2022-03-22 16:25:14 +01:00
Chocobozzz 2769876fb2
Fix client html cache on theme update 2022-03-17 09:09:06 +01:00
Chocobozzz f443a74649 Add latency setting support 2022-03-09 09:23:10 +01:00
Chocobozzz cba7977552
Correctly cleanup server tests 2022-02-28 15:51:41 +01:00
Chocobozzz c729caf6cc Add basic video editor support 2022-02-28 10:42:19 +01:00
Chocobozzz 419b520ca4
Add ability to cancel & delete video imports 2022-01-19 14:31:05 +01:00
Chocobozzz 8f5a1f36b5
Try to fix tests 2022-01-04 09:16:43 +01:00
Chocobozzz 7298cad6ce
Fix tests 2022-01-03 17:17:12 +01:00
Chocobozzz 9270bd3a7e
Migrate to --enable-source-maps option 2022-01-03 16:37:16 +01:00
Chocobozzz c7cdac4409
Fix type conflict 2021-12-24 10:40:51 +01:00
Chocobozzz c55e3d7227
Move test functions outside extra-utils 2021-12-17 12:24:03 +01:00
Chocobozzz bf54587a3e
shared/ typescript types dir server-commands 2021-12-17 09:29:23 +01:00