Tulir Asokan
1bfed718fe
Update mautrix-go
2022-05-26 14:30:52 +03:00
Tulir Asokan
4865238352
Update dependencies
2022-05-26 11:41:37 +03:00
Tulir Asokan
2463f8e60f
Port some more old db schema upgrades
2022-05-26 11:23:15 +03:00
Tulir Asokan
52748374b7
Actually fix first_expected_ts upgrade. Fixes #504
2022-05-25 23:48:39 +03:00
Tulir Asokan
241de2f18f
Fix changing first_expected_ts column type
2022-05-25 18:51:51 +03:00
Sumner Evans
1f292dc1c5
Merge pull request #502 from mautrix/backfill-queue-fixes
...
backfill: fixes and minor refactors
2022-05-25 08:40:44 -06:00
Sumner Evans
0939bb3bc3
backfill status event: send first expected timestamp in ms after epoch instead of seconds
2022-05-25 08:39:08 -06:00
Tulir Asokan
42fc0f6962
Update mautrix-go
2022-05-25 12:51:06 +03:00
Sumner Evans
03d46630c2
backfill status event: send after room exists
2022-05-24 17:34:43 -06:00
Sumner Evans
b850995888
backfill: block deferred requests on immediate and forward backfills
2022-05-24 17:34:43 -06:00
Sumner Evans
a0ffed43dd
database/backfill_state: change type of first_expected_ts to BIGINT
2022-05-24 17:34:43 -06:00
Tulir Asokan
372929f454
Fix small things
2022-05-24 14:02:06 +03:00
Tulir Asokan
1185b4bb71
Add mutex to block new messages in specific backfill cases
...
Specifically, when sending events using the `com.beeper.new_messages`
query param, normal new messages shouldn't be processed, as ordering
might get messed up.
3a264b77ed
2022-05-24 13:39:29 +03:00
Tulir Asokan
dcb1152382
Update changelog
2022-05-24 11:28:43 +03:00
Tulir Asokan
d1698b0e9a
Update whatsmeow
2022-05-24 00:08:28 +03:00
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