Commit Graph

30 Commits

Author SHA1 Message Date
Catalin Bozan
6275b85eae Keep aspect ratio when generating thumbnails (#1409)
* fix: generated thumbnail ratio

* Delete myvid.mp4

* Delete thumb.jpeg
2022-03-25 16:23:38 +05:30
Adhiraj Singh
f2c91bcedd refactor: split downloadMediaMessage into functional components 2022-03-04 16:50:39 +05:30
Adhiraj Singh
de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Adhiraj Singh
8f11f0be76 chore: add linting 2022-01-19 15:54:02 +05:30
Adhiraj Singh
9c0a3b8962 feat: add option to specify limit for custom upload host 2022-01-03 12:40:55 +05:30
Adhiraj Singh
63c510a869 fix: use tmp buffer for upload for multiple retries 2022-01-03 12:29:27 +05:30
Adhiraj Singh
923b38f24b chore: more descriptive logging 2022-01-03 12:05:23 +05:30
Adhiraj Singh
b191e1b23a fix: remove limits on max body and content length 2021-12-31 15:14:55 +05:30
Adhiraj Singh
db941f1472 fix: download on axios 2021-12-19 22:25:17 +05:30
Adhiraj Singh
9068157cb1 chore: replace got with axios
Primarily because it had some odd issues with handling streams
2021-12-19 20:18:21 +05:30
Adhiraj Singh
9d7aec11da feat: add more logging to media 2021-12-19 14:35:51 +05:30
Adhiraj Singh
9e33c80add fix: use fetchAgent for uploading data 2021-12-18 16:44:43 +05:30
Adhiraj Singh
d8b415a075 fix: merge conflict errors 2021-12-17 19:30:10 +05:30
Adhiraj Singh
be0e2210d9 Merge branch 'multi-device' into multi-device-legacy 2021-12-17 19:28:00 +05:30
Adhiraj Singh
19a9980492 feat: add legacy connection 2021-12-17 19:27:04 +05:30
Adhiraj Singh
38a44be006 perf: experimental do not use fs for enc stream 2021-12-17 18:27:03 +05:30
Adhiraj Singh
e51bbc4893 feat: add support for "sharp" for image generation 2021-12-17 11:44:04 +05:30
Adhiraj Singh
9474017930 feat: async import got wherever required 2021-12-16 00:38:53 +05:30
Adhiraj Singh
ea077e9fea refactor: use abstraction for tmpdir 2021-12-13 13:50:39 +05:30
Adhiraj Singh
9f8223d46b fix: 10x better compression for image thumbs 2021-12-02 12:13:45 +05:30
Adhiraj Singh
b5ac28d426 feat: implement partial media downloads 2021-12-02 11:38:24 +05:30
Maurilho Batista
e810f2dec5 Add support for stream as media message input (#905)
* Add support for stream as media message input

* refactor: use async/await on readable toBuffer

* refactor: be more explicit about using a readable stream

Co-authored-by: Adhiraj Singh <adhirajsingh1001@gmail.com>
2021-11-26 10:30:15 +05:30
Adhiraj Singh
ba453a588b feat: implement external patch parsing + app state sync on login 2021-11-08 15:07:25 +05:30
Adhiraj Singh
f1527a9f6b separate out crypto utils 2021-09-23 22:37:33 +05:30
Adhiraj Singh
f267f27ada finalize multi-device 2021-09-22 22:19:53 +05:30
Adhiraj Singh
546cffcad2 make jimp dynamic import 2021-08-27 16:38:55 +05:30
Adhiraj Singh
48f477e0c1 thumb generation fixes 2021-08-22 15:48:50 +05:30
Adhiraj Singh
15f759a52b include media fix from @saviosg 2021-08-15 13:16:03 +05:30
Adhiraj Singh
f8c5394705 sticker media fix 2021-08-09 19:57:56 +05:30
Adhiraj Singh
89cf8004e9 Wrap up connection + in memory store 2021-07-09 20:35:07 +05:30