Commit graph

26222 commits

Author SHA1 Message Date
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
Neeraj Gupta
4ce6fa790f [mob] Add method to close cast and keep track of active casts 2024-04-27 12:16:48 +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
Neeraj Gupta
6d864a71a7
[web][cast] Close on sender disconnect (#1534)
## Description

## Tests
2024-04-25 18:17:19 +05:30
Neeraj Gupta
1dc8ac6023 [web][cast] Close on sender disconnect 2024-04-25 18:14:02 +05:30
Neeraj Gupta
dddbb959b5 [mob][photos] Refactor 2024-04-25 17:45:03 +05:30
Manav Rathi
38fe3f5300
Types 2024-04-25 16:54:49 +05:30
Manav Rathi
e90657ce5c
Interim type 2024-04-25 16:35:45 +05:30
Neeraj Gupta
483cfd1f39 [mob][photos] Lint suggestions 2024-04-25 16:28:30 +05:30
Neeraj Gupta
864f5c1fd4 [mob][photos] Extract strings 2024-04-25 16:25:04 +05:30
Manav Rathi
c2c5267e9b
Tinker 2024-04-25 16:19:47 +05:30
Manav Rathi
73292a5405
aic 2024-04-25 15:48:54 +05:30
Manav Rathi
ca0afc2f3a
File sizes 2024-04-25 15:47:34 +05:30
Manav Rathi
ac9a272c70
Cache name 2024-04-25 15:33:44 +05:30
Manav Rathi
4ae4e42260
log.warn 2024-04-25 15:19:46 +05:30
Neeraj Gupta
9894f88654
[server] Cast changes (#1532)
## Description

- Add IP check before completing cast pair
- Rate limit register device/TV API
- Clean up older sessions after 7 days.

## Tests
2024-04-25 15:05:36 +05:30