Commit Graph

61 Commits

Author SHA1 Message Date
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
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
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
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
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
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ś
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
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
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
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
d50c2a71ef Disable client-ip logging 2023-05-22 19:31:54 +02:00
in-void
d0137e26d1 websocket read/write pump gently panic 2023-04-11 23:39:25 +02:00
in-void
71f700f075 format pong handler 2023-04-11 23:38:12 +02:00
in-void
57ba3cf4fb move recovery gin middleware 2023-04-11 23:37:36 +02:00
in-void
40519d135d explicit import name 2023-04-11 23:35:16 +02:00
in-void
1644fc369b mobile device "not blank" name validation during updates 2023-03-18 15:31:00 +01:00
in-void
35116e236f browser extension "not blank" name validation during updates 2023-03-18 15:30:42 +01:00
in-void
8024b1db77 request logger middleware: logs more information 2023-03-14 22:20:56 +01:00
in-void
159a281b10 refactor commands logging 2023-03-14 22:20:06 +01:00
in-void
00d5540218 websocket api recovery middleware (logging) 2023-03-13 22:08:06 +01:00
in-void
a84eb70f99 fix typo 2023-03-13 21:57:30 +01:00
in-void
8cdc2f3593 validate blank browser extension name 2023-03-12 15:00:02 +01:00
in-void
59d25dd2e5 validate blank mobile app name 2023-03-12 14:59:53 +01:00
in-void
bffc5418ed validate blank browser extension name 2023-03-12 14:58:54 +01:00
in-void
6f9b7871cd retry on failure: return last error only 2023-03-12 12:43:08 +01:00
in-void
fc82335cbd retry on failure push (fcm) calls 2023-03-09 18:18:20 +01:00
in-void
3fb3b1b794 websocket api: fix websocket connection timeout handling 2023-03-07 23:50:04 +01:00
in-void
b8dd4c167a websocket api: split connection handler per route 2023-03-07 23:34:29 +01:00