Chocobozzz
2af050cbf3
Viewers federation protocol v2
...
More efficient than the current one where instance is not fast enough to
send all viewers if a video becomes popular
The new protocol can be enabled by setting env
USE_VIEWERS_FEDERATION_V2='true'
Introduce a result field in View activity that contains the number of
viewers. This field is used by the origin instance to send the total
viewers on the video to remote instances. The difference with the
current protocol is that we don't have to send viewers individually to
remote instances.
There are 4 cases:
* View activity from federation on Remote Video -> instance replaces
all current viewers by a new viewer that contains the result counter
* View activity from federation on Local Video -> instance adds the
viewer without considering the result counter
* Local view on Remote Video -> instance adds the viewer and send it to
the origin instance
* Local view on Local Video -> instance adds the viewer
Periodically PeerTube cleanups expired viewers. On local videos, the
instance sends to remote instances a View activity with the result
counter so they can update their viewers counter for that particular
video
2023-12-01 15:21:17 +01:00
Chocobozzz
f2065858b0
We don't need cookies for REST API
2023-11-30 11:08:04 +01:00
Chocobozzz
56d711a863
Optimize views endpoint
...
Lazy write data in redis
2023-11-30 10:50:47 +01:00
Chocobozzz
bbf585aad0
Optimize async middleware
...
Avoid using bluebird, a simple for/await is enought
2023-11-30 09:53:52 +01:00
Chocobozzz
c6047e1573
Add missing logger tags
2023-11-29 16:31:29 +01:00
Chocobozzz
f51bafb3fa
Fix chapters tests
2023-11-29 15:01:46 +01:00
Chocobozzz
f9e710e7d4
Fix chapters import
2023-11-29 14:12:13 +01:00
Julien Rabier
7a953a6b2f
Fix upgrade.sh when Peertube is installed outside the standard path ( fixes #6063 )
2023-11-29 11:03:44 +01:00
Chocobozzz
d897a04565
Bumped to version v6.0.1
2023-11-29 10:20:14 +01:00
Chocobozzz
67cfea4270
Fix changelog
2023-11-29 10:19:33 +01:00
Chocobozzz
df2d931f66
Update changelog
2023-11-29 10:18:47 +01:00
Chocobozzz
ba56aadb63
Regenerate storyboard after studio
2023-11-29 09:58:20 +01:00
Chocobozzz
4826cb2c69
Add missing jobs in jobs list
2023-11-29 09:37:57 +01:00
Chocobozzz
bda1d751a5
Add warning for web_videos directory name
2023-11-29 09:28:12 +01:00
Chocobozzz
9f9522e865
Fix release script
2023-11-29 08:33:39 +01:00
Chocobozzz
6c89755d04
Fix changelog
2023-11-29 08:16:19 +01:00
Chocobozzz
ee6844d718
Fix web videos directory important notes
2023-11-29 08:10:26 +01:00
Chocobozzz
c900788e59
Remove async-lru cache for jsonld
...
jsonld library has already a cache
2023-11-29 06:51:29 +01:00
Chocobozzz
a5bdce80f6
Keep increasing storyboard generation ttl
2023-11-28 15:42:48 +01:00
Chocobozzz
e25f7b97e9
Typo in changelog
2023-11-28 14:18:35 +01:00
Chocobozzz
db61334cc3
Fix replace file nginx configuration
2023-11-28 14:11:07 +01:00
Chocobozzz
17f1920658
Fix CPU going to 100% on odd cpu count
...
See https://github.com/piscinajs/piscina/pull/457
2023-11-28 13:32:51 +01:00
Chocobozzz
e3d4259e14
Bumped to version v6.0.0
2023-11-28 08:40:29 +01:00
Chocobozzz
8bb42bda52
Fix search index tests
2023-11-28 08:31:47 +01:00
Chocobozzz
a0606360a7
Return 400 if filter query is still there
2023-11-28 08:08:57 +01:00
Chocobozzz
d3849e9b22
Update changelog
2023-11-27 16:21:09 +01:00
Chocobozzz
13b78db38e
Cleanup input switch
2023-11-27 10:11:29 +01:00
Chocobozzz
f3907ceeaf
Fix client registration performance
2023-11-27 09:15:42 +01:00
Chocobozzz
2703129a1a
Update translations
2023-11-27 08:42:40 +01:00
Chocobozzz
424108b98d
Merge remote-tracking branch 'weblate/develop' into develop
2023-11-27 08:40:57 +01:00
Chocobozzz
05d6520b22
Fix input switch accessibility
2023-11-27 08:37:20 +01:00
Ettore Atalan
14f8a9ba30
Translated using Weblate (German)
...
Currently translated at 97.1% (2183 of 2246 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/de/
2023-11-25 16:12:22 +01:00
Ettore Atalan
2508492635
Translated using Weblate (German)
...
Currently translated at 96.2% (2162 of 2246 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/de/
2023-11-25 15:51:38 +01:00
Ettore Atalan
a2c0cade2e
Translated using Weblate (German)
...
Currently translated at 95.7% (2151 of 2246 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/de/
2023-11-25 15:43:11 +01:00
Ettore Atalan
cc90c153e7
Translated using Weblate (German)
...
Currently translated at 94.6% (2126 of 2246 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/de/
2023-11-25 15:35:38 +01:00
Ettore Atalan
b1e23d9990
Translated using Weblate (German)
...
Currently translated at 94.5% (2124 of 2246 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/de/
2023-11-25 15:33:00 +01:00
Ettore Atalan
491aac98e0
Translated using Weblate (German)
...
Currently translated at 94.5% (2123 of 2246 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/de/
2023-11-25 00:36:04 +01:00
Chocobozzz
11f40299c5
Workaround to fix bug where CPU at 100%
...
Commit b017d4d02f
does not seem to work
2023-11-24 18:11:11 +01:00
BGR2
77b23551b0
Translated using Weblate (Turkish)
...
Currently translated at 36.2% (815 of 2246 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/tr/
2023-11-24 14:52:02 +01:00
Chocobozzz
f3e9a38d7e
Fix tests build
2023-11-24 14:51:31 +01:00
Chocobozzz
b017d4d02f
Fix weird bug where CPU jumps and stays to 100%
...
Seems related to lazy import of custom-jsonld-signature
So we refactored jsonld function calls a little bit
2023-11-24 14:44:18 +01:00
Chocobozzz
f93bc6a8be
Retry runner job db saving if needed
2023-11-24 14:44:04 +01:00
Chocobozzz
6349881dbd
Fix graph zooming end date
2023-11-23 09:40:04 +01:00
Chocobozzz
80efccf6c5
Add autofocus to password prompt
2023-11-23 08:58:53 +01:00
Chocobozzz
b13460a10a
Add ability to set password from embed API
2023-11-23 08:14:54 +01:00
Chocobozzz
4c07200d64
CSS consistency on small screens
2023-11-22 08:28:22 +01:00
Chocobozzz
5ef3378534
Log piscina errors
2023-11-21 17:35:36 +01:00
Chocobozzz
aeea2d864f
Limit max piscina threads bases on CPUs
2023-11-21 17:25:44 +01:00
Chocobozzz
76fc448ab4
Bumped to version v6.0.0-rc.2
2023-11-20 10:44:50 +01:00
Chocobozzz
3f50a1bf25
Update translations
2023-11-20 09:48:48 +01:00