1a63e5fa91
add the 'Select' option to the FetchConfigs
2021-03-21 13:03:39 +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
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
2e92d09a2e
update api error messages
2021-01-13 20:46:24 +01:00
3a7f608e14
bump github.com/tribalwarshelp/shared, github.com/tribalwarshelp/map-generator and go-pg
2021-01-06 17:43:02 +01:00
4bccaab85d
add 2 new queries - SearchTribe and SearchPlayer + bump github.com/tribalwarshelp/shared
2020-12-25 12:07:54 +01:00
46f3240398
sort player name changes by changeDate
2020-12-04 19:55:28 +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
00f824e706
bump github.com/tribalwarshelp/shared
2020-11-06 20:23:12 +01:00
73390475fc
add LimitWhitelist middleware
2020-08-09 14:32:46 +02:00
dd9f7bd880
allow to sort DailyTribeStats, DailyPlayerStats, Players, Villages by relationship fields | improve SanitizeSort functionality
2020-07-18 11:02:30 +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
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
0c6edadd10
added option to fetch servers which player joined
2020-06-23 11:40:48 +02:00
373288e925
add PlayerFilter to VillageFilter and TribeFilter to PlayerFilter
2020-06-21 11:46:30 +02:00
0ece3a49cf
change error messages, unexport DataloadersContextKey
2020-06-18 13:06:55 +02:00
00c63df35a
expose port in dockerfile
2020-06-05 17:17:46 +02:00
87f1b61367
add sort sanitization
2020-06-04 15:06:32 +02:00
3bffcfa0d3
init
2020-06-02 17:45:21 +02:00