1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00
Commit graph

111 commits

Author SHA1 Message Date
諏訪子
ef28ba3038
add x link
Add missing code
2025-09-10 11:51:58 +02:00
ilfarpro
dd52e8b89e
Feature for runners - handle storyboard-generation-job (#7191)
* Implement processing storyboards by runners

* Fixed storyboard generation by runners

* use common code patterns

* fix import

* improve debug logging for storyboard generation

* config option for storyboard processing with remote-runners

* refactor repetitive pattern

* refactor storyboard related code to share common utlities

* Fix test

* Fix storyboard generation config logic

* Improve logging

* Added tests for storyboard generation with runners

* Refactor PR

---------

Co-authored-by: ilfarpro <ilfarpro@ya.ru>
Co-authored-by: Chocobozzz <me@florianbigard.com>
2025-09-10 11:50:06 +02:00
Gianantonio Pini
e74bf8ae2a
feat(config): add admin options to customize default "Browse videos" behaviour (#7193)
* feat(customBrowseVideosDefaultSort): update server config

* feat(customBrowseVideosDefaultSort): update client admin-config-general component

* feat(customBrowseVideosDefaultSort): add new consistency check to server checker-after-init

* feat(customBrowseVideosDefaultSort): update config .yaml with more details about available options

* feat(customBrowseVideosDefaultSort): refactor consistency check in server checker-after-init

* feat(customBrowseVideosDefaultSort): client, add new select-videos-sort shared component

* feat(customBrowseVideosDefaultSort): client, refactor admin-config-general component to use new select-videos-sort shared component

* feat(customBrowseVideosDefaultSort): client, fix my-select-videos-sort width in admin-config-general

* feat(customBrowseVideosDefaultSort): client, update video-filters-header scss

* feat(customBrowseVideosDefaultSort): client, update videos-list-all component

* feat(config): refactor checkBrowseVideosConfig logic into separate custom validator

* feat(config): refactor isBrowseVideosDefaultSortValid to use template literals

* feat(config): refactor isBrowseVideosDefaultSortValid

* feat(config): add check for invalid browse videos config to customConfigUpdateValidator

* feat(config): group browse-videos tests in describe block

* feat(config): refactor to use client.browse_videos section, instead of browse.videos section

* feat(config): add browse_videos default_scope config key (config and server changes)

* feat(config): add browse_videos default_scope config key (client changes)

* Reorder browse videos before videos

* Fix i18n message

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2025-09-10 10:41:45 +02:00
Chocobozzz
b591f42914
Add "copyrighted" licence 2025-08-19 10:30:42 +02:00
Chocobozzz
da23ad1d09
Add ability for admin to configure request timeout
AFAIK we can't set a specific timeout on a specific route/request, so
the admin must set it globally
2025-08-11 16:55:37 +02:00
Bojidar Marinov
8c9b4abe45
Add Scheduled Lives functionality (#7144)
* Add Scheduled Lives functionality through originallyPublishedAt

Implements #6604 by reusing the originallyPublishedAt field of isLive videos to mark "waiting for live" videos as scheduled at a set time.

* Hide scheduled lives from Browse Videos page

* Add tests for Scheduled Live videos

* Make scheduled lives use a dedicated scheduledAt field in the VideoLive table

* Plan live schedules to evolve in the future

 * Use a dedicated table to store live schedules, so we can add multiple
   schedules in the future and also add a title, description etc. for a
   specific schedule
 * Adapt REST API to use an array to store/get live schedules
 * Add REST API param so it's the client choice to include or not
   scheduled lives
 * Export schedules info in user import/export

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2025-08-01 15:06:27 +02:00
Chocobozzz
57caf25611
Add ability to list and revoke token sessions 2025-07-30 11:42:49 +02:00
Chocobozzz
3e1cdb9fa2
Add runner version info 2025-07-29 10:30:33 +02:00
Chocobozzz
17247f205f
Also add stall job check for studio 2025-07-29 09:36:51 +02:00
Ankit lal
cdb861a26a
Add WatchDog for stalled Transcription jobs 2025-07-29 09:36:51 +02:00
Chocobozzz
121d9029b9
Add rcf and gcr video languages 2025-07-28 09:22:15 +02:00
Chocobozzz
d6e4dac032
Add email translations
Convert emails from Pug template to Handlebars because i18next doesn't
support Pug
2025-07-24 09:18:04 +02:00
Chocobozzz
0adafa0fc0
Add ability to order playlists 2025-07-06 13:05:01 +02:00
Chocobozzz
de884c6721
Fix migration version 2025-06-26 15:23:18 +02:00
Chocobozzz
c0f4de6077
Add ability to customize instance logo 2025-06-24 06:38:29 +02:00
Chocobozzz
f5fd593976
Add ability for admins to refuse remote comments 2025-06-18 10:05:46 +02:00
Chocobozzz
031b61c466
Add ability to disable channel followers 2025-06-18 06:40:19 +02:00
Chocobozzz
ce28c64750
Support variable in email subject/signature 2025-06-18 06:40:19 +02:00
Chocobozzz
e9bb222b6c
Add defaults values config in web admin 2025-06-18 06:40:19 +02:00
Chocobozzz
a6b89bde2b
Redesign admin config and add theme customization 2025-06-18 06:40:19 +02:00
Chocobozzz
4739b117e8
Always specify s3 content type 2025-05-26 11:08:47 +02:00
Chocobozzz
b19754f259
Use a migration script for comments count 2025-05-20 10:36:54 +02:00
Chocobozzz
25c5507a03
Add global rate limit to video download 2025-05-14 15:16:38 +02:00
Chocobozzz
6e40f1f5a0
Add piscina idle timeout 2025-05-13 11:24:39 +02:00
Chocobozzz
dc05b37d17
Add ability to disable NSFW flags settings 2025-05-12 10:18:55 +02:00
Chocobozzz
9aa557649e
Support hot sort for search endpoint 2025-05-06 09:27:48 +02:00
Chocobozzz
dd4027a10f
Improve NSFW system
* Add NSFW flags to videos so the publisher can add more NSFW context
 * Add NSFW summary to videos, similar to content warning system so the
   publisher has a free text to describe NSFW aspect of its video
 * Add additional "warn" NSFW policy: the video thumbnail is not blurred
   and we display a tag below the video miniature, the video player
   includes the NSFW warning (with context if available) and it also
   prevent autoplay
 * "blur" NSFW settings inherits "warn" policy and also blur the video
   thumbnail
 * Add NSFW flag settings to users so they can have more granular
   control about what content they want to hide, warn or display
2025-04-30 15:54:11 +02:00
Chocobozzz
7cec8fd98c
Use "match" sort when searching videos 2025-04-10 10:10:41 +02:00
Chocobozzz
6e44e7e29a
Create and inject caption playlist in HLS master 2025-04-09 16:18:38 +02:00
kontrollanten
a7be820abc
add user agent video stats (#6871)
* add user agent video stats

closes #6832

* Disable indexes, support start/end dates

* move ua parsing to client

* Openapi, inline body request, update tests

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2025-04-07 10:29:59 +02:00
RF9A5V
25a9f37ded
Add Comment Count to Video Preview Components (#6635)
* WIP: Add backend functionality to store comment count per video and update on comment visibility actions

* WIP: Display image icon and comment count on video miniature component

* Probably don't need to index the comment count

* Added comment count back to mini video component

* Added basic tests

* Sort by comments, more robust comments count

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2025-04-02 16:29:22 +02:00
Chocobozzz
a93ad97aa1
Use intent and timeout for open in mobile app 2025-02-17 15:59:41 +01:00
Chocobozzz
e002b6fcd6
Add channelUpdatedAt list subscriptions sort 2025-02-12 14:37:24 +01:00
Chocobozzz
9b19c6ad3d
Fix client build 2025-02-10 16:17:00 +01:00
Chocobozzz
50b067f9cd
Separate player in dedicated build
* Separate player in a dedicated build, that we can control using vite.
   We had too many issues with Angular build system and we can now
   have the same build between the embed and the client. We can also
   embed SVG directly in the CSS
 * Upgrade p2p-media-loader to v2
 * Update internal infohashes to reflect this p2p-media-loader protocol
   change (they are updated at PeerTube startup)
 * Minimum required iOS version is now v14
2025-02-10 15:38:20 +01:00
Chocobozzz
260447942a
Add ability to put captions in object storage
Deprecate:
 * `path` and `url` of `ActorImage` (used to represent account/channel
   avatars/banners) in favour of `fileUrl`
 * `path` of `AvatarInfo` (used in notifications) in favour of `fileUrl`
 * `captionPath` of `VideoCaption` in favour of `fileUrl`
 * `storyboardPath` of `Storyboard` in favour of `fileUrl`
2025-02-07 09:35:39 +01:00
Chocobozzz
7a4e353718
Add web video redundancy migration 2025-02-04 08:11:54 +01:00
Chocobozzz
cfd8c3c40e
Update server dependencies
Breaking: rename parse-log script option `-nt` to `-n`
2025-02-03 10:19:11 +01:00
Chocobozzz
05f105d03f
Remove web video redundancy support
It's not used anymore in the player since several major versions now, so
there's no point in continuing to store these video files
2025-01-31 11:13:13 +01:00
Chocobozzz
a4f836c042
Increase image upload size 2025-01-28 15:09:39 +01:00
Khyvodul
1a568cc65c
feat: 6167 Add autoplay setting in the admin settings section (#6788)
* feat-6167: Add autoplay setting for new users in GUI admin section

* feat-6167: Add new localization for admin GUI

* Fix user configuration not taking default auto play setting into account when creating a new user

* Revert "feat-6167: Add new localization for admin GUI"

This reverts commit fcdb05c8ea.

* Move autoplay in defaults section

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2025-01-14 13:25:17 +01:00
Chocobozzz
f4d6cecf10
Redesign about pages 2025-01-09 10:29:17 +01:00
Chocobozzz
f83674c143
Global client redesign
* Split "my library" into "video space (channels, videos...)" and "my library (playlists, history...)"
 * Split "admin" into "overview (users, videos...)", "moderation (abuses, blocks, registrations...)" and "settings (configuration, runners...)"
 * Reorganize the header and the left menu: account settings/notifications are now in the header
 * Add instance information context in the left menu
 * Merge dedicated videos pages for "recently added", "trending", "local videos" into a "browse videos" page that includes quick filters
 * Clean up entire CSS
 * Clean CSS variables so it's easier to theme PeerTube (some new variables fallback to old variables to limit currnet themes breakages)
 * Replace the current light theme into a new one (beige)
 * Add a dark (brown) theme (included in PeerTube core)
 * Fix accessibility issues with old light theme colors (white on orange button for example)
 * Redesign the left menu, the horizontal menu, form controls and buttons, "Discover videos" page and common video filters panel
 * Replace/remove/add some global icon
2024-11-23 14:44:49 +01:00
Chocobozzz
3842a527f6
Remove deprecated server code 2024-11-04 10:23:01 +01:00
Chocobozzz
70ee15d3aa
Add ability to configure stun servers 2024-10-24 10:36:17 +02:00
Chocobozzz
150d9f197d
Fix .mov upload on some windows 2024-10-21 11:35:44 +02:00
Chocobozzz
e18ac0a468
Improve local search relevancy 2024-09-12 10:19:01 +02:00
Chocobozzz
be7bc3a6a9
More precise storyboard
Prefer to have unused black sprites at the end of the image instead of
missing sprites of the end of the video
2024-09-11 14:29:51 +02:00
Chocobozzz
48492c6d19
Fix build language export 2024-08-14 15:39:37 +02:00
Chocobozzz
d24d221550
Add SSRF protection 2024-08-14 15:33:57 +02:00