51 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
83c3ef7bac [deps] upgrade golang.org/x/net to 0.37.0 2025-03-13 20:48:06 +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
3c9d6adb56 [deps] upgrade client-go library to v1.5.2 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
58572fd71f [api] implement device remove endpoint 2025-02-15 20:47:31 +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
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
cf6ceaef98 [auth] allow to change password from device 2024-12-03 19:33:31 +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
dependabot[bot]
bca2a63f8d Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.5.0 to 4.5.1.
- [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.0...v4.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 19:17:31 +07:00
Aleksandr Soloshenko
67e5d1314c [api] add device self-info endpoint 2024-10-16 13:52:45 +07:00
Aleksandr Soloshenko
841450841a [deps] update phonenumbers to 1.4.0 2024-10-03 08:34:35 +07:00
Aleksandr Soloshenko
41d6534430 [deps] update client-go for new webhook events support 2024-09-19 20:44:52 +07:00
Aleksandr Soloshenko
278678a473 [docs] fix GET /api/3rdparty/v1/message/{id} path param 2024-08-16 06:53:02 +07:00
Aleksandr Soloshenko
bfb2360504 [webhooks] add validation of webhook event 2024-08-11 06:40:56 +07:00
Aleksandr Soloshenko
78110715d2 [logs] add empty /logs endpoint 2024-08-09 06:37:51 +07:00
Aleksandr Soloshenko
1515eb308b [deps] upgrade client-go to v1.0.1 2024-07-09 14:15:53 +07:00
Aleksandr Soloshenko
21f533f0d9 [metrics] add some service metrics 2024-07-04 14:53:57 +07:00
dependabot[bot]
0c42387772 Bump github.com/gofiber/fiber/v2 from 2.52.1 to 2.52.5
Bumps [github.com/gofiber/fiber/v2](https://github.com/gofiber/fiber) from 2.52.1 to 2.52.5.
- [Release notes](https://github.com/gofiber/fiber/releases)
- [Commits](https://github.com/gofiber/fiber/compare/v2.52.1...v2.52.5)

---
updated-dependencies:
- dependency-name: github.com/gofiber/fiber/v2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-02 08:11:20 +07:00
Aleksandr Soloshenko
d68f76ad52 [deps] upgrade gohelpers library 2024-06-28 06:30:55 +07:00
Aleksandr Soloshenko
79682075ff [webhooks] notify devices on change 2024-06-11 09:09:37 +07:00
Aleksandr Soloshenko
d8af7e0c83 [push] add support for multiple push types 2024-06-11 05:38:44 +07:00
Aleksandr Soloshenko
0213382a19 [deps] move client and shared structs to another repo 2024-06-03 22:56:41 +07:00
Aleksandr Soloshenko
2e5efdfdd6 [deps] move slices package to external library 2024-05-22 08:50:47 +07:00
dependabot[bot]
e1d3fb7085
Bump golang.org/x/net from 0.19.0 to 0.23.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.19.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.19.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 16:38:28 +00:00
Aleksandr Soloshenko
c23f5429f1 [messages] use queue for background hashing 2024-04-04 09:00:38 +07:00
Aleksandr Soloshenko
ee57d0eb52 [http] add proxies support for rate limit by IP 2024-04-01 13:55:29 +07:00
dependabot[bot]
3be64863cf
Bump google.golang.org/protobuf from 1.31.0 to 1.33.0
Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 14:21:58 +00:00
Aleksandr Soloshenko
6589028373 [deps] upgrade go-infra-fx to disable CORS 2024-02-23 10:46:51 +07:00
dependabot[bot]
52ed8e85d0
Bump github.com/gofiber/fiber/v2 from 2.51.0 to 2.52.1
Bumps [github.com/gofiber/fiber/v2](https://github.com/gofiber/fiber) from 2.51.0 to 2.52.1.
- [Release notes](https://github.com/gofiber/fiber/releases)
- [Commits](https://github.com/gofiber/fiber/compare/v2.51.0...v2.52.1)

---
updated-dependencies:
- dependency-name: github.com/gofiber/fiber/v2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-23 02:53:12 +00:00
Aleksandr Soloshenko
e21e272cb8 Migrated to go-infra-fx library 2024-01-04 23:57:53 +07:00
dependabot[bot]
5a92ae503c
Bump golang.org/x/crypto from 0.15.0 to 0.17.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.15.0...v0.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-19 01:58:43 +00:00
Aleksandr Soloshenko
7918716891 Upgraded: libphonenumber library 2023-12-18 09:23:12 +07:00
Aleksandr Soloshenko
19b0754649 Added: internal migrations with Goose 2023-12-02 23:12:37 +07:00
Aleksandr Soloshenko
2b132b67f2 Added: limiter to device registration endpoint 2023-11-02 23:01:36 +07:00
Aleksandr Soloshenko
3da33e1512 Improved: simplify config loading 2023-11-02 09:02:11 +07:00
Aleksandr Soloshenko
7b38ac14f5 Removed: dependencies on private libraries 2023-10-26 23:47:31 +07:00
Aleksandr Soloshenko
eb19ccc674 Improved: logging with zap 2023-10-26 00:53:35 +07:00
Aleksandr Soloshenko
ae0a593c08 Initial migration to fx without CLI 2023-10-26 00:25:39 +07:00
Aleksandr Soloshenko
e473400bdf Added: ttl support 2023-10-21 00:33:29 +07:00
Aleksandr Soloshenko
0719773abd Added: support of non-russian phone numbers 2023-10-11 23:32:26 +07:00
Aleksandr Soloshenko
551da6bc83 Added: push notifications support 2023-08-10 23:18:49 +07:00
Aleksandr Soloshenko
ea5acc3b38 Added: message posting 2022-10-07 10:34:47 +07:00
Aleksandr Soloshenko
cad991d442 Added: mobile endpoints without patch 2022-10-06 18:01:21 +07:00