362 Commits

Author SHA1 Message Date
Aleksandr Soloshenko
a8b23f4dc1 [mobile] add registration by one-time code 2025-03-28 06:52:21 +07:00
dependabot[bot]
8127d9d824 Bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.5.1...v4.5.2)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-22 06:27:30 +07:00
Aleksandr Soloshenko
9a16bfcb59 [deps] upgrade go-infra-fx to 0.2.1 to resolve client IP issue behind proxy 2025-03-21 15:45:24 +07:00
Aleksandr Soloshenko
1493a05cea [config] expose database pool options to config 2025-03-16 19:16:33 +07:00
Aleksandr Soloshenko
83c3ef7bac [deps] upgrade golang.org/x/net to 0.37.0 2025-03-13 20:48:06 +07:00
Aleksandr Soloshenko
c54cba5bf4 [actions] update Go for linter 2025-03-13 13:53:17 +07:00
Aleksandr Soloshenko
70089b7baf [build] upgrade Go to 1.23 2025-03-13 13:43:19 +07:00
Aleksandr Soloshenko
fceb298744 [api] move devices registration rate limit to Traefik 2025-03-12 20:31:52 +07:00
Aleksandr Soloshenko
09eb17ea0a [deps] upgrade client-go for enhance webhook request validation 2025-03-06 08:33:09 +07:00
Aleksandr Soloshenko
e745c4ed9e [deps] upgrade client-go to fix phone number validation 2025-02-19 14:05:11 +07:00
Aleksandr Soloshenko
5aa0ea15b4 [actions] fix e2e test workflow 2025-02-17 19:33:44 +07:00
Aleksandr Soloshenko
bbbe8bce60 [deploy] fix docker image version output 2025-02-17 05:57:31 +07:00
Aleksandr Soloshenko
3c9d6adb56 [deps] upgrade client-go library to v1.5.2 2025-02-15 20:47:31 +07:00
Aleksandr Soloshenko
b6960a026e [devices] move device push token update method and tokens cache to devices service 2025-02-15 20:47:31 +07:00
Aleksandr Soloshenko
0dfc80dc29 [docs] add tags to API docs 2025-02-15 20:47:31 +07:00
Aleksandr Soloshenko
eae91efcc4 [api] return login fo device registration with an existing account 2025-02-15 20:47:31 +07:00
Aleksandr Soloshenko
68f65470f0 [auth] return Unauthorized for invalid credentials by default 2025-02-15 20:47:31 +07:00
Aleksandr Soloshenko
74f2858062 [test] device registration for an existed account 2025-02-15 20:47:31 +07:00
Aleksandr Soloshenko
aff8cd2a41 [chore] add test case to device model-2-dto and improve device handling 2025-02-15 20:47:31 +07:00
Aleksandr Soloshenko
74be198c16 [messages] select random device for sending message 2025-02-15 20:47:31 +07:00
Aleksandr Soloshenko
f4188c5fdf [refactor] move reusable code to the library 2025-02-15 20:47:31 +07:00
Aleksandr Soloshenko
2839fb959c [legacy] remove legacy phone validator 2025-02-15 20:47:31 +07:00
Aleksandr Soloshenko
58572fd71f [api] implement device remove endpoint 2025-02-15 20:47:31 +07:00
Aleksandr Soloshenko
5d0ab47d2c [api] update API docs and comments 2025-02-15 20:47:31 +07:00
Aleksandr Soloshenko
6bff672422 [api] register device with existing user 2025-02-15 20:47:31 +07:00
Aleksandr Soloshenko
d19787888c [api] introduce userauth middleware and helpers 2025-02-15 20:47:31 +07:00
Aleksandr Soloshenko
d9d3657701 [build] add arm64 image build 2025-01-22 19:15:44 +07:00
Aleksandr Soloshenko
5660b0ba92 [deps] upgrade golang.org/x/net in tests 2025-01-22 13:51:19 +07:00
Aleksandr Soloshenko
c1fc02d155 [deps] upgrade golang.org/x/net 2025-01-14 20:02:41 +07:00
Aleksandr Soloshenko
70297a5007 [feature] add inbox export endpoint 2025-01-02 20:50:19 +07:00
Aleksandr Soloshenko
35c3ad3718 [api] move 3rdparty messages API to separate package 2025-01-02 20:50:19 +07:00
dependabot[bot]
1aad368637 Bump golang.org/x/crypto from 0.24.0 to 0.31.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.24.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.24.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-12 07:26:31 +07:00
Aleksandr Soloshenko
fc29c5e92b [base] use 400 status for parsing errors 2024-12-05 09:10:48 +07:00
Aleksandr Soloshenko
cf6ceaef98 [auth] allow to change password from device 2024-12-03 19:33:31 +07:00
Aleksandr Soloshenko
a1f606734f [docker] fix version info in build 2024-11-29 06:19:07 +07:00
Aleksandr Soloshenko
54a8b491de [deps] upgrade github.com/capcom6/go-infra-fx to 0.2.0 2024-11-29 06:17:35 +07:00
Aleksandr Soloshenko
198069affe [ci] cleanup e2e containers 2024-11-28 05:39:19 +07:00
Aleksandr Soloshenko
30f9156e17 [api] migrate from apikey to keyauth 2024-11-27 06:03:13 +07:00
Aleksandr Soloshenko
34fbb47a4c [auth] use of constant time compare for registration token 2024-11-27 06:03:13 +07:00
Aleksandr Soloshenko
aeed25e00b [test] use subtests 2024-11-27 06:03:13 +07:00
Aleksandr Soloshenko
8896245762 [test] disable e2e tests cache 2024-11-27 06:03:13 +07:00
Aleksandr Soloshenko
7c4b4da7ba [build] push Docker image to ghcr too 2024-11-26 13:50:36 +07:00
Aleksandr Soloshenko
004cbf8354 [deploy] use LTS MariaDB in example deployments 2024-11-26 13:43:40 +07:00
Aleksandr Soloshenko
58ed6856d0 [test] add device register E2E 2024-11-25 19:14:48 +07:00
Aleksandr Soloshenko
4ff3a10394 [chore] package renaming 2024-11-25 19:13:21 +07:00
Aleksandr Soloshenko
87e95abfb2 [devices] add clean method 2024-11-09 08:01:08 +07:00
Aleksandr Soloshenko
ca9b09e905 [auth] move users repository to auth module 2024-11-09 08:01:08 +07:00
Aleksandr Soloshenko
bd57902de4 [messages] move repository to module 2024-11-09 08:01:08 +07:00
Aleksandr Soloshenko
d18295939e [cleaner] add cleaner service 2024-11-09 08:01:08 +07:00
Aleksandr Soloshenko
80a329d431 [app] fix stop context usage 2024-11-09 08:01:08 +07:00