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

693 commits

Author SHA1 Message Date
Chocobozzz
a2b99c3c92
Add more info to stats card 2025-09-12 08:54:50 +02:00
Chocobozzz
906b5f7f2c
Migrate to pnpm 2025-09-12 08:43:41 +02:00
Chocobozzz
18d05d3a40
Update translations 2025-08-12 11:53:56 +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
cd8573d79e
Fix release script 2025-07-16 15:10:39 +02:00
Chocobozzz
76aa084fd5
Update credits 2025-07-11 10:34:34 +02:00
Chocobozzz
ee96cf3a19
Improve NSFW warning in player 2025-07-09 15:32:57 +02:00
Chocobozzz
037197a7e9
Merge branch 'release/7.2.0' into develop 2025-07-08 16:46:46 +02:00
Chocobozzz
3f4c267ec9
Add player strings to translate 2025-07-08 15:47:26 +02:00
Chocobozzz
c0f4de6077
Add ability to customize instance logo 2025-06-24 06:38:29 +02:00
Chocobozzz
9fbfb76985
Add scp command to release script 2025-06-10 09:44:33 +02:00
Chocobozzz
f85e1a57d4
Format xliff files 2025-05-30 14:31:25 +02:00
Chocobozzz
200c5eb463
Fix lint 2025-05-30 13:26:11 +02:00
Chocobozzz
288b0f43a1
Update all angular translation files 2025-05-30 11:00:06 +02:00
Chocobozzz
571334eb02
Update all player/server translation files 2025-05-30 10:50:43 +02:00
Chocobozzz
d84c65e90e
Update translations 2025-05-30 09:59:38 +02:00
Chocobozzz
920e84dd4f
Fix CI types 2025-05-13 09:05:13 +02:00
Chocobozzz
3cf8adb6d1
Fix types CI 2025-05-09 16:04:23 +02:00
Chocobozzz
034e1bf328
Migrate eslint to v9 2025-05-07 15:49:23 +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
de45414479
Update translations 2025-02-24 08:50:23 +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
3172bd1de7
Update translations 2024-11-29 14:10:36 +01:00
Chocobozzz
2375d6f054
Add sk support 2024-11-29 11:23:59 +01:00
Chocobozzz
3eb1f23977
Refresh horizontal menu on login change 2024-11-27 10:20:19 +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
853f311684
Rewording "waiting for live" message
It's confusing, especially for permanent lives
2024-09-05 15:17:32 +02:00
Chocobozzz
b708d2102a
Regenerate code contributors 2024-08-14 15:36:35 +02:00
Chocobozzz
615cc77dcd
Fix zip paths 2024-08-07 08:15:48 +02:00
Chocobozzz
4373b2d566
Don't include docker in releases 2024-08-06 12:02:50 +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
8bd8b33780
Fix benchmark preparation 2024-07-15 11:12:50 +02:00
Chocobozzz
5d62c3c1cb
Add "auto-generated" caption info 2024-07-10 12:31:34 +02:00
Chocobozzz
af11f812ac
Fix client stats 2024-07-03 15:59:26 +02:00
Chocobozzz
3b5b050a98
Include transcription package in builds 2024-07-01 10:12:48 +02:00
Chocobozzz
1bfb791e05
Integrate transcription in PeerTube 2024-06-28 08:44:58 +02:00
lutangar
ef14cf4a5c
feat(transcription): groundwork
chore: fiddling around some more

chore: add ctranslate2 and timestamped

chore: add performance markers

chore: refactor test

chore: change worflow name

chore: ensure Python3

chore(duration): convert to chai/mocha syntahx

chore(transcription): add individual tests for others transcribers

chore(transcription): implement formats test of all implementations

Also compare result of other implementation to the reference implementation

chore(transcription): add more test case with other language and models size and local model

chore(test): wip ctranslate 2 adapat

chore(transcription): wip transcript file and benchmark

chore(test): clean a bit

chore(test): clean a bit

chore(test): refacto timestamed spec

chore(test): update workflow

chore(test): fix glob expansion with sh

chore(test): extract some hw info

chore(test): fix async tests

chore(benchmark): add model info

feat(transcription): allow use of a local mode in timestamped-whisper

feat(transcription): extract run and profiling info in own value object

feat(transcription): extract run concept in own class an run more bench

chore(transcription): somplify run object only a uuid is now needed and add more benchmark scenario

docs(transcription): creates own package readme

docs(transcription): add local model usage

docs(transcription): update README

fix(transcription): use fr video for better comparison

chore(transcription): make openai comparison passed

docs(timestamped): clea

chore(transcription): change transcribers transcribe method signature

Introduce whisper builtin model.

fix(transcription): activate language detection

Forbid transcript creation without a language.
Add `languageDetection` flag to an engine and some assertions.

Fix an issue in `whisper-ctranslate2` :
https://github.com/Softcatala/whisper-ctranslate2/pull/93

chore(transcription): use PeerTube time helpers instead of custom ones

Update existing time function to output an integer number of seconds and add a ms human-readable time formatter with hints of tests.

chore(transcription): use PeerTube UUID helpers

chore(transcription): enable CER evaluation

Thanks to this recent fix in Jiwer <3
https://github.com/jitsi/jiwer/issues/873

chore(jiwer): creates JiWer package

I'm not very happy with the TranscriptFileEvaluator constructor... suggestions ?

chore(JiWer): add usage in README

docs(jiwer): update JiWer readme

chore(transcription): use FunMOOC video in fixtures

chore(transcription): add proper english video fixture

chore(transcription): use os tmp directory where relevant

chore(transcription): fix jiwer cli test reference.txt

chore(transcription): move benchmark out of tests

chore(transcription): remove transcription workflow

docs(transcription): add benchmark info

fix(transcription): use ms precision in other transcribers

chore(transcription): simplify most of the tests

chore(transcription): remove slashes when building path with join

chore(transcription): make fromPath method async

chore(transcription): assert path to model is a directory for CTranslate2 transcriber

chore(transcription): ctranslate2 assertion

chore(transcription): ctranslate2 assertion

chore(transcription): add preinstall script for Python dependencies

chore(transcription): add download and unzip utils functions

chore(transcription): add download and unzip utils functions

chore(transcription): download & unzip models fixtures

chore(transcription): zip

chore(transcription): raise download file test timeout

chore(transcription): simplify download file test

chore(transcription): add transcriptions test to CI

chore(transcription): raise test preconditions timeout

chore(transcription): run preinstall scripts before running ci

chore(transcription): create dedicated tmp folder for transcriber tests

chore(transcription): raise timeout some more

chore(transcription): raise timeout some more

chore(transcription): raise timeout some more

chore(transcription): raise timeout some more

chore(transcription): raise timeout some more

chore(transcription): raise timeout some more

chore(transcription): raise timeout some more

chore(transcription): raise timeout some more

chore(transcription): use short video for local model test

chore(transcription): raise timeout some more

chore(transcription): raise timeout some more

chore(transcription): raise timeout some more

chore(transcription): setup verbosity based on NODE_ENV value
2024-06-28 08:43:40 +02:00
Chocobozzz
b10482e0e0
Fix lint 2024-06-27 14:34:18 +02:00
Chocobozzz
9772280e99
Upgrade to angular 18 & vite 2024-06-26 08:33:54 +02:00
Chocobozzz
a722194809
Update server dependencies 2024-06-21 14:39:50 +02:00
Chocobozzz
00b1adab86
Fix player back button label 2024-06-10 16:27:01 +02:00
Chocobozzz
b89f37a751
Add inspect node option to benchmark script
So we can easily profile the backend
2024-04-05 10:18:45 +02:00
Chocobozzz
f84243fc53
Ensure to release with appropriate node modules 2024-04-04 16:45:05 +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
a246c44504
Support tr locale 2024-03-26 14:25:12 +01:00
Chocobozzz
be19d9be34
Move email templates in assets directory 2024-03-20 09:15:07 +01:00
Chocobozzz
c727a34cb6
Prevent aborting another live session 2024-03-18 16:09:22 +01:00
Chocobozzz
1a8b20ba30
Less verbose on expected error 2024-03-18 11:28:43 +01:00
Chocobozzz
1048d1054b
Fix dev:client command 2024-03-15 16:49:55 +01:00
Chocobozzz
4b857f50c8
Anonymize IP stored in Redis too 2024-02-29 10:09:21 +01:00