aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
Commit message (Collapse)AuthorAgeFilesLines
* Display avatar in video miniatures (#4823)kontrollanten2022-03-081-0/+1
| | | | | | | | | | | | | | | | | | | | | * show avatar in video miniatures closes #4040 * fix: videos for api, include avatars * add config for display video miniature avatar * Revert "fix: videos for api, include avatars" This reverts commit 5520a3eda6805338317a394d0553f2f82095a425. * video-min: set display avatar to false as default * remove empty line * rename display_avatar > display_author_avatar * fix renaming displayAvatar > displayAuthorAvatar
* Update translations and support faChocobozzz2022-03-031-0/+2
|
* Correctly cleanup server testsChocobozzz2022-02-281-6/+11
|
* add filter:api.video-playlist.videos.list.* hookskontrollanten2022-02-281-0/+5
| | | | closes #4775
* Add basic video editor supportChocobozzz2022-02-2814-59/+244
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-289-11/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 plaintext markdown converterChocobozzz2022-02-041-2/+8
|
* Prevent HLS transcoding after webtorrent transcodingChocobozzz2022-02-011-2/+4
|
* 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
|