1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00
Commit graph

59 commits

Author SHA1 Message Date
Chocobozzz
1c31fe29cc
Correctly handle generateTranscription 2025-05-05 11:16:20 +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
986e71a1f7
Better ask email verification flow
Allow user to resend the email verification link when changing the
current email
Fix success messages when validating a new email
2025-04-15 10:36:12 +02:00
Chocobozzz
e7753c1b62
Prefer handle param name 2025-04-10 09:55:55 +02:00
Chocobozzz
6f68db1be9
Use handle for param name 2025-04-10 09:44:50 +02:00
Chocobozzz
334ad174a9
Refactor account/channel manage checks
Use a more robust approach by requiring the caller to choose if it needs
to check the actor is local and/or the user can manage it
2025-04-10 09:07:42 +02:00
Chocobozzz
ccb3fd4ab7
Merge branch 'release/7.1.0' into develop 2025-04-09 16:45:05 +02:00
Chocobozzz
94deeb0a8f
Fix HLS private static path 2025-04-08 08:18:54 +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
Chocobozzz
69c851c8e6
Fix path traversal when getting a private playlist 2025-04-07 07:10:08 +02:00
Chocobozzz
fd6b6b5931
Ensure channel is owned by the account 2025-04-03 09:47:34 +02:00
Chocobozzz
b295dd5820
Redesign manage my videos
* Use a table to list my videos for a clearer overview and so it's
   easier to add bulk actions in the future
 * Use a "Manage" video page with a proper URL navigation
 * Add "Stats" and "Studio" in this "Manage" page
2025-04-02 10:49:25 +02:00
Chocobozzz
c345f683d6
Fix updating a user with the same email as before 2025-03-27 16:10:21 +01:00
Chocobozzz
0bf17d869c
Add typeOneOf filter to list notifications 2025-02-20 11:48:15 +01:00
Chocobozzz
ac0bf90758
Fix live ending when using remote runners 2025-02-11 14:51:00 +01:00
Chocobozzz
94a7879d7d
Add host to common video filters 2025-01-31 16:08:09 +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
kontrollanten
a51fb3f35e
feat(API): permissive email check in login, reset & verification (#6648)
* feat(API): permissive email check in reset & verification

In order to not force users to be case sensitive when asking for
password reset or resend email verification. When there's multiple
emails where the only difference in the local is the capitalized
letters, in those cases the users has to be case sensitive.

closes #6570

* feat(API/login): permissive email handling

Allow case insensitive email when there's no other candidate.

closes #6570

* code review changes

* Fix tests

* Add more duplicate email checks

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2025-01-28 14:16:43 +01:00
Chocobozzz
962d3401a1
Fix viewers federation 2025-01-27 15:27:45 +01:00
Chocobozzz
d16d2e6744
Fix views tests 2025-01-17 16:00:49 +01:00
kontrollanten
3f30458c37
feat: plugin support to filter email addresses (#6752)
* feat: plugin support to filter email addresses

Add support for plugins to filter user email addresses.

* Add missing `totalNotDeletedComments` doc

* Styling

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2025-01-14 11:02:12 +01:00
Chocobozzz
f4d6cecf10
Redesign about pages 2025-01-09 10:29:17 +01:00
Chocobozzz
a1dd455634
Fix studio edition on audio only file 2024-12-16 08:42:13 +01:00
Chocobozzz
3842a527f6
Remove deprecated server code 2024-11-04 10:23:01 +01:00
Chocobozzz
a91bd80087
Add ability to filter requested runner jobs 2024-10-31 10:22:35 +01:00
Chocobozzz
69017c6e01
Styling 2024-10-21 11:07:23 +02:00
Chocobozzz
d96ec7da71
Fix progress bar accessibility 2024-09-25 16:06:37 +02:00
Chocobozzz
bbaf96d60d
Support max FPS configuration 2024-08-13 09:38:36 +02:00
Chocobozzz
62bf86c186
Introduce bufferStalled playback metric 2024-08-08 14:41:34 +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
68b7a69f99
Don't break the API 2024-07-31 13:23:28 +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
f5104fb234
Don't transcribe/encode videos with invalid state 2024-07-03 09:09:20 +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
Chocobozzz
1bfb791e05
Integrate transcription in PeerTube 2024-06-28 08:44:58 +02:00
Chocobozzz
43e186ef44
Add views tag to middlewares too 2024-06-27 10:51:36 +02:00
Chocobozzz
990266f149
Owner must not be able to approve its own comment 2024-06-21 10:27:03 +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
Chocobozzz
e2c354878f
Fix "reading 'isBlacklisted' of undefined" 2024-05-29 08:57:13 +02:00
Chocobozzz
1642c5b9e7
Protect all video related AP endpoints 2024-04-26 15:29:52 +02:00
Chocobozzz
afb28272f5
Check video rights before providing AP information 2024-04-26 10:09:38 +02:00
Chocobozzz
4a35e6587a
Fix lint 2024-03-26 17:43:03 +01:00
kontrollanten
26de1467e2
fix(server/video-view): log invalid currentTime req (#6288)
* fix(server/video-view): log invalid currentTime req

relates to #6285

* Styling

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2024-03-26 17:08:15 +01:00
Chocobozzz
a159b8b517
Add ability to list and delete original file
In admin
2024-03-26 14:10:02 +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
9e2700b89d
Fix lint 2024-02-22 10:32:28 +01:00
Chocobozzz
f7e4f62870 Refactor uploadx middlewares 2024-02-21 13:49:08 +01:00