Commit Graph

3999 Commits

Author SHA1 Message Date
Chocobozzz a1dd455634
Fix studio edition on audio only file 2024-12-16 08:42:13 +01:00
Chocobozzz ae3b487c42
Fix user export expiration 2024-12-16 07:11:30 +01:00
Chocobozzz 6b60a1d852
Fix client links 2024-12-11 14:35:40 +01:00
Chocobozzz 804171860e
Server dep maintenance upgrade 2024-11-25 10:04:59 +01:00
Chocobozzz c3544d80b5
Fix ERR_BUFFER_OUT_OF_BOUNDS on some node version 2024-11-25 09:15:35 +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 af7ffcf813
Fix auto blacklisting unlisted videos 2024-11-12 10:29:36 +01:00
Chocobozzz 3842a527f6
Remove deprecated server code 2024-11-04 10:23:01 +01:00
Chocobozzz 11fd3a4618
Correctly delete web videos with hls without audio 2024-11-04 09:50:15 +01:00
Chocobozzz 7476abe8b5
Catch OTP errors 2024-11-04 09:25:26 +01:00
Chocobozzz 29cdeb0621
Fix sql formatter crash 2024-10-31 10:49:24 +01:00
Chocobozzz a91bd80087
Add ability to filter requested runner jobs 2024-10-31 10:22:35 +01:00
Chocobozzz 0e8a6bbe6d
Merge branch 'release/6.3.0' into develop 2024-10-30 08:03:08 +01:00
Chocobozzz 7d5d7f22ff
Fix transcoding resolutions when audio is enabled 2024-10-29 16:32:35 +01:00
Chocobozzz 18d9858109
Fix creating playlist without thumbnail 2024-10-29 16:12:38 +01:00
Chocobozzz 70ee15d3aa
Add ability to configure stun servers 2024-10-24 10:36:17 +02:00
Chocobozzz 8745c915d5
Improve redis logging 2024-10-23 10:54:23 +02:00
kontrollanten 41c70a6b35
Sitemap: Hide empty accounts/channels and add video tags (#6633)
* feat(sitemap): remove empty accounts/channels

closes #6607

* feat(sitemap): add more video tags

https://developers.google.com/search/docs/crawling-indexing/sitemaps/video-sitemaps

closes #6606

* Chunk videos SQL query

* Optimize SQL query

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2024-10-23 07:17:02 +02:00
Chocobozzz ef1732e5b9
Fix client tests 2024-10-22 14:04:05 +02:00
Chocobozzz 54adc6f038
Add instance avatar to default open graph tags 2024-10-22 13:12:17 +02:00
Chocobozzz 5af6cf6e82
Merge branch 'release/6.3.0' into develop 2024-10-22 10:53:11 +02:00
Chocobozzz 1606e41195
Fix live replay broken thumbnails 2024-10-22 10:30:06 +02:00
Chocobozzz a8bc342204
Fix fetching client comment URL 2024-10-21 15:14:54 +02:00
Chocobozzz 150d9f197d
Fix .mov upload on some windows 2024-10-21 11:35:44 +02:00
Chocobozzz 69017c6e01
Styling 2024-10-21 11:07:23 +02:00
Chocobozzz 47a7007f74
Merge branch 'release/6.3.0' into develop 2024-10-08 08:42:56 +02:00
Chocobozzz ef8e5cad58
More robust live ending on invalid thumbnails 2024-10-07 08:19:34 +02:00
Chocobozzz bf11895507
Don't crash on non preview/thumbnail 2024-10-07 08:15:00 +02:00
Chocobozzz 499d660723
Faster get a user 2024-09-25 16:06:38 +02:00
Chocobozzz 2011bc29dd
Fix alert accessibility 2024-09-25 16:06:38 +02:00
Chocobozzz d96ec7da71
Fix progress bar accessibility 2024-09-25 16:06:37 +02:00
Chocobozzz 093a9bf749
Fix splitting audio/video of existing videos 2024-09-25 14:03:44 +02:00
Chocobozzz 7e9fba3ae5
Fix deleting an unknown actor 2024-09-25 14:03:44 +02:00
Chocobozzz a9cb29dfc1
More info when logging the request 2024-09-17 08:35:54 +02:00
Chocobozzz 5ae90e0757
Delete remote actor too 2024-09-17 08:33:54 +02:00
Chocobozzz d794988ebd
Fix logging 2024-09-16 16:13:41 +02:00
Chocobozzz fc771a63e1
Add more logs to common user endpoints 2024-09-13 09:21:58 +02:00
Chocobozzz da6d0bfe88
More robust caption update
Avoid file not found when the transaction is retried
2024-09-12 10:52:18 +02:00
Chocobozzz e18ac0a468
Improve local search relevancy 2024-09-12 10:19:01 +02:00
Chocobozzz f27f392721
Improve word similarity search 2024-09-12 09:24:28 +02:00
Chocobozzz 565a11d8d3
Don't resize remote actor images
Use their own size. In the future we may imagine resizing remote images
on demand like classic CDNs
2024-09-12 08:46:08 +02:00
Chocobozzz baefe61cff
Fix duplicated resolutions when capping fps 2024-09-11 16:06:33 +02:00
Chocobozzz 8e644dedb2
Fix tests 2024-09-11 15:51:15 +02:00
Chocobozzz 71bdad9f5e
Correctly cleanup permanent live empty directories 2024-09-11 14:45:02 +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 f9b46e816e
Fix email link escaping
See https://github.com/forwardemail/email-templates/issues/464
2024-09-06 09:31:14 +02:00
David Baumgold 7de5e13b25
oEmbed API should use CORS (#6562)
* oEmbed API should use CORS

* Simplify cors function call

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2024-09-05 16:16:44 +02:00
Chocobozzz 99091da7c5
Improve email error logging 2024-09-05 15:43:43 +02:00
Chocobozzz a86252b399
Support actors with array url field 2024-08-20 15:50:31 +02:00
Chocobozzz 1870626af5
Fix video file storage attribute 2024-08-20 09:05:53 +02:00
Chocobozzz 27bf92235f
Fix video file object storage detection 2024-08-19 17:02:44 +02:00
Chocobozzz b2bb45cf91
Fix broken object storage playlist on file removal 2024-08-19 16:00:55 +02:00
Chocobozzz 3a6e3c9dee
Avoid "No changed keys found" error 2024-08-19 10:13:33 +02:00
Chocobozzz c0b2bc9a08
Fix abuse message exception when target is removed 2024-08-16 10:59:07 +02:00
Chocobozzz 38cc3910ff
Fix tests 2024-08-14 16:14:06 +02:00
Chocobozzz 48492c6d19
Fix build language export 2024-08-14 15:39:37 +02:00
Chocobozzz b708d2102a
Regenerate code contributors 2024-08-14 15:36:35 +02:00
Chocobozzz d24d221550
Add SSRF protection 2024-08-14 15:33:57 +02:00
Chocobozzz 8fe17abb7c
Prevent headers already sent error 2024-08-14 14:21:53 +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 766f2cb76a
Relax federation logs 2024-08-13 09:38:37 +02:00
Chocobozzz bbaf96d60d
Support max FPS configuration 2024-08-13 09:38:36 +02:00
Chocobozzz 90859f2b61
Reduce peertube types package size 2024-08-13 09:38:35 +02:00
Chocobozzz 25684e837c
Fix client player error on fast restream 2024-08-09 10:00:34 +02:00
Chocobozzz 62bf86c186
Introduce bufferStalled playback metric 2024-08-08 14:41:34 +02:00
Chocobozzz 658241d8c6
Support cover when downloading audio 2024-08-08 10:42:15 +02:00
Chocobozzz 56d48fc41b
Notify local users with internal video privacy 2024-08-07 09:26:07 +02:00
Chocobozzz 21215122a8
Better resolution label for custom video aspect 2024-08-06 16:01:38 +02:00
Chocobozzz b5fd7881a0
Fix transcoding flow 2024-08-06 14:30:08 +02:00
Chocobozzz 546265e9ae
Support fowarding query params to oembed
For now only `start` for videos and `playlistPosition` for playlists are
supported
2024-08-06 11:52:21 +02:00
Chocobozzz 5e82c1932e
Correctly set tags to replays of permanent lives 2024-08-05 16:23:44 +02:00
Chocobozzz 486183fe62
Speed up built-in db migration 2024-08-05 16:23:39 +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 f7ec8401c5
Revert webtorrent version to avoid native dep
Causes issues on some system:
 * https://github.com/Chocobozzz/PeerTube/issues/6518
 * https://github.com/Chocobozzz/PeerTube/issues/6486
 * https://github.com/Chocobozzz/PeerTube/issues/6502
2024-07-31 15:05:36 +02:00
Chocobozzz 68b7a69f99
Don't break the API 2024-07-31 13:23:28 +02:00
Chocobozzz bba6538435
Truncate chapters from youtube-dl 2024-07-31 10:13:28 +02:00
Chocobozzz 22e9d9a1fe
Fix updating hls infohash on privacy update 2024-07-31 09:26:54 +02:00
Chocobozzz 44919a8d57
Fix hidden runner jobs tab
If remote runners feature is only enabled on transcription
2024-07-31 08:56:33 +02:00
Chocobozzz 71857cc04b
More robust doesVideoExistForVideoFile 2024-07-31 08:55:56 +02:00
Chocobozzz a9d08d2646
Correctly handle invalid current password 2024-07-31 08:35:24 +02:00
Chocobozzz d0304f6712
Don't check current password param
We may have a current password that does not satisfy new password
constraints
2024-07-31 08:25:50 +02:00
Chocobozzz 4342ec8525
Comment for torrent consistency issues 2024-07-29 08:55:33 +02:00
Chocobozzz 18f13f43ec
Fix "Correctly save transaction with retries" 2024-07-24 15:20:03 +02:00
Chocobozzz 89e3951587
Correctly save transaction with retries 2024-07-23 16:38:28 +02:00
Chocobozzz 300676f62b
Don't replace caption on transcription 2024-07-12 16:20:26 +02:00
Chocobozzz e99e4aa93c
Run transcription after studio 2024-07-11 11:29:46 +02:00
Chocobozzz c5fa9fe70e
More robust updateTorrentMetadata fn 2024-07-11 08:07:30 +02:00
Chocobozzz c5de5ef1d0
Fix registering unamed settings 2024-07-10 12:12:07 +02:00
Chocobozzz 471bf5bbce
Don't block video files on transcription 2024-07-04 11:18:04 +02:00
Chocobozzz 8ab6f23a00
Don't block video update on storyboard generation 2024-07-03 15:40:10 +02:00
Chocobozzz f5104fb234
Don't transcribe/encode videos with invalid state 2024-07-03 09:09:20 +02:00
Chocobozzz 2d26eff129
Don't create pendingTranscription twice 2024-07-03 08:52:05 +02:00
Chocobozzz f81bc3d3dc
Relax client log rate limiting 2024-07-02 09:43:07 +02:00
Chocobozzz 01b3396c80
Better view handling with looped videos 2024-07-02 09:41:33 +02:00
Chocobozzz ebcf3329f5
More robust transcription error job handler 2024-07-01 14:38:19 +02:00
Chocobozzz b45ed3c05a
Do not run transcription/transcoding on lives 2024-07-01 11:15:09 +02:00
Chocobozzz 3a71086e35
Correctly handle transcription conflicts 2024-06-28 14:42:19 +02:00
Grant 4bc29f6d3f Add Express req, res to filter:api.search.videos.local.list.params 2024-06-28 09:20:39 +02:00