aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/types
Commit message (Collapse)AuthorAgeFilesLines
* Implement signup approval in serverChocobozzz2023-01-194-2/+25
|
* Merge branch 'feature/SO035' into developChocobozzz2023-01-093-2/+32
|\
| * External auth can update user on loginChocobozzz2023-01-043-1/+26
| |
| * External auth can set more user fieldsChocobozzz2023-01-041-1/+6
| | | | | | | | videoQuota, videoQuotaDaily, adminFlags
* | Implement getServerListeningConfig plugin helperChocobozzz2023-01-041-0/+3
|/
* Add ability to get user from file tokenChocobozzz2022-12-201-0/+5
|
* Use private ACL for private videos in s3Chocobozzz2022-10-241-1/+1
|
* feat: show contained playlists under My videos (#5125)kontrollanten2022-10-241-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: show contained playlists under My videos closes #4769 * refactor(server): remove unused types * fixes after code review * fix(client/video-miniature): add to playlist * fix(server/user/me): shortUUID response * Revert "fix(client/video-miniature): add to playlist" This reverts commit f1a0412391c7e2370b87df2594c9fe3f39a40ddc. * fix(client/PlaylistService): caching * Revert "fix(server/user/me): shortUUID response" This reverts commit e3f1ee4e335739b895bced938540c003df24af73. * Fix fetching playlists Co-authored-by: Chocobozzz <me@florianbigard.com>
* Add ability for plugins to register ws routesChocobozzz2022-10-113-0/+23
|
* Expose PeerTube socket to plugins (#5239)kontrollanten2022-10-101-1/+6
| | | | | | | | | | | * server(pluginHelpers): add socket * test(plugins): add socket cases * fixes after review * Update plugin-helpers.ts * Update plugin-helpers.ts
* Channel sync (#5135)Florent2022-08-103-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Add job queue hooksChocobozzz2022-08-021-12/+5
|
* Introduce experimental telemetryChocobozzz2022-07-061-0/+2
|
* store uploaded video filename (#4885)kontrollanten2022-06-212-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * store uploaded video filename closes #4731 * dont crash if videos channel exist * migration: use raw query * video source: fixes after code review * cleanup * bump migration * updates after code review * refactor: use checkUserCanManageVideo * videoSource: add openapi doc * test(check-params/video-source): fix timeout * Styling * Correctly set original filename as source Co-authored-by: Chocobozzz <me@florianbigard.com>
* Support live session in serverChocobozzz2022-05-033-0/+18
|
* Support video views/viewers stats in serverChocobozzz2022-04-154-0/+28
| | | | | | | | | | * Add "currentTime" and "event" body params to view endpoint * Merge watching and view endpoints * Introduce WatchAction AP activity * Add tables to store viewer information of local videos * Add endpoints to fetch video views/viewers stats of local videos * Refactor views/viewers handlers * Support "views" and "viewers" counters for both VOD and live videos
* Add basic video editor supportChocobozzz2022-02-281-1/+2
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-283-23/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 missing Account.name on getAuthUser return type.John Livingston2022-01-121-0/+3
|
* Stop using tsconfig registerChocobozzz2022-01-062-0/+189
| | | | Prefer to replace paths at compile time
* Move typescript utils in its own directoryChocobozzz2021-12-1630-38/+37
|
* Add ffprobe helperChocobozzz2021-12-161-0/+2
|
* Add videos.getFiles plugin helperChocobozzz2021-12-161-0/+28
|
* Add video file size info in admin videos listChocobozzz2021-10-293-4/+6
|
* Deprecate filter video queryChocobozzz2021-10-291-1/+1
| | | | Introduce include and isLocal instead
* esModuleInterop to trueChocobozzz2021-08-271-1/+1
|
* Use random names for VOD HLS playlistsChocobozzz2021-07-261-1/+1
|
* Add ability to search playlistsChocobozzz2021-06-251-2/+2
|
* Refactor schedule updateChocobozzz2021-06-111-8/+0
|
* Instance homepage support (#4007)Chocobozzz2021-05-272-0/+5
| | | | | | | | | | | | | | | | | * 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
* Stricter models typingChocobozzz2021-05-121-2/+3
|
* Cleanup models directory organizationChocobozzz2021-05-1117-25/+27
|
* Fix remote actor creation dateChocobozzz2021-05-071-1/+1
|
* Plugin user.getAuthUser is now asyncChocobozzz2021-05-051-2/+2
| | | | So we can load the full user
* Add auth header in plugins guideChocobozzz2021-04-221-0/+4
|
* Add data directory for plugins and some helpersChocobozzz2021-04-221-1/+16
|
* Add server plugin helpersChocobozzz2021-04-091-0/+7
|
* Add banners supportChocobozzz2021-04-085-39/+57
|
* Agnostic actor image storageChocobozzz2021-04-085-28/+28
|
* Add new plugin/peertube version notifsChocobozzz2021-03-244-1/+18
|
* Fix abuse testsChocobozzz2021-03-091-3/+4
|
* Fix separate SQL query for video getChocobozzz2021-02-251-1/+0
|
* Don't guess remote tracker URLChocobozzz2021-02-182-1/+10
|
* Dissociate video file names and video uuidChocobozzz2021-02-182-9/+19
|
* Generate a name for caption filesChocobozzz2021-02-161-2/+2
|
* Generate a name for thumbnailsChocobozzz2021-02-161-0/+12
| | | | Allows aggressive caching
* Allow plugins to load a video by idChocobozzz2021-02-111-0/+1
|
* Update server dependenciesChocobozzz2021-02-031-0/+3
|
* Support transcoding options/encoders by pluginsChocobozzz2021-01-281-0/+3
|
* Upgrade sequelize to v6Chocobozzz2020-12-091-2/+1
|