Commit graph

363 commits

Author SHA1 Message Date
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
Manav Rathi
9038ea7959
Dead-endish 2024-04-22 14:57:38 +05:30
Manav Rathi
875b92ea91
New interface 2024-04-22 14:39:48 +05:30
Manav Rathi
afca600a69
New abstraction 2024-04-22 14:04:49 +05:30
Manav Rathi
31a19cb738
Desktop side 2024-04-21 11:29:58 +05:30
Manav Rathi
cfced851c6
Expectation 2024-04-21 10:26:17 +05:30
Manav Rathi
08e71a1718
Import what we need 2024-04-20 21:58:09 +05:30
Manav Rathi
0dfaa15923
Tinker 2024-04-20 21:09:35 +05:30
Manav Rathi
5992efd58a
Document 2024-04-20 19:54:26 +05:30
Manav Rathi
eed95811c5
JPEG + temp wip 2024-04-20 17:12:25 +05:30
Manav Rathi
14e4205feb
Restructure 2024-04-20 12:16:58 +05:30
Manav Rathi
6337ffc203
Inline 2024-04-20 11:50:15 +05:30
Manav Rathi
d0b1ff5520
In band signalling 2024-04-20 10:17:51 +05:30
Manav Rathi
196090152c
Remove an error that is never thrown 2024-04-19 21:39:44 +05:30
Manav Rathi
80a6fe16e7
timeouts 2024-04-19 21:34:35 +05:30
Manav Rathi
32ac31fd44
Start using it 2024-04-19 16:20:20 +05:30
Manav Rathi
a9ccec6398
The remaining 2 2024-04-18 21:26:05 +05:30
Manav Rathi
76053c4029
impl 2024-04-18 21:07:00 +05:30
Manav Rathi
14285b66ae
Seep deeper 2024-04-18 18:45:02 +05:30
Manav Rathi
4455bb9595
API on electron side 2024-04-18 18:31:38 +05:30
Manav Rathi
275b763648
Work towards it 2024-04-18 16:18:01 +05:30
Manav Rathi
8a728abffe
Envision the API 2024-04-18 15:31:22 +05:30