Trim21
2a0d29c1f5
style: add new rule for imports ( #785 )
2024-08-13 22:31:39 +00:00
Jesse Chan
efdd620192
dependencies: bump (major)
...
TODO: drop the "const argv = argvObj as Record<string, any>;" hack
Refs: yargs/yargs#2175
2022-05-07 16:41:10 -07:00
Jesse Chan
af8de75e05
server: remove unused history snapshots and make it in-mem only
2021-10-31 23:21:20 -07:00
Jesse Chan
2b6ca5ff66
API: ditch inefficient "TRANSFER_SUMMARY_DIFF_CHANGE", always full update
...
TRANSFER_SUMMARY_DIFF_CHANGE is almost always full update:
```
[
{"op":"replace","path":"/downTotal","value":851320719382},
{"op":"replace","path":"/downRate","value":6139},
{"op":"replace","path":"/upTotal","value":1826972572184},
{"op":"replace","path":"/upRate","value":5480521}
]
```
which is generally less efficient than full object (TRANSFER_SUMMARY_FULL_UPDATE):
```
{
"upRate":5430724,
"upTotal":1827320521117,
"downRate":6062,
"downTotal":851321106383
}
```
2021-05-22 21:31:32 +08:00
Jesse Chan
aacca10475
server: simplify service manager, fixes dangling ref
2021-05-09 10:23:28 +08:00
Jesse Chan
37a94912f4
server: HistoryEra: replace NeDB callbacks with promises
2020-12-09 21:52:32 +08:00
Jesse Chan
1a878d5423
flood: rearrange, remove misc files and reformat
2020-11-15 23:03:47 +08:00
Jesse Chan
ca32dcb490
server: clientActivityStream: ensure graceful transfer history fallback
2020-11-03 01:31:14 +08:00
Jesse Chan
00029514f7
ClientConnectionInterruption: allow retrying with current settings
2020-11-03 01:31:09 +08:00
Jesse Chan
abf9554e31
server: clientGatewayService: keep refreshing connection status when error occurred
2020-11-02 22:42:29 +08:00
Jesse Chan
0e57e36663
client: migrate from Flux to MobX
2020-10-25 06:06:53 -05:00
Jesse Chan
8d2959edfc
API: activity-stream: migrate all diff actions to JSON Patch
2020-10-20 20:31:08 +08:00
Jesse Chan
1f76f320c5
server: clientGatewayService: define interface
2020-10-17 13:44:06 +08:00
Jesse Chan
a9180d7cfc
server: move DiskUsage class out of services
...
It is not user-dependent. Thus not a service.
2020-10-17 13:44:06 +08:00
Jesse Chan
8c69786c2e
server: services: replace null checks with optional chaining
2020-10-06 19:52:32 +08:00
Jesse Chan
8452d51b79
server: torrentService: stop polling when there is no listener
...
Bug: #45 , Flood-UI/flood#405
2020-10-04 18:22:37 +08:00
Jesse Chan
43b2d8fbbf
server: services: migrate to TypeScript
2020-09-27 22:27:14 +08:00