02543544df
[GetComplexityRoot] update totalFieldComplexity in queries, complexity for all total fields is calculated by getCountComplexity
2021-03-22 17:02:21 +01:00
a291c01a8c
move getComplexityRoot from the httpdelivery package to a new package querycomplexity
2021-03-22 16:38:00 +01:00
813a109df0
update algorithm that computes query complexity
2021-03-21 14:25:38 +01:00
2ab58084b3
increase complexity limity
2021-03-21 13:59:42 +01:00
1ad19d63b0
increase limit
2021-03-21 13:46:05 +01:00
1a63e5fa91
add the 'Select' option to the FetchConfigs
2021-03-21 13:03:39 +01:00
8cd2a928a1
remove query ('LiveEnnoblement')
2021-03-21 11:51:47 +01:00
d85e11ca9a
decrease version.FetchLimit from 100 to 30, update a formula that calculate query complexity
2021-03-21 08:05:02 +01:00
8d4ce284f5
move safeStrPointer and safeIntPointer from the resolvers package to the utils package
2021-03-21 07:50:19 +01:00
1f3450cfca
rename PaginationLimit -> FetchLimit
2021-03-21 07:42:12 +01:00
95dbbc4d8a
rename utils.SanitizeSortExpressions -> utils.SanitizeSorts, add query complexity limit
2021-03-20 18:13:45 +01:00
f7f71e5b6c
- bump github.com/tribalwarshelp/shared
...
- delete liveennoblement usecase/repository
- query `liveEnnoblements` is deprecated
2021-01-15 18:59:24 +01:00
3c7531a5ac
bump github.com/tribalwarshelp/shared, add a new field to the Player GraphQL model (LastActivityAt)
2021-01-09 15:05:16 +01:00
95768c7dc2
update cache-control header
2021-01-08 23:14:13 +01:00
f0a6374ddd
bump github.com/tribalwarshelp/shared | add two new fields to the TribeFilterOr input model (tag, name)
2021-01-08 18:23:18 +01:00
3a7f608e14
bump github.com/tribalwarshelp/shared, github.com/tribalwarshelp/map-generator and go-pg
2021-01-06 17:43:02 +01:00
2448eebdf0
GraphQL Schema - VersionCode is case-insensitive
2021-01-02 13:06:57 +01:00
47aca26fd1
add support for the Slovak version
2021-01-01 16:13:49 +01:00
6fc64fadbf
- bump github.com/tribalwarshelp/map-generator and github.com/tribalwarshelp/shared
...
- add one new field to the PlayerFilter and VillageFilter
server map generator:
- make player village color configurable
- make barbarian village color configurable
- fix issue with missing villages
- refactor map_usecase.GetMarkers
2020-12-30 17:04:40 +01:00
f6009dacb2
remove deprecated LangVersion
2020-12-25 12:42:46 +01:00
4a58bff0f6
resolvers refactor (add 3 new helpers - safeStrPointer, safeIntPointer and shouldCount)
2020-12-25 12:13:12 +01:00
4bccaab85d
add 2 new queries - SearchTribe and SearchPlayer + bump github.com/tribalwarshelp/shared
2020-12-25 12:07:54 +01:00
fb84bdbc55
[WIP] - refactor limit, sort, offset
...
- update the Version/Village repository and usecase
2020-11-21 12:34:25 +01:00
c18807c2f5
[WIP] - refactor limit, sort, offset
...
- update the ServerStats/Tribe/TribeChange/TribeHistory repository and usecase
2020-11-21 12:01:16 +01:00
05efc69b31
[WIP] - refactor limit, sort, offset
...
- update the Server/PlayerHistory repository and usecase
2020-11-21 10:50:52 +01:00
a854a4b80a
[WIP] - refactor limit, sort, offset
...
- update the Player/Ennoblement repository and usecase
2020-11-21 10:08:22 +01:00
01fdd80f7f
[WIP] - refactor limit, sort, offset
...
- rename middleware.MayExceedLimit to CanExceedLimit
- update the DailyTribeStats/DailyPlayerStats repository and usecase
- rename utils.SanitizeSort to utils.SanitizeSortExpression
- add two new utils - SanitizeSortExpressions and FindStringWithPrefix
2020-11-21 09:13:25 +01:00
c32e988e71
bump github.com/tribalwarshelp/shared
2020-11-07 08:40:53 +01:00
518d365191
langVersion is deprecated
2020-11-07 08:13:19 +01:00
e0ab8a538a
delete depreacted directive
2020-11-06 21:19:54 +01:00
00f824e706
bump github.com/tribalwarshelp/shared
2020-11-06 20:23:12 +01:00
ad2f56ad73
bump github.com/tribalwarshelp/shared + refactor liveenoblement repository
2020-10-31 12:33:01 +01:00
b08a067537
add opportunity to filter villages by XY
2020-08-09 15:10:44 +02:00
1cb75d0c15
bump github.com/tribalwarshelp/shared, add new language tags
2020-07-21 11:49:38 +02:00
cfd5cbfb69
add or filter to TribeChange | bump github.com/tribalwarshelp/shared
2020-07-18 11:16:37 +02:00
b3529e4a54
extend DailyTribeStatsFilter and DailyPlayerStatsFilter | ennoblement pg_repository is now appending EnnoblementFilterOr | update schema | update github.com/tribalwarshelp/shared
2020-07-17 11:52:42 +02:00
df5398a9a0
bump github.com/tribalwarshelp/shared, ServerConfigNight.defFactor Int -> FLoat
2020-07-16 13:35:04 +02:00
dda646ca2d
bump github.com/tribalwarshelp/shared
2020-06-29 15:01:42 +02:00
e629b30e97
fix typos
2020-06-28 13:55:37 +02:00
c19c510b24
add dailyplayerstats/dailytribestats resolvers/usecases/repositories
2020-06-25 16:02:00 +02:00
96517c9108
add new fields to Tribe/Player graphql types, bump github.com/tribalwarshelp/shared
2020-06-25 15:12:43 +02:00
df771d0503
bump github.com/tribalwarshelp/shared, add 2 new fields to Player graphql type: deletedAt and nameChanges, add 1 new field to Tribe graphql type: deletedAt
2020-06-24 16:40:29 +02:00
ebc2b95002
add tribechange usecase, repository, resolver
2020-06-24 15:25:31 +02:00
87562c3f4c
every date which API returns are in UTC timezone, resolver Player.Servers() is returning now servers from one specific game lang version, refactor
2020-06-24 15:05:31 +02:00
78435c0c1f
servermap is now scalable
2020-06-23 16:58:08 +02:00
0c6edadd10
added option to fetch servers which player joined
2020-06-23 11:40:48 +02:00
0c3c4e0d01
add new fields to tribe/player graphql type, bump github.com/tribalwarshelp/shared, make count optional in village repository, add option to generate servermap
2020-06-22 17:59:56 +02:00
4f29d21bcc
rename graphql type ServerStatsList to ServerStats
2020-06-21 14:45:41 +02:00
c40369a911
add serverstats usecase, repository and resolvers
2020-06-21 13:51:26 +02:00
ca2cb4debe
add playerhistory and tribehistory
2020-06-21 13:27:08 +02:00