Tulir Asokan
c7b6826455
Update dependencies
2023-04-25 15:48:19 +03:00
vurpo
a6dca47740
Add custom contact info fields to puppet profile ( #605 )
...
* Add custom contact info fields to puppet profile
* Rename the field names in the new contact info
* Set contact info for puppets on startup
* Check for hungry inside the contact info function
* appservice bot: add contact info to bridge bot
Signed-off-by: Sumner Evans <sumner@beeper.com>
* go.sum: tidy
Signed-off-by: Sumner Evans <sumner@beeper.com>
* puppet/UpdateContactInfo: reduce nesting
Signed-off-by: Sumner Evans <sumner@beeper.com>
---------
Signed-off-by: Sumner Evans <sumner@beeper.com>
Co-authored-by: Sumner Evans <sumner@beeper.com>
2023-04-10 18:39:05 +03:00
Tulir Asokan
d320c4ab08
Add more detailed logging when receiving history syncs
2023-03-02 17:33:44 +02:00
Tulir Asokan
c477f46af8
Fix syncing DMs in sync space command
2023-02-15 14:33:53 +02:00
Tulir Asokan
b8127f3545
Remove unused read receipt based disappearing timer
2023-01-16 17:16:01 +02:00
Tulir Asokan
3a5ca36d49
Fix disappearing message timing
2023-01-16 17:15:04 +02:00
Tulir Asokan
1ce4e4a219
Fix some database transaction bugs
2023-01-04 02:13:20 +02:00
Tulir Asokan
0305680317
Add support for creating polls from Matrix
2022-12-23 15:18:16 +02:00
Tulir Asokan
54c61c63e6
Update child portal m.bridge info when updating parent
2022-12-14 01:04:11 +02:00
Tulir Asokan
74e6c5f53e
Clear in_space flag in portals when deleting parent
2022-12-03 16:48:39 +02:00
Tulir Asokan
a1192bd0a4
Add support for communities
2022-12-02 15:36:19 +02:00
Tulir Asokan
4bfd3bd644
Fix marking messages as disappearing while backfilling on SQLite
2022-11-10 23:12:08 +02:00
Tulir Asokan
86e739b6a1
Simplify using optional db transactions
2022-11-10 23:12:08 +02:00
Tulir Asokan
f7064812ea
Update dependencies
2022-11-04 12:54:46 +02:00
Tulir Asokan
1105530c9a
Add initial support for WhatsApp message edits
...
Sending will be disabled by default until official WhatsApp clients
start rendering edits. The implementation may also be incorrect.
2022-10-08 17:47:52 +03:00
Tulir Asokan
7a933124fa
Use transaction for saving reactions in backfill
2022-09-28 15:54:08 +03:00
Tulir Asokan
f79efa9037
Update mautrix-go
2022-08-14 19:37:11 +03:00
Tulir Asokan
3617b991c8
Update whatsmeow
2022-08-01 09:49:27 +03:00
Sumner Evans
17cd75654f
Fix the FindPrivateChats SELECT statement
...
The % needs to be escaped in the LIKE statement.
Closes #532
2022-07-18 19:11:23 -06:00
Tulir Asokan
7ccc0d005e
Remove unused dbms migration function
2022-07-12 13:15:49 +03:00
Tulir Asokan
19b4c3093a
Apply periodic resync for group chats too
2022-06-28 16:22:11 +03:00
Tulir Asokan
9f0901f560
Add periodic ghost avatar resync
2022-06-28 14:37:50 +03:00
Tulir Asokan
40ea8a8324
Stop using SELECT *
2022-06-24 17:53:28 +03:00
Tulir Asokan
8012368de5
Fix backfill queue query. Fixes #517
2022-06-17 10:33:47 +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
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
66cd7cd080
Fix mixed indent in .sql files
2022-05-23 20:00:08 +03:00
Tulir Asokan
a42c7bca17
Remove unused crypto store and fix comment
2022-05-22 22:03:08 +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
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
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
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
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
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
Sumner Evans
c1bf0e6555
backfill queue: set the dispatch time instead of completed time
2022-05-15 21:42:42 -06:00
Sumner Evans
17c697445d
history sync: store timestamp when the message got put into the DB
...
This will be useful for debugging issues with missing messages
2022-05-15 21:42:42 -06:00
Sumner Evans
1d70cbff48
backfill queue: add dispatch time, remove time end to table
...
* the dispatch time is going to be what the completed time used to be
* the time end column was always nil, so I got rid of it
2022-05-15 21:42:38 -06:00
Tulir Asokan
c7b0f98f97
Fix scanning null values in timezone column
2022-05-12 20:51:37 +03:00