Commit Graph

123 Commits

Author SHA1 Message Date
3e4b90a1bd some formatting fixes 2022-11-03 03:39:22 +01:00
8e9fc43e4c use log format closer to apache common 2022-11-03 03:21:46 +01:00
6db43ad5f0 removed leftover gorilla mux 2022-11-03 03:20:37 +01:00
4b256dd594 fixed new lang selector 2022-09-13 13:28:05 +02:00
20289eb01f fixed panic if no Accept-Lang header os set 2022-09-13 06:04:40 +02:00
64cba30917 switched to go-retry for steam login; moved match reparsing higher in housekeeping 2022-08-26 17:15:59 +02:00
657ca32bb3 updated deps; regen ent 2022-08-15 12:10:15 +02:00
b8b9f82067 use fallback if not x-forwarded-for is present 2022-05-17 23:47:24 +02:00
2300d740d2 fixed x-forwarded-for 2022-05-16 22:14:27 +02:00
2887db2d4b added trusted proxies 2022-05-16 22:09:24 +02:00
04b42d47ab fixed missing function 2022-04-17 21:12:06 +02:00
6ffefa3616 fixed query param translate 2022-04-17 20:44:39 +02:00
9ae02cf593 switched to gin 2022-04-17 20:42:15 +02:00
acbfb97014 switched to rate.Limiter 2022-03-30 15:32:25 +02:00
9834095806 move login retry max to config 2022-03-07 12:56:56 +01:00
7260bedfa4 do not return translation if it matches the src text 2022-02-26 09:34:26 +01:00
11b08e42a3 corrected small typo 2022-02-16 07:19:43 +01:00
a80d8af91b fixed wrong else position 2022-02-12 02:59:56 +01:00
442add4a29 fixed translations being sent regardless of setting 2022-02-12 02:58:35 +01:00
47fce4fc1a fixed lang being wrongly used 2022-02-12 02:53:38 +01:00
ede3b58f7e added some debugging for language selections 2022-02-12 02:47:28 +01:00
1e2541c76b added caching to chat translation 2022-02-12 02:19:23 +01:00
8c672f7186 added timout to deepl post request 2022-02-12 01:59:32 +01:00
8fe8ec5233 moved translation to utils.go 2022-02-12 01:51:42 +01:00
5d299dfa17 do not add language tags to already good language 2022-02-12 01:27:21 +01:00
f2a859d084 fixed module path; added translate endpoint to chat API 2022-02-12 01:18:29 +01:00
440aa41396 added timeouts to config 2022-02-04 15:07:07 +01:00
466a000c86 reworked preventing parsing one match multiple times 2022-02-04 05:43:29 +01:00
6a4e2f3ee3 prevent HK from trying to reparse while parsing is in progress 2022-02-03 17:15:32 +01:00
182c7d8fc1 tracking tickrate 2022-02-03 16:27:29 +01:00
ff0ea43cea do not warn about missing avg rank 2022-02-02 11:49:08 +01:00
ede713c3df do not pass pointer to cache.Cache.Get() 2022-02-01 19:55:09 +01:00
f6b28cb4d2 fixed time not being updated 2022-02-01 19:41:43 +01:00
1aa7cc260a update steam profiles only once a day 2022-02-01 19:23:41 +01:00
4b3b8d8053 trim whitespaces so sharecode does match 2022-02-01 03:17:37 +01:00
c822ce9396 try parsing match first 2022-02-01 02:31:00 +01:00
26c5e0558c return 400 if player without matches tries to track himself without providing a valid sharecode 2022-02-01 00:53:56 +01:00
15b83ede7d fixed matchPlayer edge not populated 2022-01-29 21:04:46 +01:00
2ab620ec54 added /match/chat endpoint 2022-01-29 21:03:10 +01:00
2f15560d84 fixed SIGSEGV if no messages are present 2022-01-29 20:21:49 +01:00
1928a9df64 add timeouts to net/http serve 2022-01-19 13:18:21 +01:00
e6490be8bd close http body where possible 2021-12-13 19:22:59 +01:00
04db357568 fixed avgrank failing if no rank is present in game 2021-12-06 19:22:28 +01:00
422b8aee05 fixed match average rank including unranked players on /matches 2021-12-05 13:22:59 +01:00
c24a9c8757 fixed match average rank including unranked players 2021-12-05 13:20:33 +01:00
f1a7990625 added reload signal 2021-12-03 05:05:28 +01:00
c1189eb839 added listening info 2021-11-21 18:52:40 +01:00
58317ed5fa added check for missing players to HK 2021-11-18 00:01:57 +01:00
85b38b07c1 improved logging 2021-11-16 14:06:52 +01:00
314b3c5067 don't return player not found 2021-11-16 14:05:22 +01:00