Commit graph

283 commits

Author SHA1 Message Date
Alex Gleason
5f10f92d4e
Let ffprobe pipe data to stdin 2025-02-28 18:29:41 -06:00
P. Reis
c79867d8ca feat: promote users to admin 2025-02-28 18:25:34 -03:00
Alex Gleason
d70a00a8ca
Expose thumb and image to Attachment view, don't set thumb (since it's redundant with image) 2025-02-28 10:51:08 -06:00
Alex Gleason
6774975051
Get blurhash and dimensions of video 2025-02-28 10:24:45 -06:00
Alex Gleason
7ecca587a9
ffmpeg: explicitly set stdin to null 2025-02-28 10:20:47 -06:00
Alex Gleason
aeaa60df45
transcode: add -nostdin -safe 1 2025-02-28 10:17:39 -06:00
Alex Gleason
43ec58085a
Extract a poster image from videos (not efficient yet) 2025-02-28 09:58:28 -06:00
Alex Gleason
813026e734
Transcode video before uploading 2025-02-28 09:36:49 -06:00
P. Reis
822f623018 refactor: this.handleRevokeNip05 before relay.event 2025-02-28 10:19:10 -03:00
Alex Gleason
4f2aad9c5d
Export stuff from transcode/mod.ts 2025-02-27 23:42:29 -06:00
Alex Gleason
8f02c4125a
Add ffprobe module 2025-02-27 23:38:57 -06:00
Alex Gleason
e46b7bfa85
Rework ffmpeg to accept file URIs 2025-02-27 23:19:27 -06:00
Alex Gleason
d36efb7a30
transcode: export existing code in mod.ts 2025-02-27 22:06:03 -06:00
Alex Gleason
6ce64822e1
Split transcode and ffmpeg into separate modules 2025-02-27 21:59:19 -06:00
Alex Gleason
bb13a8dc71
Add ffmpeg module 2025-02-27 21:34:05 -06:00
Alex Gleason
bd47ae5930
Add @ditto/transcode package 2025-02-27 21:22:19 -06:00
Alex Gleason
462c00a3e7
transcode: simplify pipe 2025-02-27 20:16:25 -06:00
Alex Gleason
044930cc8d
transcodeVideoStream -> transcodeVideo 2025-02-27 20:08:26 -06:00
Alex Gleason
25d5db8db6
transcode: use a structured object for ffmpeg options 2025-02-27 20:07:28 -06:00
Alex Gleason
82f16e0cfe
Add transcode module 2025-02-27 20:01:11 -06:00
Alex Gleason
381cbfd36f
Add ip to logiMiddleware 2025-02-27 18:24:05 -06:00
Alex Gleason
368bf91b1f
Log requestId in some convenient spots 2025-02-27 18:08:55 -06:00
Alex Gleason
0cdb7b8cd5
Add requestId middleware 2025-02-27 17:57:22 -06:00
Alex Gleason
1bce9e2982
Remove @/config.ts import from utils/upload.ts 2025-02-27 17:34:35 -06:00
Alex Gleason
2acd23ebbe
Remove @/config.ts import from utils/instance.ts 2025-02-27 17:32:54 -06:00
Alex Gleason
70d8c2ed59
DittoPgStore: destructure conf 2025-02-27 16:54:12 -06:00
Alex Gleason
7e00b9f9a2
Add PolicyWorker test 2025-02-27 16:52:09 -06:00
Alex Gleason
5f5d0bc324
Remove @/config.ts import from utils/stats.ts 2025-02-27 16:35:06 -06:00
P. Reis
4792e568ef fix: event.pubkey, not event.id in p tag 2025-02-27 19:15:33 -03:00
P. Reis
e6f4f8d23e fix(attempt): revoke username 2025-02-27 19:10:13 -03:00
Alex Gleason
7fe06753aa
Remove @/config.ts import from utils/pleroma.ts 2025-02-27 14:25:09 -06:00
Alex Gleason
0e667995c1
Remove @/config.ts import from utils/note.ts 2025-02-27 14:15:02 -06:00
Alex Gleason
2266152df3
Remove @/config.ts import from utils/zap-split.ts 2025-02-27 14:02:44 -06:00
Alex Gleason
23b8edefef
Remove @/config.ts imports from tests 2025-02-27 13:56:02 -06:00
Alex Gleason
432f65ff61
Remove @/config.ts import when starting Sentry 2025-02-27 13:51:57 -06:00
Alex Gleason
92da5e6ac3
Actually fix policy.worker import (hack) 2025-02-26 18:19:30 -06:00
Alex Gleason
55115d3592
PolicyWorker: move Deno.env set above imports 2025-02-26 18:14:42 -06:00
Alex Gleason
ccf6d2074e Merge branch 'mastoapi-entities' into 'main'
Move ditto/interfaces to @ditto/mastoapi/types

See merge request soapbox-pub/ditto!693
2025-02-27 00:03:45 +00:00
Alex Gleason
b81da2c0d7
Move ditto/interfaces to @ditto/mastoapi/types 2025-02-26 18:01:32 -06:00
Alex Gleason
466245633c Merge branch 'fix-ensure-remove-exists' into 'main'
fix: call remove if it's available

See merge request soapbox-pub/ditto!692
2025-02-26 23:43:25 +00:00
P. Reis
0f20f1b26b refactor: return 500 http code in case of error 2025-02-26 20:21:42 -03:00
P. Reis
0c7ab03643 refactor: use ?. 2025-02-26 20:06:57 -03:00
P. Reis
40824280b4 fix: call remove if it's available 2025-02-26 19:53:55 -03:00
Alex Gleason
f650541b23
Remove precheck.ts, perform check in DittoConf constructor 2025-02-26 16:16:40 -06:00
Alex Gleason
89905d76a6
DittoApp: combine opts and vars into one object 2025-02-26 15:19:20 -06:00
Alex Gleason
4b55acb796
Clean up captchaController 2025-02-26 15:10:41 -06:00
Alex Gleason
a2aaa55b89
Add tests to captcha modules 2025-02-26 15:09:01 -06:00
Alex Gleason
5f617b2d1a
Break captcha package into smaller modules 2025-02-26 14:53:13 -06:00
Alex Gleason
a2732642a5
Break @ditto/captcha into a separate library 2025-02-26 14:46:47 -06:00
P. Reis
1730274e70 refactor: remove await 2025-02-26 11:19:15 -03:00