aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/index.ts
Commit message (Collapse)AuthorAgeFilesLines
* Add playback metric endpoint sent to OTELChocobozzz2022-08-161-1/+3
|
* Channel sync (#5135)Florent2022-08-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Bypass rate limits for admins and moderatorsChocobozzz2022-05-301-2/+2
|
* Add mute status in account and channel pagesChocobozzz2021-12-071-0/+2
|
* esModuleInterop to trueChocobozzz2021-08-271-3/+3
|
* Refactor requestsChocobozzz2021-07-201-1/+1
|
* CleanupChocobozzz2021-05-281-2/+0
| | | | | We must not expose private actor objects to clients Just make 2 GET requests on channel/accounts instead
* Merge branch 'develop' into shorter-URLs-channels-accountsChocobozzz2021-05-271-0/+2
|\
| * Instance homepage support (#4007)Chocobozzz2021-05-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Prepare homepage parsers * Add ability to update instance hompage * Add ability to set homepage as landing page * Add homepage preview in admin * Dynamically update left menu for homepage * Inject home content in homepage * Add videos list and channel miniature custom markup * Remove unused elements in markup service
* | Add server API actors routeKimsible2021-05-051-0/+2
|/
* replace numbers with typed http status codes (#3409)Rigel Kent2020-12-071-1/+2
|
* Use 3 tables to represent abusesChocobozzz2020-07-101-0/+2
|
* Add ability to bulk delete commentsChocobozzz2020-05-291-9/+11
|
* Upgrade express-rate-limitChocobozzz2020-02-041-3/+1
|
* WIP plugins: list installed plugins in clientChocobozzz2019-07-241-2/+2
|
* WIP plugins: plugin settings on server sideChocobozzz2019-07-241-0/+2
|
* Add rate limit to registration and API endpointsChocobozzz2019-07-041-0/+10
|
* Cleanup express locals typingsChocobozzz2019-03-191-1/+1
|
* Playlist server APIChocobozzz2019-03-181-0/+2
|
* Videos overview page: first versionChocobozzz2018-08-311-0/+2
|
* Begin advanced searchChocobozzz2018-07-241-0/+2
|
* move CORS allowance to the REST API routerWilliam Lahti2018-06-291-0/+7
|
* Update video channel routesChocobozzz2018-04-241-0/+2
|
* Add account viewChocobozzz2018-04-241-1/+1
|
* Send account activitypub update eventsChocobozzz2018-01-031-0/+2
|
* Propagate old comment on new followChocobozzz2017-12-281-5/+3
|
* Add ability to list jobsChocobozzz2017-11-301-0/+2
|
* ApplicationFollow -> SeverFollowChocobozzz2017-11-271-2/+2
|
* Rename Pod -> ServerChocobozzz2017-11-271-1/+1
|
* Add follow tabsChocobozzz2017-11-271-2/+2
| | | | | | Following Follow Followers
* Make it compile at leastChocobozzz2017-11-271-4/+0
|
* Video blacklist refractoringChocobozzz2017-10-101-2/+0
|
* Handle blacklist (#84)Green-Star2017-09-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Client: Add list blacklist feature * Server: Add list blacklist feature * Client: Add videoId column * Server: Add some video infos in the REST api * Client: Add video information in the blacklist list * Fix sortable columns :) * Client: Add removeFromBlacklist feature * Server: Add removeFromBlacklist feature * Move to TypeScript * Move to TypeScript and Promises * Server: Fix blacklist list sort * Server: Fetch videos informations * Use common shared interface for client and server * Add check-params remove blacklisted video tests * Add check-params list blacklisted videos tests * Add list blacklist tests * Add remove from blacklist tests * Add video blacklist management tests * Fix rebase onto develop issues * Server: Add sort on blacklist id column * Server: Add blacklists library * Add blacklist id sort test * Add check-params tests for blacklist list pagination, count and sort * Fix coding style * Increase Remote API tests timeout * Increase Request scheduler API tests timeout * Fix typo * Increase video transcoding API tests timeout * Move tests to Typescript * Use lodash orderBy method * Fix typos * Client: Remove optional tests in blacklist model attributes * Move blacklist routes from 'blacklists' to 'blacklist' * CLient: Remove blacklist-list.component.scss * Rename 'blacklists' files to 'blacklist' * Use only BlacklistedVideo interface * Server: Use getFormattedObjects method in listBlacklist method * Client: Use new coding style * Server: Use new sort validator methods * Server: Use new checkParams methods * Client: Fix sortable columns
* ClientLocal -> OAuthClientLocalChocobozzz2017-06-251-2/+2
|
* Requests -> RequestSchedulersChocobozzz2017-06-251-2/+2
|
* Type functionsChocobozzz2017-06-101-1/+1
|
* require -> importChocobozzz2017-06-051-1/+1
|
* First typescript iterationChocobozzz2017-05-201-0/+33