353 Commits

Author SHA1 Message Date
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
723bfea0a8 Add info about remote redundancy setting 2025-01-31 14:36:06 +01:00
Chocobozzz
eb06d7dfc2 Add sepiasearch as default search index 2025-01-31 14:12:08 +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
8a0269f4eb Fix tests 2024-11-23 15:09:37 +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
6ce6ff06f1 Clearer signup limit label 2024-10-31 11:32:18 +01:00
Chocobozzz
70ee15d3aa Add ability to configure stun servers 2024-10-24 10:36:17 +02:00
Chocobozzz
e03dfa6c82 Add help to youtube-dl proxies config 2024-09-18 15:22:11 +02:00
Chocobozzz
7fa9004f4c Add note to split audio/video config 2024-09-13 08:58:55 +02:00
Chocobozzz
d24d221550 Add SSRF protection 2024-08-14 15:33:57 +02:00
Chocobozzz
e6de476ae8 Add ability to disable federation 2024-08-14 14:12:37 +02:00
Chocobozzz
38dbafcf63 Support youtube-dl executables
Also disable youtube tests in CI due to youtube blocking
2024-08-13 14:20:08 +02:00
Chocobozzz
5439a591e0 Add ability to set proxies to youtube-dl 2024-08-13 10:49:31 +02:00
Chocobozzz
a955a11e4b Better config comments for instance categories/languages 2024-08-13 09:38:36 +02:00
Chocobozzz
bbaf96d60d Support max FPS configuration 2024-08-13 09:38:36 +02:00
Chocobozzz
816f346a60 Separate HLS audio and video streams
Allows:
  * The HLS player to propose an "Audio only" resolution
  * The live to output an "Audio only" resolution
  * The live to ingest and output an "Audio only" stream

 This feature is under a config for VOD videos and is enabled by default for lives

 In the future we can imagine:
  * To propose multiple audio streams for a specific video
  * To ingest an audio only VOD and just output an audio only "video"
    (the player would play the audio file and PeerTube would not
    generate additional resolutions)

This commit introduce a new way to download videos:
 * Add "/download/videos/generate/:videoId" endpoint where PeerTube can
   mux an audio only and a video only file to a mp4 container
 * The download client modal introduces a new default panel where the
   user can choose resolutions it wants to download
2024-08-05 08:31:59 +02:00
Chocobozzz
3f3f412d04 Support another dev environment 2024-07-31 08:16:14 +02:00
Chocobozzz
846c0bcd34 Increase max log size 2024-07-29 08:31:35 +02:00
Chocobozzz
af73531e3a Add large-v2 model info 2024-07-15 08:27:37 +02:00
Chocobozzz
f81bc3d3dc Relax client log rate limiting 2024-07-02 09:43:07 +02:00
Chocobozzz
1bfb791e05 Integrate transcription in PeerTube 2024-06-28 08:44:58 +02:00
kontrollanten
ca26687e1f feat: config option object_storage.max_request_attempts (#6418)
* feat: config option object_storage.max_attempts

Backblaze recommends to have a high amount of attempts since they've
designed their architecture so that it will return 5xx errors to
indicate that the client should do a new attempt.

https://www.backblaze.com/blog/b2-503-500-server-error/

closes #6415

* Rephrase comment

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2024-06-11 13:57:18 +02:00
Chocobozzz
1e3a5b25c3 Plan to have multiple sizes in the future 2024-05-31 09:02:34 +02:00
Gergo Bogdan
3fbe849183 #5618 - added configuration fields for Thumbnails and Previews, if no config is provided, the previous, default values are configured 2024-05-31 08:57:23 +02:00
Chocobozzz
5e01c9c9a7 Check latest plugin versions every 4 hours
12 hours is too much for important plugin releases
2024-05-30 16:59:38 +02:00
Chocobozzz
29329d6c45 Implement auto tag on comments and videos
* Comments and videos can be automatically tagged using core rules or
   watched word lists
 * These tags can be used to automatically filter videos and comments
 * Introduce a new video comment policy where comments must be approved
   first
 * Comments may have to be approved if the user auto block them using
   core rules or watched word lists
 * Implement FEP-5624 to federate reply control policies
2024-05-29 15:03:14 +02:00
Skid
0a43de655a Fix typo at log.rotation.enabled 2024-05-15 16:16:25 +02:00
Skid
c22fc9f859 Fix typo at log.rotation.enabled 2024-05-15 16:16:25 +02:00
Chocobozzz
5cb3e6a0b8 Use sessionId instead of IP to identify viewer
Breaking: YAML config `ip_view_expiration` is renamed `view_expiration`
Breaking: Views are taken into account after 10 seconds instead of 30
seconds (can be changed in YAML config)

Purpose of this commit is to get closer to other video platforms where
some platforms count views on play (mux, vimeo) or others use a very low
delay (instagram, tiktok)

We also want to improve the viewer identification, where we no longer
use the IP but the `sessionId` generated by the web browser. Multiple
viewers behind a NAT can now be able to be identified as independent
viewers (this method is also used by vimeo or mux)
2024-04-04 16:27:40 +02:00
Chocobozzz
817f754c22 Remove difficult to maintain config update method 2024-03-28 09:10:36 +01:00
Chocobozzz
302fd93c49 Disable http metrics by default
Can lead to performance issues on prometheus side and peertube side if
many different URLs have been called on peertube side (google indexation
for example)
2024-03-19 14:52:41 +01:00
chagai95
e57c3024f4 Add config option to keep original video file (basic first version) (#6157)
* testing not removing old file and adding columb to db

* implement feature

* remove unnecessary config changes

* use only keptOriginalFileName, change keptOriginalFileName to keptOriginalFilename for consistency with with videoFile table, slight refactor with basename()

* save original video files to dedicated directory original-video-files

* begin implementing object storage (bucket) support

---------

Co-authored-by: chagai.friedlander <chagai.friedlander@fairkom.eu>
Co-authored-by: Ian <ian.kraft@hotmail.com>
Co-authored-by: Chocobozzz <me@florianbigard.com>
2024-03-15 15:47:18 +01:00
Chocobozzz
10e78bb778 Remove twitter whitelisted option
It doesn't seem to be required
2024-03-08 10:54:29 +01:00
Chocobozzz
68d006b6fc Add config to disable storing lives in s3 2024-02-26 16:14:40 +01:00
Chocobozzz
0165786f65 Add total moderators/admins in stats 2024-02-23 15:04:18 +01:00
Chocobozzz
db69d9491e Add abuse and registration requests stats 2024-02-21 14:57:20 +01:00
Chocobozzz
8573e5a80a Implement user import/export in server 2024-02-21 13:49:08 +01:00
Chocobozzz
9489b536a2 Add warning for s3 provider support 2024-01-26 17:20:07 +01:00
Chocobozzz
4cbea51255 Add subdivision to viewer stats 2023-12-28 09:56:05 +01:00
Chocobozzz
b9077c83fc Add ability to disable storyboards 2023-12-27 10:39:09 +01:00
Chocobozzz
66776b6a25 Merge branch 'release/6.0.0' into develop 2023-12-20 14:07:47 +01:00
Chocobozzz
b5ae080f32 Fix tests 2023-12-20 13:51:01 +01:00
Chocobozzz
fe37e5232b Add ability to customize views/playback interval 2023-12-20 10:55:47 +01:00
Chocobozzz
9e0efe45ff Improve tests 2023-12-20 10:55:28 +01:00
Chocobozzz
2bc4d26b94 Add ability to customize frames to analyze 2023-11-08 10:18:39 +01:00
Chocobozzz
1ba8bbded0 Also use 127.0.0.1 for database and redis
Node 18 can resolve localhost to IPv6 address, where postgresql and/or
redis may listen on IPv4 only
2023-11-07 10:41:08 +01:00
Chocobozzz
90db2b3aed Add ability to disable HTTP logs 2023-10-24 10:57:41 +02:00
Wicklow
ea6c2b064f Allow to change the default channel name (#6000)
* Allow to change the default channel name

* Fix tests

* Fix tests

* Fix tests
2023-10-19 15:22:00 +02:00