Commit graph

208 commits

Author SHA1 Message Date
Tulir Asokan
98a842c075 bridge: register if /versions fails with M_FORBIDDEN 2024-07-12 19:42:29 +03:00
Tulir Asokan
3b55fedc17 client: cache spec versions supported by server 2024-06-15 20:16:19 +03:00
Tulir Asokan
f97d365ea9 Add proper main for v2 matrix bridges 2024-06-11 15:04:02 +03:00
Malte E
6cc490d9ab
check ghost != nil in correct line (#208) 2024-04-21 15:22:26 +02:00
Malte E
640086dbf9
Fix default prevContent in bridge membership event handler (#204) 2024-04-05 02:27:36 +03:00
Tulir Asokan
ade00e8603
Merge pull request #193 from maltee1/join_rule
Join Rule & (Un)ban handling & Knock handling
2024-03-22 20:04:08 +02:00
Malte E
b556d65da9 add handler for accepting/rejecting/retracting invites 2024-03-15 22:29:33 +01:00
Tulir Asokan
94246ffc85 Drop maulogger support 2024-03-11 20:36:06 +02:00
Malte E
db41583fdd add knock handling 2024-03-10 13:47:09 +01:00
Malte E
41dfb40064 add ban/unban handling 2024-03-09 21:17:27 +01:00
Malte E
6b1a039beb add join rule handler 2024-03-09 20:34:47 +01:00
Malte E
b8e4202c0f
Add handler for power levels in bridges (#189) 2024-03-09 16:33:09 +02:00
Tulir Asokan
a8e1ae1936 Link to FAQ in some error cases 2024-03-03 12:47:29 +02:00
Tulir Asokan
7f0d53ac91 Treat missing upload size limit as 50mb 2024-02-21 19:12:59 +02:00
Tulir Asokan
a1b18a005a Add flag to run bridge even if homeserver is outdated 2024-02-16 16:52:21 +02:00
Tulir Asokan
2d1786ced4 Configure zerolog globals with exzerolog 2024-02-08 10:56:32 +02:00
Tulir Asokan
591e3a002a Add function for creating a ready-to-use AppService instance 2024-01-19 12:29:25 +02:00
Tulir Asokan
66cfa6389e Fix RawArgs when using command state function 2024-01-16 21:28:44 +02:00
Tulir Asokan
c8e9998e7f Drop support for legacy query param auth for appservices 2024-01-16 21:28:13 +02:00
Tulir Asokan
ff6bd01335 Add support for custom validators for entire bridge config 2024-01-16 16:06:15 +02:00
Tulir Asokan
308e3583b0 Add contexts to event handlers 2024-01-13 18:56:12 +02:00
Tulir Asokan
25bc36bc7a Add more contexts everywhere 2024-01-07 22:45:02 +02:00
Tulir Asokan
48bfc596f0 Fix incorrect context.Backgrounds 2024-01-07 15:35:58 +02:00
Tulir Asokan
88631708a4 Add context to UpdateBridgeInfo 2024-01-04 14:57:37 +02:00
Tulir Asokan
370913378a Log full pq error details in bridge upgrades 2023-12-29 21:17:18 +01:00
Tulir Asokan
39844af48e Log SQL line when bridge DB upgrade fails 2023-12-28 17:06:29 +01:00
Tulir Asokan
db66b4f5d0 Don't copy Python log configs as-is 2023-12-19 15:40:32 +02:00
Joakim Recht
753cdb2e1c
Add context parameter to all client and bridge API functions (#144) 2023-12-15 16:23:31 +02:00
Sumner Evans
4784d6d09f
MembershipHandlingPortal: add full event to handlers
Signed-off-by: Sumner Evans <sumner@beeper.com>
2023-11-17 09:01:33 -07:00
Tulir Asokan
f47b2ce7bd Add context for bridge command events 2023-11-17 13:21:44 +02:00
Tulir Asokan
37d5493a56 Send encryption error replies in thread if applicable 2023-11-12 12:47:20 +02:00
Tulir Asokan
69c80b473a Send checkpoint if portal isn't found 2023-10-25 12:38:35 +03:00
Tulir Asokan
4e423897f7 Set global zerologger 2023-10-03 21:10:04 +03:00
Tulir Asokan
eea14cb9a4 Include error in log if message checkpoint sending fails 2023-09-11 15:16:41 -04:00
Tulir Asokan
3fffe3f31c Clarify parameter syntax in bridge help message 2023-09-04 12:20:06 +03:00
Tulir Asokan
ac5c2c2210 Add bridge double puppeting utility 2023-08-21 13:51:06 +03:00
Tulir Asokan
82eaf14f46 Use errors.Is for check 2023-08-11 16:12:48 +03:00
Sumner Evans
c273e40a12
bridge/crypto: add ShareKeys function to CryptoHelper
Signed-off-by: Sumner Evans <sumner@beeper.com>
2023-08-10 08:30:55 -06:00
Tulir Asokan
fd1cdd8c94 Move remaining utilities 2023-08-05 19:24:45 +03:00
Tulir Asokan
35b6ea3261 Move random, mimetype and dualerror to util package 2023-08-05 18:43:54 +03:00
Tulir Asokan
bb4427e528 Move dbutil to util package 2023-08-05 18:04:09 +03:00
Tulir Asokan
ff77fa8ec6 Include OS and arch in version json 2023-07-29 14:49:56 +03:00
Tulir Asokan
1ef6561650 Add command to get bridge version as JSON 2023-07-28 21:28:48 +03:00
Tulir Asokan
ab9d6e5eb5 Allow creating state queue for websocket bridges without status endpoint 2023-07-22 20:34:05 +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
33c91ff16c
Merge pull request #135 from mautrix/max/be-12207
Add option to delete outdated inbound keys
2023-06-23 14:58:49 +03:00
Tulir Asokan
b7a4f77fc9 Bump bridge state TTLs 2023-06-22 22:02:51 +03:00
Max Sandholm
6728ac523c Add option to delete outdated inbound keys
(keys which lack the metadata about when they're safe to delete)
2023-06-22 09:09:19 +03:00