Uriel
bd3686597f
remove unused import
2026-03-09 13:56:14 -03:00
Uriel
805b978403
Apply suggestions from code review
...
Co-authored-by: Doug Hoskisson <beauxq@users.noreply.github.com >
2026-03-09 13:55:34 -03:00
Uriel
aff006a85f
Update WebHostLib/customserver.py
...
Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com >
2026-03-09 07:00:44 -03:00
Uriel
1748048b44
Apply suggestions from code review
...
Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com >
2026-03-09 05:09:05 -03:00
Uriel
8421ccce12
reduce range on macOS
2026-03-09 04:26:18 -03:00
Uriel
f76ea191c1
make the range lesser for port test
2026-03-09 03:26:48 -03:00
Uriel
f81e2fdf73
simplify parse game port tests to one assertListEqual
2026-03-09 00:32:25 -03:00
Uriel
07e2381cbb
try to prevent busy-looping on create random port socket when doing test
2026-03-08 21:01:19 -03:00
Uriel
7f2be5f0f5
add more test cases for parse_game_ports
2026-03-08 14:49:06 -03:00
Uriel
2725720406
reformat file and change create_random_port_socket test
2026-03-08 07:01:29 -03:00
Uriel
10d2908339
add tests
2026-03-08 06:32:22 -03:00
Uriel
9653c8d29c
simplify tuple conversion check
2026-03-07 22:50:04 -03:00
Uriel
62afec9733
Update WebHostLib/customserver.py
...
Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com >
2026-03-07 22:24:13 -03:00
Uriel
62f56e165a
add return type to weighted random
2026-03-07 18:10:44 -03:00
Uriel
eebd83df76
fix while loop
2026-03-07 17:48:21 -03:00
Uriel
33f03387c4
this should check all usable ports before failing
2026-03-07 17:37:50 -03:00
Uriel
779dd46658
do it the duck way
2026-03-07 17:26:54 -03:00
Uriel
4ea7fbbcba
only use ranges
2026-03-07 17:18:03 -03:00
Uriel
9ab7c56791
use a named tuple on parse_game_ports
2026-03-07 17:13:50 -03:00
Uriel
e2823aa044
Apply suggestions from code review
...
Co-authored-by: Duck <31627079+duckboycool@users.noreply.github.com >
2026-03-07 16:52:57 -03:00
Uriel
368eafae86
fix random choices and move game_port conversion into tuple
2026-03-07 16:30:20 -03:00
Uriel
6779b4fcf3
fix last_used_ports not being updated locally
2026-03-07 15:09:53 -03:00
Uriel
6a94a9e6ca
change game_ports to be tuple
2026-03-07 15:02:08 -03:00
Uriel
c290386950
lazy init get_used_ports
2026-03-07 14:59:33 -03:00
Uriel
60773ddf83
rename variables and functions
2026-03-07 14:43:06 -03:00
Uriel
980a229aaa
fix net_connections not working on macOS
2026-03-05 19:07:44 -03:00
Uriel
f03d1cad3e
use weights for random port and remove more-itertools
2026-03-05 17:01:08 -03:00
Uriel
551dbf44f6
fix some reviews
2026-03-05 16:03:29 -03:00
Uriel
61f893437a
Apply suggestions from code review
...
Co-authored-by: Duck <31627079+duckboycool@users.noreply.github.com >
2026-03-05 15:51:09 -03:00
Uriel
08a6ee2b3a
fix port randomizer
2026-03-05 11:15:33 -03:00
Uriel
b0615590fc
add used ports cache and filter used ports when looking for ports
2026-03-05 10:34:33 -03:00
Uriel
0a0faefab2
reuse sockets with websockets api instead of opening and closing them
2026-03-05 09:53:23 -03:00
Uriel
d6473fa0ed
fix value type bug on ephemeral type
2026-03-05 08:42:09 -03:00
Uriel
f8b730308d
use yaml lists instead of string for config
2026-03-05 08:35:51 -03:00
Uriel
8800124c4e
try fixing test with try
2026-03-05 08:08:45 -03:00
Uriel
88dc83e557
remove unused argument
2026-03-05 07:47:32 -03:00
Uriel
ed77f58f13
fix what reviewers said and add some improvements
2026-03-05 07:42:33 -03:00
Uriel
9b098d6f6a
Merge branch 'main' into custom-port-range
2026-03-05 05:16:44 -03:00
Silvris
b372b02273
OptionCreator: 0.6.6 reported issues ( #5949 )
2026-03-04 19:47:30 +01:00
black-sliver
f26313367e
MultiServer: graceful shutdown for ctrl+c and sigterm ( #5996 )
2026-03-04 00:02:12 +01:00
Fabian Dill
a3e8f69909
Core: introduce finalize_multiworld and pre_output stages ( #5700 )
...
Co-authored-by: Ishigh1 <bonjour940@yahoo.fr >
Co-authored-by: Duck <31627079+duckboycool@users.noreply.github.com >
Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com >
2026-03-01 17:53:41 +01:00
Fabian Dill
922c7fe86a
Core: allow async def functions as commands ( #5859 )
2026-03-01 17:51:56 +01:00
Duck
e49ba2ff6f
Undertale: Use check_locations helper to avoid redundant sends ( #5993 )
2026-03-01 01:30:26 +01:00
Doug Hoskisson
61d5120f66
Core: use typing_extensions deprecated ( #5989 )
2026-03-01 00:14:33 +01:00
Chris W
ff5402c410
Fix(undertale): prevent massive bounce msg spam for position updates ( #5990 )
...
* fix(undertale): prevent massive bounce msg spam for position updates
* make sure player is removed on leaving / timing out
* do not check for tags: online, as bounce evaluation is or'd
2026-02-28 22:56:28 +00:00
black-sliver
fcccbfca65
MultiServer: don't keep multidata alive for race_mode ( #5980 )
2026-02-26 18:31:39 +00:00
black-sliver
2db5435474
CI: upgrade InnoSetup to 6.7.0 ( #5979 )
2026-02-26 10:34:23 +01:00
Aaron Wagener
eeb022fa0c
The Messenger: minor maintenance ( #5965 )
2026-02-26 02:24:50 +01:00
Duck
b30b2ecb07
Return new state man (Vi's note: I have chosen not to change this title) ( #5978 )
2026-02-25 20:52:34 +01:00
DrAwesome4333
699ca8adf6
WebHost: Add CORS headers to API Endpoints ( #5777 )
2026-02-25 02:47:54 +01:00