3b4f42e344
feat: update data - integration tests ( #186 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#186
2023-02-16 06:37:48 +00:00
60d6dc1423
feat: add SliceValidationError
continuous-integration/drone/push Build is passing
2023-02-13 06:19:30 +01:00
912d39158f
refactor: query params ( #183 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#183
2023-02-13 05:06:07 +00:00
29e67e2bf8
refactor: categorize tests - short/long running
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-02-11 09:12:17 +01:00
e598254616
refactor: simplify tw.Client & tests ( #182 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#182
2023-02-11 07:36:56 +00:00
bf29ab4799
feat: new rest endpoint - /versions/{code}/servers/{key}/tribes/{id}/tribe-changes ( #181 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#181
2023-02-10 05:56:39 +00:00
db003cd5fd
refactor: rest - remove rank sup/score sup from TribeSnapshot
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-02-08 07:18:46 +01:00
badb7276fb
refactor: check if len() > 0 instead of != nil for slices
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-02-08 07:04:22 +01:00
c6be9a6012
feat: new rest endpoint - /versions/{code}/servers/{key}/tribes/{id}/history ( #180 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#180
2023-02-08 05:50:54 +00:00
bdaa14424c
fix: tests
continuous-integration/drone/push Build is passing
2023-02-07 06:59:45 +01:00
ad32a4d8d1
refactor: new type - date
continuous-integration/drone/push Build is failing
2023-02-07 06:38:03 +01:00
9096a1a6e3
feat: new rest endpoint - /versions/{code}/servers/{key}/tribes/{id}/members ( #179 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#179
2023-02-06 07:18:32 +00:00
5379e75d79
chore(deps): update module github.com/golangci/golangci-lint to v1.51.1 ( #178 )
...
continuous-integration/drone/push Build is failing
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) | require | patch | `v1.51.0` -> `v1.51.1` |
---
### Release Notes
<details>
<summary>golangci/golangci-lint</summary>
### [`v1.51.1`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1511 )
[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.51.0...v1.51.1 )
1. updated linters
- `ginkgolinter`: from 0.7.1 to 0.8.1
- `ineffassign`: bump to HEAD
- `musttag`: from 0.4.3 to 0.4.4
- `sqlclosecheck`: from 0.3.0 to 0.4.0
- `staticcheck`: bump to v0.4.0
- `wastedassign`: from 2.0.6 to 2.0.7
- `wrapcheck`: from 2.7.0 to 2.8.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTQuMSIsInVwZGF0ZWRJblZlciI6IjM0LjExNC4xIn0=-->
Co-authored-by: Renovate <renovate@dwysokinski.me>
Reviewed-on: twhelp/core#178
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-02-06 06:16:23 +00:00
6a44087d0f
chore(deps): update module github.com/maxbrunsfeld/counterfeiter/v6 to v6.6.1 ( #177 )
...
continuous-integration/drone/push Build is passing
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/maxbrunsfeld/counterfeiter/v6](https://github.com/maxbrunsfeld/counterfeiter ) | require | minor | `v6.5.0` -> `v6.6.1` |
---
### Release Notes
<details>
<summary>maxbrunsfeld/counterfeiter</summary>
### [`v6.6.1`](https://github.com/maxbrunsfeld/counterfeiter/releases/tag/v6.6.1 )
[Compare Source](https://github.com/maxbrunsfeld/counterfeiter/compare/v6.6.0...v6.6.1 )
- ⚡ fix GitHub Actions workflow: `setup-go` directive for `go 1.20` requires quotes for version `'1.20'`
Detailed changes: https://github.com/maxbrunsfeld/counterfeiter/compare/v6.6.0...v6.6.1
### [`v6.6.0`](https://github.com/maxbrunsfeld/counterfeiter/releases/tag/v6.6.0 )
[Compare Source](https://github.com/maxbrunsfeld/counterfeiter/compare/v6.5.0...v6.6.0 )
- ⬆️ update dependencies
Detailed changes: https://github.com/maxbrunsfeld/counterfeiter/compare/v6.5.0...v6.6.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTQuMSIsInVwZGF0ZWRJblZlciI6IjM0LjExNC4xIn0=-->
Co-authored-by: Renovate <renovate@dwysokinski.me>
Reviewed-on: twhelp/core#177
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-02-05 07:31:38 +00:00
3546426a6a
refactor(rest): simplify list functions
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-02-03 08:31:32 +01:00
7ae52c408e
feat: new API endpoint GET /api/v1/versions/:code/servers/:key/tribes/:id/ennoblements
continuous-integration/drone/push Build is passing
2023-02-03 08:17:19 +01:00
26e97e2206
chore: update github.com/golangci/golangci-lint to v1.51.0
continuous-integration/drone/push Build is passing
2023-02-03 07:33:57 +01:00
a8da8b1d3f
feat: new API endpoint GET /api/v1/versions/:code/servers/:key/villages/:id/ennoblements ( #173 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#173
2023-02-02 06:40:01 +00:00
0dbcd3340d
chore: update deps + Go 1.20
continuous-integration/drone/push Build is passing
2023-02-02 06:52:00 +01:00
bef22cdfd4
refactor: meta.New - variadic function
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-01-31 06:20:02 +01:00
1514199de8
feat: add a new API endpoint - GET /versions/{code}/servers/{key}/players/{id}/other-servers ( #168 )
...
continuous-integration/drone/push Build is failing
Reviewed-on: twhelp/core#168
2023-01-31 05:17:07 +00:00
df9410ee45
refactor: remove other servers - player
continuous-integration/drone/push Build is passing
2023-01-28 07:19:33 +01:00
4d176b2f10
refactor: rest.New - introduce required/optional args
continuous-integration/drone/push Build is passing
2023-01-27 07:03:20 +01:00
c02b77fe6f
refactor: defers
continuous-integration/drone/push Build is passing
2023-01-22 09:58:43 +01:00
428333572d
refactor(rest): ennoblement - update model ( #162 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#162
2023-01-21 14:20:48 +00:00
d77c6150ad
feat: server - add new endpoints ( #161 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#161
2023-01-21 08:05:51 +00:00
7e7187ca10
chore(deps): update module github.com/uptrace/bun to v1.1.10 ( #160 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#160
2023-01-17 15:53:11 +00:00
4d6ba4eb60
feat: tribe change - add indexes ( #155 )
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: twhelp/core#155
2023-01-15 09:17:40 +00:00
d3a6964eb7
feat: add a new REST endpoint - GET /api/v1/versions/{code}/servers/{key}/players/{id}/tribe-changes ( #154 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#154
2023-01-15 08:11:02 +00:00
08140aac38
refactor: use serverFromContext/versionFromContext instead of chi.URLParamFromCtx
continuous-integration/drone/push Build is passing
2023-01-14 08:23:52 +01:00
0bc9fd0c88
refactor: rename one variable
continuous-integration/drone/push Build is passing
2023-01-13 06:57:57 +01:00
35719e5787
refactor: rest - middlewares
continuous-integration/drone/push Build is passing
2023-01-13 06:56:47 +01:00
4e44a25acb
refactor: sorts - new constructors
continuous-integration/drone/push Build is passing
2023-01-13 06:28:44 +01:00
d5db61cbc2
refactor: make query params parser more generic
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-01-10 07:42:51 +01:00
c2a35d4c98
feat: add a new endpoint - GET /api/v1/versions/:code/servers/:key/players/:id/history ( #152 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#152
2023-01-10 06:16:28 +00:00
1d9b1c32f3
refactor: cors - add tests
continuous-integration/drone/push Build is passing
2023-01-04 06:55:52 +01:00
04e3f1d6bd
feat: new API endpoint - GET /api/v1/versions/{code}/servers/{key}/players/{id}/ennoblements ( #151 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#151
2023-01-04 05:21:02 +00:00
db6f5a70f4
refactor: rename one variable (ennoblementWithoutRelations -> ennoblement)
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-01-02 06:56:01 +01:00
9b89c51706
feat: player - other servers ( #150 )
...
continuous-integration/drone/push Build is failing
Reviewed-on: twhelp/core#150
2023-01-02 05:48:27 +00:00
c1d987394c
feat: tribe - add more fields to api
continuous-integration/drone/push Build is passing
2023-01-01 09:56:38 +01:00
8739572c9b
feat: player - add more fields to api
continuous-integration/drone/push Build is passing
2023-01-01 09:35:17 +01:00
c545ebd7d7
refactor: rename domain.UserError -> domain.Error
continuous-integration/drone/push Build is passing
2022-12-31 11:00:30 +01:00
e9c0cb716e
refactor: ennoblements - sort only by createdAt
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-12-30 09:53:28 +01:00
b669bbc2ff
feat: auto cleanup - ennoblements
continuous-integration/drone/push Build is passing
2022-12-30 09:00:25 +01:00
1c0d7034b2
feat: server - add new fields to API
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-12-29 11:24:03 +01:00
75aba22cf8
feat: server - add new fields ( #149 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#149
2022-12-29 10:02:21 +00:00
1caad44e51
fix: player/tribe snapshot - clean up data only when Special = false
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-12-28 11:25:23 +01:00
75d909ac6e
refactor: ennoblement/village - improve query performance - ListCountWithRelations
continuous-integration/drone/push Build is passing
2022-12-28 11:11:58 +01:00
932793a4bc
fix: ennoblement - server key shouldn't be included in pkey
continuous-integration/drone/push Build is passing
2022-12-28 09:26:35 +01:00
6296382130
feat: auto cleanup - tribe snapshots ( #148 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#148
2022-12-27 10:55:08 +00:00