aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
Commit message (Collapse)AuthorAgeFilesLines
* Fix plugin settings manager definitionlutangar2022-01-202-5/+15
| | | | | | | | This mainly fix the `onSettingsChange` argument typing. I'm not 100% sure the setting `value` can be a boolean though. But this is how it was typed before so I just made it consistent. Feel free to change - or suggest change - to the type names / location.
* Plugins can add custom instance infoboxChocobozzz2022-01-201-0/+3
|
* Add ability to filter my imports by target URLChocobozzz2022-01-191-5/+3
|
* Add ability to cancel & delete video importsChocobozzz2022-01-194-2/+58
|
* Add ability to delete history elementChocobozzz2022-01-181-2/+17
|
* Add missing mediaType info to AP objectsChocobozzz2022-01-134-0/+11
|
* Fix audio transcoding with video only fileChocobozzz2022-01-061-2/+7
|
* Stop using tsconfig registerChocobozzz2022-01-061-0/+2
| | | | Prefer to replace paths at compile time
* Try to fix testsChocobozzz2022-01-041-1/+2
|
* Fix testsChocobozzz2022-01-031-2/+4
|
* Migrate to --enable-source-maps optionChocobozzz2022-01-031-1/+4
|
* Handle async validatorsChocobozzz2022-01-031-1/+1
|
* Move uuid stuff in extra utilsChocobozzz2021-12-296-3/+9
| | | | Since it requires an external dependency
* Translate plugin settingsChocobozzz2021-12-291-0/+1
|
* Enhance plugin video fieldsChocobozzz2021-12-291-0/+7
| | | | | Add video form tab selection Add ability to display an error
* Support official pluginsChocobozzz2021-12-281-0/+2
|
* Resolve enums at compile timeChocobozzz2021-12-284-4/+4
|
* Move types package in packages/Chocobozzz2021-12-281-1/+1
|
* Fix type conflictChocobozzz2021-12-243-9/+9
|
* Fix shared importsChocobozzz2021-12-241-1/+0
|
* Don't stuck state when move transcoding job failedChocobozzz2021-12-231-1/+2
|
* Fix audio only transcodingChocobozzz2021-12-231-0/+7
|
* Add video caption created and deleted hookslutangar2021-12-231-0/+5
|
* Fix buildChocobozzz2021-12-174-1/+10
|
* Move test functions outside extra-utilsChocobozzz2021-12-1763-1903/+140
|
* shared/ typescript types dir server-commandsChocobozzz2021-12-1790-17/+67
|
* Move typescript utils in its own directoryChocobozzz2021-12-163-47/+1
|
* Add ability to disable p2p in embed with URLChocobozzz2021-12-161-0/+2
|
* Use different p2p policy for embeds and webappChocobozzz2021-12-161-1/+7
|
* Add ability for admins to set default p2p policyChocobozzz2021-12-163-0/+11
|
* Support sourceMapsChocobozzz2021-12-161-2/+1
|
* refactor(types): create dedicated folder for types package srclutangar2021-12-162-2/+3
| | | | | | fix guide examples and add types package readme refactor(tsconfig): move back base tsconfig to base directory
* feat(types): create peertube-types packagelutangar2021-12-161-0/+9
| | | | | | | | | | | | Create dedicated Typescript "types" configuration file for each "projects". Create a types folder which includes every useful ts definition: - client - server - shared Add tooling to create a proper package, extract dependencies, etc... Add CI Github task. refactor(types): publish types package in release script
* chore(refactor): remove shared folder dependencies to the serverlutangar2021-12-1618-212/+279
| | | | | | | | | | | Many files from the `shared` folder were importing files from the `server` folder. When attempting to use Typescript project references to describe dependencies, it highlighted a circular dependency beetween `shared` <-> `server`. The Typescript project forbid such usages. Using project references greatly improve performance by rebuilding only the updated project and not all source files. > see https://www.typescriptlang.org/docs/handbook/project-references.html
* Ability for admins to set default upload valuesChocobozzz2021-12-141-0/+10
|
* Support nn and nb localesChocobozzz2021-12-131-0/+3
|
* Give moderators access to edit channels (#4608)kontrollanten2021-12-133-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ability for plugins to register client routesChocobozzz2021-12-103-1/+9
|
* Add upload/import/go live video attributes hooksChocobozzz2021-12-101-0/+6
|
* Add filter:api.server.stats.get.result hookChocobozzz2021-12-091-0/+3
|
* Update torrent metadata on video updateChocobozzz2021-12-081-0/+1
|
* Display server logs when server run failsChocobozzz2021-12-071-4/+8
|
* Add mute status in account and channel pagesChocobozzz2021-12-073-1/+40
|
* Add ability to redirect users on external authChocobozzz2021-12-033-0/+32
|
* add plugin selector to about/menu elements (#4597)kontrollanten2021-12-031-1/+10
| | | | | | | | | * add plugin selector to about/menu elements closes #4586 * Update plugin selector names Co-authored-by: Chocobozzz <me@florianbigard.com>
* CLI: plugins install command accept a --plugin-version parameter. (#4599)John Livingston2021-12-032-2/+4
| | | | | | | | | | | * CLI: plugins install command accept a --plugin-version parameter. * Unit tests for plugins install --plugin-version. * Fix linting. * Styling Co-authored-by: Chocobozzz <me@florianbigard.com>
* Introduce plugin id selectorsChocobozzz2021-11-262-0/+2
|
* Add `req` and `res` as controllers hooks parameterslutangar2021-11-251-0/+2
| | | | | Hooks prefixed by `action:api` now give access the original express req and res. Checkout guide.md for possible usage.
* Fix testsChocobozzz2021-11-241-2/+2
|
* Ensure we don't run transcoding after import fileChocobozzz2021-11-231-1/+8
|