Commit graph

1077 commits

Author SHA1 Message Date
Igor Katson
d1f6a57e54
Remove bad log message 2024-08-21 17:42:19 +01:00
Igor Katson
6bfb8f9e15
E2E test: wait until i am the last task properly 2024-08-21 17:39:21 +01:00
Igor Katson
d5ddf4d294
Session is now properly cleaned up 2024-08-21 17:25:00 +01:00
Igor Katson
a5abe97735
Drop check better message 2024-08-21 16:56:06 +01:00
Igor Katson
2ad5fa2f12
E2E drop check for memory leaks 2024-08-21 16:47:48 +01:00
Igor Katson
3067ad21d5
Cleanups 2024-08-21 16:20:46 +01:00
Igor Katson
ad5f62b9b9
Move session to shared state 2024-08-21 16:15:15 +01:00
Igor Katson
451debedbb
Renames 2024-08-21 16:12:20 +01:00
Igor Katson
b4512e4809
Move some fields into ManagedTorrentInfo 2024-08-21 16:06:16 +01:00
Igor Katson
ad7b59ea3c
Remove some args in start() function 2024-08-21 15:57:18 +01:00
Igor Katson
80f4d3b1b2
Remove ManagedTorrentBuilder 2024-08-21 15:51:58 +01:00
Igor Katson
338b221e8d
clippy 2024-08-21 15:32:45 +01:00
Igor Katson
73f4d7e453
more test logs 2024-08-21 13:45:20 +01:00
Igor Katson
ddc725d1a9
Add more data to stats footer 2024-08-21 13:40:43 +01:00
Igor Katson
f1688add01
Tag v7.0.0-beta.2 2024-08-21 13:30:36 +01:00
Igor Katson
715149db4d
Merge pull request #204 from ikatson/session_stats
[Feature] session stats
2024-08-21 13:28:30 +01:00
Igor Katson
93c53b4285
Add session stats to desktop app 2024-08-21 13:22:22 +01:00
Igor Katson
857db0caf4
Fix broken desktop app 2024-08-21 13:22:10 +01:00
Igor Katson
61b7a643aa
Add global stats to UI (not desktop yet) 2024-08-21 12:58:15 +01:00
Igor Katson
ae606fac4a
Fix counter name 2024-08-21 12:23:31 +01:00
Igor Katson
561c8b8a1d
Expose HTTP /stats endpoint 2024-08-21 12:20:36 +01:00
Igor Katson
5d3a93b8bd
Add new HTTP API endpoints to the root description 2024-08-21 12:10:24 +01:00
Igor Katson
c601b399f2
Workaround rustfmt bug in session.rs 2024-08-21 12:07:42 +01:00
Igor Katson
06e88c138f
Session speed estimator 2024-08-21 11:57:45 +01:00
Igor Katson
0fdf6ad429
Counting peers on drop 2024-08-21 11:31:36 +01:00
Igor Katson
67afdb0aa5
Add a struct for session stats + bump the counters 2024-08-21 11:22:37 +01:00
Igor Katson
ee2ad7138e
Merge pull request #203 from ikatson/fastresume
[Feature] Fast resume - quick restart without rehashing
2024-08-21 10:56:06 +01:00
Igor Katson
627c0ac28f
Implement fastresume for postgres 2024-08-20 22:57:08 +01:00
Igor Katson
cd4d812aca
Restore Msb0 as Lsb0 is bugged - BEP 003 uses MSB 2024-08-20 22:19:37 +01:00
Igor Katson
ea39ec787a
Enable fastresume in tests 2024-08-20 21:58:59 +01:00
Igor Katson
c4888d5123
e2e test increasing file limit 2024-08-20 21:53:43 +01:00
Igor Katson
65feec3406
Fastresume CLI option 2024-08-20 21:47:08 +01:00
Igor Katson
e11744cd63
Add fastresume session option 2024-08-20 21:31:52 +01:00
Igor Katson
29c46f2579
It fully works! 2024-08-20 21:22:56 +01:00
Igor Katson
2fee0ca8c2
flushing bitfield 2024-08-20 21:09:58 +01:00
Igor Katson
bc9e72df60
Use actual BitV and factory everywhere 2024-08-20 20:42:24 +01:00
Igor Katson
a55dfc6e0e
Simplify initial check code to only return have_pieces 2024-08-20 20:16:11 +01:00
Igor Katson
8135b31a5d
Use in chunk_tracker 2024-08-20 17:15:37 +01:00
Igor Katson
e771162fa7
BitVFactory going on 2024-08-20 16:51:34 +01:00
Igor Katson
d7236f05a9
Add bitv module 2024-08-20 15:07:23 +01:00
Igor Katson
d99ebccf4d
Merge pull request #202 from ikatson/update-e2e-test-delete
Update e2e test to test deletion
2024-08-19 19:37:32 +01:00
Igor Katson
06b5b4c6df
Update e2e test to test deletion 2024-08-19 19:31:51 +01:00
Igor Katson
6127a4aeda
Merge pull request #201 from ikatson/fix-delete-torrent
Fix a bug in torrent deletion
2024-08-19 19:31:26 +01:00
Igor Katson
ab2d73c2b3
Fix a bug in torrent deletion 2024-08-19 19:21:09 +01:00
Igor Katson
3d212543a5
Merge pull request #200 from ikatson/decode-torrent
[Feature] Decode torrent as JSON in the /torrents/resolve_magnet API
2024-08-19 19:11:52 +01:00
Igor Katson
04cfe9fc6b
can now decode torrent as JSON in the HTTP API 2024-08-19 18:46:50 +01:00
Igor Katson
52beec9296
Update sqlx 2024-08-19 17:40:26 +01:00
Igor Katson
06c6bf4487
Preparing for v7.0.0-beta.1 2024-08-19 17:29:22 +01:00
Igor Katson
4e220407ce
Merge pull request #199 from ikatson/fix-unchoke
Fix unchoke broken in previous PR
2024-08-19 16:56:23 +01:00
Igor Katson
e0c459e9f5
Fix unchoke broken in previous PR 2024-08-19 16:51:50 +01:00