0a271d1255
bump github.com/tribalwarshelp/shared and github.com/tribalwarshelp/map-generator
2021-05-05 19:32:45 +02:00
1a63e5fa91
add the 'Select' option to the FetchConfigs
2021-03-21 13:03:39 +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
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
fb84bdbc55
[WIP] - refactor limit, sort, offset
...
- update the Version/Village repository and usecase
2020-11-21 12:34:25 +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
b08a067537
add opportunity to filter villages by XY
2020-08-09 15:10:44 +02:00
73390475fc
add LimitWhitelist middleware
2020-08-09 14:32:46 +02:00
84ba37ebf0
bump github.com/tribalwarshelp/map-generator, optimize server map generation
2020-08-01 12:26:54 +02:00
dd9f7bd880
allow to sort DailyTribeStats, DailyPlayerStats, Players, Villages by relationship fields | improve SanitizeSort functionality
2020-07-18 11:02:30 +02:00
78435c0c1f
servermap is now scalable
2020-06-23 16:58:08 +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
373288e925
add PlayerFilter to VillageFilter and TribeFilter to PlayerFilter
2020-06-21 11:46:30 +02:00
917780f737
add coord filters
2020-06-18 17:15:31 +02:00
0ece3a49cf
change error messages, unexport DataloadersContextKey
2020-06-18 13:06:55 +02:00
87f1b61367
add sort sanitization
2020-06-04 15:06:32 +02:00
3bffcfa0d3
init
2020-06-02 17:45:21 +02:00