Commit graph

403 commits

Author SHA1 Message Date
Manav Rathi 10f2c3db6f
Mention why we're normalizing 2024-05-01 15:12:50 +05:30
Manav Rathi 4c28e83dbb
Optimize 2024-05-01 15:07:58 +05:30
Manav Rathi 36984012a8
They're all optionals now 2024-05-01 15:00:18 +05:30
Manav Rathi cb73bc143d
Research 2024-05-01 15:00:14 +05:30
Manav Rathi 15b013ea36
Verified with a console log 2024-05-01 10:19:21 +05:30
Manav Rathi 38969d6f45
Fix zip reader 2024-05-01 10:17:51 +05:30
Manav Rathi bd2969daff
Fix inverted condition 2024-05-01 10:03:03 +05:30
Manav Rathi eb1d8a8210
Add a workaround for broken yarn classic dependency resolution
...that causes `yarn install` to fail.

Ref:
- https://github.com/isaacs/jackspeak/issues/5
- https://github.com/yargs/cliui/issues/159
2024-05-01 09:27:56 +05:30
Manav Rathi abee517f8c
Fix remote build by recreating yarn.lock 2024-05-01 09:13:20 +05:30
Manav Rathi 9cbf69f9b3
upgrade-interactive 2024-05-01 08:46:43 +05:30
Manav Rathi 6c716ad892
Tell prettier not to print the names of the files it processes 2024-05-01 08:30:35 +05:30
Manav Rathi 4e8f2e65f0
Handle undefined better 2024-05-01 08:25:55 +05:30
Manav Rathi a0d44b58e2
Fix load
Using .on("ready" was not causing the window to start loading the renderer
unless createWindow was made async.
2024-04-30 22:48:46 +05:30
Manav Rathi 54e8d64b9e
Fix the loading of utils/index
Naming it index doesn't cause isDev to be loaded.
2024-04-30 22:46:04 +05:30
Manav Rathi 1eff04fe92
Enable lints 2024-04-30 18:57:19 +05:30
Manav Rathi 50a1447020
Stylistic 2024-04-30 18:54:58 +05:30
Manav Rathi 76c98bdf32
handle unsafe returns 2024-04-30 18:50:15 +05:30
Manav Rathi 7e2ee61a97
void expressions are fine 2024-04-30 18:46:59 +05:30
Manav Rathi 7b16fa9f38
void 2024-04-30 18:42:24 +05:30
Manav Rathi 9a28172565
iife wrapper 2024-04-30 18:37:50 +05:30
Manav Rathi bda5226796
More unawaited 2024-04-30 18:34:32 +05:30
Manav Rathi 82316ff290
Unawaited promises 2024-04-30 17:43:30 +05:30
Manav Rathi d308d334f8
tt 2024-04-30 17:41:12 +05:30
Manav Rathi f4660baeb8
Remove unnecessary awaits 2024-04-30 16:58:58 +05:30
Manav Rathi 9cce8b379c
Remove unnecessary asyncs 2024-04-30 16:51:19 +05:30
Manav Rathi 46d67f0c49
Disentagle map from modifications 2024-04-30 16:49:56 +05:30
Manav Rathi 1076471d51
Turn one off 2024-04-30 16:42:52 +05:30
Manav Rathi 7fb912c9df
ensure 2024-04-30 16:34:48 +05:30
Manav Rathi 9e279da6b3
annotations 2024-04-30 16:30:19 +05:30
Manav Rathi 01c77c3949
unk 2024-04-30 16:29:24 +05:30
Manav Rathi 9771db6ade
Use the built in transformer 2024-04-30 16:28:48 +05:30
Manav Rathi 994ca4b6a3
That's why cache fails 2024-04-30 16:25:35 +05:30
Manav Rathi 755ee4a0c2
hopefully 2024-04-30 16:13:16 +05:30
Manav Rathi a9671481d8
Allow numbers to be used in template literals 2024-04-30 16:10:56 +05:30
Manav Rathi 9b996ff353
Lint+ 2024-04-30 16:03:52 +05:30
Manav Rathi 51ffaa4a90
Preempt 2024-04-30 16:00:32 +05:30
Manav Rathi 2f3a2421f7
Strict 2024-04-30 15:51:22 +05:30
Manav Rathi 824e73f150
strict 2024-04-30 15:30:57 +05:30
Manav Rathi 612d8682b5
strict 2024-04-30 14:21:43 +05:30
Manav Rathi 0c312c0ea1
strict 3 2024-04-30 14:10:59 +05:30
Manav Rathi bee2cd533c
strict 2 2024-04-30 14:01:28 +05:30
Manav Rathi 72b9113d30
ensure 2024-04-30 13:59:00 +05:30
Manav Rathi 333f9c58f2
strict 1 2024-04-30 13:56:11 +05:30
Manav Rathi 14348351a9
Fix call of undefined 2024-04-30 13:44:46 +05:30
Manav Rathi 8400620488
Gone from desktop 2024-04-30 13:42:41 +05:30
Manav Rathi 4feefb9b8d
Fix comment 2024-04-30 13:41:18 +05:30
Manav Rathi b52c9f558f
Remove cache size overrides
Need a bit more benchmarking or real world feedback to see if this is even something that is helping us.
2024-04-30 13:39:58 +05:30
Manav Rathi 6c4adb1127
Housekeeping 2024-04-30 13:37:17 +05:30
Manav Rathi d6aeef85d6
Rearrange 2024-04-30 13:33:18 +05:30
Manav Rathi f84937f8c1
Bye ElectronFile 2024-04-30 13:26:55 +05:30
Manav Rathi 09bc15ddd3
[web] Upload refactoring - Zip file support (#1559) 2024-04-30 12:11:46 +05:30
Manav Rathi afb0e1aff3
web 2024-04-30 10:20:37 +05:30
Manav Rathi 73baf5a375
Uncollide with ZipEntry from StreamZip 2024-04-30 10:08:31 +05:30
Manav Rathi e9bf26e421
Extract 2024-04-30 09:59:02 +05:30
Manav Rathi 77fe4f9f03
wip ze ipc 2024-04-30 09:39:38 +05:30
Manav Rathi fca398f296
impl 2024-04-29 21:07:20 +05:30
Manav Rathi cca33074fb
Pending uploads 2024-04-29 19:29:52 +05:30
Manav Rathi 2d40f530a7
more 2024-04-29 15:51:20 +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
BifrostTenmei e258aa3524
Fixed typo 2024-04-29 10:53:20 +02:00
Manav Rathi 3b6204f47d
Take 2 2024-04-29 13:49:02 +05:30
Manav Rathi 2d8bcd2530
Propagate 2024-04-29 11:59:08 +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 aa111b2a24
Outline the plan 2024-04-29 10:12:53 +05:30
Manav Rathi 24b64f9522
Verify assumption 2024-04-28 20:38:50 +05:30
Manav Rathi 243d019e8b
Potential implementation 2024-04-28 17:24:11 +05:30
Manav Rathi e65307517d
Scaffold 2024-04-28 17:08:22 +05:30
Manav Rathi 7836562ff1
less noise 2024-04-27 20:21:54 +05:30
Manav Rathi 8ba952c3b8
Remove unused 2024-04-26 17:48:10 +05:30
Manav Rathi 2724760d6c
Remove NodeJS global 2024-04-26 17:47:08 +05:30
Manav Rathi 9f41539330
Enhance 2024-04-26 17:47:08 +05:30
Manav Rathi 1c59a36c73
Partially revert 699a12cc79 2024-04-26 16:11:19 +05:30
Manav Rathi 21ad409c61
Don't overwrite what net.fetch already added 2024-04-26 16:06:45 +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 f5ef478a90
Propogate last modified time
It should've also been possible to use the regular Last-Modified HTTP header,
however that'd have caused a potential loss of precsion if I correctly
understand the string format that we'll need to use.

Refs:
- https://developer.mozilla.org/en-US/docs/Web/API/File/lastModified
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toUTCString
- https://nodejs.org/api/fs.html#class-fsstats
2024-04-25 11:46:04 +05:30
Manav Rathi f32a396b36
Fix video thumbnailing (the .jpeg extension is required) 2024-04-24 14:37:14 +05:30
Manav Rathi e6e235490a
Content-Length 2024-04-23 12:37:42 +05:30
Manav Rathi cb0d25030d
API 1 2024-04-23 12:10:46 +05:30
Manav Rathi 1d4efd738c
Stream reader 2024-04-23 12:04:10 +05:30
Manav Rathi 1f0c80cabc
Refactor 1 2024-04-23 10:21:39 +05:30
Manav Rathi 3ab14d5949
Remove unnecessary flexibility 2024-04-22 17:20:21 +05:30
Manav Rathi dfa50e8ed1
thumb 2024-04-22 17:14: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 875b92ea91
New interface 2024-04-22 14:39:48 +05:30
Manav Rathi 31a19cb738
Desktop side 2024-04-21 11:29:58 +05:30
Manav Rathi e1faa965b8
Remove layer of abstraction 2024-04-20 17:33:54 +05:30
Manav Rathi 86929c5d2d
gen => make 2024-04-20 17:16:55 +05:30
Manav Rathi f1e530dfa1
Reorder to match 2024-04-20 17:15:41 +05:30
Manav Rathi eed95811c5
JPEG + temp wip 2024-04-20 17:12:25 +05:30
Manav Rathi 6337ffc203
Inline 2024-04-20 11:50:15 +05:30
Manav Rathi 13542c1511
Document
Cite: https://github.com/electron/electron/issues/25640
2024-04-20 10:39:18 +05:30
Manav Rathi 7c1207fb9a
Show dev tools option only in dev builds 2024-04-20 10:37:13 +05:30
Manav Rathi d0b1ff5520
In band signalling 2024-04-20 10:17:51 +05:30
Manav Rathi 093b3a67cb
Enum instead of error 2024-04-20 09:12:48 +05:30
Manav Rathi 926bc33c79
Use 2024-04-20 09:02:36 +05:30