9516140c0f
use make to initialize slices in the repositories
2021-05-06 17:01:22 +02:00
7f59bcf2cd
limit the number of orders someone can add to a query (3)
2021-05-05 20:15:51 +02:00
6a44193f31
slices - use nil declaration
2021-05-05 19:58:45 +02:00
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
8cd2a928a1
remove query ('LiveEnnoblement')
2021-03-21 11:51:47 +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
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
73390475fc
add LimitWhitelist middleware
2020-08-09 14:32:46 +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
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
52b6f59d94
add ennoblement resolvers, usecase, repository
2020-06-21 12:26:57 +02:00
6e814adae6
rename ennoblement -> liveennoblement, bump github.com/tribalwarshelp/shared
2020-06-21 11:30:01 +02:00
74267fbd86
add unit_config, server_config, building_config and dataUpdatedAt fields to graphql
2020-06-19 19:50:23 +02:00
25e69a54a2
cache ennoblements
2020-06-12 18:26:48 +02:00
323e9b4ca5
refactor ennoblement/repository csv line parser, add dev.sh
2020-06-07 16:53:32 +02:00
eaa9068677
change line index in ennoblement/parseLine
2020-06-04 17:09:18 +02:00
1f153b3fe5
add ennoblement
2020-06-03 17:21:28 +02:00