Commit graph

284 commits

Author SHA1 Message Date
Manav Rathi fca398f296
impl 2024-04-29 21:07:20 +05:30
Manav Rathi 2d40f530a7
more 2024-04-29 15:51:20 +05:30
Manav Rathi d94f0a0f56
wip 2024-04-29 15:08:46 +05:30
Manav Rathi 2fa1fcac65
impl 2024-04-29 14:34:05 +05:30
Manav Rathi 3d298a9cd4
separate type 2024-04-29 14:23:33 +05:30
Manav Rathi 3b6204f47d
Take 2 2024-04-29 13:49:02 +05:30
Manav Rathi 63841abd30
Envision 2024-04-29 11:44:43 +05:30
Manav Rathi e8687caba2
wip pending 2024-04-29 11:07:57 +05:30
Manav Rathi 75c058fc4c
This is where it comes from 2024-04-29 09:53:54 +05:30
Manav Rathi 13f0ff3af5
wip zip selection on web itself 2024-04-28 20:31:11 +05:30
Manav Rathi a3d06c54af
Prune 2024-04-28 17:38:03 +05:30
Manav Rathi e65307517d
Scaffold 2024-04-28 17:08:22 +05:30
Manav Rathi 0e9507be34
Understand better 2024-04-28 16:47:03 +05:30
Manav Rathi 42b0b6e9bb
convert to mp4 2024-04-28 16:28:57 +05:30
Manav Rathi b66972e884
Handle missing stacks 2024-04-28 12:48:00 +05:30
Manav Rathi e7a4e3e7c2
fix logger 2024-04-28 12:27:36 +05:30
Manav Rathi 85d0a72df3
Rework the stream handling 2024-04-28 11:32:23 +05:30
Manav Rathi 17275ed29d
Inline 2024-04-27 18:03:09 +05:30
Manav Rathi bb2ddec163
Inline
The zip-file tests are no longer directly usable, the way we read the files has
changed, these will have to be recreated in a new form.
2024-04-27 17:45:34 +05:30
Manav Rathi 8ba952c3b8
Remove unused 2024-04-26 17:48:10 +05:30
Manav Rathi 38fe3f5300
Types 2024-04-25 16:54:49 +05:30
Manav Rathi ca0afc2f3a
File sizes 2024-04-25 15:47:34 +05:30
Manav Rathi 4ae4e42260
log.warn 2024-04-25 15:19:46 +05:30
Manav Rathi eb4d83749f
Hash 2024-04-25 14:08:03 +05:30
Manav Rathi c76d12f4a7
Document based on current understanding 2024-04-25 12:52:42 +05:30
Manav Rathi c13812c31a
Move to library 2024-04-25 12:46:21 +05:30
Manav Rathi 0603f8ffb9
Extract 2024-04-25 12:15:09 +05:30
Manav Rathi 5324d805c6
Rejig type 2024-04-25 09:56:25 +05:30
Manav Rathi 7f3d9690c0
exactType => extension 2024-04-24 22:02:46 +05:30
Manav Rathi e03a0a09d4
lowercase extension 2024-04-24 21:28:30 +05:30
Manav Rathi 34d44f599d
Cleanup 2024-04-24 21:12:56 +05:30
Manav Rathi 1106393045
Inline 2024-04-24 20:54:56 +05:30
Manav Rathi af79db90d0
Doesn't work for us yet
Current version throws
    Module build failed: UnhandledSchemeError: Reading from "node:buffer" is not handled by plugins (Unhandled scheme).
    Webpack supports "data:" and "file:" URIs by default.
    You may need an additional plugin to handle "node:" URIs.

See: https://github.com/sindresorhus/file-type/issues/502

There are ways around by using polyfills, e.g.
- https://stackoverflow.com/questions/76500464/issues-while-using-gradio-client-in-next-js/76522223#76522223
- https://github.com/vercel/next.js/discussions/33982

but since no functional changes in the detection that impact us have been made,
stay back at the old version for now.
2024-04-24 18:44:09 +05:30
Manav Rathi 38e18f29bd
Update file-type dependency and move it to its correct package.json
Refs:
- https://github.com/sindresorhus/file-type/releases/tag/v17.0.0

Went through the release notes since v16 to check that none of the MIME types we
care about have changed.
2024-04-24 18:27:30 +05:30
Manav Rathi f3c798148c
type-detect 2024-04-24 18:06:52 +05:30
Manav Rathi 81c729a405
Inline 2024-04-24 16:18:01 +05:30
Manav Rathi cf576c07f7
[desktop] [web] Upload refactoring (#1527) 2024-04-24 14:59:20 +05:30
Manav Rathi f32a396b36
Fix video thumbnailing (the .jpeg extension is required) 2024-04-24 14:37:14 +05:30
Manav Rathi 51a1c77720
Get to a mergeable state 2024-04-24 12:50:55 +05:30
Manav Rathi 58d2670171
Prune 2024-04-24 11:29:54 +05:30
Manav Rathi 5b928883a6
Tinker 2024-04-24 11:03:49 +05:30
Manav Rathi f96adddf54
Prune 2024-04-23 18:54:34 +05:30
Manav Rathi 4a12774a3c
Impl 1 2024-04-23 11:07:10 +05:30
Manav Rathi 1f0c80cabc
Refactor 1 2024-04-23 10:21:39 +05:30
Crowdin Bot 7e2ba7e5da New Crowdin translations by GitHub Action 2024-04-23 01:38:47 +00:00
Manav Rathi 3ab14d5949
Remove unnecessary flexibility 2024-04-22 17:20:21 +05:30
Manav Rathi 05cd0bcd2c
input filename is not needed
tested with sips
2024-04-22 16:49:06 +05:30
Manav Rathi 4461775283
Desktop side 2024-04-22 16:32:04 +05:30
Manav Rathi 4750caf156
Blob 2024-04-22 16:12:03 +05:30
Manav Rathi 1c9c6d849a
Rework 1 2024-04-22 15:30:48 +05:30