Chocobozzz
c15aff666d
Remove old code
...
We consider Dislike as a classic activity now
2021-02-12 14:53:07 +01:00
Chocobozzz
e3b4c084cd
Guess if we need to generate the thumbnail for imports
2021-02-12 09:37:01 +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
9129b7694d
Allow to specify transcoding and import jobs concurrency
2021-02-08 15:38:45 +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
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
7e3592d70b
Correctly remove torrents with HLS only
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
a8537c622e
Use veryfast preset for default transcoding profile
2021-01-29 15:31:31 +01:00
Chocobozzz
2498aaead1
Add plugin transcoding profile guide
2021-01-29 14:05:41 +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
Chocobozzz
00b87c5791
Fix live RAM usage when ffmpeg is too slow
2021-01-27 12:05:10 +01:00
Chocobozzz
e08ff02a9f
Allow webp image uploads
2021-01-26 10:29:57 +01:00
Chocobozzz
448487a602
Fix sendmail emailer
2021-01-26 09:28:49 +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
471251fa14
Fix error log
2021-01-20 09:50:22 +01:00
Chocobozzz
805b8619c1
Fix (again) youtube import
2021-01-19 16:36:21 +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
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
c2b823826d
Log RTMP server error (address already in use)
2021-01-11 09:33:14 +01:00
Chocobozzz
f0484f7a16
Fix autoblacklist notification issue
2021-01-04 10:50:47 +01:00
Chocobozzz
cc49be3e35
Fix views processing hour 0
2020-12-30 14:29:17 +01: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
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
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
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
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
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
a59f210ff3
Refactor a little bit client canonical URL
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
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
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
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
Chocobozzz
4a54a93941
Fix live invalid save replay duration
2020-12-03 10:05:10 +01:00
Chocobozzz
2650d6d489
Fix live replay duration glitch
2020-12-02 10:18:15 +01:00
Chocobozzz
8c666c44ab
Fix live saving after a server restart
2020-11-30 17:03:13 +01:00
Chocobozzz
6cddd97d1d
Fix lint
2020-11-30 16:02:34 +01:00
Chocobozzz
937581b8f6
Fix high CPU with long live when save replay is true
2020-11-30 15:59:22 +01:00
Chocobozzz
884d2c39ae
Fix live FPS limit
2020-11-26 11:30:18 +01:00
Chocobozzz
6b67897e2e
Add transcoding module comments
2020-11-25 10:07:51 +01:00
Chocobozzz
33ff70baa6
Fix audio encoding params
2020-11-25 10:07:51 +01:00
Chocobozzz
ca5c612bfd
Add live transcoding bit rate tests
2020-11-25 10:07:51 +01:00
Chocobozzz
5a547f69d5
Support encoding profiles
2020-11-25 10:07:51 +01:00
Chocobozzz
9252a33d11
Export encoders options in a dedicated struct
2020-11-25 10:07:51 +01:00
Chocobozzz
daf6e48010
Split ffmpeg utils with ffprobe utils
2020-11-25 10:07:51 +01:00
Chocobozzz
74fd2643b4
Provide express request to onLogout call
...
+ pluginInfo related changes
2020-11-20 15:36:43 +01:00
Chocobozzz
55d5fbc583
Fix lint
2020-11-20 11:35:33 +01:00
Chocobozzz
de94ac86a2
Fix incorrect IDs in AP federation
2020-11-20 11:21:08 +01:00
Chocobozzz
fce7fe04ee
Update server dependencies
2020-11-19 09:07:20 +01:00
Chocobozzz
9ff36c2d70
Refactor markdown/sanitize html code
2020-11-17 14:34:09 +01:00
Chocobozzz
6bff8ce23a
Process remaining segment hashes on live ending
2020-11-17 14:05:15 +01:00
Chocobozzz
5c0904fc66
Cleanup lives on server restart
2020-11-13 14:36:30 +01:00
Chocobozzz
786b855af7
Fix live sha segments with multiple resolutions
2020-11-13 12:02:29 +01:00
Chocobozzz
17119e4a54
Reorganize left menu and account menu
...
Add my-settings and my-library in left menu
Move administration below my-library
Split account menu: my-setting and my library
2020-11-13 12:02:21 +01:00
Chocobozzz
501af82d99
Delay notification when waiting for a live
2020-11-12 17:13:32 +01:00
Chocobozzz
6297bae0c1
Fix live infohash of original resolution
2020-11-12 16:55:13 +01:00
Chocobozzz
b9da21bd5a
Hide dock if there are no title/description
2020-11-10 16:47:25 +01:00
Chocobozzz
b9cf3fb638
Fix email footer
...
Do not include notif preferences in contact form email
2020-11-10 15:56:13 +01:00
Chocobozzz
10c8b0b743
Fix comments federation
2020-11-10 15:26:33 +01:00
Chocobozzz
403c69c5a3
Check threads resolve on non federated videos
2020-11-10 14:34:04 +01:00
Chocobozzz
210856a7be
Try to fix live segments check
2020-11-10 14:15:59 +01:00
Chocobozzz
c655c9ef6f
Update ffmpeg static version for tests
2020-11-09 15:33:04 +01:00
Chocobozzz
e4bf785617
Handle views for live videos
2020-11-09 15:33:04 +01:00
Chocobozzz
9e2b2e76ba
Don't add live videos in redundancy
2020-11-09 15:33:04 +01:00
Chocobozzz
3cabf3532b
Add live server hooks
2020-11-09 15:33:04 +01:00
Chocobozzz
053aed43fb
Regenerate miniature on live save
2020-11-09 15:33:04 +01:00
Chocobozzz
3bc68dfd61
Fix audio sync after saving replay
...
hls.js seems to not correctly handle audio gaps with fragmented mp4
(but can with a ts playlist)
2020-11-09 15:33:04 +01:00
Chocobozzz
bd54ad1953
Add live notification tests
2020-11-09 15:33:04 +01:00
Chocobozzz
68e70a745b
Add save replay live tests
2020-11-09 15:33:04 +01:00
Chocobozzz
97969c4edf
Add check constraints live tests
2020-11-09 15:33:04 +01:00
Chocobozzz
af4ae64f6f
Begin live tests
2020-11-09 15:33:04 +01:00
Chocobozzz
77e9f859c6
Add check params live tests
2020-11-09 15:33:04 +01:00
Chocobozzz
284ef52911
Fix live ending
2020-11-09 15:33:04 +01:00
Chocobozzz
d846d99c6c
Add modal to display live information
2020-11-09 15:33:04 +01:00
Chocobozzz
31c82cd914
Fix replay saving
2020-11-09 15:33:04 +01:00
Chocobozzz
b5b687550d
Add ability to save live replay
2020-11-09 15:33:04 +01:00
Chocobozzz
fb7194043d
Check live duration and size
2020-11-09 15:33:04 +01:00
Chocobozzz
a5cf76afa3
Add watch messages if live has not started
2020-11-09 15:33:04 +01:00
Chocobozzz
de6310b2fc
Handle live federation
2020-11-09 15:33:04 +01:00
Chocobozzz
1ef65f4c03
Refactor video creation
2020-11-09 15:33:04 +01:00
Chocobozzz
c6c0fa6cd8
Live streaming implementation first step
2020-11-09 15:33:04 +01:00
Kimsible
98b9464312
render html/markdown for new comment notification email ( #3255 )
...
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-11-07 22:59:58 +01:00
Chocobozzz
fb0f7f82e5
Fix re webtorrent transcoding
2020-09-09 10:14:33 +02:00
Chocobozzz
865af3fd7b
Add site_name to opengraph tags
2020-09-04 09:52:38 +02:00
Chocobozzz
2199aaef6f
Remove debug
2020-08-26 09:38:22 +02:00
Chocobozzz
cf649c2ed9
Inject plugin CSS in embed too
2020-08-24 11:25:40 +02:00
Chocobozzz
371906639e
Add ability to a video multiple times in a playlist
2020-08-19 11:30:21 +02:00
Chocobozzz
e9c5f12338
Do not reuse reset password links
2020-08-12 09:16:08 +02:00
Chocobozzz
30bc55c88b
Refactor video extensions logic in server
2020-08-11 07:57:20 +02:00
Chocobozzz
b96777c380
Fix twitter embed
2020-08-07 14:53:01 +02:00
Chocobozzz
6fad8e51c4
Handle playlist oembed
2020-08-07 08:58:29 +02:00
Chocobozzz
bd45d503e5
Reorganize shared models
2020-08-07 08:28:14 +02:00
Chocobozzz
dca0fe12ec
Fix resolution for portrait videos
2020-08-03 16:03:52 +02:00
Chocobozzz
d7b1c7b4f1
Fix video only HLS on ios
2020-07-31 13:49:36 +02:00
Chocobozzz
668b7f096e
Add openapi doc
2020-07-31 11:35:19 +02:00
Chocobozzz
d573926e9b
Add migrations for abuse messages
2020-07-31 11:35:19 +02:00
Chocobozzz
594d3e48d8
Add abuse messages/states notifications
2020-07-31 11:35:19 +02:00
Chocobozzz
edbc932546
Add server API to abuse messages
2020-07-31 11:35:19 +02:00
Kim
8d987ec63e
Add fcbk open-graph and twitter-card metas for accounts, video-channels, playlists urls ( #2996 )
...
* Add open-graph and twitter-card metas to accounts and video-channels
* Add open-graph and twitter-card to video-playlists watch view
* Refactor meta-tags creation server-side
* Add client.ts tests for account, channel and playlist tags
* Correct lint forbidden spaces
* Correct test regression on client.ts
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-31 11:29:15 +02:00
Chocobozzz
ec903c010e
Merge branch 'release/2.3.0' into develop
2020-07-20 17:00:58 +02:00
kimsible
963023abe6
Fix: display username in password-reset and verify-email notifs
2020-07-20 16:56:32 +02:00
Chocobozzz
cfde28bac3
Add ability to report account
2020-07-10 14:02:41 +02:00
Chocobozzz
310b5219b3
Add new abuses tests
2020-07-10 14:02:41 +02:00
Chocobozzz
4f32032fed
Add migrations
2020-07-10 14:02:41 +02:00
Chocobozzz
d95d155988
Use 3 tables to represent abuses
2020-07-10 14:02:41 +02:00
Chocobozzz
1fdf8edb77
Fix lint
2020-07-10 10:51:07 +02:00
Kim
caf2aaf4f9
Add ability to override client assets : logo - favicon - PWA icons - PWA manifest name and description ( #2897 )
...
* Add client-overrides storage to config
* Add static-serve for client overrides
* Move backgroun-image logo from bundle to css tag for runtime content hash
* Add dynamic JSON manifest
* Add content hash for manifest, favicon and logo
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-10 10:20:11 +02:00
Chocobozzz
db48de8597
Block infohash spammers from tracker
2020-06-25 16:28:07 +02:00
Chocobozzz
67ed6552b8
Reorganize client shared modules
2020-06-23 16:00:49 +02:00
Rigel Kent
1ebddadd07
predefined report reasons & improved reporter UI ( #2842 )
...
- added `startAt` and `endAt` optional timestamps to help pin down reported sections of a video
- added predefined report reasons
- added video player with report modal
2020-06-22 13:00:39 +02:00
Chocobozzz
26d6bf6533
Split types and typings
2020-06-18 10:46:27 +02:00
Chocobozzz
faa9d434b4
Update server dependencies
2020-06-17 11:42:50 +02:00
Chocobozzz
fd261a8de9
Fix video view filename
2020-06-15 15:18:54 +02:00
Chocobozzz
e74bda21d1
Speed up videos indexation
...
And fetch video attributes after
2020-06-12 16:27:41 +02:00
Rigel Kent
3487330d30
preserve original variable names server-side
2020-06-10 21:12:09 +02:00
Rigel Kent
5baee5fca4
rename blacklist to block/blocklist, merge block and auto-block views
...
- also replace whitelist with allowlist
- add advanced filters for video-block-list view
- move icons in video-block-list and video-abuse-list to left side
for visibility
- add robot icon to depict automated nature of a block in
video-block-list
resolves #2790
2020-06-10 21:12:05 +02:00
Chocobozzz
5fb2e2888c
First implem global search
2020-06-10 14:02:41 +02:00
Rigel Kent
81fe3c67c5
fix duplicate id in svg, empty alt in base email
2020-06-04 09:05:44 +02:00
Chocobozzz
b763f88dd0
Merge branch 'release/2.2.0' into develop
2020-06-02 09:31:30 +02:00
Chocobozzz
03fc19281b
Fix emails
2020-06-02 09:21:33 +02:00
Chocobozzz
696d83fd13
Block comments from muted accounts/servers
...
Add better control for users of comments displayed on their videos:
* Do not forward comments from muted remote accounts/servers (muted by the current server or by the video owner)
* Do not list threads and hide replies (with their children) of accounts/servers muted by the video owner
* Hide from RSS comments of muted accounts/servers by video owners
Use case:
* Try to limit spam propagation in the federation
* Add ability for users to automatically hide comments on their videos from undesirable accounts/servers (the comment section belongs to videomakers, so they choose what's posted there)
2020-05-29 09:32:20 +02:00
Chocobozzz
444c0a0e01
Add ability to bulk delete comments
2020-05-29 09:21:26 +02:00
Chocobozzz
9a7fd9600b
Fix external auth email/password update
...
Also check if an actor does not already exist when creating the user
2020-05-20 10:17:27 +02:00
Rigel Kent
2158ac9034
Add server plugin filter hooks for import with torrent and url ( #2621 )
...
* Add server plugin filter hooks for import with torrent and url
* WIP: pre and post-import filter hooks
* Rebased
* Cleanup filters to accept imports
Co-authored-by: Chocobozzz <me@florianbigard.com>
2020-05-14 11:10:26 +02:00
Chocobozzz
2ca154da93
Fix auto follow index URL
2020-05-12 09:37:39 +02:00