Commit Graph

1 Commits

Author SHA1 Message Date
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