aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
Commit message (Collapse)AuthorAgeFilesLines
* hooks filter:api.my-lib.playlist-elems.get.* (#5098)kontrollanten2022-07-082-1/+6
| | | | | | | | | * hooks filter:api.my-lib.playlist-elems.get.* closes #4776 * Introduce my-library plugin scope Co-authored-by: Chocobozzz <me@florianbigard.com>
* Introduce experimental telemetryChocobozzz2022-07-061-27/+6
|
* store uploaded video filename (#4885)kontrollanten2022-06-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Merge branch 'release/4.2.0' into developChocobozzz2022-06-171-0/+1
|\
| * Send views in a dedicated queueChocobozzz2022-06-171-0/+1
| |
* | Merge branch 'release/4.2.0' into developChocobozzz2022-06-161-0/+1
|\|
| * Fix live ending job that breaks new live sessionChocobozzz2022-06-161-0/+1
| |
* | Fix various typosluz paz2022-06-071-5/+5
| | | | | | Found via `codespell -q 3 -S ./CREDITS.md,./CHANGELOG.md,./client/src/locale,./yarn.lock,./client/yarn.lock -L doubleclick,followings,nd,ot,ro,serie,splitted,tread,truthy`
* | Added "total views" in the my channels list (#5007)Florian CUNY2022-05-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added "total views" in the my channels list Implements https://github.com/Chocobozzz/PeerTube/issues/4331 * Fix lint * applied suggested change * updated openAPI spec for the use "withStats" when getting video channels * applied code change * removed GROUP BY in query * Fixed test
* | (#4959) Add 'Originally Published At' sort option in videos pages (#4977)Jlll12022-05-241-0/+1
|/ | | | | | | | | * Add Original Publication Date sort dropdown option in video filters * Make the minimal sort dropdown width 250px to acomodate for 'Originally Published At' option * Improve label Co-authored-by: Chocobozzz <me@florianbigard.com>
* Add total viewers overall statChocobozzz2022-05-181-0/+2
|
* Add filter by start/end date overall stats in apiChocobozzz2022-05-052-0/+5
|
* Remove comments, rates and views from statsChocobozzz2022-05-051-5/+0
| | | | It prevent us to apply date filters
* Support live session in serverChocobozzz2022-05-034-0/+26
|
* Fix getting live by anonymous userChocobozzz2022-04-222-32/+32
|
* Add ability to save replay of permanent livesChocobozzz2022-04-212-2/+6
|
* Support interactive video stats graphChocobozzz2022-04-153-5/+1
|
* Add ability to set start/end date to timeserieChocobozzz2022-04-154-1/+12
|
* Add event doc to view endpointChocobozzz2022-04-152-6/+0
|
* Support video views/viewers stats in serverChocobozzz2022-04-1515-11/+74
| | | | | | | | | | * 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
* Refactor AP context builderChocobozzz2022-03-243-6/+20
|
* Rename studio to editorChocobozzz2022-03-2210-64/+61
|
* Add video edition finished notificationChocobozzz2022-03-223-1/+10
|
* Don't store remote rates of remote videosChocobozzz2022-03-182-2/+3
| | | | | In the future we'll stop to expose all available rates to improve users privacy
* Process video torrents in orderChocobozzz2022-03-161-0/+15
| | | | Prevent update before video torrent generation for example
* add client.videos.upload.maxChunkSize config (#4857)kontrollanten2022-03-161-0/+3
| | | | | | | * add client.videos.upload.maxChunkSize config * updates after review * remove maxChunkSize from custom-config
* Add latency setting supportChocobozzz2022-03-098-2/+26
|
* 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
* add filter:api.video-playlist.videos.list.* hookskontrollanten2022-02-281-0/+5
| | | | closes #4775
* Add basic video editor supportChocobozzz2022-02-289-3/+99
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-286-10/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* 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 cancel & delete video importsChocobozzz2022-01-192-2/+6
|
* Add missing mediaType info to AP objectsChocobozzz2022-01-134-0/+11
|
* Fix audio transcoding with video only fileChocobozzz2022-01-061-2/+7
|
* Handle async validatorsChocobozzz2022-01-031-1/+1
|
* 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
|
* Fix type conflictChocobozzz2021-12-242-7/+7
|
* Don't stuck state when move transcoding job failedChocobozzz2021-12-231-1/+2
|
* Add video caption created and deleted hookslutangar2021-12-231-0/+5
|
* Move test functions outside extra-utilsChocobozzz2021-12-171-0/+1
|
* 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
|
* Ability for admins to set default upload valuesChocobozzz2021-12-141-0/+10
|
* Give moderators access to edit channels (#4608)kontrollanten2021-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>