Commit Graph

3214 Commits (e0faa8ad6e18ce6248ef1ec93a59dab5b05be468)

Author SHA1 Message Date
Chocobozzz 1bb4c9ab2e
Add ability to delete a specific video file 2022-08-01 14:55:10 +02:00
Chocobozzz 12d84abeca
Include video file id in API 2022-07-29 11:33:27 +02:00
Chocobozzz 5a9a56b78f
Prevent error on highlighted thread 2022-07-29 10:32:56 +02:00
Chocobozzz ce6b3765a2
Add more tracing 2022-07-28 10:56:05 +02:00
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