Commit Graph

87 Commits

Author SHA1 Message Date
Tobiasz Heller
a8317c1af6 feat: connect firebase sdk 2024-05-06 08:27:08 +02:00
Tobiasz Heller
963533dc4e
Merge pull request #44 from twofas/develop/pass-sync-master 2024-05-03 21:34:14 +02:00
Tobiasz Heller
919d2f244b fix: pass tests 2024-04-30 15:58:48 +02:00
Tobiasz Heller
c36c698f45 Merge branch 'main' into develop/pass-sync-master 2024-04-27 13:33:03 +02:00
Krzysztof Dryś
1478cc5faf
develop/pass fix retry (#43)
fix: pair retry

It should be possible to do second pairing right away.
2024-04-18 09:02:32 +02:00
Krzysztof Dryś
d1176fde8b
fix(pass): increase max message size (#41)
Also: fix race condition when closing connection
2024-04-09 18:20:44 +02:00
Krzysztof Dryś
e75800c5e3
fix: race condition in hub (#39) 2024-04-09 09:08:48 +02:00
Krzysztof Dryś
34d87a852a
feat/sync endpoint (#34)
feat: add sync endpoint to pass
2024-04-05 11:31:40 +02:00
Krzysztof Dryś
7f7ea0693a
fix: race condition in tests (#38) 2024-04-04 13:46:23 +02:00
Krzysztof Dryś
6591f5c765
chore: improve error messages in WebsocketApiClient.SendMessage (#37)
* chore: improve error messages in WebsocketApiClient.SendMessage

* fix logger variable

---------

Co-authored-by: Tobiasz Heller <tobiaszheller@gmail.com>
2024-03-26 20:40:13 +01:00
KobeW50
7470368137 fix issues with README and contributing guidelines (#33) 2024-03-17 17:35:40 +01:00
Tobiasz Heller
e6947aa509
feat: multiple fixes in logger (#32) 2024-03-16 19:05:21 +01:00
Tobiasz Heller
7707c8c411
feat: ci (#36) 2024-03-16 15:41:30 +01:00
KobeW50
4c16a1eacc
fix issues with README and contributing guidelines (#33) 2024-03-08 18:41:50 +01:00
KobeW50
13cac72543
init: Issue creation config (#35) 2024-03-07 15:45:21 +01:00
Tobiasz Heller
cab30f73e6
feat: configurable tests (#30) 2024-02-16 07:45:58 +01:00
Tobiasz Heller
7eeedb39cb fix: deployment task arn 2024-01-25 19:27:39 +01:00
Tobiasz Heller
8720f1c37c fix: deployment family 2024-01-25 19:20:09 +01:00
Tobiasz Heller
a0ebcb236a use shared config state 2024-01-25 17:55:08 +01:00
Tobiasz Heller
ce476fe477 fix: pass region from env 2024-01-24 21:05:16 +01:00
Tobiasz Heller
782e77173d
feat: connect pass with kms (#29) 2024-01-24 20:57:31 +01:00
Krzysztof Dryś
c00c8a4d5b
feat: e2e tests for pass (#28) 2024-01-22 20:07:37 +01:00
Tobiasz Heller
417d7d25b2
feat: use Sec-WebSocket-Protocol to pass auth on ws (#26) 2024-01-21 10:25:12 +01:00
Krzysztof Dryś
17fb204680
feat(pass): tokens (#24)
feat(pass): tokens

Add token signing and verification to be used by pass.
2024-01-19 15:34:02 +01:00
Tobiasz Heller
dbd4245b6f
initial version of pairing and proxy (#23)
* initial version of pairing and proxy

* apply review comments and rework proxy

* delete expires pairs
2024-01-12 19:19:52 +01:00
Krzysztof Dryś
1413d107b3
Develop/pass deploy (#22)
Prepare to deploy service
2024-01-08 21:15:01 +01:00
Tobiasz Heller
21a45b5875 fix: log less fields on ws connection 2024-01-04 16:06:26 +01:00
Krzysztof Dryś
aa3f53f14c chore: organise imports 2024-01-04 13:26:42 +01:00
Tobiasz Heller
140a4b1d79
feat: pass bootstrap (#21) 2024-01-03 17:15:03 +01:00
Tobiasz Heller
f3706182cc
feat: rate limit using redis (#20) 2024-01-02 09:48:34 +01:00
Krzysztof Dryś
6b3fcffe1f
fix: typo (#19) 2023-12-14 10:13:07 +01:00
Krzysztof Dryś
6c4121caf9
feat: don't update collection id when updating web service (#18) 2023-12-14 10:07:59 +01:00
Tobiasz Heller
edfe8ea1a0
Update README.md with security 2023-12-11 20:09:07 +01:00
Krzysztof Dryś
05242e7729
fix: error handling for icons (#17)
fix: error handling for icons

Second batch of error handling in icon handlers
2023-11-29 13:13:38 +01:00
Krzysztof Dryś
e6bfee866a
fix: error handling in icons endpoints (first batch) (#16)
fix: error handling in icons endpoints (first batch)

Update error handling for some icons endpoints.
2023-11-28 12:52:56 +01:00
Krzysztof Dryś
4f2707c07f
fix: concurrency problems in ws handler (#14)
* fix: concurrency problems in ws handler

Synchronise access to hubs, properly remove hubs when they no longer
have clients.
2023-11-22 09:34:57 +01:00
Krzysztof Dryś
5947fa5abc
fix: complete removal of swagger ui (#15) 2023-11-22 09:01:40 +01:00
Krzysztof Dryś
134b4b3ac4
feat: investigate memory leak (#13) 2023-11-14 10:50:33 +01:00
Tobiasz Heller
9aab6dbd02
Support empty fcm token (#12) 2023-10-24 09:59:36 +02:00
Tobiasz Heller
794a93fa8a
Fix e2e tests after separating admin api (#11)
* Fix e2e tests after separating admin api
2023-10-24 09:27:34 +02:00
Tobiasz Heller
6089495167
Update go version and dependencies (#10)
* Update go to 1.21

* update all dependencies
2023-10-17 09:43:55 +02:00
Krzysztof Dryś
8c1bac3d90
feat: remove admin ep from public server (#9)
* feat: remove admin ep from public server

---------

Co-authored-by: Tobiasz Heller <14020794+tobiaszheller@users.noreply.github.com>
2023-10-13 21:03:41 +02:00
Tobiasz Heller
cfacb5bbc0 remove swaggers definitions 2023-10-10 21:33:42 +02:00
Tobiasz Heller
499bef42b5 ios: add default sound for push notification 2023-10-04 20:47:46 +02:00
Krzysztof Dryś
2e4f34e829
feat: create admin api (#5)
* feat: create admin api

Create admin api as a standalone application.
2023-09-22 15:19:04 +02:00
Tobiasz Heller
538e23455a
Merge pull request #4 from twofas/dependabot/go_modules/golang.org/x/net-0.7.0
Bump golang.org/x/net from 0.5.0 to 0.7.0
2023-07-05 21:13:57 +02:00
dependabot[bot]
ffb5534321
Bump golang.org/x/net from 0.5.0 to 0.7.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.5.0 to 0.7.0.
- [Commits](https://github.com/golang/net/compare/v0.5.0...v0.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 19:09:27 +00:00
Tobiasz Heller
c2c9c424ff ws: handle error on conn upgrade 2023-07-05 21:07:01 +02:00
Tobiasz Heller
b36c04678c various fixes to enable tests 2023-05-29 20:03:01 +02:00
Tobiasz Heller
ba6c0abfeb
Merge pull request #3 from twofas/fix/do-not-log-client-ip
Disable client-ip logging
2023-05-22 20:07:14 +02:00