Commit Graph

60 Commits

Author SHA1 Message Date
efd0f9a6af removed locks, switching to WAL for SQLite default 2021-10-25 02:22:02 +02:00
676e9fb566 sped up /meta 2021-10-24 19:38:04 +02:00
9e08c80da5 dep. update, set cache in demo_loader 2021-10-24 07:41:54 +02:00
3124a849f1 cap limit, cache key contains limit 2021-10-23 23:32:36 +02:00
c5777bcfad fixed rounds endpoint 2021-10-23 22:44:54 +02:00
b06da1647b switched up cors handling /2 2021-10-23 22:41:53 +02:00
2ad7b848dc switched up cors handling 2021-10-23 22:33:32 +02:00
d0c35fe624 added endpoint with optional limit 2021-10-23 21:55:56 +02:00
9ebebe18af added endpoint for sidebar metastats 2021-10-23 21:53:06 +02:00
cd6cd6bf58 added gameban as separate thing 2021-10-23 00:14:24 +02:00
312e10f836 fixed vacdate not showing up 2021-10-22 23:16:38 +02:00
7d1dcaa555 removed field vac, use date instead 2021-10-22 23:11:35 +02:00
d049f3ea53 add replay_url to response if demo is _not_ expired 2021-10-22 21:24:26 +02:00
6bbe6c5732 added replay url te matchResponse 2021-10-22 21:22:02 +02:00
c6bbc31188 switched to unix time 2021-10-22 21:08:07 +02:00
09571fc447 reverted pgx changes 2021-10-21 19:46:23 +02:00
18282afcf6 changed way pgx connects 2021-10-21 19:44:36 +02:00
dc3fa96550 added after endpoint 2021-10-21 17:56:59 +02:00
6aaa0f2e48 first already limits to 1, no need for limit 2021-10-20 00:23:58 +02:00
de738aa458 more logging improvements 2021-10-20 00:13:24 +02:00
df33974b49 removed rateLimit from http router requests
improved logging
2021-10-20 00:11:42 +02:00
da7d240707 fixed not handling steam error, updated steamapi dep 2021-10-19 03:51:07 +02:00
aa6eb72edf init match stats before using 2021-10-17 18:50:10 +02:00
47ef2cf453 check for redis nil 2021-10-17 18:46:44 +02:00
468cda4d26 return if no matches found /3 2021-10-17 18:43:15 +02:00
29e6dcd454 return if no matches found /2 2021-10-17 18:23:27 +02:00
3a080bc36f return if no matches found 2021-10-17 18:18:45 +02:00
e6f6cab9d1 added pgx handling 2021-10-17 18:15:05 +02:00
05e199d7f1 switched postgresql dep. 2021-10-17 18:02:23 +02:00
f8579f9768 added rounds endpoint 2021-10-17 17:44:57 +02:00
4c23d49a22 id comes from muxVars now 2021-10-17 12:54:33 +02:00
f9d7224479 improved logging 2021-10-17 12:29:59 +02:00
d39cdf8ed6 better sharecode api handling, renamed endpoint to /player/id/track 2021-10-17 12:27:35 +02:00
fd8c026a8e added roundstats with eco info, switched to avatar hash 2021-10-17 03:52:20 +02:00
7f5a2f8956 improved logging, start http server right away 2021-10-16 03:54:41 +02:00
716a966551 fixed function call 2021-10-16 03:43:34 +02:00
99ec0ad1bc [FEATURE] Detailed stats about player weapon usage and hitgroups (#1)
Reviewed-on: https://git.harting.dev/CSGOWTF/csgowtfd/pulls/1
Co-authored-by: Giovanni Harting <539@idlegandalf.com>
Co-committed-by: Giovanni Harting <539@idlegandalf.com>
2021-10-16 01:49:52 +02:00
ea0fd3459c added some info logs 2021-10-09 19:39:16 +02:00
1cf61d8c74 added missing lock 2021-10-09 19:27:57 +02:00
e938b05f52 refactored some functions, added demo download retry 2021-10-09 19:10:38 +02:00
15b273f052 deleted round from db/response 2021-10-09 00:57:05 +02:00
1355dfad8d fixed round return 2021-10-08 21:33:25 +02:00
d5e9246112 return after writing header 2021-10-08 21:04:09 +02:00
cce5c5d072 return color by string, added rounds since maxrounds is not defined in pre-riptide matches 2021-10-08 20:59:14 +02:00
cc48365eea added cache for meta-stats 2021-10-08 18:29:15 +02:00
1816c5a2b5 fixed match win/loss/ties 2021-10-08 17:15:06 +02:00
2822aed294 correct log-level to error 2021-10-07 21:19:26 +02:00
62d8d16fc9 added match meta stats 2021-10-07 21:15:48 +02:00
d40abc31a8 added dotfiles to config 2021-10-05 20:09:24 +02:00
e8d3fac567 fixed param order 2021-10-05 19:51:33 +02:00