lutangar
d2d4a5a999
Fix plugin settings manager definition
...
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.
2022-01-20 13:43:20 +01:00
Chocobozzz
071f3e519c
Plugins can add custom instance infobox
2022-01-20 09:35:06 +01:00
Chocobozzz
cc4bf76c13
Handle async validators
2022-01-03 14:20:52 +01:00
Chocobozzz
3c065fe3b3
Enhance plugin video fields
...
Add video form tab selection
Add ability to display an error
2021-12-29 10:10:01 +01:00
Chocobozzz
61cc1c03bf
Support official plugins
2021-12-28 16:43:03 +01:00
Chocobozzz
fba87e27c1
Resolve enums at compile time
2021-12-28 15:34:55 +01:00
Chocobozzz
c7cdac4409
Fix type conflict
2021-12-24 10:40:51 +01:00
lutangar
5e3d29ab21
Add video caption created and deleted hooks
2021-12-23 09:35:35 +01:00
Chocobozzz
d63e6d4604
Add ability for plugins to register client routes
2021-12-10 15:01:12 +01:00
Chocobozzz
d17d743051
Add upload/import/go live video attributes hooks
2021-12-10 13:51:44 +01:00
Chocobozzz
650580504c
Add filter:api.server.stats.get.result hook
2021-12-09 14:09:24 +01:00
kontrollanten
28c6556789
add plugin selector to about/menu elements ( #4597 )
...
* add plugin selector to about/menu elements
closes #4586
* Update plugin selector names
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-12-03 10:47:47 +01:00
John Livingston
3a1157a68a
CLI: plugins install command accept a --plugin-version parameter. ( #4599 )
...
* 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>
2021-12-03 10:14:01 +01:00
Chocobozzz
8afade2607
Introduce plugin id selectors
2021-11-26 17:36:55 +01:00
lutangar
7226e90fdc
Add `req` and `res` as controllers hooks parameters
...
Hooks prefixed by `action:api` now give access the original express req and res.
Checkout guide.md for possible usage.
2021-11-25 09:54:22 +01:00
Chocobozzz
ad5db1044c
Add ability to run transcoding jobs
2021-11-18 15:20:57 +01:00
kontrollanten
c3bb04413e
add ...playlist.elements.loaded hook ( #4387 )
...
* client: add ...playlist.elements.loaded hook
closes #4385
* fix linting error
* client: add playlist metadata to video-watch hooks
* Prefer using a filter for playlist elements hook
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-10-12 13:45:55 +02:00
frankstrater
fbd2d42358
Fix some documentation mistakes
2021-09-02 09:33:39 +02:00
Chocobozzz
59c8902a57
Update upload message filter hook name
2021-08-25 11:41:10 +02:00
Ms Kimsible
4e1592daa4
Alert user for low quota and video auto-block on upload page ( #4336 )
...
* Replace wording of instance contact
* Add contact-us button to no-quota alert on upload page
* Add alert for accounts with auto-blocked videos on upload page
* Add alert for accounts without enough quota + refacto on upload page
* Using ng-container and ng-template
* Add alert for daily quota
* Add hook filter for upload page alert messages
* Add instance name as subtitle in contact modal
* Fix eslint max-len on string
* Fix missing word in quota left daily message - upload page
Co-authored-by: Kimsible <kimsible@users.noreply.github.com>
2021-08-25 11:38:10 +02:00
Chocobozzz
28be9d1d3e
Cleanup shared models imports
2021-07-28 10:46:32 +02:00
Michael Williams
64f9b91de9
Add new filter hooks to /overviews/videos
...
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 ).
2021-07-21 16:01:34 +02:00
lutangar
dc3d902234
Introduce generic video constant manager for plugins
...
Allow a plugin developer to get back constants values,
and reset constants deletions or additions.
2021-07-16 17:49:40 +02:00
kontrollanten
e2e0b645cd
Add video-playlist-element.created hook ( #4196 )
...
* add playlists.videos.list.params/results hooks
closes #4192
* Revert "add playlists.videos.list.params/results hooks"
This reverts commit ebd822ca0b
.
* add video-playlist-element.created hook
closes #4192
* test: add playlist-element.created
* Fix tests
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-06-28 09:22:15 +02:00
Chocobozzz
37a44fc915
Add ability to search playlists
2021-06-25 14:44:01 +02:00
kontrollanten
72f611ca15
add client hook filter:videojs.options
...
closes #4086
2021-06-14 13:35:48 +02:00
Chocobozzz
8beea2d37d
Add ability to filter menu links
2021-06-07 13:20:08 +02:00
Chocobozzz
428ccb8b7a
Reorganize plugin models
2021-05-11 13:33:11 +02:00
Chocobozzz
0f31933406
Add ability to hide plugin form fields
2021-04-22 14:35:49 +02:00
Chocobozzz
87e0b71d36
Add go-live example for plugin form fields
2021-04-22 12:00:23 +02:00
Chocobozzz
0ea9f463a9
Add action:admin-plugin-settings.init client hook
2021-04-22 11:18:13 +02:00
Chocobozzz
24a792404c
Support async onSettingsChange
2021-04-20 16:02:15 +02:00
Chocobozzz
62bc0352d9
Add plugin placeholder elements support
2021-04-12 11:19:15 +02:00
Chocobozzz
d2466f0ac9
Update plugins doc
2021-04-09 15:21:06 +02:00
Chocobozzz
3c47fa3bc0
Add ability to hide plugin settings
2021-04-09 13:50:31 +02:00
Chocobozzz
32d13b203b
Plugins can register html/select settings
2021-04-09 11:19:14 +02:00
Chocobozzz
faeec106ef
Add auth user client hook actions
2021-03-24 18:18:41 +01:00
Chocobozzz
2e257e36b7
Add client action hooks for pubish pages
2021-03-24 18:18:41 +01:00
Chocobozzz
74a4d53110
Add server hooks for search endpoint
2021-03-24 18:18:41 +01:00
Chocobozzz
eebd9838f0
Add filter hook to forbid embed access
2021-03-24 18:18:41 +01:00
Chocobozzz
4bc45da342
Add hooks support for video download
2021-03-24 18:18:41 +01:00
Chocobozzz
789951460b
Try to support other codecs
2021-01-29 14:05:41 +01:00
Chocobozzz
2498aaead1
Add plugin transcoding profile guide
2021-01-29 14:05:41 +01:00
Chocobozzz
1896bca09e
Support transcoding options/encoders by plugins
2021-01-28 15:55:39 +01:00
Chocobozzz
a4d2ca0715
Add user video list hooks
2021-01-20 15:28:34 +01:00
Chocobozzz
c04816108e
Prepare changelog v3
2020-12-14 11:27:56 +01:00
Chocobozzz
38267c0c8a
Use dedicated hooks for account/channel videos
2020-12-08 10:33:23 +01:00
madmath03
972de8f111
✨ Add input-password #3375
2020-11-30 14:49:44 +01:00
Chocobozzz
3cabf3532b
Add live server hooks
2020-11-09 15:33:04 +01:00
Chocobozzz
0fecf427d3
Don't use @shared in models
...
So other projects can use them
2020-08-27 09:58:27 +02:00