Commit Graph

3360 Commits (60bab7b540de3709f3392a0ea964524c13c7e404)

Author SHA1 Message Date
Chocobozzz adc94cf09c
Add live and viewers otel metrics 2022-07-27 16:19:25 +02:00
Chocobozzz 50cc1ee48a
Fix process follow 2022-07-27 15:45:04 +02:00
Chocobozzz eb7b48ce84
Prevent logging an error on lazy static 404 2022-07-27 14:38:07 +02:00
Chocobozzz e3d6c6434f
Add bulk action on following/followers 2022-07-27 13:52:13 +02:00
Chocobozzz 073deef886
Handle rejected follows in client
Also add quick filters so it's easier to find pending follows
2022-07-27 13:52:13 +02:00
Chocobozzz 927fa4b11f
Add rejected state to follows
Prevent reprocessing already rejected follows
2022-07-27 13:52:13 +02:00
Chocobozzz 0f58b11f5c
Reduce joins need to generate AP url 2022-07-27 13:52:13 +02:00
Florent 3efa4da1fe Fix password for root in dev mode
password should remain "test" in dev mode for root.
Fix regression of 9452d4fd33 which introduces NODE_ENV=dev
2022-07-26 10:00:17 +02:00
Chocobozzz 9e2a4af3a0
Use unique AP id for accept/reject 2022-07-25 11:24:05 +02:00
Chocobozzz 7b6b445d91
Regenerate video filenames on transcoding
In particular when using manual transcoding, to invalidate potential
HTTP caches in front of peertube
2022-07-25 10:57:16 +02:00
Chocobozzz 4f50475c67
Display latest uploaded date for captions 2022-07-25 10:45:40 +02:00
Chocobozzz c8fa571f32
Clearer live session
Get the save replay setting when the session started to prevent
inconsistent behaviour when the setting changed before the session was
processed by the live ending job

Display more information about the potential session replay in live
modal information
2022-07-22 15:22:21 +02:00
Chocobozzz 7fd28c99b9
Fix lint 2022-07-19 15:34:44 +02:00
Chocobozzz cd1b8e9a40
Add node process metrics 2022-07-19 11:58:19 +02:00
Chocobozzz 0755cb89e7
Prevent logging error when saving delete live 2022-07-18 15:49:15 +02:00
Chocobozzz cace0d1a71
Prevent headers sent error 2022-07-18 15:41:47 +02:00
Chocobozzz 58c44687f7
Fix my videos counter 2022-07-18 14:53:50 +02:00
Chocobozzz 1efad362ef
Display a warning if using ffmpeg 4.4.0 2022-07-18 14:53:20 +02:00
Chocobozzz 1cc9774668
Fix incorrect error logs 2022-07-18 11:55:13 +02:00
Chocobozzz 42b4063699
Add ability for client to create server logs 2022-07-18 11:37:18 +02:00
Chocobozzz 654d4ede7f
Correctly handle actors without follow counters 2022-07-15 11:18:29 +02:00
Chocobozzz 319f9670bf
Fix invalid http signature
Date header could be inconsistent with the date included in the
signature
2022-07-15 11:06:27 +02:00
Chocobozzz 2939925639
Fix live tests 2022-07-13 15:37:36 +02:00
Chocobozzz ba2684cedd
Fix lint 2022-07-13 12:14:26 +02:00
Chocobozzz da5f46487f
Fix plugin filter test 2022-07-13 11:26:00 +02:00
Chocobozzz f7ce623db1
Don't log error on static 404 2022-07-13 11:21:19 +02:00
Chocobozzz ea8107bff8
Split static router 2022-07-13 11:16:29 +02:00
Chocobozzz c5cadb2859
Reduce unknown undo logging level 2022-07-13 11:07:01 +02:00
Chocobozzz 8ab98cfb61
Prevent 500 in AP clietn 2022-07-13 11:03:07 +02:00
Chocobozzz e0f49a19ea
Reduce db retry log on failure 2022-07-13 10:59:55 +02:00
Chocobozzz 39d117a47d
Prevent error logs when aborting a stream 2022-07-13 10:57:04 +02:00
Chocobozzz 14f7ad399f
Add more error logs 2022-07-13 10:17:47 +02:00
Chocobozzz 3b0525106d
Prevent duplicated HLS playlist on transcoding 2022-07-13 10:15:41 +02:00
Chocobozzz b0f4204266
Relax log level
401 is expected when the token has expired
federation issues are not very important
2022-07-13 10:04:22 +02:00
Chocobozzz 3d401c1b3d
Correctly set mp3 codec string in hls playlist 2022-07-13 08:42:07 +02:00
Chocobozzz eaaf316fe1
Don't display errors when SMTP is not configured
info is enough
2022-07-12 16:32:05 +02:00
Chocobozzz 46f7cd6837
Fix handling broken lives
We want the latest session that may already be finished
2022-07-12 16:30:59 +02:00
Chocobozzz 4ddb53f65d
Auto retry video state db query on failure 2022-07-12 16:25:21 +02:00
Chocobozzz f686f5ed0a
Fix audio file merge
Image streams are considered as video streams by ffmpeg
Filter out image codec name
2022-07-12 16:00:15 +02:00
Chocobozzz 5d7cb63ede
Add compat with openssl 3 2022-07-12 12:08:12 +02:00
Chocobozzz a49407524f
Prevent invalid watch sections 2022-07-12 09:51:21 +02:00
Chocobozzz f614635d6a
Fix unknown infohash setting 2022-07-11 14:37:58 +02:00
Chocobozzz 6504b3bfd9
Fix videos stats 2022-07-08 11:51:41 +02:00
Chocobozzz 17d85f48b5
Fix unknown infohash skip log 2022-07-06 16:19:08 +02:00
Chocobozzz 9452d4fd33
/!\ Use a dedicated config file for development
It means you have to replace NODE_ENV=test to NODE_ENV=dev if you use it
npm run dev:* commands are already updated
2022-07-06 16:12:17 +02:00
Chocobozzz 630d0a1bf5
Introduce experimental telemetry 2022-07-06 15:13:55 +02:00
Chocobozzz 15b43b214e
Increase test timeout 2022-07-04 13:34:03 +02:00
Chocobozzz cd25344f74
Reduce lazy static error logs 2022-06-30 09:25:17 +02:00
Chocobozzz a4152bed14
Add ability to disable unknown infohash log 2022-06-30 09:13:11 +02:00
Chocobozzz 031bbcd25d
Upgrade oauth2-server 2022-06-28 15:32:57 +02:00
Chocobozzz 4fae2b1f30
Rename video full loading 2022-06-28 15:06:15 +02:00
Chocobozzz daa0226b0a
Lazy load piscina 2022-06-28 09:09:03 +02:00
Chocobozzz ccd62a4502
Fix workers constants 2022-06-27 15:56:57 +02:00
Chocobozzz 3a54605d4e
Process images in a dedicated worker 2022-06-27 11:53:12 +02:00
Chocobozzz e722fb5923
Merge branch 'release/4.2.0' into develop 2022-06-27 10:36:31 +02:00
Chocobozzz 41e74ec9cd
Fix broken feeds with published live 2022-06-27 10:36:16 +02:00
Chocobozzz 7a5c3d77fe
Fix feed with live stream 2022-06-27 10:20:49 +02:00
Chocobozzz 7fb45bdacb
Optimize feeds query 2022-06-27 09:34:26 +02:00
Chocobozzz c53853ca1b
Introduce worker threads to process remote images 2022-06-24 16:31:48 +02:00
Chocobozzz 978489b64c
Add toki pona in video languages 2022-06-24 11:59:12 +02:00
Chocobozzz 4e56f0fff1
Merge branch 'release/4.2.0' into develop 2022-06-24 10:33:26 +02:00
Chocobozzz c3fb12b31f
Fix lint 2022-06-24 10:13:09 +02:00
Chocobozzz 92083e4228
Fix removed sha segments on fast restream 2022-06-24 09:57:55 +02:00
Chocobozzz b6e2b5df73
Fix removed sha segments on fast restream 2022-06-24 09:35:30 +02:00
Chocobozzz 371d4c6063
Merge branch 'release/4.2.0' into develop 2022-06-23 11:01:55 +02:00
Chocobozzz f2623febd8
Fix duplicated tags error 2022-06-23 11:01:44 +02:00
Chocobozzz 64324ac646
Merge branch 'release/4.2.0' into develop 2022-06-23 10:53:16 +02:00
Chocobozzz 20886f4bf9
Fix search index tests 2022-06-23 10:31:17 +02:00
Chocobozzz 53023be33a
Fix fast restream in saved permanent live 2022-06-23 10:30:48 +02:00
Chocobozzz 2c2befaaca
Fix video right check 2022-06-22 14:03:50 +02:00
Chocobozzz ff9d43f62a
Refactor video rights checker 2022-06-22 10:25:31 +02:00
kontrollanten 2e401e8575
store uploaded video filename (#4885)
* store uploaded video filename

closes #4731

* dont crash if videos channel exist

* migration: use raw query

* video source: fixes after code review

* cleanup

* bump migration

* updates after code review

* refactor: use checkUserCanManageVideo

* videoSource: add openapi doc

* test(check-params/video-source): fix timeout

* Styling

* Correctly set original filename as source

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-06-21 15:31:25 +02:00
Durgaraj Karki c8bac5396c
fixes video not played from defined parameters in embed service (#5023)
* fixes video not played from defined parameters in embed service

* adds parameters to the oembed services

* Styling

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-06-21 14:38:15 +02:00
Chocobozzz a91e9beb3f
Update server dependencies 2022-06-21 11:23:32 +02:00
Chocobozzz 2b621ac0eb
Merge branch 'release/4.2.0' into develop 2022-06-21 09:03:20 +02:00
Chocobozzz 8633ad22a7
Fix AP element with deleted video federation 2022-06-21 08:59:46 +02:00
Chocobozzz 0f07c28951
Correctly handle unknown remote actor image size 2022-06-20 11:48:40 +02:00
Chocobozzz 714e33a742
Merge branch 'release/4.2.0' into develop 2022-06-20 10:23:19 +02:00
Chocobozzz f53e1fcd99
Relax views federation 2022-06-20 10:04:52 +02:00
Chocobozzz 5e0dbb3e52
Fix users stats 2022-06-17 16:23:13 +02:00
Chocobozzz d3976db269
Fix searching in blocklist 2022-06-17 16:06:58 +02:00
Chocobozzz aa2ce188d1
Optimize view endpoint 2022-06-17 14:56:16 +02:00
Chocobozzz fba911e2c8
Merge branch 'release/4.2.0' into develop 2022-06-17 14:17:06 +02:00
Chocobozzz f27b7a750f
Send views in a dedicated queue 2022-06-17 14:08:13 +02:00
Chocobozzz 3396e65345
Optimize broadcast job creation 2022-06-17 11:55:03 +02:00
Chocobozzz 42e6a7a747
Increase max watch sections 2022-06-17 09:04:45 +02:00
Chocobozzz 68d6e57870
Fix transaction when processing local viewer 2022-06-17 09:03:28 +02:00
Chocobozzz e69d1ed5cd
Increase test timeout 2022-06-17 08:01:58 +02:00
Chocobozzz ef2b5520f9
Increase test timeout 2022-06-16 16:01:37 +02:00
Chocobozzz 3256771725
More robust move to object storage job failure 2022-06-16 14:29:53 +02:00
Chocobozzz 0c9a835466
Merge branch 'release/4.2.0' into develop 2022-06-16 14:11:31 +02:00
Chocobozzz cdd838168d
Fix live ending job that breaks new live session 2022-06-16 13:39:57 +02:00
Chocobozzz c371016de2
More robust duration parsing 2022-06-14 08:47:26 +02:00
Chocobozzz b89b0bfce9
Clearer video creation from API regarding rates 2022-06-08 15:42:09 +02:00
Chocobozzz 1a99dc647f
Fix search index tests 2022-06-08 14:58:34 +02:00
Chocobozzz e435cf44c0
Fix abuse tests 2022-06-08 13:40:40 +02:00
luz paz 7a4fd56ccd Fix various typos
Found via `codespell -q 3 -S ./CREDITS.md,./CHANGELOG.md,./client/src/locale,./yarn.lock,./client/yarn.lock -L doubleclick,followings,nd,ot,ro,serie,splitted,tread,truthy`
2022-06-07 16:41:21 +02:00
Chocobozzz 6d9ed0b6cb
Merge branch 'release/4.2.0' into develop 2022-06-07 09:59:15 +02:00
Chocobozzz 4d52690134
Fix schema.org context 2022-06-07 08:47:41 +02:00
Chocobozzz e815f566f3
Remove unused function 2022-06-03 16:28:20 +02:00
Chocobozzz 38f57175e7
Update tsconfig 2022-06-03 16:17:28 +02:00
Chocobozzz 5d2fd66ab4
Merge branch 'release/4.2.0' into develop 2022-06-03 15:14:16 +02:00
Chocobozzz ceecd871a4
Fix search index tests 2022-06-03 15:14:12 +02:00
Chocobozzz e771ff815d
Merge branch 'release/4.2.0' into develop 2022-06-03 14:32:44 +02:00
Chocobozzz 62f53731cf
Fix invalid download filename 2022-06-03 14:28:43 +02:00
Chocobozzz 010382b603
Completely remove best default trending algorithm 2022-06-03 14:04:52 +02:00
Florian CUNY c6f8ca4d65
Added "total views" in the my channels list (#5007)
* Added "total views" in the my channels list

Implements https://github.com/Chocobozzz/PeerTube/issues/4331

* Fix lint

* applied suggested change

* updated openAPI spec for the use "withStats" when getting video channels

* applied code change

* removed GROUP BY in query

* Fixed test
2022-05-31 16:01:11 +02:00
Chocobozzz d3f4689bde
Add live autostart/messages in embed 2022-05-31 14:24:07 +02:00
Chocobozzz e5a781ec25
Bypass rate limits for admins and moderators 2022-05-30 11:39:44 +02:00
Chocobozzz ab623c0e0b
Merge branch 'release/4.2.0' into develop 2022-05-25 15:22:28 +02:00
Chocobozzz c8fdfab0e3
More robust live ending job 2022-05-25 15:18:29 +02:00
Chocobozzz 5333788c08
Fix saving permanent live replay on quick restream 2022-05-25 14:54:16 +02:00
Chocobozzz b34ee7fa5f
Cleanup muxing session method options 2022-05-25 11:08:12 +02:00
Chocobozzz a220b84b0e
Fix avatars in notifications 2022-05-25 09:37:30 +02:00
Chocobozzz 600befbd61
Check feeds config at startup 2022-05-24 15:57:02 +02:00
Chocobozzz db9d882c25
Add ability to set default feed items count 2022-05-24 15:56:23 +02:00
Chocobozzz 87a0cac618
Improve admin users list table
* Fix last login sort with null values
 * Remember last selected columns
 * Display last login date by default
2022-05-24 15:29:17 +02:00
Chocobozzz 3eba7ab815
Add ability to set a custom video import timeout 2022-05-24 14:55:07 +02:00
Chocobozzz 3cb60ca19e
Increase test timeout 2022-05-24 13:38:01 +02:00
Chocobozzz 3329325a64
Fix email action button label for reports 2022-05-24 09:19:03 +02:00
Chocobozzz a65858746c
Fix my videos total counter 2022-05-24 09:16:42 +02:00
Chocobozzz 10178c47d0
Increase test timeout 2022-05-20 17:12:00 +02:00
Chocobozzz 6b3aa06804
Correctly fix import tests 2022-05-20 08:33:49 +02:00
Chocobozzz 8d57e72875
Increase timeouts 2022-05-19 08:27:04 +02:00
Chocobozzz cf0dd18abc
Increase timeouts 2022-05-18 15:16:34 +02:00
Chocobozzz 941d28cc7f
Reduce error logs 2022-05-18 12:01:02 +02:00
Chocobozzz 305ec38496
Add total viewers overall stat 2022-05-18 09:18:39 +02:00
Chocobozzz 0cc253c971
Fix import tests 2022-05-18 08:44:20 +02:00
Chocobozzz ca3d5912e1
Add use proxy for s3 (#4973)
* Fix object storage to be accessible via proxy

* fix lint

* Use hpagent

* Fix lint

* Fix PR

Co-authored-by: noellabo <noel.yoshiba@gmail.com>
2022-05-09 11:49:25 +02:00
Chocobozzz f82ea670d8
Fix collection type 2022-05-09 09:51:11 +02:00
Chocobozzz 543affef08
Don't sign (created) when using rsa-sha256 2022-05-09 09:43:36 +02:00
Chocobozzz e08ec7a723
Handle HTTP signature draft 11 2022-05-06 15:13:59 +02:00
Chocobozzz 67ad83d0fa
Fix stats time metric 2022-05-06 14:49:42 +02:00
Chocobozzz f40712abbb
Add ability to filter overall video stats by date 2022-05-06 14:23:02 +02:00
Chocobozzz 49f0468d44
Add filter by start/end date overall stats in api 2022-05-05 14:13:14 +02:00
Chocobozzz f18a060a83
Remove comments, rates and views from stats
It prevent us to apply date filters
2022-05-05 13:47:51 +02:00
Chocobozzz bae616273d
Convert followers/following in raw SQL queries
Prevent weird bug in SQL generation
2022-05-05 10:29:35 +02:00
Chocobozzz d493e2d4bf
Fix lint 2022-05-04 16:13:31 +02:00
Chocobozzz 9a82ce2455
Fix quota inconstistencies with lives 2022-05-04 10:32:49 +02:00
Chocobozzz 9295c68b74
Fix live constraints tests 2022-05-03 16:12:10 +02:00
Chocobozzz 26e3e98ff0
Support live session in server 2022-05-03 14:49:15 +02:00
Chocobozzz 86c5229b4d
Save replay of permanent live in client 2022-05-03 08:32:20 +02:00
Chocobozzz 98ebfa3950
Fix getting live by anonymous user 2022-05-03 08:32:20 +02:00
Chocobozzz c74cd9feab
Fix removing directory content 2022-05-03 08:23:59 +02:00
Chocobozzz 21d70a7302
Support readonly tmp directory 2022-05-03 08:18:48 +02:00
Chocobozzz b3d9dedcc3
Allow oembed to fetch unlisted videos 2022-05-02 15:14:23 +02:00
Chocobozzz d05af385f4
Ensure rtmp public_hostname is set 2022-05-02 14:38:37 +02:00
Chocobozzz cfbe6be516
Add ability to provide rtmp listening hostname 2022-05-02 14:32:12 +02:00
Chocobozzz 4b3145a7f8
Typo 2022-05-02 11:13:41 +02:00
Chocobozzz 40fa53ac99
Increase test timeout 2022-05-02 10:50:09 +02:00
Chocobozzz 5d9b867ed3
Fix lint 2022-04-22 10:54:05 +02:00
Chocobozzz 961cbe4269
Fix getting live by anonymous user 2022-04-22 09:50:20 +02:00
Chocobozzz 4ec52d04dc
Add ability to save replay of permanent lives 2022-04-21 11:47:57 +02:00
Chocobozzz 4b7a20d88b
Add missing video mime types 2022-04-20 10:23:07 +02:00
Chocobozzz ffcfb32b2f
Add program date time to live playlist 2022-04-19 16:24:49 +02:00
kontrollanten 156cdbac22
object-storage: @aws-sdk/lib-storage for multipart (#4903)
* object-storage: @aws-sdk/lib-storage for multipart

* gitignore: add .DS_Store

* test(object-storage): remove only

* test(object-storage/multipart): generate video

* fix lint issue

* test(obj-storage/video): ensure file size

* Styling

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-04-19 15:22:18 +02:00
Chocobozzz 33ac85bf61
Test digest check for resumable upload 2022-04-19 14:25:33 +02:00
Chocobozzz 77d0ae7b20
Fix 2 hours limit on uploads 2022-04-19 11:44:03 +02:00
Chocobozzz f692fc8d6f
Support uploads of videos with unknown duration 2022-04-19 11:20:10 +02:00
Chocobozzz e85a36cb96
Fix email text containing links 2022-04-15 15:17:32 +02:00
Chocobozzz 3c7ddd7daa
Fix email links displayed twice as text 2022-04-15 14:19:07 +02:00
Chocobozzz 389444e048
Increase test timeout 2022-04-15 11:38:01 +02:00
Chocobozzz 3eda9b775a Support interactive video stats graph 2022-04-15 09:49:35 +02:00
Chocobozzz 901bcf5c18 Add ability to set start/end date to timeserie 2022-04-15 09:49:35 +02:00
Chocobozzz ac907dc7c1 Improve viewer counter
More precise, avoid weird decrease, reuse an id to federate viewers
2022-04-15 09:49:35 +02:00
Chocobozzz dfbcefc20d Improve views/viewers documentation 2022-04-15 09:49:35 +02:00
Chocobozzz d74bb0647c Fix videos history tests 2022-04-15 09:49:35 +02:00
Chocobozzz b211106695 Support video views/viewers stats in server
* Add "currentTime" and "event" body params to view endpoint
 * Merge watching and view endpoints
 * Introduce WatchAction AP activity
 * Add tables to store viewer information of local videos
 * Add endpoints to fetch video views/viewers stats of local videos
 * Refactor views/viewers handlers
 * Support "views" and "viewers" counters for both VOD and live videos
2022-04-15 09:49:35 +02:00
Chocobozzz 69d48ee30c
Don't clean mastodon rates
Workaround of https://github.com/mastodon/mastodon/issues/13571
2022-04-15 09:17:16 +02:00
Chocobozzz 1159c4a600
Fix lint 2022-04-08 16:47:00 +02:00
Chocobozzz 7ca0363f75
Remove duplicated test 2022-04-08 16:30:22 +02:00
Chocobozzz c6d20c84a7
Disallow unlisted video indexation 2022-04-08 16:28:14 +02:00
Chocobozzz a219c9100b
Refactor AP context builder 2022-03-24 09:40:46 +01:00
Chocobozzz 7e98a7df7d
Remove activitypub helper
Put functions in lib/activitypub instead
2022-03-23 14:24:50 +01:00
Chocobozzz 851e808dc9
Fix angular build 2022-03-22 18:27:29 +01:00
Chocobozzz 92e66e04f7
Rename studio to editor 2022-03-22 17:24:32 +01:00
Chocobozzz 1808a1f8e4
Add video edition finished notification 2022-03-22 16:25:14 +01:00
Chocobozzz 348c2ce3ff
Remove old migration files 2022-03-21 14:54:29 +01:00
Chocobozzz f4110e0a72
Update server dependencies 2022-03-21 14:20:47 +01:00
Chocobozzz 11d70211af
Fix channels creation creation limit count 2022-03-21 09:27:49 +01:00
Chocobozzz 43fc899a10
Fix channels list count 2022-03-21 09:26:48 +01:00
Chocobozzz 88f1692781
Ensure bin dir exists before dl youtube-dl 2022-03-21 08:34:45 +01:00
Chocobozzz 57e4e1c1a9
Don't store remote rates of remote videos
In the future we'll stop to expose all available rates to improve users
privacy
2022-03-18 11:21:50 +01:00
Chocobozzz db1ccd05d3
Fix CI 2022-03-17 10:50:26 +01:00
Chocobozzz 2769876fb2
Fix client html cache on theme update 2022-03-17 09:09:06 +01:00
Chocobozzz 52fe4b671a
Fix torrent creation 2022-03-16 18:35:05 +01:00
Chocobozzz f012319a64
Process video torrents in order
Prevent update before video torrent generation for example
2022-03-16 15:45:58 +01:00
Doug Luce f9915efa5e Make object storage ACL configurable
Override this value to allow uploads to non-public S3
buckets. Otherwise "AccessDenied: Access Denied" errors will end up in
the log.

Fixes #4850
2022-03-16 10:58:01 +01:00
kontrollanten 60233e90d2
add client.videos.upload.maxChunkSize config (#4857)
* add client.videos.upload.maxChunkSize config

* updates after review

* remove maxChunkSize from custom-config
2022-03-16 10:57:36 +01:00
Chocobozzz 74220dba9d
Fix username/password CLI options 2022-03-15 09:21:05 +01:00
Chocobozzz f443a74649 Add latency setting support 2022-03-09 09:23:10 +01:00
kontrollanten 2c102aac13
Display avatar in video miniatures (#4823)
* show avatar in video miniatures

closes #4040

* fix: videos for api, include avatars

* add config for display video miniature avatar

* Revert "fix: videos for api, include avatars"

This reverts commit 5520a3eda6.

* video-min: set display avatar to false as default

* remove empty line

* rename display_avatar > display_author_avatar

* fix renaming displayAvatar > displayAuthorAvatar
2022-03-08 13:39:27 +01:00
Chocobozzz cc45cc9ac1
Remove uneeded memoize 2022-03-08 11:39:56 +01:00
Chocobozzz 7b51ede977
Merge branch 'release/4.1.0' into develop 2022-03-08 11:28:32 +01:00
Chocobozzz f6f48301a9
More robust transcoding checker 2022-03-08 09:42:22 +01:00
Chocobozzz c47c3bcb0a
Fix multiple servers tests 2022-03-08 09:18:43 +01:00
Chocobozzz 4c6d99e5b6
Fix channel tests 2022-03-08 08:50:38 +01:00
Chocobozzz 0c058f256a
Remove exif tags when processing images 2022-03-07 17:23:12 +01:00
Chocobozzz 41878d3397
Remove unnecessary comment 2022-03-07 11:52:29 +01:00
Chocobozzz 2f19481147
Optimize markdown renderer 2022-03-07 11:48:53 +01:00
Chocobozzz ab4b897499
Merge branch 'release/4.1.0' into develop 2022-03-04 17:01:02 +01:00
Chocobozzz 907ba7e270
Fix live update error 2022-03-04 17:00:53 +01:00
Chocobozzz d3d3deaa7a
Refactor user build and express file middlewares 2022-03-04 10:57:36 +01:00
Chocobozzz 156c44c8f6
Refactor a little bit raw sql builders 2022-03-03 10:23:44 +01:00
Chocobozzz 135c38bbc5
Fix search index tests 2022-03-02 08:40:57 +01:00
Chocobozzz 90fbb78498
Node 12 is not supported anymore 2022-03-01 14:08:03 +01:00
Chocobozzz 7bde625050
Fill width of local avatars 2022-03-01 13:37:40 +01:00
kontrollanten 8d07888728
Possibility to set custom RTMP/RTMPS hostname (#4811)
* live: set custom RTMP/RTMPS hostname

closes #4786

* dont use webserver.hostname as default

* check that rtmp/s.hostname is set
2022-03-01 13:37:34 +01:00
Chocobozzz b5c00b9b67
Fix lint 2022-03-01 08:33:23 +01:00
Chocobozzz 242f52253e
Fix getting avatars in videos list 2022-03-01 08:32:49 +01:00
Chocobozzz f1c70a8666
Remove unnecessary code 2022-02-28 16:04:31 +01:00
Chocobozzz 95faf1eaff
Create another test suite for transcoding jobs 2022-02-28 16:02:08 +01:00
Chocobozzz f7ac03ee94
Fix client html performance regression 2022-02-28 15:13:56 +01:00
kontrollanten c5ca7e1e0c add filter:api.video-playlist.videos.list.* hooks
closes #4775
2022-02-28 10:56:37 +01:00
Chocobozzz c729caf6cc Add basic video editor support 2022-02-28 10:42:19 +01:00
kontrollanten d0800f7661
Implement avatar miniatures (#4639)
* client: remove unused file

* refactor(client/my-actor-avatar): size from input

Read size from component input instead of scss, to make it possible to
use smaller avatar images when implemented.

* implement avatar miniatures

close #4560

* fix(test): max file size

* fix(search-index): normalize res acc to avatarMini

* refactor avatars to an array

* client/search: resize channel avatar to 120

* refactor(client/videos): remove unused function

* client(actor-avatar): set default size

* fix tests and avatars full result

When findOne is used only an array containting one avatar is returned.

* update migration version and version notations

* server/search: harmonize normalizing

* Cleanup avatar miniature PR

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-02-28 08:34:43 +01:00
Chocobozzz 8296984de4
Fix max buffer size for youtube-dl 2022-02-22 15:03:13 +01:00
Chocobozzz 5301e7762b
Fix video file storage column consistency 2022-02-22 14:49:23 +01:00
Chocobozzz 6ea9295b8f
Check video privacy when creating comments/rates 2022-02-22 14:16:51 +01:00
Chocobozzz bdb54e6f8c
Use local URL for feed guid 2022-02-22 11:16:29 +01:00
Chocobozzz ebee0c0427
Increase test timeout 2022-02-10 10:43:42 +01:00
Chocobozzz 9d8ef212ff
Fix broken dep 2022-02-09 17:48:15 +01:00
Chocobozzz d4727de48b
Upgrade tools dependencies 2022-02-09 13:51:26 +01:00
Chocobozzz c9f27d9881
Update server dependencies 2022-02-09 13:51:24 +01:00
Chocobozzz 350b866fdd
Fix CLI build 2022-02-09 13:37:04 +01:00
Chocobozzz 400ed2ab41
Add log on user plugin auth conflict 2022-02-09 11:54:18 +01:00
Chocobozzz 7630e1c893
Fix import timeout inconsistency 2022-02-09 11:54:18 +01:00
Chocobozzz 474542d7ac
Add additional checks when importing a video 2022-02-09 11:54:18 +01:00
Chocobozzz f33e515991
Correctly check import target URL IP 2022-02-07 11:21:25 +01:00
Chocobozzz 4393b2552c
Move to peertube feed fork 2022-02-07 09:38:24 +01:00
Chocobozzz c68e2b2d22
Fix plaintext markdown converter 2022-02-04 10:38:32 +01:00
Chocobozzz 6e0ee5a53a
Update changelog 2022-02-04 09:01:40 +01:00
Chocobozzz cd8f207a8e
Case insensitive search on tags 2022-02-03 10:24:48 +01:00
Chocobozzz b25fdc73fd
Add fixme info 2022-02-02 09:20:40 +01:00
Chocobozzz a2caee9f51
Fix HLS re transcoding with object storage enabled 2022-02-01 14:19:44 +01:00
Chocobozzz 0f11ec8dd3
Prevent HLS transcoding after webtorrent transcoding 2022-02-01 11:27:38 +01:00
Chocobozzz 228d8e8e47
Convert markdown to html/plain text for feeds 2022-01-31 10:07:38 +01:00
Chocobozzz ebe4b3df5c
Remove fixed workaround 2022-01-21 11:11:03 +01:00
lutangar d2d4a5a999 Fix plugin settings manager definition
This mainly fix the `onSettingsChange` argument typing.
I'm not 100% sure the setting `value` can be a boolean though.
But this is how it was typed before so I just made it consistent.

Feel free to change - or suggest change - to the type names / location.
2022-01-20 13:43:20 +01:00
Chocobozzz 82b9a1005c
Fix abuse crash on deleted reporter account 2022-01-20 10:52:50 +01:00
Chocobozzz 4abc7b053a
Fix peertube tools auth 2022-01-20 09:33:49 +01:00
Chocobozzz d511df2890
Add ability to filter my imports by target URL 2022-01-19 14:58:16 +01:00
Chocobozzz 419b520ca4
Add ability to cancel & delete video imports 2022-01-19 14:31:05 +01:00
Chocobozzz 52435e467a
Handle quota for 413 2022-01-19 10:50:34 +01:00
Chocobozzz 7177b46ca1
Add ability to delete history element 2022-01-18 11:23:41 +01:00
Chocobozzz 2f0a0ae217
Upgrade uploadx dependency 2022-01-18 10:47:26 +01:00
Chocobozzz 743dab5517
Better 413 error handling in cli script 2022-01-18 09:19:59 +01:00
Chocobozzz 4dfd57ae6f
Better auth args handling for peertube cli 2022-01-18 09:13:36 +01:00
Chocobozzz 8f7d35fd0f
Add simplified/traditional chinese languages 2022-01-17 11:33:50 +01:00
Chocobozzz ff4d2c73fd
Fix bull redis options 2022-01-14 15:06:33 +01:00