Commit Graph

329 Commits

Author SHA1 Message Date
Mia
b6b3863264 Fix mistake in getHost and match behavior with PHP 2021-10-25 17:42:03 -05:00
Mia
3fc21ba2b1 Properly match servertoken validation 2021-10-25 17:34:02 -05:00
Mia
1e4b68c28f Update JSON handling to allow for more use 2021-10-25 15:29:53 -05:00
Mia
fd13a21060 Fix checks and tidy some stuff up in json handling 2021-10-24 13:49:34 -05:00
Mia
ef9fa14b18 Improve JSON handling v2 2021-10-24 13:37:04 -05:00
Mia
cd74ef88d9 Improve JSON handling 2021-10-24 13:34:55 -05:00
Mia
3057cbc2aa Improve application/json handling for json requests 2021-10-24 13:01:20 -05:00
Mia
0509f112a0 Ensure connection: close headers are sent 2021-10-21 22:05:08 -05:00
Mia
9b0984477b toID some more stuff 2021-10-21 22:04:56 -05:00
Mia
f425e8e244 Fix prepreplay return values 2021-10-20 19:24:38 -05:00
Mia
ccb1397499 Restore old handling for action errors in multiple requests 2021-10-20 19:15:03 -05:00
Mia
0740c79af1 Use ActionError for error handling 2021-10-20 19:14:44 -05:00
Mia
0f0ec662a4 Remove validate-token.js
still in the old repo anyway.
2021-10-20 19:11:28 -05:00
Mia
f3d810c520 Dispatcher: Make loadServers accept an argument 2021-10-20 19:08:01 -05:00
Mia
877048d43e Ensure src/lib/load-servers.php is called from current dir 2021-10-20 18:58:39 -05:00
Mia
ea4e31dc53 Add test for servers loading 2021-10-19 21:35:25 -05:00
Mia
94ebbcd1a4 Use execFile for server loading 2021-10-19 21:23:33 -05:00
Mia
c8686db905 Move hardcodes to config-example 2021-10-19 21:06:38 -05:00
Mia
56de3d2d64 Use floor instead of round in time() 2021-10-18 12:39:40 -05:00
Mia
5dd3695003 Accept arguments in src/load-servers.php for path to load from 2021-10-14 21:07:11 -05:00
Mia
8a51a9fff3 Code review stuff 2021-10-14 20:32:02 -05:00
Mia
20b39ff798 fix crashlogger requiring 2021-10-14 14:11:03 -05:00
Mia
a01abac859 Adjust servers loader 2021-10-14 10:16:33 -05:00
Mia
266f65f443 bandaid test linter 2021-10-11 21:39:59 -05:00
Mia
462e6e6a3c Fix compiling 2021-10-11 21:25:44 -05:00
Mia
93e6bf862d Re-add config 2021-10-11 21:12:01 -05:00
Mia
fdbf9198d0 Run tsc in tests 2021-10-11 20:53:16 -05:00
Mia
a112419c5e Fix actions? 2021-10-11 20:50:59 -05:00
Mia
794f814bf2 WIP 2021-10-11 20:47:59 -05:00