Commit Graph

22 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
Chocobozzz 38f57175e7
Update tsconfig 2022-06-03 16:17:28 +02:00
Chocobozzz d17c7b4e8c
Fix shared imports 2021-12-24 10:14:47 +01:00
Chocobozzz 41fb13c330
esModuleInterop to true 2021-08-27 15:12:22 +02:00
Chocobozzz 2b02c520e6
Cleanup shared models 2021-05-11 11:32:31 +02:00
Rigel Kent ba5d4a849c move from trending routes to alg param 2021-01-28 15:55:34 +01:00
Rigel Kent 3da68f0a78 add default trending page choice, revert comments count for hot strategy 2021-01-28 15:55:34 +01:00
Chocobozzz edbc932546 Add server API to abuse messages 2020-07-31 11:35:19 +02:00
Chocobozzz d95d155988 Use 3 tables to represent abuses 2020-07-10 14:02:41 +02:00
Chocobozzz 1b05d82d86
Add SQL query support in plugins 2020-04-09 11:00:30 +02:00
Chocobozzz a15871560f
Move to eslint 2020-02-03 08:31:02 +01:00
Chocobozzz 566c125d6e
Serve audit logs to client 2019-12-11 14:14:01 +01:00
Chocobozzz 6dd9de95df
Move config in its own file 2019-04-11 13:45:39 +02:00
Chocobozzz 2ba9287131
Cleanup invalid rates/comments/shares 2019-03-19 16:23:02 +01:00
Lucas Declercq 7f2cfe3a79 Rename downloadingEnabled property to downloadEnabled 2018-10-08 14:45:22 +02:00
Lucas Declercq 156c50af30 Add downloadingEnabled property to video model 2018-10-06 19:17:39 +02:00
Chocobozzz 993cef4b6e
Refractor audit user identifier 2018-09-19 17:02:27 +02:00
Josh Morel d9eaee3939 add user account email verificiation ()
* add user account email verificiation

includes server and client code to:

* enable verificationRequired via custom config
* send verification email with registration
* ask for verification email
* verify via email
* prevent login if not verified and required
* conditional client links to ask for new verification email

* allow login for verified=null

these are users created when verification not required
should still be able to login when verification is enabled

* refactor email verifcation pr

* change naming from verified to emailVerified
* change naming from askVerifyEmail to askSendVerifyEmail
* undo unrelated automatic prettier formatting on api/config
* use redirectService for home
* remove redundant success notification on email verified

* revert test.yaml smpt host
2018-08-31 09:18:19 +02:00
Chocobozzz 5d08a6a74e Add import http enabled configuration 2018-08-06 11:19:16 +02:00
Chocobozzz 7e5f9f001d Add audit logs for video import 2018-08-06 11:19:16 +02:00
Aurélien Bertron 80e36cd9fa Add audit logs in various modules
- Videos
- Videos comments
- Users
- Videos channels
- Videos abuses
- Custom config
2018-07-31 15:40:29 +02:00
Aurélien Bertron 5939081838 Add audit logs module 2018-07-31 15:40:29 +02:00