aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/video-channel.ts
Commit message (Collapse)AuthorAgeFilesLines
* Fix channel sync right checkChocobozzz2022-09-081-9/+9
|
* Add ability to list imports of a channel syncChocobozzz2022-08-101-4/+5
|
* Channel sync (#5135)Florent2022-08-101-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Use bullmq job dependencyChocobozzz2022-08-091-2/+2
|
* Add channel server hooksChocobozzz2022-08-031-5/+19
|
* Refactor user build and express file middlewaresChocobozzz2022-03-041-3/+2
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-281-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 shared importsChocobozzz2021-12-241-2/+1
|
* Give moderators access to edit channels (#4608)kontrollanten2021-12-131-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * give admins access to edit all channels closes #4598 * test(channels): +admin update another users channel * Fix tests * fix(server): delete another users channel Since the channel owner isn't necessary the auth user we need to check the right account whether it's the last video or not. * REMOVE_ANY_VIDEO_CHANNEL > MANAGE_ANY_VIDEO_CHANNEL Merge REMOVE_ANY_VIDEO_CHANNEL and MANY_VIDEO_CHANNELS to MANAGE_ANY_VIDEO_CHANNEL. * user-right: moderator can't manage admins channel * client: MyVideoChannelCreateComponent > VideoChannelCreateComponent * client: MyVideoChannelEdit > VideoChannelEdit * Revert "user-right: moderator can't manage admins channel" This reverts commit 2c627c154e2bfe6af2e0f45efb27faf4117572f3. * server: clean dupl validator functionality * fix ensureUserCanManageChannel usage It's not async anymore. * server: merge channel validator middleares ensureAuthUserOwnsChannelValidator & ensureUserCanManageChannel gets merged into one middleware. * client(VideoChannelEdit): redirect to prev route * fix(VideoChannels): handle anon users * client: new routes for create/update channel * Refactor channel validators Co-authored-by: Chocobozzz <me@florianbigard.com>
* Add video file size info in admin videos listChocobozzz2021-10-291-1/+0
|
* Deprecate filter video queryChocobozzz2021-10-291-4/+13
| | | | Introduce include and isLocal instead
* Split check user params testsChocobozzz2021-10-201-1/+1
|
* Add ability to view my followersChocobozzz2021-10-201-10/+45
|
* esModuleInterop to trueChocobozzz2021-08-271-1/+1
|
* Remove useless asyncChocobozzz2021-08-261-2/+2
|
* Refactor search query optionsChocobozzz2021-07-291-11/+5
|
* Refactor requestsChocobozzz2021-07-201-1/+1
|
* Add ability to search playlistsChocobozzz2021-06-251-2/+2
|
* Refactor AP actorsChocobozzz2021-06-031-1/+1
|
* refactor API errors to standard error formatRigel Kent2021-06-021-2/+2
|
* Refactor a little bit controllersChocobozzz2021-05-121-5/+2
|
* Add ability to filter my videos by liveChocobozzz2021-05-031-11/+12
|
* Add banner testsChocobozzz2021-04-081-1/+1
|
* Add banners supportChocobozzz2021-04-081-17/+49
|
* Agnostic actor image storageChocobozzz2021-04-081-1/+1
|
* Fix broken local actorsChocobozzz2021-02-261-4/+3
| | | | | Some channels can't federate because they don't have public/private keys, maybe because the generation failed for various reasons
* Allow webp image uploadsChocobozzz2021-01-261-3/+3
|
* add ability to remove one's avatar for account and channels (#3467)Rigel Kent2021-01-131-2/+17
| | | | | | | * add ability to remove one's avatar for account and channels * add ability to remove one's avatar for account and channels * only display avatar edition options after input change
* Use dedicated hooks for account/channel videosChocobozzz2020-12-081-2/+9
|
* replace numbers with typed http status codes (#3409)Rigel Kent2020-12-071-2/+3
|
* Optimize default sort when listing videosChocobozzz2020-08-201-20/+21
| | | | createdAt does not have the appropriate index
* harmonize search for librariesRigel Kent2020-07-291-2/+1
|
* variable columns for users list, more columns possible, badge display for ↵Rigel Kent2020-07-291-2/+9
| | | | statuses
* Split types and typingsChocobozzz2020-06-181-1/+1
|
* Support logout and add id and pass testsChocobozzz2020-05-041-1/+1
|
* Avoir some circular dependenciesChocobozzz2020-05-041-2/+3
|
* Move to eslintcontainChocobozzz2020-02-031-2/+1
|
* Add ability to skip count queryChocobozzz2020-01-081-2/+4
|
* Type toActivityPubObject functionsChocobozzz2019-08-211-1/+2
|
* Type toFormattedJSONChocobozzz2019-08-201-2/+2
|
* Stronger model typingsChocobozzz2019-08-191-1/+1
|
* Server: Bulk update videos support fieldChocobozzz2019-05-311-5/+21
|
* Remove unused actor uuid fieldChocobozzz2019-05-311-6/+5
|
* Don't expose constants directly in initializers/Chocobozzz2019-04-111-1/+2
|
* Move config in its own fileChocobozzz2019-04-111-1/+2
|
* Cleanup express locals typingsChocobozzz2019-03-191-10/+9
|
* Add playlist rest testsChocobozzz2019-03-181-1/+6
|
* Playlist server APIChocobozzz2019-03-181-1/+26
|
* Refresh remote actors on GET enpointsChocobozzz2019-01-141-0/+6
|
* Support additional video extensionsChocobozzz2018-12-111-2/+2
|