Chocobozzz
ff9112ad21
Increase logs test timeout
2021-02-11 14:34:55 +01:00
Chocobozzz
6559da2821
Allow plugins to load a video by id
2021-02-11 10:23:52 +01:00
Chocobozzz
44d1f7f2e8
Painfully debug concurrent import jobs
2021-02-09 11:46:30 +01:00
Chocobozzz
3933a127d2
Ensure we don't receive things from local actors
2021-02-08 16:06:32 +01:00
Chocobozzz
0c39df2536
Increase test timeout
2021-02-08 15:50:10 +01:00
Chocobozzz
9129b7694d
Allow to specify transcoding and import jobs concurrency
2021-02-08 15:38:45 +01:00
Chocobozzz
81b46cbc34
Optimize videos list API endpoint
2021-02-08 15:38:45 +01:00
Chocobozzz
9162476fe9
Support NodeJS 14 and 15, deprecate Node 10
2021-02-04 14:31:18 +01:00
Rigel Kent
3d4e112d16
add best trending strategy based on Reddit's best
...
inspired from https://www.reddit.com/r/changelog/comments/7spgg0/best_is_the_new_hotness/
this implementation only adds freshness, and doesn't personalize based
on subscribed communities yet.
2021-02-04 09:04:47 +01:00
Chocobozzz
f6267b6101
Upgrade tools dependencies
2021-02-03 13:49:56 +01:00
Chocobozzz
2e1e4af03b
Fix get video from redudancy
2021-02-03 09:57:47 +01:00
Chocobozzz
ba5a8d89bb
Update server dependencies
2021-02-03 09:45:08 +01:00
Chocobozzz
69eddafb17
Fix HLS generation after import script
2021-02-02 14:00:46 +01:00
Chocobozzz
aaedadd538
Transcode HLS playlists in a tmp directory
2021-02-02 11:50:29 +01:00
Chocobozzz
d8ba492119
Fix broken HLS playback with some audio streams
2021-02-02 11:19:46 +01:00
Chocobozzz
657bba2b29
Fix hls tests
2021-02-02 10:07:46 +01:00
Chocobozzz
40930fda86
Transcode audio uploads to lower resolutions
...
Better consistency
2021-02-02 09:45:42 +01:00
Chocobozzz
89613cb444
Purge entire video from redundancy
2021-02-02 08:50:30 +01:00
Chocobozzz
5e8dd6e08a
Fix lint
2021-02-01 16:05:22 +01:00
Chocobozzz
6d989edc66
Add ability to update plugin auth
2021-02-01 15:39:13 +01:00
Chocobozzz
6949a1a111
Fix tests
2021-02-01 15:03:28 +01:00
Chocobozzz
56df7815b5
Fix URI search config update
2021-02-01 11:30:01 +01:00
Chocobozzz
7e3592d70b
Correctly remove torrents with HLS only
2021-02-01 11:23:12 +01:00
Chocobozzz
7448551fe5
Fix redundancy with HLS only files
2021-02-01 11:23:12 +01:00
Chocobozzz
33c7131be5
Check banned status for external auths
2021-02-01 11:23:11 +01:00
Chocobozzz
7519c4a27b
Fix tests
2021-01-29 15:58:01 +01:00
Chocobozzz
a8537c622e
Use veryfast preset for default transcoding profile
2021-01-29 15:31:31 +01:00
Chocobozzz
789951460b
Try to support other codecs
2021-01-29 14:05:41 +01:00
Chocobozzz
ffd970faf9
Don't quick transcode if using a custom profile
2021-01-29 14:05:41 +01:00
Chocobozzz
2498aaead1
Add plugin transcoding profile guide
2021-01-29 14:05:41 +01:00
Chocobozzz
b3eafc5fc5
Reduce transcoding overhead by disabling resolutions
2021-01-29 08:44:36 +01:00
Chocobozzz
80ac2e5548
Support transcoding profile in client admin
2021-01-28 16:10:09 +01:00
Chocobozzz
1896bca09e
Support transcoding options/encoders by plugins
2021-01-28 15:55:39 +01:00
Chocobozzz
529b37527c
Use a profile manager for transcoding
2021-01-28 15:55:39 +01:00
Rigel Kent
923d3d5ad5
add test and openapi for hot sort parameter
2021-01-28 15:55:34 +01:00
Rigel Kent
ba5d4a849c
move from trending routes to alg param
2021-01-28 15:55:34 +01:00
Rigel Kent
3da68f0a78
add default trending page choice, revert comments count for hot strategy
2021-01-28 15:55:34 +01:00
Rigel Kent
28eeb811c4
only count comments from people other than the video author
2021-01-28 15:55:34 +01:00
Rigel Kent
5bcbcbe338
modularize abstract video list header and implement video hotness recommendation variant
2021-01-28 15:55:34 +01:00
Chocobozzz
7a4994873c
Fix rss feed with HLS videos
2021-01-27 16:42:13 +01:00
Chocobozzz
00b87c5791
Fix live RAM usage when ffmpeg is too slow
2021-01-27 12:05:10 +01:00
Chocobozzz
a4a8cd3971
Add missing niceness to ffmpeg thumbnail processes
2021-01-27 09:09:59 +01:00
Chocobozzz
e9cb361cf5
Fix tests
2021-01-26 11:37:31 +01:00
Chocobozzz
e08ff02a9f
Allow webp image uploads
2021-01-26 10:29:57 +01:00
Chocobozzz
d223dca0cd
Reformat sql console output
2021-01-26 10:03:41 +01:00
Chocobozzz
1e743faafe
Disable sql prettifier by default
...
It adds too much lines, leading to difficulties when reading dev logs
2021-01-26 09:54:32 +01:00
Chocobozzz
448487a602
Fix sendmail emailer
2021-01-26 09:28:49 +01:00
Florent
82f5527fc3
add option for video-import CLI to wait between two video imports ( #3310 )
...
* peertube-import-videos: Add --wait-interval option
* peertube-import-videos: various code style improvements
Co-authored-by: Florent F <florent.fayolle69@gmail.com>
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2021-01-25 15:42:44 +01:00
Rigel Kent
2a6cf69cff
prettify SQL queries during debug ( #3635 )
...
* prettify SQL queries during debug
* Use sql-formatter
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-01-25 15:37:41 +01:00
Chocobozzz
6939cbac48
Safely remove webtorrent files
...
Only remove them on max quality HLS playlist generation
2021-01-25 14:38:52 +01:00
Chocobozzz
77d7e851dc
Add priority to transcoding jobs
...
(1 = highest priority)
100 for new resolutions
10 for original file optimization
Add a malus for transcoding jobs depending on how many uploads the user did in the
last 7 days
2021-01-25 14:38:52 +01:00
Chocobozzz
24516aa26a
Refactor transcoding job handlers
2021-01-21 15:58:17 +01:00
Chocobozzz
3b01f4c0ac
Support progress for ffmpeg tasks
2021-01-21 14:42:43 +01:00
Chocobozzz
a4d2ca0715
Add user video list hooks
2021-01-20 15:28:34 +01:00
Chocobozzz
70fdff3d4e
Serve AP objects for default account/channel pages
2021-01-20 11:48:59 +01:00
Chocobozzz
471251fa14
Fix error log
2021-01-20 09:50:22 +01:00
Chocobozzz
86f553fbdf
Fix raw file import
2021-01-20 08:45:21 +01:00
Chocobozzz
805b8619c1
Fix (again) youtube import
2021-01-19 16:36:21 +01:00
Rigel Kent
370240824e
Allow users/visitors to search through an account's videos ( #3589 )
...
* WIP: account search
* add search to account view
* add tests for account search
2021-01-19 13:43:33 +01:00
Chocobozzz
03aa518e54
Fix manifest
2021-01-19 10:47:04 +01:00
Chocobozzz
9f39c5466e
Fix user notification test
2021-01-19 08:35:44 +01:00
Chocobozzz
969e59d17d
Fix youtube import
2021-01-18 14:29:16 +01:00
Chocobozzz
17e6974409
Fix lint
2021-01-18 11:59:14 +01:00
Chocobozzz
a8a63b1ffe
Fix youtube-dl format fallback
2021-01-18 11:40:31 +01:00
Chocobozzz
1d22d2514f
Fix service worker
2021-01-18 11:16:37 +01:00
Chocobozzz
83befebe52
Increase test timeout
2021-01-18 09:52:05 +01:00
Rigel Kent
454c20fa7c
stricter youtubedl format selectors ( #3516 )
...
* stricter youtubedl format selectors
make sure selectors avoid av1, and otherwise match as closely to the
maximum resolution enabled for transcoding
* add support for merge formats in youtubedl
* avoid vp9.2 in youtubedl to avoid any HDR
* move getEnabledResolutions, safer replace of imported extension
* add test for youtube-dl selectors
2021-01-15 15:56:56 +01:00
Chocobozzz
d43c6b1ffc
Implement remote interaction
2021-01-15 10:49:10 +01:00
Chocobozzz
dd9c7929e6
Display debug ffmpeg stdout/stderr
2021-01-15 10:23:40 +01:00
Chocobozzz
53d43fc914
Remove unused tracker param
2021-01-15 10:23:40 +01:00
Chocobozzz
c9c43612d5
Fix lint
2021-01-13 10:15:38 +01:00
Chocobozzz
f5961a8cdf
Add 4k transcoding test
2021-01-13 09:52:52 +01:00
Chocobozzz
78d62f4d18
Fix and add skipping ping log tests
2021-01-13 09:38:19 +01:00
Rigel Kent
7abb6060a9
specific niceness for live transcoding
2021-01-13 09:16:44 +01:00
Rigel Kent
d8b34ee55b
Allow user to search through their watch history ( #3576 )
...
* allow user to search through their watch history
* add tests for search in watch history
* Update client/src/app/shared/shared-main/users/user-history.service.ts
2021-01-13 09:16:15 +01:00
Johan Fleury
12c1e38df2
feat: allow administrator to disable logging of ping requests
2021-01-13 09:14:43 +01:00
Rigel Kent
b7085c7132
add support for 1440p (Quad HD/QHD/WQHD) videos
2021-01-13 09:14:09 +01:00
Rigel Kent
7185dab3ff
add test for script printing command
2021-01-13 09:13:31 +01:00
Rigel Kent
0984960345
add script printing command to generate a resolution for a given file
2021-01-13 09:13:31 +01:00
Rigel Kent
1ea7da819e
add ability to remove one's avatar for account and channels ( #3467 )
...
* add ability to remove one's avatar for account and channels
* add ability to remove one's avatar for account and channels
* only display avatar edition options after input change
2021-01-13 09:12:55 +01:00
Chocobozzz
26171379d0
Use source sans 3 font
2021-01-13 09:05:22 +01:00
Chocobozzz
8ace68056d
Increase test timeout
2021-01-12 09:02:40 +01:00
Chocobozzz
55a5b0fd8d
Update translations
2021-01-11 16:05:10 +01:00
Chocobozzz
b14e8e461f
Fix tracker IP with reverse proxy
2021-01-11 15:45:04 +01:00
Chocobozzz
a11a782f5c
Fix duplicate entry in job list page
2021-01-11 15:39:15 +01:00
Chocobozzz
1acb947504
Retrieve user by id instead of username
2021-01-11 13:53:08 +01:00
Chocobozzz
b3fa96eea0
Don't reject accounts with empty description
2021-01-11 11:06:11 +01:00
Chocobozzz
c2b823826d
Log RTMP server error (address already in use)
2021-01-11 09:33:14 +01:00
Chocobozzz
4f20856ed4
Add more hints regarding live port
2021-01-11 09:20:44 +01:00
Chocobozzz
f42c21528b
Increase live test timeout
2021-01-08 12:11:45 +01:00
Chocobozzz
66dbfa1f30
Reduce inbox stats updated interval
2021-01-08 11:59:42 +01:00
Chocobozzz
adc8e7e19f
Fix ldap test port
2021-01-04 11:21:19 +01:00
Chocobozzz
f0484f7a16
Fix autoblacklist notification issue
2021-01-04 10:50:47 +01:00
Chocobozzz
027e308099
Don't crash on youtube-dl update write error
2021-01-04 10:05:47 +01:00
Chocobozzz
2dbc170da3
Add missing audit log if the user deletes its account
2021-01-04 09:54:48 +01:00
Chocobozzz
cc49be3e35
Fix views processing hour 0
2020-12-30 14:29:17 +01:00
Chocobozzz
47d8e266f1
Support activeMonth and activeHalfyear in nodeinfo
2020-12-30 11:41:36 +01:00
Chocobozzz
a046453549
Increase notifications comment test timeout
2020-12-30 11:27:59 +01:00
Chocobozzz
24198e976f
Styling
2020-12-30 11:26:24 +01:00
Theodore R. Smith
8e76aa1d75
( #3520 ) [cli] Hardened `auth add`: No longer fails with extraneous characters.
...
**The Solution:**
I have hardened `auth add` by stripping out everything from the third '/' to the end of the instance URL.
**The Problem:**
When adding an authorization for the peertube-cli, before this commit you could not have anything after the domain_name:port.
For instance, if there was a trailing / in your instance URL, before this commit it will always fail with
expected 200 "OK", got 404 "Not Found".
It took me over 20 minutes to figure out that this was the problem.
See Issue #3091 .
2020-12-27 14:29:54 -06:00
Chocobozzz
f88453e233
Fix build
2020-12-22 16:49:17 +01:00
Chocobozzz
236841a1d7
Force HLS transcoding
...
Fix weird behaviour with some web browsers. Don't really know if it's a
ffmpeg bug, a safari bug or a peertube bug, but forcing transcoding
seems to fix this playback bug
2020-12-22 16:04:42 +01:00
Chocobozzz
9cfeb3cf98
Fix redundancy federation in some cases
2020-12-17 09:23:57 +01:00
Chocobozzz
9e454eba57
More robust server stats tests
2020-12-16 14:59:33 +01:00
Chocobozzz
1ab6024345
Fix live badge in videos list
2020-12-16 14:19:43 +01:00
Chocobozzz
54363cffa4
Fix stats tests
2020-12-16 10:36:15 +01:00
Chocobozzz
496b5a5bf6
Increase test timeout
2020-12-15 15:09:12 +01:00
Chocobozzz
99afa081bc
Add AP stats
2020-12-15 13:34:58 +01:00
Chocobozzz
c9bc850e93
Use -1 for max live duration unlimited
2020-12-15 09:26:37 +01:00
Chocobozzz
113d4a3f73
Only link to crowdfunding pages in credits
2020-12-14 16:08:15 +01:00
kontrollanten
40c52969f7
emails: remove hardcoded PeerTube names
2020-12-14 15:37:29 +01:00
kontrollanten
2e4b8ae485
emailer: use instance name instead of hostname
2020-12-14 15:37:29 +01:00
kontrollanten
915e2bbb97
video embed: use instance name as html title
2020-12-14 15:25:51 +01:00
kontrollanten
2564d97e0d
video-embed: inject custom CSS
...
closes #3420
2020-12-14 15:25:51 +01:00
Chocobozzz
402145b863
Refactor jobs state
2020-12-14 12:00:35 +01:00
Chocobozzz
5721fd8374
Fix channels import with a channel with playlists
2020-12-14 09:55:30 +01:00
Chocobozzz
d8794cf855
More robust import script when using since/until
2020-12-14 09:55:30 +01:00
Chocobozzz
f98c395295
Keep scope in notifier
2020-12-14 09:34:47 +01:00
kontrollanten
b1771455af
fix(notifier): notifyModeratorsOfNewAbuse
...
closes #3445
2020-12-14 09:34:47 +01:00
Chocobozzz
59fd824cf3
Fix tests timeout
2020-12-14 09:11:27 +01:00
Chocobozzz
34caef7fc0
Add joblog at the end of ci
2020-12-14 09:11:27 +01:00
Chocobozzz
e078371807
Parse log script can take files as args
2020-12-14 09:11:27 +01:00
Rigel Kent
040d6896a3
add display of logs matching any state
2020-12-13 19:27:25 +01:00
Girish Ramakrishnan
75594f474a
do not crash if SMTP server is down
...
just log a warning if the SMTP server is down on startup time
fixes #3457
2020-12-12 08:50:59 +01:00
Chocobozzz
a800dbf345
Live views update
2020-12-09 16:31:42 +01:00
Chocobozzz
5cac83a78d
Refactor views component
2020-12-09 15:33:16 +01:00
Chocobozzz
0d8de2756f
Fix live tests
2020-12-09 14:45:47 +01:00
Chocobozzz
b49f22d8f9
Upgrade sequelize to v6
2020-12-09 11:41:22 +01:00
Rigel Kent
f2eb23cd87
emit more specific status codes on video upload ( #3423 )
...
- reduce http status codes list to potentially useful codes
- convert more codes to typed ones
- factorize html generator for error responses
2020-12-08 21:16:10 +01:00
Chocobozzz
8e2392e512
Fix config test
2020-12-08 11:37:24 +01:00
Chocobozzz
a59f210ff3
Refactor a little bit client canonical URL
2020-12-08 11:15:11 +01:00
Thomas Citharel
e5024f5181
Add tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-08 11:15:11 +01:00
Thomas Citharel
106fa2249d
Set canonical link to original video/playlist url
...
The local URL was used instead of the original url
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-08 11:15:11 +01:00
kontrollanten
2805cb7cb6
server/mw/oauth: res.loc.auth to true upon auth
...
Setting res.locals.authenticated explicity to
true makes it's more clear whether the req is
authenticated when using optionalAuthenticate
middlware.
2020-12-08 10:40:08 +01:00
kontrollanten
f17faefb30
plugins: add optional authentication for routes
2020-12-08 10:40:08 +01:00
Chocobozzz
c824e8a0c7
Fix hook test
2020-12-08 10:38:47 +01:00
Chocobozzz
38267c0c8a
Use dedicated hooks for account/channel videos
2020-12-08 10:33:23 +01:00
kontrollanten
1bfc07e4cc
server accounts/videos: trigger filter hook
2020-12-08 10:33:23 +01:00
Chocobozzz
17b7d4b315
Don't allow manual redundancy of live videos
2020-12-07 16:07:52 +01:00
Chocobozzz
5b9b403a20
Fix replay last segments loop
2020-12-07 16:07:00 +01:00
Rigel Kent
2d53be0267
replace numbers with typed http status codes ( #3409 )
2020-12-07 14:32:36 +01:00
Chocobozzz
4ef9ea482f
Fix live transcoding tests
2020-12-04 16:41:03 +01:00
Chocobozzz
aa5ee5017a
Fix lint
2020-12-04 15:58:29 +01:00
Chocobozzz
e772bdf14c
Load video in permanent live after last one ended
2020-12-04 15:38:32 +01:00
Chocobozzz
3851e732c4
Fix audio issues with live replay
2020-12-04 15:10:13 +01:00
Chocobozzz
49bcdb0d66
Try to fix live freeze
2020-12-04 10:40:53 +01:00
Chocobozzz
55223d6574
Fix live transcoding threads config
2020-12-04 10:02:09 +01:00
Chocobozzz
e26dc0cdbd
Strict actor url comparison
2020-12-03 16:12:58 +01:00
Chocobozzz
5147a6d945
Try to fix non HTTPS remote accounts
2020-12-03 15:21:16 +01:00
Chocobozzz
bb4ba6d94c
Add permanent live support
2020-12-03 15:21:16 +01:00