Chocobozzz
66776b6a25
Merge branch 'release/6.0.0' into develop
2023-12-20 14:07:47 +01:00
Chocobozzz
b5ae080f32
Fix tests
2023-12-20 13:51:01 +01:00
Chocobozzz
b6b50bf0b4
Use new plugin index sort and recommended tags
2023-12-20 10:55:47 +01:00
Chocobozzz
fe37e5232b
Add ability to customize views/playback interval
2023-12-20 10:55:47 +01:00
Chocobozzz
b4f4432459
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-20 10:55:47 +01:00
Chocobozzz
dbdc20e673
Optimize views endpoint
...
Lazy write data in redis
2023-12-20 10:55:47 +01:00
Chocobozzz
9e0efe45ff
Improve tests
2023-12-20 10:55:28 +01:00
Chocobozzz
7b23f24b24
Fix thumbnail generation when on bad input seek
2023-12-19 08:23:38 +01:00
Chocobozzz
1e121c9898
Fix invalid state change notif of remote live
2023-12-15 15:58:07 +01:00
Chocobozzz
af8a47125f
Better isNewVideo variable/functions name
2023-12-15 14:52:12 +01:00
Chocobozzz
675f219639
Fix webtorrent crash
...
See https://github.com/Chocobozzz/PeerTube/issues/6109
2023-12-15 10:18:20 +01:00
Chocobozzz
ea685879bb
Fix time to int parsing
2023-12-15 09:54:08 +01:00
Chocobozzz
edc695263f
Escape quotes for html attributes
2023-12-14 11:33:08 +01:00
Chocobozzz
b39214cb13
Fix tests
2023-12-08 09:34:35 +01:00
Chocobozzz
64d9b7abd2
Fix client tests
2023-12-08 09:13:12 +01:00
Chocobozzz
8a22cfd628
Fix client URLs for channels and accounts
2023-12-08 08:57:14 +01:00
Chocobozzz
4fd8d34175
Ensure user is owned by plugin before updating it
2023-12-06 08:43:19 +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
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
f3e9a38d7e
Fix tests build
2023-11-24 14:51:31 +01:00
Chocobozzz
d4f21493e1
Respect "transcode original resolution" for runner
2023-11-17 16:25:11 +01:00
Chocobozzz
d8f846c69d
Add 'main' field to peertube types
2023-11-13 10:30:39 +01:00
Chocobozzz
3da9fbbe39
Adapt storyboard sprite ratio
2023-11-09 09:03:32 +01:00
Chocobozzz
5b394e1622
Increase test timeouts
2023-11-08 13:48:22 +01:00
Chocobozzz
2bc4d26b94
Add ability to customize frames to analyze
2023-11-08 10:18:39 +01:00
Chocobozzz
193e752c44
Increase test timeouts
2023-11-06 14:04:43 +01:00
Chocobozzz
d3c9a2e5b9
Add script to move videos to file system
2023-11-02 09:21:49 +01:00
Chocobozzz
443358ccce
Reduce video comment sql query size
2023-10-31 10:02:19 +01:00
Chocobozzz
15f2ac7152
Fix invalid timeout
2023-10-30 11:58:43 +01:00
Chocobozzz
543fbd1ffe
Correctly display broken muxing session
...
Can happen when we stream an audio stream only
2023-10-30 11:57:39 +01:00
Chocobozzz
ad801093b9
Simplify for loop
2023-10-30 11:17:46 +01:00
Chocobozzz
4fa78cda92
Fix timetoint
...
01:02 was translated to 01h02m instead of 01m02s
2023-10-30 10:20:25 +01:00
Chocobozzz
f108600464
Fix CI
2023-10-30 09:09:55 +01:00
Chocobozzz
09ab8e577c
Increase timeouts
2023-10-26 16:41:19 +02:00
Chocobozzz
bbd7de5c9d
CI can be very slow
2023-10-26 15:23:07 +02:00
Chocobozzz
90db2b3aed
Add ability to disable HTTP logs
2023-10-24 10:57:41 +02:00
Chocobozzz
edc3ff6085
Sign JSON objects in worker threads
2023-10-24 10:45:17 +02:00
Chocobozzz
b7f1bc0c33
Fix misc endpoints tests
2023-10-20 17:30:46 +02:00
Chocobozzz
f90db24233
Fix SEO and refactor HTML pages generation
...
* Split methods in multiple classes
* Add JSONLD tags in embed too
* Index embeds but use a canonical URL tag (targeting the watch page)
* Remote objects don't include a canonical URL tag anymore. Instead we
forbid indexation
* Canonical URLs now use the official short URL (/w/, /w/p, /a, /c
etc.)
2023-10-20 16:00:36 +02:00
Chocobozzz
272a902b2a
Optimize video thumbnail generation
...
Process images in worker threads
Reduce ffmpeg calls
2023-10-20 16:00:36 +02:00
Wicklow
ea6c2b064f
Allow to change the default channel name ( #6000 )
...
* Allow to change the default channel name
* Fix tests
* Fix tests
* Fix tests
2023-10-19 15:22:00 +02:00
Chocobozzz
ae468445b2
Increase other test timeouts
2023-10-18 15:57:11 +02:00
Chocobozzz
0397b31efe
Reduce views tests load
2023-10-18 15:53:17 +02:00
Chocobozzz
830907ec93
Increase test timeouts
2023-10-18 15:53:08 +02:00
Chocobozzz
ea01bf0167
Increase tests timeout
2023-10-13 09:59:59 +02:00
Chocobozzz
58fda6d416
Fix upload with chapters having non int timecode
2023-10-12 15:32:01 +02:00
Chocobozzz
44e12dc809
Update bullmq dependency
2023-10-12 09:29:45 +02:00
Chocobozzz
5bd42bbca7
Fix resumable tests
2023-10-11 16:17:11 +02:00
Chocobozzz
fca58de835
Fix runner test
2023-10-11 15:13:54 +02:00
Chocobozzz
2db1f3238d
Update server dependencies
2023-10-11 11:06:34 +02:00
Chocobozzz
8d20c8f391
Prevent setting color attribute on loading bar
...
Fire accessibility/HTML guidelines warnings/errors
2023-10-06 11:29:13 +02:00
Chocobozzz
5a3d0650c9
server/server -> server/core
2023-10-04 15:13:25 +02:00
Chocobozzz
9257243620
Fix hls tests
2023-10-04 11:12:29 +02:00
Chocobozzz
d0f8a0e677
Fix mime type handling from remote instances
2023-10-04 09:59:27 +02:00
Chocobozzz
fbc7f1a00d
Fix video quality on high resolution/fps
2023-10-04 09:21:14 +02:00
Chocobozzz
1611721c9b
Fix feed audio file mimetype
2023-10-03 12:20:11 +02:00
Chocobozzz
3601872153
Support empty value returned by video get filter
2023-10-03 09:36:00 +02:00
Chocobozzz
1022e27309
Fix live replay privacy change
2023-09-01 16:47:25 +02:00
Chocobozzz
69601b66fe
Fix tests
2023-08-30 20:19:56 +02:00
Chocobozzz
6495764268
Fix chapters extract
2023-08-30 19:24:01 +02:00
Chocobozzz
d8a80446da
Reduce ffmpeg thumbnail generation load
...
Can also lead to memory issues with big values (default is 100)
2023-08-28 17:50:47 +02:00
Chocobozzz
8ed4b82346
Fix tests build
2023-08-28 16:42:32 +02:00
Chocobozzz
77b70702d2
Add video chapters support
2023-08-28 16:17:31 +02:00
Chocobozzz
7113f32a87
Fix build
2023-08-21 15:55:54 +02:00
Chocobozzz
ab5f1356b9
Try to fix github ci
2023-08-21 15:04:33 +02:00
Chocobozzz
cb909ab38a
Fix security.txt test
2023-08-18 11:54:55 +02:00
Chocobozzz
18570bee99
Add unset originallyPublishedAt test
2023-08-18 11:50:36 +02:00
Chocobozzz
18987248f6
Add test without replay settings object
2023-08-18 11:45:16 +02:00
Chocobozzz
c925e99ca4
Fix helper tests
2023-08-18 10:52:53 +02:00
Seth Falco
2055962c84
fix: handle git installation of ffmpeg
2023-08-18 10:17:16 +02:00
Chocobozzz
8e4fba97b2
Automatically adapt player ratio
2023-08-18 09:48:45 +02:00
Chocobozzz
e4f82eaa8b
Remove invalid timeout
2023-08-17 14:34:49 +02:00
Chocobozzz
c380e39285
Merge branch 'feature/esm-and-nx' into develop
2023-08-17 08:59:21 +02:00
Chocobozzz
3a4992633e
Migrate server to ESM
...
Sorry for the very big commit that may lead to git log issues and merge
conflicts, but it's a major step forward:
* Server can be faster at startup because imports() are async and we can
easily lazy import big modules
* Angular doesn't seem to support ES import (with .js extension), so we
had to correctly organize peertube into a monorepo:
* Use yarn workspace feature
* Use typescript reference projects for dependencies
* Shared projects have been moved into "packages", each one is now a
node module (with a dedicated package.json/tsconfig.json)
* server/tools have been moved into apps/ and is now a dedicated app
bundled and published on NPM so users don't have to build peertube
cli tools manually
* server/tests have been moved into packages/ so we don't compile
them every time we want to run the server
* Use isolatedModule option:
* Had to move from const enum to const
(https://www.typescriptlang.org/docs/handbook/enums.html#objects-vs-enums )
* Had to explictely specify "type" imports when used in decorators
* Prefer tsx (that uses esbuild under the hood) instead of ts-node to
load typescript files (tests with mocha or scripts):
* To reduce test complexity as esbuild doesn't support decorator
metadata, we only test server files that do not import server
models
* We still build tests files into js files for a faster CI
* Remove unmaintained peertube CLI import script
* Removed some barrels to speed up execution (less imports)
2023-08-11 15:02:33 +02:00
Chocobozzz
17522af1e0
Use typed pick
2023-07-26 10:49:32 +02:00
Chocobozzz
9fe86c2c9b
Update runner version
2023-06-29 10:19:55 +02:00
Chocobozzz
d68b88bac4
Prevent stalled jobs
2023-06-29 10:19:55 +02:00
Chocobozzz
bc3918b2ae
Shuffle servers when checking available jobs
...
To not favour a specific instance
2023-06-29 10:19:55 +02:00
Chocobozzz
43897b0311
Update peertube-runner version
2023-06-19 13:54:42 +02:00
Chocobozzz
a34c612f38
More robust runner update handler
2023-06-19 13:45:26 +02:00
Chocobozzz
f474a519dc
Specify runner name when unregistering the runner
2023-05-26 09:04:22 +02:00
Chocobozzz
d4d0f3ba0e
Don't send an error on live abort
2023-05-23 08:31:02 +02:00
Chocobozzz
fa3da7a623
End runner live transcoding on update error
2023-05-22 15:24:19 +02:00
Chocobozzz
17ecdf61ce
Force stop remote live transcoding
2023-05-22 13:54:46 +02:00
Chocobozzz
bcdfd87906
Publish runner
2023-05-19 14:40:38 +02:00
Chocobozzz
def4ea4f38
More robust chunk handler
2023-05-19 13:52:38 +02:00
Chocobozzz
6403a6bd01
peertube runner tests in parallel
2023-05-19 13:33:27 +02:00
Chocobozzz
296d07c6fe
Prefer to wait before processing new jobs
2023-05-19 10:16:43 +02:00
Chocobozzz
fe7019b232
Fix peertube runner concurrency
2023-05-19 09:23:20 +02:00
Chocobozzz
0d6a8289fb
Better runner error UX when server is not run
2023-05-16 09:27:49 +02:00
Chocobozzz
5b2ee4e6ca
Add peertube-runner version info
2023-05-09 10:45:37 +02:00
Chocobozzz
8d5ffb0169
Add node shebang
2023-05-09 10:43:35 +02:00
Chocobozzz
9aff314023
Use @peertube org for npm
2023-05-09 10:16:18 +02:00
Chocobozzz
21c8db6905
Add npmignore to peertube-runner
2023-05-09 10:14:58 +02:00
Chocobozzz
85ec2d2e25
Update gitignore
2023-05-09 10:11:11 +02:00
Chocobozzz
902b16af03
Breaking: remove node 14 support
2023-05-09 10:02:54 +02:00
Chocobozzz
ab14f0e0dc
Prefer video studio instead of video edition
...
Clearer and easier to find in the project
2023-05-09 08:57:34 +02:00
Chocobozzz
5e47f6ab98
Support studio transcoding in peertube runner
2023-05-09 08:57:34 +02:00
Chocobozzz
3a0c2a77b1
Enable external plugins to test the PR
2023-05-09 08:57:34 +02:00
Chocobozzz
1772b383de
Add peertube runner cli
2023-05-09 08:57:34 +02:00
Chocobozzz
f44cd95c01
Update doc anchor links
2023-02-23 09:46:43 +01:00
Chocobozzz
c5c95361e6
Move to new documentation links
2023-02-22 16:15:14 +01:00
Chocobozzz
81d02aac56
Fix types package dependencies
2021-12-28 15:10:55 +01:00
Chocobozzz
21d68e6803
Add version to generate types packages
2021-12-28 10:27:06 +01:00
Chocobozzz
6627dbc957
Move types package in packages/
2021-12-28 10:18:15 +01:00