Commit Graph

3822 Commits

Author SHA1 Message Date
Chocobozzz
6a4db88e5c Handle 410 HTTP response code for AP objects 2024-05-30 10:28:20 +02:00
Chocobozzz
671c6c1f96 Fix auto tags migration 2024-05-29 15:06:08 +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
b65d639695 Don't include banners in account API 2024-05-29 09:00:43 +02:00
Chocobozzz
e2c354878f Fix "reading 'isBlacklisted' of undefined" 2024-05-29 08:57:13 +02:00
Chocobozzz
4ea659d569 Handle videos with FPS < 1 2024-05-29 08:56:53 +02:00
Chocobozzz
b7e07bde8c Update search REST API doc 2024-05-28 09:05:35 +02:00
Chocobozzz
9b5c7a8dc6 Merge branch 'release/6.1.0' into develop 2024-05-17 11:36:43 +02:00
Chocobozzz
74b62dcb85 Remove invalid db value checker
fileUrl can use localhost in some specific cases for example
2024-05-17 11:18:43 +02:00
Chocobozzz
cb88f25ffa Don't count deleted comments for stats 2024-05-17 11:15:37 +02:00
Chocobozzz
9ee1f7b57c Don't mark as ready already read notifications 2024-05-17 11:07:30 +02:00
Chocobozzz
9784e93dc7 Don't import all lodash 2024-05-17 11:04:25 +02:00
kontrollanten
1eb8fc2c06 fix(server/plugins): avoid duplicate settings
Filter settings so that the name property is unique.

closes #6356
2024-05-17 10:43:47 +02:00
kontrollanten
5dfa07adb5 fix(server/geo-ip): throttle db download 2024-05-17 09:42:25 +02:00
Chocobozzz
5dd0721bee Merge branch 'release/6.1.0' into develop 2024-05-16 11:39:53 +02:00
Chocobozzz
3d105296e6 Fix concurrent live streams serialization issue 2024-05-16 11:38:36 +02:00
Chocobozzz
e7ebcb16ac Fix big user export file size 2024-05-16 11:18:50 +02:00
Chocobozzz
81d4d557f7 Remove internal log 2024-05-16 11:15:43 +02:00
kontrollanten
2177995056 feat(server): dont client cache HTML files
Tell the clients to not cache the HTML response.

closes #6393
2024-05-13 11:17:50 +02:00
Chocobozzz
1642c5b9e7 Protect all video related AP endpoints 2024-04-26 15:29:52 +02:00
Chocobozzz
d72ef2a2b9 Fix federation when updating video privacy 2024-04-26 10:30:43 +02:00
Chocobozzz
afb28272f5 Check video rights before providing AP information 2024-04-26 10:09:38 +02:00
Chocobozzz
b8635c2606 Compact json-ld AP objects 2024-04-25 11:21:55 +02:00
Chocobozzz
47ae6e880d Fix AP actor follows count 2024-04-25 10:53:53 +02:00
Chocobozzz
b824480af7 Fix video source size column on db migration 2024-04-22 14:41:46 +02:00
Chocobozzz
bce0f2f11b Fix total video file size 2024-04-22 11:48:05 +02:00
Chocobozzz
c67dfb979b Support itunes:owner in podcast feed 2024-04-11 09:32:57 +02:00
Chocobozzz
f84ac3ba41 Fix local video creator crash 2024-04-05 08:29:23 +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
kontrollanten
6f6abcabfb feat(plugins): add peertubeHelpers.loadByIdOrUUIDWithFiles (#6302) 2024-04-04 08:20:09 +02:00
Chocobozzz
e43326ed5b Support "Spanish (Latin America)" metadata lang 2024-04-03 15:20:18 +02:00
Chocobozzz
f8b8dc674e Fix views crash on geoip update failure 2024-04-03 15:11:10 +02:00
Chocobozzz
9b70c8e7e8 Do not take into account empty view sections 2024-04-03 14:25:21 +02:00
kontrollanten
1b323f4f65 feat(plugins): add req.rawBody for routes
Stripe webhooks endpoints requires to read the raw request body.
https://docs.stripe.com/webhooks#verify-webhook-signatures-with-official-libraries
2024-04-02 11:06:34 +02:00
Chocobozzz
5ef0430dfb Display playlists if allowed to escape federation 2024-03-27 15:48:29 +01:00
Chocobozzz
3f8454ce63 Fix creating remote tracker URLs on video creation 2024-03-27 15:26:15 +01:00
Chocobozzz
11521f231f Generate small versions of banners too 2024-03-27 15:08:09 +01:00
kontrollanten
aaa5acbb0c feat(plugins): add filter:api.user.me.get.result
relates to #6219
2024-03-27 13:32:53 +01: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
Chocobozzz
5b8da4e051 Method typo 2024-03-25 15:14:56 +01:00
Chocobozzz
be19d9be34 Move email templates in assets directory 2024-03-20 09:15:07 +01:00
Chocobozzz
33101bc5b3 Optimize abuse SQL query 2024-03-20 08:34:14 +01:00
Chocobozzz
da63a030f3 Also add "allow-forms" to oembed 2024-03-19 15:29:32 +01:00
Chocobozzz
c09e27d77a Optimize transcoding profile building 2024-03-19 09:53:59 +01:00
Chocobozzz
0e718cb7b2 Fix cancel on stall error message 2024-03-19 08:39:41 +01:00
Chocobozzz
0301d77254 Don't cancel finished jobs 2024-03-19 08:39:23 +01:00
Chocobozzz
c727a34cb6 Prevent aborting another live session 2024-03-18 16:09:22 +01:00
Chocobozzz
c10c3c5e79 Add finish sign language 2024-03-18 11:28:43 +01:00