Commit graph

1163 commits

Author SHA1 Message Date
Tulir Asokan
43d8fc5d2b Disallow sending status broadcast messages by default
Sending to big contact lists doesn't really work yet
2022-06-13 20:01:39 +03:00
Tulir Asokan
0796d14133 Update changelog and whatsmeow 2022-06-04 23:33:20 +03:00
Tulir Asokan
c5ad896bc0 Update whatsmeow 2022-06-01 00:49:52 +03:00
Tulir Asokan
8d07000013 Update mautrix-go 2022-05-31 19:59:07 +03:00
Tulir Asokan
7f27c76659 Improve tracking errors in Matrix->WhatsApp bridging
Closes #231
2022-05-31 17:28:59 +03:00
Tulir Asokan
df99750636 Update whatsmeow to maybe improve retry receipts 2022-05-31 16:29:55 +03:00
Tulir Asokan
79fb0d49b3 Move bridge state stuff to mautrix-go 2022-05-31 00:27:44 +03:00
Tulir Asokan
49a445e10d Update mautrix-go and add log when room is created 2022-05-29 19:22:07 +03:00
Tulir Asokan
87b5c91fe7 Disable double puppeting in broadcast rooms. Fixes #506
(also fixes #371)
2022-05-29 19:20:29 +03:00
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