Chocobozzz
b65de1be4d
Use different p2p policy for embeds and webapp
2021-12-16 10:08:55 +01:00
Chocobozzz
a9bfa85d2c
Add ability for admins to set default p2p policy
2021-12-16 10:08:55 +01:00
lutangar
06aad80165
chore(refactor): remove shared folder dependencies to the server
...
Many files from the `shared` folder were importing files from the `server` folder.
When attempting to use Typescript project references to describe dependencies,
it highlighted a circular dependency beetween `shared` <-> `server`.
The Typescript project forbid such usages.
Using project references greatly improve performance by rebuilding only
the updated project and not all source files.
> see https://www.typescriptlang.org/docs/handbook/project-references.html
2021-12-16 10:08:43 +01:00
Chocobozzz
3cf68b869d
Ability for admins to set default upload values
2021-12-14 17:17:01 +01:00
Chocobozzz
14857212f1
Move b frame strategy in transcoding profile
...
We may use a too high value for some encoders and it allows to specify
custom values/strategy
2021-12-14 10:46:31 +01:00
Chocobozzz
ab18fadfd1
Fix AP audience
2021-12-13 17:33:59 +01:00
Chocobozzz
b5e1cd9a30
Handle channel owner update of remote server
2021-12-13 16:03:16 +01:00
Chocobozzz
9e847c17f9
No notification on moderator abuse
2021-12-09 14:27:32 +01:00
Chocobozzz
9b293cd6a2
Update torrent metadata on video update
2021-12-08 11:07:19 +01:00
Chocobozzz
636d73c588
Merge branch 'release/4.0.0' into develop
2021-12-07 13:47:34 +01:00
Chocobozzz
4c6757f2fd
Fix live log tags
2021-12-07 13:45:01 +01:00
Chocobozzz
80badf493a
Add mute status in account and channel pages
2021-12-07 09:46:01 +01:00
Chocobozzz
0bc53e2029
Add ability to redirect users on external auth
2021-12-03 17:04:47 +01:00
Chocobozzz
9ea02c48a7
Merge branch 'release/4.0.0' into develop
2021-12-03 14:40:52 +01:00
Chocobozzz
025d858e79
Fix pending transcoding with failed job
2021-12-03 14:40:29 +01:00
Chocobozzz
6d472b4046
Decrease time to cleanup resumable uploads
2021-12-03 14:01:38 +01:00
Chocobozzz
9213df1d79
Fix comment
2021-12-03 10:49:36 +01:00
Chocobozzz
63a3d336f6
Remove uneeded function
2021-12-03 10:14:33 +01:00
Chocobozzz
ca87d95bcb
Fix plugin upgrade
...
Correctly decache all plugin paths
2021-12-03 10:14:17 +01:00
kontrollanten
5fc44b57f8
Add header Vary Accept-Language ( #4588 )
...
* nginx: add header Vary Accept-Language
solves #3647
* Revert "nginx: add header Vary Accept-Language"
This reverts commit 90dccf5324
.
* add resp header Vary Accept-Language
solves #3647
* don't add vary header to embed page
2021-12-02 09:14:54 +01:00
Chocobozzz
1da843eeac
Don't notify when transcoding ends on manual run
2021-12-01 12:33:46 +01:00
Chocobozzz
a5ee023cf3
Fix redundancy timeout
2021-11-30 08:40:30 +01:00
Chocobozzz
55cb8bc73c
Correctly escape meta tags
2021-11-30 08:31:56 +01:00
Chocobozzz
7b0c61e743
Fix build
2021-11-29 15:46:52 +01:00
Chocobozzz
4c99953acd
Fix redundancy timeout
2021-11-29 15:45:02 +01:00
Chocobozzz
fa7388f087
Fix transcoding job count inconsistency
2021-11-29 11:20:17 +01:00
Chocobozzz
7137377d09
Auto update publishedAt in live restream
2021-11-26 17:36:55 +01:00
lutangar
7226e90fdc
Add `req` and `res` as controllers hooks parameters
...
Hooks prefixed by `action:api` now give access the original express req and res.
Checkout guide.md for possible usage.
2021-11-25 09:54:22 +01:00
Chocobozzz
450de91e22
Fix E2E tests
2021-11-24 10:49:12 +01:00
Chocobozzz
ad5db1044c
Add ability to run transcoding jobs
2021-11-18 15:20:57 +01:00
Chocobozzz
b46cf4b920
Add ability to remove hls/webtorrent files
2021-11-18 09:04:30 +01:00
Chocobozzz
3455c2656e
Test and log request retries
2021-11-16 11:34:24 +01:00
Chocobozzz
a2f99b54df
Optimize AP fetch
2021-11-16 10:28:31 +01:00
Chocobozzz
3ef5909aec
Fix extendsLocalExpiration for redundancy
2021-11-12 09:02:53 +01:00
Chocobozzz
67eeec8b95
Add minimum bitrate limit
2021-11-10 11:04:00 +01:00
Chocobozzz
020d3d3d79
Remove resumable cache after upload success
2021-11-10 09:43:33 +01:00
Chocobozzz
51353d9a03
Refactor video views
...
Introduce viewers attribute for live videos
Count views for live videos
Reduce delay to see the viewer update for lives
Add ability to configure video views buffer interval and view ip
expiration
2021-11-09 15:00:31 +01:00
Chocobozzz
221ee1adc9
Add transcoding fail message in client
2021-11-09 15:00:21 +01:00
kontrollanten
4e29f4fe23
video: add video stranscoding_failed state
2021-11-09 15:00:21 +01:00
kontrollanten
e1ab52d7ec
Add migrate-to-object-storage script ( #4481 )
...
* add migrate-to-object-storage-script
closes #4467
* add migrate-to-unique-playlist-filenames script
* fix(migrate-to-unique-playlist-filenames): update master/segments256
run updateMasterHLSPlaylist and updateSha256VODSegments after
file rename.
* Improve move to object storage scripts
* PR remarks
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-11-09 11:05:35 +01:00
Chocobozzz
5037e0e474
Correctly close RTMPS server too
2021-11-05 11:40:49 +01:00
Chocobozzz
df1db951c5
Support RTMPS
2021-11-05 11:38:17 +01:00
Florian CUNY
754b6f5f41
Made the video channels limit (per user) server-wide configurable ( #4491 )
...
* Made the video channels limit (per user) server-wide configurable
Implements https://github.com/Chocobozzz/PeerTube/issues/3092
Also added a "quota bar" in the account's settings page
* Fixed lint errors
* Another pass at fixing lint errors
* Applied code suggestions
* Removed 'video channels quota'
2021-10-26 16:42:10 +02:00
Rigel Kent
276250f0a3
prevent multiple post-process triggering of upload-resumable ( #4175 )
...
* prevent multiple post-process triggering of upload-resumable
* switch from 409 to 503 for upload being processed
* Improve resumable upload check
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-10-25 17:42:20 +02:00
Chocobozzz
532e6a4172
Remove aws bug workaround
...
This has been fixed in https://github.com/aws/aws-sdk-js-v3/pull/2835
2021-10-22 16:30:55 +02:00
Chocobozzz
619537426b
Constants consistency
2021-10-22 10:28:00 +02:00
Chocobozzz
62549e6c98
Rewrite youtube-dl import
...
Use python3 binary
Allows to use a custom youtube-dl release URL
Allows to use yt-dlp (youtube-dl fork)
Remove proxy config from configuration to use HTTP_PROXY and HTTPS_PROXY
env variables
2021-10-22 10:25:24 +02:00
Chocobozzz
400043b1be
Add ability to search by URL with query params
2021-10-20 15:26:38 +02:00
Chocobozzz
1e2fe802d1
Force live type specification in first step
2021-10-15 11:45:03 +02:00
Chocobozzz
bacb544dbb
Remove old federation compatibility
2021-10-15 09:44:21 +02:00