Commit Graph

177 Commits

Author SHA1 Message Date
8b4823fb28 feat: tribe snapshots (#118)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#118
2022-11-05 05:02:34 +00:00
2a84f71f90 feat: player snapshots (#117)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#117
2022-11-04 04:49:14 +00:00
12e4474a00 chore(deps): update module github.com/golangci/golangci-lint to v1.50.1 (#110)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) | require | patch | `v1.50.0` -> `v1.50.1` |

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>golangci/golangci-lint</summary>

### [`v1.50.1`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1501)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.50.0...v1.50.1)

1.  updated linters
    -   `contextcheck`: from 1.1.2 to 1.1.3
    -   `go-mnd`: from 2.5.0 to 2.5.1
    -   `wrapcheck`: from 2.6.2 to 2.7.0
    -   `revive`: fix configuration parsing
    -   `lll`: skip imports
2.  misc.
    -   windows: remove redundant character escape '/'
    -   code-climate: add default severity

</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, click this checkbox.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMjQuMCIsInVwZGF0ZWRJblZlciI6IjMyLjIyNC4wIn0=-->

Co-authored-by: Renovate <renovate@dwysokinski.me>
Co-authored-by: Dawid Wysokiński <contact@dwysokinski.me>
Reviewed-on: twhelp/core#110
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2022-10-29 06:06:25 +00:00
32a033cd36 feat: swagger - add more config opts (#113)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: twhelp/core#113
2022-10-29 05:53:55 +00:00
225e1ab041 refactor(bundb): custom scanAndCount function (#109)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: twhelp/core#109
2022-10-22 05:35:44 +00:00
317559e29b fix: optimize ennoblements query (#108)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: twhelp/core#108
2022-10-21 06:28:17 +00:00
767eb5d5f2 refactor: optimize queries and models (#107)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#107
2022-10-21 05:19:04 +00:00
0aed6f8fed refactor: base models (#106)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#106
2022-10-20 04:16:37 +00:00
b8f13e5cfd refactor: update limits (#105)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#105
2022-10-19 04:25:26 +00:00
d450a4a077 chore(deps): update module github.com/swaggo/swag to v1.8.7 (#102)
Some checks failed
continuous-integration/drone/push Build is failing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/swaggo/swag](https://github.com/swaggo/swag) | require | patch | `v1.8.6` -> `v1.8.7` |

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>swaggo/swag</summary>

### [`v1.8.7`](https://github.com/swaggo/swag/releases/tag/v1.8.7)

[Compare Source](https://github.com/swaggo/swag/compare/v1.8.6...v1.8.7)

##### Changelog

[`f8d59d6`](https://github.com/swaggo/swag/commit/f8d59d6) Bump golang.org/x/tools dependency version ([#&#8203;1338](https://github.com/swaggo/swag/issues/1338))
[`7f90377`](https://github.com/swaggo/swag/commit/7f90377) Fix generics issue [#&#8203;1345](https://github.com/swaggo/swag/issues/1345)  ([#&#8203;1349](https://github.com/swaggo/swag/issues/1349))
[`e4f0129`](https://github.com/swaggo/swag/commit/e4f0129) chore: drop go1.15 support ([#&#8203;1331](https://github.com/swaggo/swag/issues/1331))
[`277a278`](https://github.com/swaggo/swag/commit/277a278) chore: increment version ([#&#8203;1350](https://github.com/swaggo/swag/issues/1350))
[`74e96c9`](https://github.com/swaggo/swag/commit/74e96c9) feat. add support formData \[]file ([#&#8203;1332](https://github.com/swaggo/swag/issues/1332))
[`04c699c`](https://github.com/swaggo/swag/commit/04c699c) fix issue [#&#8203;1346](https://github.com/swaggo/swag/issues/1346) about generics ([#&#8203;1348](https://github.com/swaggo/swag/issues/1348))
[`075c176`](https://github.com/swaggo/swag/commit/075c176) refactor: move from io/ioutil to io and os packages ([#&#8203;1334](https://github.com/swaggo/swag/issues/1334))

</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, click this checkbox.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMjQuMCIsInVwZGF0ZWRJblZlciI6IjMyLjIyNC4wIn0=-->

Co-authored-by: Renovate <renovate@dwysokinski.me>
Co-authored-by: Dawid Wysokiński <contact@dwysokinski.me>
Reviewed-on: twhelp/core#102
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2022-10-18 04:20:34 +00:00
5504f36e2e fix: fix performance issues with /ennoblements and /villages (#103)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#103
2022-10-18 04:14:24 +00:00
8f059b49cd feat: profile urls (#101)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#101
2022-10-17 04:45:53 +00:00
ede1c63f8a feat: add 3 new indexes (#100)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: twhelp/core#100
2022-10-16 08:07:41 +00:00
ef0f4f7ef6
refactor: format code
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-09 09:40:30 +02:00
50bbd34b79 chore(deps): update module github.com/golangci/golangci-lint to v1.50.0 (#92)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) | require | minor | `v1.49.0` -> `v1.50.0` |

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>golangci/golangci-lint</summary>

### [`v1.50.0`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1500)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.49.0...v1.50.0)

1.  new linters
    -   `dupword`: https://github.com/Abirdcfly/dupword
    -   `testableexamples`: https://github.com/maratori/testableexamples
2.  updated linters
    -   `contextcheck`: change owner
    -   `contextcheck`: from 1.0.6 to 1.1.2
    -   `depguard`: from 1.1.0 to 1.1.1
    -   `exhaustive`: add missing config
    -   `exhaustive`: from 0.8.1 to 0.8.3
    -   `gci`: from 0.6.3 to 0.8.0
    -   `go-critic`: from 0.6.4 to 0.6.5
    -   `go-errorlint`: from 1.0.2 to 1.0.5
    -   `go-reassign`: v0.1.2 to v0.2.0
    -   `gofmt`: add option `rewrite-rules`
    -   `gofumpt` from 0.3.1 to 0.4.0
    -   `goimports`: update to HEAD
    -   `interfacebloat`: fix configuration loading
    -   `logrlint`: rename `logrlint` to `loggercheck`
    -   `paralleltest`: add tests of the ignore-missing option
    -   `revive`: from 1.2.3 to 1.2.4
    -   `usestdlibvars`: from 1.13.0 to 1.20.0
    -   `wsl`: support all configs and update docs
3.  misc.
    -   Normalize `exclude-rules` paths for Windows
    -   add riscv64 to the install script
4.  Documentation
    -   cli: remove reference to old service

</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, click this checkbox.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMDEuMSIsInVwZGF0ZWRJblZlciI6IjMyLjIwMS4xIn0=-->

Co-authored-by: Renovate <renovate@dwysokinski.me>
Reviewed-on: twhelp/core#92
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2022-10-05 03:26:26 +00:00
b5636bfc8d
refactor: rename registerHandlersFn -> registerHandlersFunc
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-02 07:01:37 +02:00
ef5e26b3bd
fix: server config - xml.Decode: strconv.ParseInt: parsing "72000": value out of range
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-01 06:10:02 +02:00
d5c191e482
refactor(bundb): rename one test helper newDBDSN -> newDBWithDSN
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-30 14:11:29 +02:00
aa0eaef5c4
feat: ennoblements - add index on server_key+created_at
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-30 14:00:10 +02:00
427d1f8755 chore(deps): update module github.com/swaggo/swag to v1.8.6 (#85)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/swaggo/swag](https://github.com/swaggo/swag) | require | patch | `v1.8.5` -> `v1.8.6` |

---

### Release Notes

<details>
<summary>swaggo/swag</summary>

### [`v1.8.6`](https://github.com/swaggo/swag/releases/tag/v1.8.6)

[Compare Source](https://github.com/swaggo/swag/compare/v1.8.5...v1.8.6)

##### Changelog

[`bc895ed`](https://github.com/swaggo/swag/commit/bc895ed) Fix formatting crosstalk ([#&#8203;1317](https://github.com/swaggo/swag/issues/1317))
[`c9385a8`](https://github.com/swaggo/swag/commit/c9385a8) build a docker image and push to ghcr.io ([#&#8203;1329](https://github.com/swaggo/swag/issues/1329))
[`5fbb18f`](https://github.com/swaggo/swag/commit/5fbb18f) chore: update version ([#&#8203;1330](https://github.com/swaggo/swag/issues/1330))
[`cf1c4a7`](https://github.com/swaggo/swag/commit/cf1c4a7) fix: Generic Fields does not handle Arrays ([#&#8203;1311](https://github.com/swaggo/swag/issues/1311))
[`b8f53da`](https://github.com/swaggo/swag/commit/b8f53da) fix: Generic Fields does not handle Arrays in the .swaggo file ([#&#8203;1322](https://github.com/swaggo/swag/issues/1322))
[`2cd7ab5`](https://github.com/swaggo/swag/commit/2cd7ab5) fix: Generics not detected if name does not contain a pkg path ([#&#8203;1328](https://github.com/swaggo/swag/issues/1328))
[`007219f`](https://github.com/swaggo/swag/commit/007219f) fix: funcDeclaration body check ([#&#8203;1310](https://github.com/swaggo/swag/issues/1310))
[`e7ccdf4`](https://github.com/swaggo/swag/commit/e7ccdf4) refactor func splitStructName ([#&#8203;1313](https://github.com/swaggo/swag/issues/1313))

</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, click this checkbox.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xOTQuMyIsInVwZGF0ZWRJblZlciI6IjMyLjE5NC4zIn0=-->

Co-authored-by: Renovate <renovate@dwysokinski.me>
Co-authored-by: Dawid Wysokiński <contact@dwysokinski.me>
Reviewed-on: twhelp/core#85
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2022-09-18 10:13:25 +00:00
4f96cdf202 fix: add missing span.SetStatus(codes.Error) (#86)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#86
2022-09-18 10:02:42 +00:00
efbb3623ea feat: add meta router (#83)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#83
2022-09-17 09:37:03 +00:00
95b5a12344 refactor(service): rename some interfaces (#82)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#82
2022-09-16 05:08:33 +00:00
f670b22517 feat: versions - add www prefix to the host column (#80)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#80
2022-09-14 05:41:13 +00:00
fc714058b1 feat: ennoblements - add unique index (#79)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#79
2022-09-14 05:03:43 +00:00
4e4493e33f feat: tracing (#76)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#76
2022-09-12 05:34:46 +00:00
083573ecb9 chore(deps): update postgres docker tag to v14.5 (#66)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| postgres | docker | minor | `14.4` -> `14.5` |

---

### 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, click this checkbox.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjMyLjE3My4xIn0=-->

Co-authored-by: Renovate <renovate@dwysokinski.me>
Co-authored-by: Dawid Wysokiński <contact@dwysokinski.me>
Reviewed-on: twhelp/core#66
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2022-09-07 04:26:56 +00:00
51601cf487 refactor: insert data in chunks (#73)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#73
2022-09-07 04:16:46 +00:00
5884c58f2c feat: add a new method to the Village model - FullName (#72)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#72
2022-09-06 08:31:16 +00:00
e468a1f391 feat: add a new endpoint - GET /api/v1/versions/:code/servers/:key/ennoblements (#71)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#71
2022-09-06 07:50:00 +00:00
71700a589b refactor(rest): simplify responses (#69)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#69
2022-09-05 11:09:02 +00:00
6cde8d082f feat: add a new endpoint - GET /api/v1/versions/:code/servers/:key/villages (#68)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#68
2022-09-04 07:39:21 +00:00
f81aecf680 feat: add a new endpoint - GET /api/v1/versions/:code/servers/:key/villages/:id (#67)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#67
2022-09-04 07:07:32 +00:00
be5efa5b0e refactor: ci/cd (#65)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#65
2022-09-03 14:31:29 +00:00
aa2b3a25d8 refactor: tribe - use score* and points fields instead of rank* fields for sorting (#64)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#64
2022-09-03 06:08:14 +00:00
4829bae6a2 feat: add a new endpoint - GET /api/v1/versions/:code/servers/:key/players (#63)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#63
2022-09-03 05:25:16 +00:00
262c8ae4c7 feat: add a new endpoint - GET /api/v1/versions/:code/servers/:key/players/:id (#62)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#62
2022-09-02 05:25:57 +00:00
2ab69acec6 feat: add a new endpoint - GET /api/v1/versions/:code/servers/:key/tribes/tag/:tag (#60)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#60
2022-09-01 04:24:31 +00:00
d4125c5f08 feat: add a new endpoint - GET /api/v1/versions/:code/servers/:key/tribes/:id (#59)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#59
2022-08-31 04:53:28 +00:00
d7412b02e8 feat: add a new query param to GET /api/v1/versions/:code/servers/:key/tribe - sort (#58)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#58
2022-08-30 05:00:37 +00:00
ce2f8ceebe refactor: error handling (#53)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#53
2022-08-28 09:31:41 +00:00
9a31fec3f6 feat: add a new endpoint - GET /api/v1/versions/:code/servers/:key/tribes (#52)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#52
2022-08-28 06:27:59 +00:00
ae7123deb6 fix(rest): swagger isn't available at /v1/swagger/* (#51)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#51
2022-08-27 06:42:01 +00:00
25414c86d7 feat: add a new endpoint - GET /api/v1/versions/:code/servers/:key (#50)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#50
2022-08-27 06:11:29 +00:00
97b73c0d6d refactor(bundb): clean up the code and add tests (#49)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#49
2022-08-27 05:00:39 +00:00
be65695f1b feat: add a new endpoint - GET /api/v1/versions/:code/servers (#47)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#47
2022-08-26 14:39:39 +00:00
3ea31a3095 chore(deps): update module github.com/swaggo/swag to v1.8.5 (#46)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/swaggo/swag](https://github.com/swaggo/swag) | require | patch | `v1.8.4` -> `v1.8.5` |

---

### Release Notes

<details>
<summary>swaggo/swag</summary>

### [`v1.8.5`](https://github.com/swaggo/swag/releases/tag/v1.8.5)

[Compare Source](https://github.com/swaggo/swag/compare/v1.8.4...v1.8.5)

##### Changelog

[`2f148dd`](https://github.com/swaggo/swag/commit/2f148dd) Extended generics support ([#&#8203;1277](https://github.com/swaggo/swag/issues/1277))
[`23661ef`](https://github.com/swaggo/swag/commit/23661ef) chore: set CGO_ENABLED=0  for goreleaser to avoid dynamic linking ([#&#8203;1293](https://github.com/swaggo/swag/issues/1293))
[`732c087`](https://github.com/swaggo/swag/commit/732c087) doc: add function scoped struct declaration example ([#&#8203;1296](https://github.com/swaggo/swag/issues/1296))
[`45f01a1`](https://github.com/swaggo/swag/commit/45f01a1) feat: add function scoped struct parse ([#&#8203;1283](https://github.com/swaggo/swag/issues/1283))
[`cf03796`](https://github.com/swaggo/swag/commit/cf03796) feat: get swagger instance from register ([#&#8203;1298](https://github.com/swaggo/swag/issues/1298))
[`af1c525`](https://github.com/swaggo/swag/commit/af1c525) fix: Go generics cannot find common package object type definition ([#&#8203;1281](https://github.com/swaggo/swag/issues/1281))
[`9d34a76`](https://github.com/swaggo/swag/commit/9d34a76) fix: Nested generic fields not fully working, if generic type is from… ([#&#8203;1305](https://github.com/swaggo/swag/issues/1305))

</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, click this checkbox.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjMyLjE3My4xIn0=-->

Co-authored-by: Renovate <renovate@dwysokinski.me>
Co-authored-by: Dawid Wysokiński <contact@dwysokinski.me>
Reviewed-on: twhelp/core#46
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2022-08-26 03:34:23 +00:00
2a4c861f61 chore(deps): update module github.com/golangci/golangci-lint to v1.49.0 (#44)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) | require | minor | `v1.48.0` -> `v1.49.0` |

---

### Release Notes

<details>
<summary>golangci/golangci-lint</summary>

### [`v1.49.0`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1490)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.48.0...v1.49.0)

IMPORTANT: `varcheck` and `deadcode` has been removed of default linters.

1.  new linters
    -   `interfacebloat`: https://github.com/sashamelentyev/interfacebloat
    -   `logrlint`: https://github.com/timonwong/logrlint
    -   `reassign`: https://github.com/curioswitch/go-reass
2.  updated linters
    -   `go-colorable`: from 0.1.12 to 0.1.13
    -   `go-critic`: from 0.6.3 to 0.6.4
    -   `go-errorlint`: from 1.0.0 to 1.0.2
    -   `go-exhaustruct`: from 2.2.2 to 2.3.0
    -   `gopsutil`: from 3.22.6 to 3.22.7
    -   `gosec`: from 2.12.0 to 2.13.1
    -   `revive`: from 1.2.1 to 1.2.3
    -   `usestdlibvars`: from 1.8.0 to 1.13.0
    -   `contextcheck`: from v1.0.4 to v1.0.6 && re-enable
    -   `nosnakecase`: This linter is deprecated.
    -   `varcheck`: This linter is deprecated use `unused` instead.
    -   `deadcode`: This linter is deprecated use `unused` instead.
    -   `structcheck`: This linter is deprecated use `unused` instead.
3.  documentation
    -   `revive`: fix wrong URL
    -   Add a section about default exclusions
    -   `usestdlibvars`: fix typo in documentation
    -   `nolintlint`: remove allow-leading-space option
    -   Update documentation and assets
4.  misc.
    -   dev: rewrite the internal tests framework
    -   fix: exit early on run --version
    -   fix: set an explicit `GOROOT` in the Docker image for `go-critic`

</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, click this checkbox.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNjQuMCIsInVwZGF0ZWRJblZlciI6IjMyLjE2NC4wIn0=-->

Co-authored-by: Renovate <renovate@dwysokinski.me>
Reviewed-on: twhelp/core#44
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2022-08-24 14:07:03 +00:00
9367b1f7e7 feat: add openapi (#42)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#42
2022-08-23 04:33:38 +00:00
e302cb026d feat: add a new endpoint - GET /api/v1/versions/:versionCode (#41)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#41
2022-08-22 04:37:52 +00:00
0f0e0cd3ee feat(msg): add logger to consumers (#40)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#40
2022-08-21 07:11:28 +00:00
1e11b38f4e refactor(bundb): refactor tests (#39)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#39
2022-08-21 05:42:42 +00:00
5e9399a3d0 feat: add EnnoblementConsumer (#38)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#38
2022-08-21 05:19:17 +00:00
150d20dc40 feat: add a new job responsible for updating ennoblements (#37)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#37
2022-08-17 05:17:33 +00:00
e4a593c5a1 refactor: move event payloads closer to the msg package (#36)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#36
2022-08-17 04:23:05 +00:00
f948443812 refactor(tw.Client): convert some methods into functions (#35)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#35
2022-08-16 05:20:44 +00:00
2a8bebd68e feat(ServerConsumer): add 3 new handlers (#34)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#34
2022-08-16 04:48:55 +00:00
631c080376 feat: add DeletedAt field to Player and Tribe (#33)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#33
2022-08-16 03:56:12 +00:00
f246e205b4 feat(TribeConsumer): update dominance (#31)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#31
2022-08-13 06:06:53 +00:00
b0bf482129 feat: add VillageConsumer (#30)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#30
2022-08-12 04:56:02 +00:00
cb13ad4f92 feat: add PlayerConsumer (#29)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#29
2022-08-11 04:34:00 +00:00
de531da063 feat: add TribeConsumer (#28)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#28
2022-08-10 04:13:33 +00:00
2639976eb8 feat(ServerConsumer): update server info and config (#26)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#26
2022-08-08 04:24:23 +00:00
58ae56e598 chore(deps): update module go to 1.19 (#25)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#25
2022-08-05 05:40:05 +00:00
4b6ef872f3 chore: remove generated code from repo (#22)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#22
2022-08-05 05:08:04 +00:00
ca5bd2c505 feat: add a new command - consumer (#21)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#21
2022-08-05 04:48:18 +00:00
af19b3a160 chore(deps): update module github.com/golangci/golangci-lint to v1.48.0 (#19)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) | require | minor | `v1.47.3` -> `v1.48.0` |

---

### Release Notes

<details>
<summary>golangci/golangci-lint</summary>

### [`v1.48.0`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1480)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.47.3...v1.48.0)

1.  new linters
    -   `usestdlibvars`:https://github.com/sashamelentyev/usestdlibvars
2.  updated linters
    -   `contextcheck`: disable linter
    -   `errcheck`: from 1.6.1 to 1.6.2
    -   `gci`: add missing `custom-order` setting
    -   `gci`: from 0.5.0 to 0.6.0
    -   `ifshort`: deprecate linter
    -   `nolint`: drop allow-leading-space option and add "nolint:all"
    -   `revgrep`: bump to HEAD
3.  documentation
    -   remove outdated info on source install
4.  misc
    -   go1.19 support

</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, click this checkbox.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMzQuMCIsInVwZGF0ZWRJblZlciI6IjMyLjEzNC4wIn0=-->

Co-authored-by: Renovate <renovate@dwysokinski.me>
Reviewed-on: twhelp/core#19
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2022-08-05 04:02:53 +00:00
742a9046e0 feat: add ServerConsumer (#16)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#16
2022-08-04 05:09:12 +00:00
e8c1dfc5db chore(deps): update module github.com/golangci/golangci-lint to v1.47.3 (#15)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) | require | patch | `v1.47.2` -> `v1.47.3` |

---

### Release Notes

<details>
<summary>golangci/golangci-lint</summary>

### [`v1.47.3`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1473)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.47.2...v1.47.3)

1.  updated linters:
    -   remove some go1.18 limitations
    -   `asasalint`: from 0.0.10 to 0.0.11
    -   `decorder`: from 0.2.2 to v0.2.3
    -   `gci`: fix panic with invalid configuration option
    -   `gci`: from 0.4.3 to v0.5.0
    -   `go-exhaustruct`: from 2.2.0 to 2.2.2
    -   `gomodguard`: from 1.2.3 to 1.2.4
    -   `nosnakecase`: from 1.5.0 to 1.7.0
    -   `honnef.co/go/tools`: from 0.3.2 to v0.3.3
2.  misc
    -   cgo: fix linters ignoring CGo files

</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, click this checkbox.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMzQuMCIsInVwZGF0ZWRJblZlciI6IjMyLjEzNC4wIn0=-->

Co-authored-by: Renovate <renovate@dwysokinski.me>
Reviewed-on: twhelp/core#15
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2022-08-03 05:43:35 +00:00
86f59c0a97 feat: add server model (#14)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#14
2022-07-31 07:24:08 +00:00
d8530fe05b chore(deps): update module github.com/uptrace/bun to v1.1.7 (#10)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/uptrace/bun](https://github.com/uptrace/bun) | require | patch | `v1.1.6` -> `v1.1.7` |

---

### Release Notes

<details>
<summary>uptrace/bun</summary>

### [`v1.1.7`](https://github.com/uptrace/bun/releases/tag/v1.1.7)

[Compare Source](https://github.com/uptrace/bun/compare/v1.1.6...v1.1.7)

Please refer to [CHANGELOG.md](https://github.com/uptrace/bun/blob/master/CHANGELOG.md) for details

</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, click this checkbox.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMjAuMCIsInVwZGF0ZWRJblZlciI6IjMyLjEyMC4wIn0=-->

Co-authored-by: Renovate <renovate@dwysokinski.me>
Co-authored-by: Dawid Wysokiński <contact@dwysokinski.me>
Reviewed-on: twhelp/core#10
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2022-07-30 13:23:51 +00:00
81358b22e8 feat: add a new cmd responsible for sending info about the start of the data update process (#13)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#13
2022-07-30 13:16:44 +00:00
602f5456bc feat: add a new endpoint - GET /api/v1/versions (#7)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#7
2022-07-27 05:28:00 +00:00
aac75b597f feat: add version repo (#6)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#6
2022-07-27 04:39:05 +00:00
881b8b79bd feat: add a new command - db (#5)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#5
2022-07-25 04:31:48 +00:00
be8892e532 feat: add tw.Client (#4)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#4
2022-07-24 16:19:27 +00:00
190a2d3b00
init 2022-07-24 14:06:31 +02:00