153 Commits

Author SHA1 Message Date
dacc86dd83 updated deps; code cleanup; updated golangci linter conf 2023-08-07 22:38:24 +02:00
e9e3e02a39 set sitemap back to <10k, since 50k does not seem to work with some search engines 2023-03-26 12:04:55 +02:00
0e126df3db pass listen struct to defer func directly 2023-03-09 14:10:41 +01:00
7a5acb5fc3 added /sitemap/index and return 400 if index parsing fails 2023-03-09 12:15:43 +01:00
1cae00e85d restored 50k sitemaps 2023-03-06 01:52:15 +01:00
05b6f17136 reduced urls in sitemaps to 5k 2023-03-04 16:58:25 +01:00
8f11a3586a added 10k url limit; update dep 2023-03-04 16:14:31 +01:00
2f1c5d0d83 added gzip compression to sitemap endpoints 2023-03-04 15:03:18 +01:00
4a46e43ce7 added head requests to sitemaps 2023-03-04 00:22:17 +01:00
5c3abbe463 added /matches to sitemap 2023-03-03 21:09:12 +01:00
793032ffd7 serve index on sitemap.xml 2023-03-03 20:53:29 +01:00
84f8f866b0 return 404 is no sitemap exists 2023-03-03 20:47:00 +01:00
ea8a91c0d3 test different path param /2 2023-03-03 20:35:59 +01:00
2b0384e3a8 test different path param 2023-03-03 20:34:30 +01:00
ed283c92f3 replaced old module path in source 2023-03-03 20:16:12 +01:00
727d530378 updated deps; switched sitemap lib; ent regen 2023-03-03 20:10:31 +01:00
cb8185e5bb use buffer to deliver sitemap 2022-12-07 15:39:17 +01:00
ba1a1cf31f do not close writer prematurely 2022-12-07 15:31:12 +01:00
b6407514da fixed content length 2022-12-07 15:21:34 +01:00
97cf95185b added sitemap 2022-12-07 15:19:35 +01:00
56059d2cd0 separated rate limiter for sharecode endpoint 2022-11-28 19:05:58 +01:00
ca914ea42b logging improvements 2022-11-28 13:11:06 +01:00
d856b32139 fixed wrong player append logic 2022-11-28 13:01:59 +01:00
1ac07c2f5a reworked sharecode return 2022-11-28 12:48:19 +01:00
43c91b694e some more code cleanup 2022-11-27 20:02:31 +01:00
741fe4c4dd final linter fixes 2022-11-20 18:34:19 +01:00
64fd38709b more linter fixes 2022-11-20 18:31:09 +01:00
5b938f4d06 updated deps, added golangci linter 2022-11-20 18:11:52 +01:00
6543226526 improved log message 2022-11-16 08:49:33 +01:00
40f95cfb6e error handling for tracked players having no match found 2022-11-16 08:33:09 +01:00
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