Commit Graph

169 Commits

Author SHA1 Message Date
Dawid Wysokiński f4cb4c1f20
update ServerConfigGame.FakeLimit (int -> float64) 2022-02-18 11:17:29 +01:00
Dawid Wysokiński a52277d8a5
Merge pull request #13 from tribalwarshelp/renovate/github.com-go-pg-pg-v10-10.x
fix(deps): update module github.com/go-pg/pg/v10 to v10.10.6
2021-09-24 06:47:19 +02:00
Renovate Bot df5441fd3e
fix(deps): update module github.com/go-pg/pg/v10 to v10.10.6 2021-09-23 14:40:34 +00:00
Dawid Wysokiński f6de0a03b1
Merge pull request #12 from tribalwarshelp/renovate/github.com-go-pg-pg-v10-10.x
fix(deps): update module github.com/go-pg/pg/v10 to v10.10.5
2021-09-04 14:56:29 +02:00
Renovate Bot 13536f05a3
fix(deps): update module github.com/go-pg/pg/v10 to v10.10.5 2021-09-04 07:35:16 +00:00
Dawid Wysokiński 340bd352f4
Merge pull request #11 from tribalwarshelp/renovate/github.com-go-pg-pg-v10-10.x
fix(deps): update module github.com/go-pg/pg/v10 to v10.10.4
2021-08-25 15:19:36 +02:00
Renovate Bot 5937d45a70
fix(deps): update module github.com/go-pg/pg/v10 to v10.10.4 2021-08-25 11:47:02 +00:00
Dawid Wysokiński 6c7e460dae bump go version 2021-08-22 16:11:20 +02:00
Dawid Wysokiński 9fe0aafafe
Merge pull request #9 from tribalwarshelp/renovate/github.com-go-pg-pg-v10-10.x
fix(deps): update module github.com/go-pg/pg/v10 to v10.10.3
2021-07-23 12:46:16 +02:00
Renovate Bot 914517ebc4
fix(deps): update module github.com/go-pg/pg/v10 to v10.10.3 2021-07-23 07:58:27 +00:00
Dawid Wysokiński 6efa1a4f61 use buildURL for fallbacks 2021-07-17 11:44:29 +02:00
Dawid Wysokiński e9473847ca fix: add fallback to not gzziped version 2021-07-17 11:28:47 +02:00
Dawid Wysokiński 8763e0013d fix: missing protocol scheme in VersionDataloader 2021-07-17 11:13:14 +02:00
Dawid Wysokiński 5030d62000 ServerDataLoader.LoadOD - replace fmt.Sprintf with string concatenation 2021-07-17 09:05:14 +02:00
Dawid Wysokiński 2875c56885
Merge pull request #8 from tribalwarshelp/feat/add-tests
feat: add tests - twdataloader
2021-07-17 07:51:02 +02:00
Dawid Wysokiński ee20d129af add TestLoadEnnoblements 2021-07-17 07:49:16 +02:00
Dawid Wysokiński 4e82ae6bed rename a few fields in the handlers struct and add two new (conquer, getConquer) 2021-07-17 07:20:22 +02:00
Dawid Wysokiński 77e67c83dd add TestLoadVillages 2021-07-17 07:08:00 +02:00
Dawid Wysokiński db02f8c4ae add TestLoadTribes 2021-07-17 06:48:57 +02:00
Dawid Wysokiński 1de6302b52 add more scenarios to TestLoadPlayers 2021-07-17 06:36:00 +02:00
Dawid Wysokiński 25c3a4f2bc add more scenarios to TestLoadOD, add one more test - TestLoadPlayers 2021-07-17 06:23:37 +02:00
Dawid Wysokiński f30ef110da add scenarios to TestLoadOD 2021-07-14 06:40:58 +02:00
Dawid Wysokiński 6e3d32648d fix one typo 2021-07-13 16:47:11 +02:00
Dawid Wysokiński 3a2ea77dd7 Merge branch 'master' into feat/add-tests
# Conflicts:
#	tw/twdataloader/server_data_loader.go
2021-07-13 16:46:46 +02:00
Dawid Wysokiński ef3e1dd459 ServerDataLoader - remove fallbacks to not gzziped files 2021-07-13 16:43:19 +02:00
Dawid Wysokiński 4613155d5d add server_data_loader_test.go 2021-07-13 16:40:29 +02:00
Dawid Wysokiński 1248c0d7db prepareTestServer refactor 2021-07-13 16:26:53 +02:00
Dawid Wysokiński a2e82ef96b VersionDataLoader.LoadServer doesn't need https:// 2021-07-13 15:58:21 +02:00
Dawid Wysokiński 477970b0a6 use w.Write instead of fmt.Fprintln 2021-07-13 15:44:44 +02:00
Dawid Wysokiński 232d9caad3 add more checks in VersionDataLoader.LoadServers, add more tests 2021-07-13 11:09:59 +02:00
Dawid Wysokiński 4de5ad58d8 go mod tidy 2021-07-13 07:31:45 +02:00
Dawid Wysokiński de68ea117b add version_data_loader_test.go 2021-07-13 07:30:45 +02:00
Dawid Wysokiński 6456a82235
Merge pull request #7 from tribalwarshelp/refactor/return-types-not-interfaces
refactor: return types, not interfaces
2021-07-13 06:24:37 +02:00
Dawid Wysokiński ab964b7c34 refactor: return types, not interfaces 2021-07-13 06:24:10 +02:00
Dawid Wysokiński dcd6203b1f
Merge pull request #6 from tribalwarshelp/renovate/github.com-go-pg-pg-v10-10.x
fix(deps): update module github.com/go-pg/pg/v10 to v10.10.2
2021-07-12 11:24:56 +02:00
Renovate Bot 4a2363d75f
fix(deps): update module github.com/go-pg/pg/v10 to v10.10.2 2021-07-12 09:02:52 +00:00
Dawid Wysokiński f3e5bd0929
Merge pull request #5 from tribalwarshelp/renovate/github.com-go-pg-pg-v10-10.x
fix(deps): update module github.com/go-pg/pg/v10 to v10.10.1
2021-07-04 22:07:04 +02:00
Renovate Bot 3e2c12ef8b
fix(deps): update module github.com/go-pg/pg/v10 to v10.10.1 2021-07-04 16:07:43 +00:00
Dawid Wysokiński 87345b27f5
Merge pull request #4 from tribalwarshelp/renovate/configure
Configure Renovate
2021-07-04 18:07:31 +02:00
Renovate Bot d7569ddff0
Add renovate.json 2021-07-04 15:38:52 +00:00
Dawid Wysokiński 1eaae48e4c
Merge pull request #3
chore: update README.md
2021-06-06 19:25:08 +02:00
Dawid Wysokiński ee746f739b chore: update README.md 2021-06-06 19:24:24 +02:00
Dawid Wysokiński c89c06509e go mod tidy 2021-05-21 22:52:00 +02:00
Dawid Wysokiński fcef062f6b bump github.com/Kichiyaki/gopgutil/v10 2021-05-21 22:50:55 +02:00
Dawid Wysokiński 50a8677fb0
Merge pull request #2 from tribalwarshelp/develop
refactor, use github.com/Kichiyaki/gopgutil
2021-05-06 15:59:34 +02:00
Dawid Wysokiński bf85190fd6 add one more relation to PlayerHistoryFilter.WhereWithRelations (Player.Tribe) 2021-05-05 19:24:13 +02:00
Dawid Wysokiński 9aa09097fd add one more relation to DailyPlayerStatsFilter.WhereWithRelations (Player.Tribe) 2021-05-05 19:15:18 +02:00
Dawid Wysokiński 8f3c5a71b8 register models in orm 2021-05-05 19:02:52 +02:00
Dawid Wysokiński 79d8dc1929 fix two grammar mistakes 2021-05-05 13:34:09 +02:00
Dawid Wysokiński 7ae8606da1 appendFilters: only append relation if this relation hasn't been added 2021-05-05 13:31:01 +02:00