Commit graph

1064 commits

Author SHA1 Message Date
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
Igor Katson
e3ab7e2413
Merge pull request #198 from ikatson/further-e2e-fixes
Further e2e fixes for reliability
2024-08-19 16:42:57 +01:00
Igor Katson
8de27f812a
Proper bitfield handling 2024-08-19 16:29:32 +01:00
Igor Katson
3dcf43f448
Further e2e fixes for reliability 2024-08-19 16:02:11 +01:00
Igor Katson
6ed84ffcb3
Merge pull request #197 from ikatson/fix-e2e-test
Other fixes found by e2e test
2024-08-19 14:32:08 +01:00
Igor Katson
8b1ca49439
fix windows build 2024-08-19 13:58:05 +01:00
Igor Katson
e4aac7930f
make async-backtrace optional 2024-08-19 13:40:01 +01:00
Igor Katson
17353cf8e1
Timeout configurable 2024-08-19 13:19:56 +01:00
Igor Katson
0cb92eb333
Notify for released pieces 2024-08-19 13:17:13 +01:00
Igor Katson
032b34c5d6
upgrade a log message to debug 2024-08-19 13:05:15 +01:00
Igor Katson
02eca15c70
Remove a spurious complicated function ".mark_chunk_request_cancelled" 2024-08-19 12:54:56 +01:00
Igor Katson
7cda2c9807
async_backtrace 2024-08-19 12:35:32 +01:00
Igor Katson
79e206d5a7
more tracing spans 2024-08-19 12:10:12 +01:00
Igor Katson
6e92eec167
global timeout in e2e test 2024-08-19 12:08:46 +01:00