Commit Graph

44 Commits

Author SHA1 Message Date
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
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
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
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
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
d3a6964eb7 feat: add a new REST endpoint - GET /api/v1/versions/{code}/servers/{key}/players/{id}/tribe-changes (#154)
All checks were successful
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
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-14 08:23:52 +01:00
35719e5787
refactor: rest - middlewares
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-13 06:56:47 +01:00
4e44a25acb
refactor: sorts - new constructors
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-13 06:28:44 +01:00
d5db61cbc2
refactor: make query params parser more generic
All checks were successful
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)
All checks were successful
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
All checks were successful
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)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#151
2023-01-04 05:21:02 +00:00
9b89c51706 feat: player - other servers (#150)
Some checks failed
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
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-01 09:56:38 +01:00
8739572c9b
feat: player - add more fields to api
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-01 09:35:17 +01:00
c545ebd7d7
refactor: rename domain.UserError -> domain.Error
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-31 11:00:30 +01:00
e9c0cb716e
refactor: ennoblements - sort only by createdAt
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-12-30 09:53:28 +01:00
1c0d7034b2
feat: server - add new fields to API
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-12-29 11:24:03 +01:00
b50c3845a3
refactor: replace NullVillageMeta with VillageMeta - EnnoblementWithRelations
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-26 09:20:42 +01:00
b7d0d9746f
feat: village meta - add 3 new fields to rest api: x, y, continent
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-26 09:07:17 +01:00
95641c8513
fix: strconv.ParseInt: parsing "On": invalid syntax - ServerConfigGame
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-12-25 11:48:33 +01:00
d795776f95 refactor: ennoblement - split the List method into two (#146)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: twhelp/core#146
2022-12-24 09:21:26 +00:00
f636d6ac94 refactor: village - split the List method into two (#145)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#145
2022-12-24 07:44:25 +00:00
6c8b30d061 refactor: player - split the List method into two (#144)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#144
2022-12-23 07:56:31 +00:00
f9556beb2c refactor: server - split the List method into two (#143)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#143
2022-12-22 08:26:23 +00:00
1f41f66287 refactor: tribe - split the List method into two (#142)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: twhelp/core#142
2022-12-22 08:06:35 +00:00
1c75179c12
refactor: version - split the List function into two
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-22 08:03:33 +01:00
3a369e014d
refactor: rename one operation (getTribeByID -> getTribe)
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-12 07:23:38 +01:00
ca895354cd
refactor: get /versions/{versionCode}/servers/{serverKey}/tribes/tag/{tribeTag} is no longer needed
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-10 12:43:33 +01:00
21e56103a0 feat: /versions/{versionCode}/servers/{serverKey}/tribes - new query param 'tag' (#120)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: twhelp/core#120
2022-11-10 10:45:08 +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
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
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
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
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
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