aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/accounts.ts
Commit message (Collapse)AuthorAgeFilesLines
* 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-1/+1
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Add video file size info in admin videos listChocobozzz2021-10-291-1/+0
|
* Deprecate filter video queryChocobozzz2021-10-291-5/+13
| | | | Introduce include and isLocal instead
* Split check user params testsChocobozzz2021-10-201-1/+1
|
* Add ability to view my followersChocobozzz2021-10-201-1/+32
|
* esModuleInterop to trueChocobozzz2021-08-271-1/+1
|
* Refactor search query optionsChocobozzz2021-07-291-14/+6
|
* Add ability to filter my videos by liveChocobozzz2021-05-031-12/+15
|
* Allow users/visitors to search through an account's videos (#3589)Rigel Kent2021-01-191-1/+2
| | | | | | | * WIP: account search * add search to account view * add tests for account search
* Use dedicated hooks for account/channel videosChocobozzz2020-12-081-2/+2
|
* server accounts/videos: trigger filter hookkontrollanten2020-12-081-2/+9
|
* Optimize default sort when listing videosChocobozzz2020-08-201-7/+8
| | | | createdAt does not have the appropriate index
* harmonize search for librariesRigel Kent2020-07-291-1/+2
|
* Support logout and add id and pass testsChocobozzz2020-05-041-1/+1
|
* Avoir some circular dependenciesChocobozzz2020-05-041-1/+2
|
* Put channel stats behind withStats flagRigel Kent2020-03-311-2/+5
|
* Move to eslintcontainChocobozzz2020-02-031-9/+4
|
* Optimize list my playlists SQL queryChocobozzz2020-01-091-3/+3
|
* Add ability to skip count queryChocobozzz2020-01-081-2/+4
|
* Add playlist search option and search input for add-to-video-playlist dropdownRigel Kent2019-12-261-1/+6
| | | | fixes #2138
* Add ability to subscribe from the channel account pageChocobozzz2019-05-291-1/+1
|
* Add pagination to account video channels endpointChocobozzz2019-05-291-2/+14
|
* Add check params account ratings testsChocobozzz2019-04-091-5/+5
|
* Add /accounts/:username/ratings endpoint (#1756)Yohan Boniface2019-04-091-2/+36
| | | | | | | | | | | | * Add /users/me/videos/ratings endpoint * Move ratings endpoint from users to accounts * /accounts/:name/ratings: add support for rating= and sort= * Restrict ratings list to owner * Wording and better way to ensure current account
* Cleanup express locals typingsChocobozzz2019-03-191-4/+3
|
* Add playlist rest testsChocobozzz2019-03-181-1/+4
|
* Playlist server APIChocobozzz2019-03-181-12/+45
|
* Refresh remote actors on GET enpointsChocobozzz2019-01-141-0/+7
|
* Remove inferred typeChocobozzz2018-12-051-2/+2
|
* Add ability for users to block an account/instance on server sideChocobozzz2018-10-161-2/+3
|
* Add ability to list all local videosChocobozzz2018-10-101-1/+3
| | | | Including private/unlisted for moderators/admins
* Fetch outbox when searching an actorChocobozzz2018-08-271-1/+3
|
* Add ability to set a name to a channelChocobozzz2018-08-271-1/+1
|
* Add subscriptions endpoints to REST APIChocobozzz2018-08-271-0/+1
|
* Add videos list filtersChocobozzz2018-07-241-3/+9
|
* Only use account name in routesChocobozzz2018-05-251-6/+6
|
* Update video-channel routes (again)Chocobozzz2018-04-251-166/+2
| | | | Use /video-channels now, it's more simple for clients
* Video channel API routes refractorChocobozzz2018-04-251-2/+2
|
* Update video channel routesChocobozzz2018-04-241-14/+195
|
* Add account viewChocobozzz2018-04-241-3/+34
|
* Don't show videos of remote instance after unfollowChocobozzz2018-01-181-2/+2
|
* Set sort refractoringChocobozzz2018-01-181-2/+2
|
* Send account activitypub update eventsChocobozzz2018-01-031-0/+38