Commit Graph
33 Commits
Author SHA1 Message Date
funtimes909 849d05f23e Change duple response in pinging code to be a named duple 2025-04-10 18:47:31 +12:00
funtimes909 4a23d0710e Change buffer size for server responses from 2048 to 1024, change progress bar characters 2025-04-10 12:17:27 +12:00
funtimes909 44be98c2a4 add rayon as a dependency, readd the progress bar for scans. 2025-04-09 15:31:37 +12:00
funtimes909 aefdb8c8a4 Use a transaction to update players mods and server information all in one atomic transaction 2025-04-08 13:16:42 +12:00
funtimes909 9ee91fe33a Revamp server response parsing for the billionth time except this time it's actually good. 2025-04-07 02:24:13 +12:00
funtimes909 eecd99e261 Clean up database code significantly 2025-04-07 00:07:27 +12:00
funtimes909 054cb5c238 Initial proper concurrency, may actually be usable now, comment example config 2025-04-06 19:33:58 +12:00
Funtimes909 2c02940447 use anyhow for results 2025-03-21 20:22:59 +13:00
Funtimes909 903fce69ac Merge remote-tracking branch 'origin/main' 2025-03-15 16:05:35 +13:00
Funtimes909 b49d13767d Change how tasks are spawned (doesn't even work) 2025-03-15 16:05:29 +13:00
Nucceteere c5f3dce867 chore: Add CODEOWNERS file
Signed-off-by: Nucceteere <[email protected]>
2025-03-04 04:54:20 +13:00
Funtimes909 df53629cb1 Merge remote-tracking branch 'origin/main' 2025-03-02 16:42:28 +13:00
Funtimes909 9a482ebe3f Much cleaner response code (I didn't think you could do this in rust?) 2025-03-02 16:42:22 +13:00
Nucceteere 89e7bc1d5d add GPLv3 license to project
Signed-off-by: Nucceteere <[email protected]>
2025-03-01 14:41:45 +13:00
Funtimes909 4ea0962fba use tokio for pinging code 2025-02-22 23:52:21 +13:00
Funtimes909 4c5786f9e3 Polishing work, more logging, add warnings and errors for invalid config options 2025-02-22 13:43:15 +13:00
Funtimes909 f61556c231 Replace some temp logging with a progress bar 2025-02-21 23:52:03 +13:00
Funtimes909 262aa731bc Add some basic terminal color codes 2025-02-21 17:23:34 +13:00
Funtimes909 943fb75d12 Update online players and max players field in database 2025-02-21 15:54:17 +13:00
Funtimes909 eb1f376e30 Change single connection to a connection pool 2025-02-21 15:47:37 +13:00
Funtimes909 ed3c8552bd Scan all ports in the range specified in the config file 2025-02-21 14:35:04 +13:00
Funtimes909 e98e5550ff Loop rescan infinitely unless specified in config, continued rework of error handling 2025-02-21 14:15:55 +13:00
Funtimes909 3044131580 Moderately more robust error handling 2025-02-20 23:34:05 +13:00
Funtimes909 2454771c7a Clean imports 2025-02-20 11:59:18 +13:00
Funtimes909 b01e85a232 Prettier database error messages 2025-02-20 11:49:58 +13:00
Funtimes909 acbe236580 Change update server to pass-by-value over pass-by-reference 2025-02-18 23:52:29 +13:00
Funtimes909 44d89f4005 Properly add results to the database 2025-02-18 19:34:11 +13:00
Funtimes909 a9a62b9aa0 add table and port config options for database connections and add an example config file 2025-02-18 17:49:37 +13:00
Funtimes909 579dcc0d52 Continued work on everything.
Replace diesel with sqlx
Cleaned up config.rs
Slight changes to response handling (still needs a rewrite)
2025-02-18 17:39:32 +13:00
Funtimes909 aa06a5ebee Huge refactor for server response parsing (still WIP) 2025-02-16 21:09:15 +13:00
Funtimes909 e9ffab7130 Change from nightly to stable rust 2025-02-15 21:20:41 +13:00
Funtimes909 52b3b275bf Literally no clue why main.rs wasn't commited 2025-02-14 16:29:21 +13:00
Funtimes909 b7c879b985 Initial commit (still very WIP) 2025-02-14 16:16:07 +13:00