Commit Graph

12990 Commits (5cb3e6a0b89b3d843920e720b8abfbd2451eda0b)

Author SHA1 Message Date
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
kontrollanten cd42491cf0
feat: add support for sub routes under /my-account (#6218)
* feat: add support for sub routes under /my-account

closes #6217

* feat(plugins/client-routes): page titles

Add support for adding custom page titles in client routes.

* fix(client/PluginPages): reload component upon URL change

* Styling

* docs(plugins): update registerClientRoute

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2024-04-04 08:17:59 +02:00
Chocobozzz 9f92c8c426
Update translations 2024-04-03 16:40:54 +02:00
Chocobozzz 4b18b0880d
Fix tests 2024-04-03 16:40:43 +02:00
h3n3 77d4aa19d2 Translated using Weblate (Dutch)
Currently translated at 100.0% (2367 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2024-04-03 16:16:27 +02:00
Ewout van Mansom 4e86c38bc9 Translated using Weblate (Dutch)
Currently translated at 100.0% (2367 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2024-04-03 16:16:27 +02:00
T.S d627ccf2d1 Translated using Weblate (Japanese)
Currently translated at 100.0% (2367 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2024-04-03 16:16:27 +02:00
Casper Ruttten 57610f306c Translated using Weblate (Dutch)
Currently translated at 99.7% (2361 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2024-04-03 16:16:26 +02:00
Casper Ruttten dca3fc6e47 Translated using Weblate (Dutch)
Currently translated at 93.6% (2217 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2024-04-03 16:16:26 +02:00
Ettore Atalan bb04450ab7 Translated using Weblate (German)
Currently translated at 97.6% (2312 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/de/
2024-04-03 16:16:26 +02:00
Ewout van Mansom e888a248e3 Translated using Weblate (Dutch)
Currently translated at 92.6% (2194 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2024-04-03 16:16:26 +02:00
Ewout van Mansom 635d8b49b4 Translated using Weblate (Dutch)
Currently translated at 92.6% (2193 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2024-04-03 16:16:26 +02:00
Ewout van Mansom f30fce8d02 Translated using Weblate (Dutch)
Currently translated at 92.0% (2179 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2024-04-03 16:16:26 +02:00
josé m 7eb8f2b102 Translated using Weblate (Galician)
Currently translated at 100.0% (2367 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/
2024-04-03 16:16:26 +02:00
josé m 44600a6be0 Translated using Weblate (Galician)
Currently translated at 99.8% (2363 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/
2024-04-03 16:16:26 +02:00
Ewout van Mansom e90d140bba Translated using Weblate (Dutch)
Currently translated at 92.0% (2178 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2024-04-03 16:16:26 +02:00
Ewout van Mansom 7cf7836738 Translated using Weblate (Dutch)
Currently translated at 91.9% (2177 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2024-04-03 16:16:26 +02:00
Ewout van Mansom 87e950a91d Translated using Weblate (Dutch)
Currently translated at 91.8% (2175 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2024-04-03 16:16:26 +02:00
Ewout van Mansom 8d33f30051 Translated using Weblate (Dutch)
Currently translated at 91.8% (2174 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2024-04-03 16:16:26 +02:00
Ewout van Mansom ea4009bbc5 Translated using Weblate (Dutch)
Currently translated at 90.6% (2145 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2024-04-03 16:16:26 +02:00
Ewout van Mansom 3a4e05648f Translated using Weblate (Dutch)
Currently translated at 89.0% (2107 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2024-04-03 16:16:26 +02:00
Ewout van Mansom a88433cdf0 Translated using Weblate (Dutch)
Currently translated at 88.7% (2100 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2024-04-03 16:16:26 +02:00
Jeff Huang c1501620c4 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2367 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
2024-04-03 16:16:26 +02:00
Mürteza MERT e953f78bac Translated using Weblate (Turkish)
Currently translated at 100.0% (2367 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/tr/
2024-04-03 16:16:26 +02:00
GunChleoc 68ee493c08 Translated using Weblate (Gaelic)
Currently translated at 91.8% (2174 of 2367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gd/
2024-04-03 16:16:26 +02:00
Chocobozzz 7816fa4d48
Fix lint 2024-04-03 16:16:06 +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 61fec4e4ef
Better seconds to time formatting 2024-04-03 14:50:30 +02:00
Chocobozzz 9b70c8e7e8
Do not take into account empty view sections 2024-04-03 14:25:21 +02:00
Chocobozzz faabe996ba
Update runner version 2024-04-03 14:25:14 +02:00
Chocobozzz 17fb4fd6d0
Update runner version 2024-04-03 09:17:58 +02:00
Chocobozzz 0794fe2ac1
Fix runner ffmpeg logger 2024-04-03 09:17:45 +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 107e6e73a6
Fix import tests 2024-04-02 11:05:00 +02:00
Chocobozzz 1d52f1f138
Add ffmpeg static build warning 2024-04-02 11:00:53 +02:00
Chocobozzz 121efedde2
Update peertube-runner version 2024-03-29 15:04:44 +01:00
Chocobozzz 33607e3268
Add ping debug in peertube-runner 2024-03-29 15:04:03 +01:00
Chocobozzz 7eb0189b73
Fix config test with parallel tests 2024-03-28 10:03:47 +01:00
Chocobozzz 81963e0c6e
Simplify config test 2024-03-28 09:20:23 +01:00
Chocobozzz 817f754c22
Remove difficult to maintain config update method 2024-03-28 09:10:36 +01: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
John Livingston bfa7e364bf Missing video privacy value 2024-03-27 11:03:22 +01:00
Chocobozzz ca889dbbb8
Ensure time to int returns an integer 2024-03-27 09:04:34 +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