Commit Graph

26069 Commits

Author SHA1 Message Date
Manav Rathi
0f46a25a5d [web] Allow thumbnail cache to be optional
See: https://github.com/ente-io/ente/discussions/1449#discussioncomment-9255346

I'm not yet sure what was the case why it was not initialized, hoping to get
some logs for the error when initializing the cache to see how we got to this
state. But meanwhile, ensure that the code works even without the cache.
2024-04-29 09:25:55 +05:30
Vishnu Mohandas
6f52df1fda Fixed typo (#1549)
## Description
Fixed a small typo
2024-04-28 22:36:20 +05:30
BifrostTenmei
d46dbf1e73 Fixed typo 2024-04-28 18:20:58 +02:00
Vishnu Mohandas
650a078fd7 Fixed typo (#1544)
## Description
Fixed a small typo
2024-04-28 13:32:03 +05:30
Manav Rathi
c61d58f6ea [web] Upload refactoring - Part x/x (happy paths working checkpoint) (#1547)
Checkpoint
- Both upload and export work now (in both the desktop and web apps)
- Uploads after individual selection and takeout uploads still need to
be fixed when in desktop
2024-04-28 13:31:58 +05:30
Manav Rathi
c90e9b7fd1 Add a debug inspector 2024-04-28 13:26:43 +05:30
Manav Rathi
b66972e884 Handle missing stacks 2024-04-28 12:48:00 +05:30
Manav Rathi
05b9f834cf ffmpeg wasm timings 2024-04-28 12:42:34 +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
9a37141d29 Not yet sure how but desktop drag drops have the full path 2024-04-27 20:50:45 +05:30
Manav Rathi
7836562ff1 less noise 2024-04-27 20:21:54 +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
BifrostTenmei
c2b55d4389 Fixed typo 2024-04-27 13:58:27 +02:00
Manav Rathi
6671a62c78 duh 2024-04-27 17:06:33 +05:30
Manav Rathi
536bcf1091 Add a fixed size block transformer
Surprisingly, this is not a primitive. Or maybe I didn't find it.

The highWaterMark-ing didn't work, that seems more of a recommendation than an
enforcement.
2024-04-27 17:00:01 +05:30
Manav Rathi
31a70674ff Revert "Read in 4 MB blocks"
This reverts commit db30d8d81e.
2024-04-27 16:49:22 +05:30
Manav Rathi
db30d8d81e Read in 4 MB blocks
Refs:
- https://developer.mozilla.org/en-US/docs/Web/API/TransformStream/TransformStream
2024-04-26 18:48:33 +05:30
Manav Rathi
31608ab8fa Inline 2024-04-26 18:18:15 +05:30
Manav Rathi
e786bed078 Inline 2024-04-26 18:16:22 +05:30
Manav Rathi
3074bc108f Fix 2024-04-26 17:49:50 +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
faba29b422 console.log(Object.fromEntries(res.headers.entries())); 2024-04-26 15:58:47 +05:30
Manav Rathi
88eb0d687e Fix log 2024-04-26 13:51:48 +05:30
Manav Rathi
cc94615823 fix 2024-04-26 13:46:44 +05:30
Manav Rathi
a6ee7ac2bd [web] Upload refactoring - Part x/x (+ checkpoint) (#1540)
The main web side refactoring is done, and uploads initiated from the
web are still going through correctly. Next up will be getting back to
the desktop side, and tie the loose ends and prune the remaining
references to the `ElectronFile` that can't be IPC-ed.
2024-04-26 12:37:35 +05:30
Manav Rathi
0a70451add Tweak log 2024-04-26 12:18:11 +05:30
Manav Rathi
87d3bdc717 Scan 2024-04-26 12:14:51 +05:30
Manav Rathi
fa0d1331a8 bye getUint8ArrayView 2024-04-26 11:10:07 +05:30
Manav Rathi
4a0bf42fe3 Peck 2024-04-26 11:07:03 +05:30
Manav Rathi
390f628557 Clone 2024-04-26 10:58:56 +05:30
Manav Rathi
b93638e354 type merge 2024-04-26 10:57:50 +05:30
Manav Rathi
b66d74c652 Get to FileWithCollection 2024-04-26 10:47:06 +05:30
Manav Rathi
070d9e1a62 fop 2024-04-26 10:20:37 +05:30
Manav Rathi
879f3389d1 Inner types 2024-04-26 10:17:52 +05:30
Manav Rathi
a7f5061eb6 And the next 2024-04-26 09:45:06 +05:30
Manav Rathi
f47732ff5e Type the next stage 2024-04-26 09:33:17 +05:30
Manav Rathi
eec61b0a13 Propagate niceness 2024-04-26 09:18:26 +05:30
Manav Rathi
9fa9d6d5dc Invert 2024-04-26 08:47:31 +05:30
Manav Rathi
19fd1b5ce4 Rename 2024-04-26 08:41:13 +05:30
Manav Rathi
16a07c79f4 Rename 2024-04-26 08:34:22 +05:30
Manav Rathi
c1103b656c [web] Upload refactoring - Part x/x (#1536) 2024-04-25 21:33:03 +05:30
Manav Rathi
8067d9b9b9 Start with a new copy each time
Otherwise all the map keys refer to the same object
2024-04-25 21:22:09 +05:30
Manav Rathi
1b93e9d1c1 Do it 2024-04-25 19:35:05 +05:30
Manav Rathi
2e3b86a2e9 Agenda 2024-04-25 19:22:05 +05:30