Commit graph

21 commits

Author SHA1 Message Date
Tulir Asokan
fd1cdd8c94 Move remaining utilities 2023-08-05 19:24:45 +03:00
Tulir Asokan
23de526943 Make ShouldDeduplicate more readable 2023-07-20 12:25:06 +03:00
Tulir Asokan
b5f4200875 Check info when deduplicating bridge states 2023-07-20 12:24:57 +03:00
Tulir Asokan
82f817eff6 Allow *User object to fill bridge states manually 2023-07-15 02:32:18 +03:00
Tulir Asokan
b7a4f77fc9 Bump bridge state TTLs 2023-06-22 22:02:51 +03:00
Sumner Evans
8560d49d04
message checkpoints: fix name of MsgStatus{Delivered,DeliveryFailed}
Signed-off-by: Sumner Evans <sumner@beeper.com>
2023-06-20 16:42:28 -06:00
vurpo
726201801e
Use HTTPError in checkpoint function (#132)
* Use HTTPError in checkpoint function

* Change both error return branches in checkpoint

* Include wrapped error in checkpoint HTTPError
2023-06-14 15:38:59 +03:00
Tulir Asokan
54a73ab22e Move bridge websocket code from mautrix-imessage 2023-06-09 15:43:02 +03:00
Sumner Evans
5cc5898694
checkpoint status: add DELIVERED and DELIVERY_FAILED
Signed-off-by: Sumner Evans <sumner@beeper.com>
2023-05-22 12:09:05 -06:00
Sumner Evans
0d8aa69750
checkpoints: add IsValid functions for enums
Signed-off-by: Sumner Evans <sumner@beeper.com>
2023-05-22 12:09:05 -06:00
Sumner Evans
3f79b0b60c
message checkpoint step: add function to determine order
Signed-off-by: Sumner Evans <sumner@beeper.com>
2023-02-16 18:27:19 -07:00
Tulir Asokan
cb6afa4f23 Add constant for STARTING state 2023-02-05 02:36:52 +02:00
Tulir Asokan
b43c91356a Fix error messages when sending message checkpoints 2023-01-20 15:46:04 +02:00
Tulir Asokan
181c7c0bd0 Add hacky stateEvent field when pushing BRIDGE_UNREACHABLE state 2022-12-12 22:27:03 +02:00
Tulir Asokan
a583e7e507 Add more user agents 2022-10-10 10:30:24 +03:00
Tulir Asokan
2c1a4769e5 Omit empty original_event_id in checkpoints 2022-09-27 11:38:55 +03:00
Tulir Asokan
10546ab460 Add utility for strongly typed unix timestamps in JSON 2022-09-27 11:34:12 +03:00
Tulir Asokan
087e8589cb Add BRIDGE_UNREACHABLE constant 2022-08-23 18:00:23 +03:00
Tulir Asokan
7384fb14bc Move sending bridge state to status package 2022-08-18 14:04:17 +03:00
Tulir Asokan
ea490579a7 Add client type and version to MessageCheckpoint 2022-08-15 17:50:00 +03:00
Tulir Asokan
ba1fce8fce Move bridge status and message checkpoints to subpackage 2022-08-15 16:34:25 +03:00