Commit Graph

127 Commits

Author SHA1 Message Date
funtimes909 fbe5bb2205 Don't panic invalid text fields in response.rs 2025-05-14 00:20:50 +12:00
funtimes909 cb17bb1c09 Allow saving mods from older versions of forge to database 2025-05-14 00:05:46 +12:00
funtimes909 598a5e023b 🧌 2025-05-13 17:57:39 +12:00
funtimes909 72de565d29 Advanced server description parsing, add back server opt out now that MOTD's can be properly built. Also now adds formatted descriptions to the database 2025-05-13 17:50:30 +12:00
funtimes909 23f9374dc4 update README 2025-05-12 11:55:09 +12:00
funtimes909 089792e2b1 add feature for joining servers 2025-05-12 00:53:14 +12:00
funtimes909 e5055baa65 Code cleanup 2025-05-11 18:11:17 +12:00
funtimes909 335911a923 Merge branch 'main' of blackberry.funtimes909.xyz:ServerSeekerV2/ServerSeekerV2 2025-05-08 17:06:12 +12:00
funtimes909 3f18271227 Update example config 2025-05-08 17:04:01 +12:00
Nucceteere 08ffd136ce docs: add badges and beautify 2025-05-08 00:16:54 +03:00
Nucceteere e4cdb04a49 docs: add readme 2025-05-06 17:53:55 +03:00
funtimes909 4d3d467edb BREAKING: Rename config option "url" to "host" 2025-05-06 22:01:30 +12:00
funtimes909 ae9562743c Stop SQLx from logging slow statements 2025-05-06 21:58:25 +12:00
funtimes909 2537670576 minor nitpicks 2025-05-06 13:01:33 +12:00
funtimes909 94bd6b1c74 Add clap to allow selecting config file location and which mode to use 2025-05-06 01:44:35 +12:00
funtimes909 fe72dd08ea Rename description column to match database 2025-05-05 23:43:04 +12:00
funtimes909 aa434adccb Fix 2025-05-04 01:28:00 +12:00
funtimes909 567476e083 ServerType enum now imports server software type into database 2025-05-04 00:52:10 +12:00
funtimes909 5a41d92319 Initial work to update code to use new database format 2025-05-03 18:49:33 +12:00
funtimes909 a13304310a Refactor everything, only update servers at the end of every scan, ik its a bit commit but im exhausted 2025-04-29 23:57:39 +12:00
funtimes909 377105f715 Move Pinging Errors enum to RunError enum 2025-04-29 16:56:27 +12:00
funtimes909 c1f0d92862 Seems that streaming results from the database directly has some performance issues, save all results to memory for now instead 2025-04-29 16:08:13 +12:00
funtimes909 05c24b222c Add some debug statements everywhere 2025-04-29 12:53:20 +12:00
funtimes909 8d663d35ef Cleanup 2025-04-29 12:11:09 +12:00
funtimes909 5a48dbb66d bandaid fix to prevent crashes until this code gets rewritten 2025-04-26 16:00:16 +12:00
Amy 26c6bbacb9 Merge pull request 'Separate rescanning code and implementa new server discovery mode' (#7) from masscan-setup into main
Reviewed-on: https://git.funtimes909.xyz/ServerSeekerV2/ServerSeekerV2-Rust/pulls/7
2025-04-26 14:24:31 +12:00
funtimes909 a58de4cc41 Implement requested changes 2025-04-26 01:01:23 +12:00
funtimes909 af7c8f7a2a Move ping function to utils file 2025-04-26 00:26:09 +12:00
funtimes909 63aa7bb7da Cleaner error messages 2025-04-24 14:02:31 +12:00
funtimes909 0f7bccdbbc Move scan results to a utils file, more config cleanups 2025-04-24 00:56:01 +12:00
funtimes909 49f77cb747 Change config to reflect new changes 2025-04-23 22:32:20 +12:00
funtimes909 4412a04760 Scan servers found by masscan using a JoinSet 2025-04-23 22:08:09 +12:00
funtimes909 48f70b9cfe Clean up more masscan code 2025-04-23 19:14:10 +12:00
funtimes909 8d09204c81 masscan stuff 2025-04-23 01:33:56 +12:00
funtimes909 e9dba45ab1 cleanup 2025-04-22 16:52:13 +12:00
funtimes909 c491b01d2d separate scanning code to a new file 2025-04-22 16:34:00 +12:00
funtimes909 b777fec7bf Beginning of player tracking 2025-04-22 01:42:08 +12:00
funtimes909 e90648a128 link with mold, remove unused dependencies anyhow and futures 2025-04-21 23:15:14 +12:00
funtimes909 c9e38cdf77 exclude tasks that returned errors from database transaction commit message 2025-04-21 22:43:02 +12:00
funtimes909 204a156028 accidentally keep commiting a limit on database results while I'm testing 💀 2025-04-21 22:24:34 +12:00
funtimes909 428f8ded8e Minor misc nitpicks and comment changes, return results from the database in order of oldest first 2025-04-21 22:21:54 +12:00
Amy 5d2d277f31 Merge pull request 'Only commit to the database once per scan' (#6) from database-parallel-batched-commit into main
Reviewed-on: https://git.funtimes909.xyz/ServerSeekerV2/ServerSeekerV2-Rust/pulls/6
2025-04-21 21:07:52 +12:00
Rohan Bhela f7a25a8350 Raise semaphore limit to 2000 2025-04-20 20:52:59 -07:00
Rohan Bhela 85376911f0 Convert warn on missing MOTD to debug 2025-04-20 20:18:00 -07:00
Rohan Bhela f371ed2cb5 Fix error handling 2025-04-20 16:29:25 -07:00
Rohan Bhela 5bdc154b44 Only commit to database once per scan 2025-04-20 16:18:17 -07:00
funtimes909 a606a1c3e1 deserialize complex and simple MOTD strings (doesn't do much as of now) 2025-04-20 22:04:22 +12:00
Rohan Bhela dde41315c4 Print summary of all errors encountered while pinging servers 2025-04-19 23:59:46 -07:00
funtimes909 74cf2b9a57 Cleaner and more idiomatic database code, should allow way more servers to be updated in the DB 2025-04-20 17:21:21 +12:00
Amy 7626529dc6 Merge pull request 'Fix extremely high cpu usage, scan locking up halfway through' (#5) from objobj-ping-server-fix into main
Reviewed-on: https://git.funtimes909.xyz/ServerSeekerV2/ServerSeekerV2-Rust/pulls/5
2025-04-20 15:19:28 +12:00