Commit Graph

234 Commits

Author SHA1 Message Date
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
39b4372c8f
chore(deps): update module github.com/uptrace/bun to v1.1.12
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-21 08:05:54 +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
d82d14a213
feat: api - set DB_CONNECTION_MAX_LIFETIME to 30m [skip ci] 2023-02-17 06:08:36 +01:00
57174eeced
chore: delete .editorconfig [skip ci] 2023-02-17 05:48:32 +01:00
0b51a2b418
chore: add skip ci to renovate [skip ci] 2023-02-17 05:44:33 +01:00
cfb52edb81
chore: update deps
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-17 05:41:44 +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
d0cbed080f chore(deps): update golang docker tag to v1.20.1 (#185)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| golang | stage | patch | `1.20.0-alpine3.17` -> `1.20.1-alpine3.17` |

---

### 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#185
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-02-15 04:25:46 +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
2ac289a0cb
refactor: http server - update timeouts
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-10 07:52:22 +01:00
0f810eb2c3
refactor: http server - update timeouts
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-10 07:48:26 +01: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
a1d2b22ddf
chore: update deps
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-06 08:20:31 +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
512abfe9e0
chore(deps): update module github.com/threedotslabs/watermill-amqp/v2 to v2.0.7
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-01-28 08:08:02 +01:00
15dc32d1fe
chore(deps): update alpine/k8s docker tag to v1.25.6
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-28 07:25:16 +01: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
6b3fa06e09
refactor: newServer - accept logger and db as arguments
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-26 06:02:08 +01:00
7f2659cb7f
chore: update alpine docker tag to v3.17
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-01-22 11:01:56 +01:00
c02b77fe6f
refactor: defers
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-22 09:58:43 +01:00
428333572d refactor(rest): ennoblement - update model (#162)
All checks were successful
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)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#161
2023-01-21 08:05:51 +00:00