aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/server
Commit message (Collapse)AuthorAgeFilesLines
* add filter:api.video-playlist.videos.list.* hookskontrollanten2022-02-281-0/+5
| | | | closes #4775
* 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.
* Add video caption created and deleted hookslutangar2021-12-231-0/+5
|
* Add upload/import/go live video attributes hooksChocobozzz2021-12-101-0/+6
|
* Add filter:api.server.stats.get.result hookChocobozzz2021-12-091-0/+3
|
* CLI: plugins install command accept a --plugin-version parameter. (#4599)John Livingston2021-12-031-0/+1
| | | | | | | | | | | * 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>
* 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.
* Add ability to run transcoding jobsChocobozzz2021-11-181-1/+1
|
* Fix some documentation mistakesfrankstrater2021-09-021-2/+2
|
* Cleanup shared models importsChocobozzz2021-07-285-5/+5
|
* Add new filter hooks to /overviews/videosMichael Williams2021-07-211-0/+4
| | | | | | This change adds new filter hooks `filter:api.overviews.videos.list.params` and `filter:api.overviews.videos.list.params` to /overviews/videos. The motivation is to make a plugin to [use `originallyPublishedAt` in all places where `publishedAt` is used](https://github.com/ahdinosaur/peertube-plugin-originally-published-at).
* Introduce generic video constant manager for pluginslutangar2021-07-166-12/+51
| | | | | Allow a plugin developer to get back constants values, and reset constants deletions or additions.
* Add video-playlist-element.created hook (#4196)kontrollanten2021-06-281-1/+4
| | | | | | | | | | | | | | | | | | | * add playlists.videos.list.params/results hooks closes #4192 * Revert "add playlists.videos.list.params/results hooks" This reverts commit ebd822ca0b769d88dbc5ae0062b286238cbced92. * add video-playlist-element.created hook closes #4192 * test: add playlist-element.created * Fix tests Co-authored-by: Chocobozzz <me@florianbigard.com>
* Add ability to search playlistsChocobozzz2021-06-251-0/+4
|
* Reorganize plugin modelsChocobozzz2021-05-1120-0/+252