Commit Graph

178 Commits

Author SHA1 Message Date
4c31c4a12f
chore: downgrade github.com/swaggo/http-swagger to v1.3.3
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-03-21 05:53:59 +01:00
3a6d2901df
chore: update deps
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-03-21 05:37:43 +01:00
39b7169324
refactor: tribe snapshot service - simplify tests
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-02 06:51:32 +01:00
89b73d3429
refactor: server service - simplify tests
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-02 06:27:52 +01:00
3dfc54e427
refactor: village service - simplify tests
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-02 06:12:20 +01:00
d55de9cd1b
refactor: tribe change service - simplify tests
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-01 07:14:50 +01:00
644fd55274
refactor: tribe service - simplify tests
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-01 07:06:10 +01:00
1e6e1efc04
fix: add missing test
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-28 07:03:42 +01:00
1f88523f5a refactor: player service - simplify tests (#196)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#196
2023-02-28 06:01:53 +00:00
c2a73114cc
refactor: player snapshot service - simplify tests
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-27 06:54:20 +01:00
e5ec14c60e
refactor: ennoblement service - simplify tests
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-27 06:38:37 +01:00
cde9990810
refactor: refresh servers cmd - send url instead of just host in payload
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-02-26 10:20:32 +01:00
42f95d6dd1
fix: tribe - fix incorrect most points logic
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-26 09:51:52 +01:00
56dc421bd0
refactor(tw): improve test quality & refactor ParseError
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-26 08:42:02 +01:00
419c23673d
refactor(msg): tests - update data/ennoblements - add check if r.Method == "GET"
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-26 07:15:28 +01:00
fca59c0a56
refactor(msg): tests - update data - set waitFor to 60s
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-26 07:08:20 +01:00
8080b2d6fd
refactor: rename fn -> f, loadJSONFile -> readJSONFile
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-24 07:24:16 +01:00
c86ce6ad8b feat(msg): new integration test - CreateSnapshots (#194)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#194
2023-02-24 06:16:47 +00:00
a530fdbe99
refactor(msg): simplify publishers
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-24 06:02:34 +01:00
8b01b42949
refactor(msg): simplify publishers
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-24 05:52:33 +01:00
17d5068238
refactor(msg): refactor integration tests
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-23 07:45:52 +01:00
6c279ee473 feat(msg): add a new integration test - TestUpdateEnnoblements (#193)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#193
2023-02-21 07:04:54 +00:00
065b7c488a
chore(deps): update module github.com/golangci/golangci-lint to v1.51.2
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-20 07:24:40 +01:00
1d4adc4b7a
fix: fix tests
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-02-17 06:56:05 +01:00
1197026968
fix: incorrect model in drop index
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-17 06:41:33 +01:00
b047325d09
feat: ennoblements - add more indexes
Some checks reported errors
continuous-integration/drone/push Build was killed
2023-02-17 06:40:02 +01:00
3b4f42e344 feat: update data - integration tests (#186)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#186
2023-02-16 06:37:48 +00:00
60d6dc1423
feat: add SliceValidationError
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-13 06:19:30 +01:00
912d39158f refactor: query params (#183)
All checks were successful
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
All checks were successful
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)
All checks were successful
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)
All checks were successful
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
All checks were successful
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
All checks were successful
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)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#180
2023-02-08 05:50:54 +00:00
bdaa14424c
fix: tests
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-07 06:59:45 +01:00
ad32a4d8d1
refactor: new type - date
Some checks failed
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)
All checks were successful
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)
Some checks failed
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)
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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)
All checks were successful
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
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-02 06:52:00 +01:00
bef22cdfd4
refactor: meta.New - variadic function
All checks were successful
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)
Some checks failed
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
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-28 07:19:33 +01:00
4d176b2f10
refactor: rest.New - introduce required/optional args
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-27 07:03:20 +01:00
c02b77fe6f
refactor: defers
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-22 09:58:43 +01:00