Commit graph

1339 commits

Author SHA1 Message Date
Tulir Asokan
66cd7cd080 Fix mixed indent in .sql files 2022-05-23 20:00:08 +03:00
Tulir Asokan
91bab528f3 Mark incoming own messages as read after bridging 2022-05-23 10:18:01 +03:00
Tulir Asokan
a42c7bca17 Remove unused crypto store and fix comment 2022-05-22 22:03:08 +03:00
Tulir Asokan
9e4e964112 Move login-matrix commands to mautrix-go 2022-05-22 22:03:08 +03:00
Tulir Asokan
15129c0acc Move permission config to mautrix-go 2022-05-22 22:03:08 +03:00
Sumner Evans
9a10240293
Merge pull request #501 from mautrix/sumner/bri-3528
provisioning/login: set timezone sooner
2022-05-22 08:44:54 -06:00
Tulir Asokan
b972bf1047 Fix line being in wrong place 2022-05-22 17:32:22 +03:00
Tulir Asokan
86b9ae54d5 Re-add matrix event duration metric and move more things 2022-05-22 16:28:50 +03:00
Tulir Asokan
73304cd400 Move Matrix event and command handling to mautrix-go 2022-05-22 16:15:54 +03:00
Sumner Evans
32032161e2
provisioning/login: set timezone sooner 2022-05-21 16:46:49 -06:00
Tulir Asokan
a8c72a57f9 Update mautrix-go again 2022-05-22 01:19:27 +03:00
Tulir Asokan
125199bbf8 Update mautrix-go 2022-05-22 01:17:05 +03:00
Tulir Asokan
a948ea0146 Move a bunch of stuff to mautrix-go
See d578d1a610

Database upgrades from before v0.4.0 were squashed, users must update
to at least v0.4.0 before updating beyond this commit.
2022-05-22 01:06:30 +03:00
Tulir Asokan
42a4839a4e Move config upgrade helper to mautrix-go 2022-05-22 00:58:04 +03:00
Sumner Evans
f1a4cfe7d5
Merge pull request #500 from mautrix/add-avatar-to-contacts
provisioning/contacts: send avatar URL
2022-05-21 09:24:57 -06:00
Sumner Evans
e133516fed
provisioning/contacts: send avatar URL 2022-05-20 17:33:33 -06:00
Sumner Evans
bc8b0554f6
Merge pull request #499 from mautrix/sumner/bri-3309-2
backfill: add state event and table and re-dispatch on timeout
2022-05-20 10:36:27 -06:00
Sumner Evans
cdf97a2df3
backfill: set backfill status state event 2022-05-20 10:22:33 -06:00
Sumner Evans
4eac1ea719
backfill state: update during backfill 2022-05-20 10:22:30 -06:00
Sumner Evans
89663c2745
backfill state: add table for tracking state 2022-05-20 10:18:24 -06:00
Sumner Evans
feb9f71cb5
backfill: re-dispatch if 15 minutes have elapsed
If 15 minutes have passed since the backfill request was dispatched and
backfill hasn't completed, then re-dispatch.
2022-05-20 10:18:17 -06:00
Tulir Asokan
2ae3d7f5ae Update setup doc links 2022-05-19 23:50:52 +03:00
Tulir Asokan
24c2880b20 Adjust error response content log 2022-05-19 15:18:15 +03:00
Tulir Asokan
30cf85a3b1 Ignore media retry errors if the response contains a new URL 2022-05-19 15:14:22 +03:00
Tulir Asokan
962179fb75 Handle edge cases with missing senders in historical messages 2022-05-19 12:08:31 +03:00
Tulir Asokan
d33f5aa3d2 Stop ignoring errors deleting backfill queue stuff 2022-05-19 11:45:08 +03:00
Tulir Asokan
68b2d663ac Fix deleting historical messages of chats that won't be bridged 2022-05-19 11:41:18 +03:00
Tulir Asokan
60496e5976 Fix last message timestamp in history_sync_conversation table 2022-05-19 11:41:02 +03:00
Tulir Asokan
f39fff3285
Send first batch of events without historical flag (#498) 2022-05-19 11:36:42 +03:00
Sumner Evans
2bd66f21ee
Merge pull request #497 from mautrix/sumner/bri-3445
backfill: add option to mark unread using account data
2022-05-18 10:52:30 -06:00
Sumner Evans
ec8f75e50e
backfill: add option to mark unread using account data 2022-05-18 10:40:29 -06:00
Tulir Asokan
8b7abe6f7d Don't send read receipts for errored messages 2022-05-18 01:00:23 +03:00
Tulir Asokan
e81acef840 Add debug endpoint for sending retry receipts 2022-05-18 00:08:38 +03:00
Tulir Asokan
5bcc8d3741 Include undecryptable message type in segment event 2022-05-17 21:47:13 +03:00
Tulir Asokan
e062ddc51a Include obfuscated phone number in retry receipt metrics 2022-05-17 19:30:46 +03:00
Tulir Asokan
6634f004ed Include message ID in not found retry receipts 2022-05-17 17:35:29 +03:00
Sumner Evans
5c70c39625
Merge pull request #495 from mautrix/fix-build
commands: fix build
2022-05-16 18:23:14 -06:00
Sumner Evans
48c60d33c4
commands: fix build 2022-05-16 18:08:20 -06:00
Sumner Evans
5b73ba7efd
Merge pull request #494 from mautrix/sumner/bri-3309
backfill: remove intermediate queues and unblock re-checking DB
2022-05-16 17:13:29 -06:00
Sumner Evans
54f3e8a439
database: combine backfill queue upgrades together 2022-05-16 17:09:47 -06:00
Sumner Evans
df46ca99f9
backfill: remove intermediate buffer for backfill 2022-05-16 14:04:22 -06:00
Tulir Asokan
9fd07c0759 Bump version to v0.4.0 2022-05-16 20:31:32 +03:00
Tulir Asokan
4264c50558 Check status code when tracking segment events 2022-05-16 15:24:26 +03:00
Tulir Asokan
46ba3981c1 Add Segment events for retry receipts and undecryptable messages 2022-05-16 13:49:43 +03:00
Tulir Asokan
7c0cf0513a Clean up Segment code 2022-05-16 13:49:40 +03:00
Tulir Asokan
512ca6be89 Update whatsmeow 2022-05-16 11:54:38 +03:00
Tulir Asokan
3cafd59cf7 Handle key missing errors when syncing app state 2022-05-16 11:43:09 +03:00
Tulir Asokan
66a00570b4 Update changelog 2022-05-16 11:28:53 +03:00
Tulir Asokan
3ee7c8527a Send a valid request when doing hacky phone pings 2022-05-16 11:22:41 +03:00
Sumner Evans
f3f6d88e55
backfill: perform batch finish in transaction 2022-05-15 21:43:12 -06:00