Tulir Asokan
cf70efb6a2
Clear backfill queue when chat is upgraded
2022-12-02 16:53:58 +02:00
Andrew Ferrazzutti
d79870801b
Add index to speed up Message.find_recent query ( #862 )
2022-11-01 21:25:55 +02:00
Tulir Asokan
1b11ec290a
Fix inserting backfill queue items
2022-10-14 16:04:11 +03:00
Tulir Asokan
0bbf64d240
Add option to sync portals in backfill queue
2022-10-14 13:55:12 +03:00
Tulir Asokan
8ff99ce916
Improve handling of reaching the start of a chat in backfill
2022-10-11 20:34:19 +03:00
Tulir Asokan
8ae34223c5
Add timeout for backfill queue waiter to handle retries
2022-10-11 17:32:59 +03:00
Tulir Asokan
9b9a3b452d
Infinite backfill with MSC2716 ( #817 )
...
Disabled by default, with non-infinite fallback mode as the default behavior
2022-10-11 16:03:52 +03:00
Tulir Asokan
02f21a30a8
Update latest revision upgrade
2022-10-11 16:00:04 +03:00
Half-Shot
b4fcccbe10
fix filename
2022-09-30 10:04:57 +01:00
Half-Shot
b9331b5f5a
Add index to puppet custom_mxid column
2022-09-30 10:00:16 +01:00
Tulir Asokan
2d865f006e
Don't use row.get to be compatible with sqlite3.Row
2022-09-20 18:43:41 +03:00
Tulir Asokan
ed1e5474bf
Update latest revision migration
2022-09-19 19:10:16 +03:00
Tulir Asokan
026c39a3de
Add support for new reaction stuff
...
* Custom emojis in reactions
* Premium users can react 3 times to a single message
* Reactions to recent messages are now polled on read receipt
2022-09-17 14:25:06 +03:00
Tulir Asokan
89294c57d8
Store message sender in database
2022-08-14 13:44:59 +03:00
Tulir Asokan
c4c225343c
Add backfill queue table
2022-08-14 12:49:13 +03:00
Tulir Asokan
76eafbf48c
Add basic support for bridging custom emojis from Telegram
2022-08-12 21:35:50 +03:00
Tulir Asokan
7abe19aec9
Add another backfill column
2022-07-13 12:17:35 +03:00
Tulir Asokan
8f68801aa9
Maybe improve channel leave handling
2022-06-27 15:59:11 +03:00
Tulir Asokan
ef05875bfd
Remove plaintext_highlights config option
...
The code using it was removed in v0.11.0, so it hasn't actually worked
for a while now.
2022-06-22 12:40:30 +03:00
Tulir Asokan
7eec0d1ed3
Add index on puppet username. Fixes #799
2022-06-22 12:30:07 +03:00
Tulir Asokan
0ae8a5877e
Rename db upgrade
2022-05-26 17:28:44 +03:00
Tulir Asokan
d898486b49
Add first_event_id and next_batch_id columns for portals
2022-05-25 14:56:41 +03:00
Tulir Asokan
e6ef40e51d
Update Telethon
2022-05-19 13:15:39 +03:00
Lonami
d084cca983
Add get_update_states to telethon_session ( #795 )
...
This is needed for an upcoming patch in order to
properly catch up on all channels the client is in.
2022-05-16 19:09:39 +03:00
Tulir Asokan
ed6735f10f
Fix creating new database
2022-04-06 19:04:12 +03:00
Tulir Asokan
da5b8556f2
Add phone number field for puppets
2022-04-06 12:49:01 +03:00
Tulir Asokan
4a55cf589c
Add initial db upgrade that jumps to latest version
2022-02-19 00:19:49 +02:00
Tulir Asokan
a55d9ae36a
Improve profile info syncing
2022-02-01 20:51:55 +02:00
Tulir Asokan
0f050edcd9
Add proper support for receiving messages sent as a channel. Fixes #740
2022-02-01 15:20:05 +02:00
Tulir Asokan
6bf3d10e29
Improve handling of disappearing photos and files
...
Fixes #508
2022-01-31 15:49:39 +02:00
Tulir Asokan
da3180e290
Delete nulls in message table. Fixes #731
2022-01-05 18:53:10 +02:00
Tulir Asokan
dc8a3d0c2d
Don't use parameters for pg_constraint query
2022-01-05 01:53:57 +02:00
Tulir Asokan
b13da92520
Find constraint names dynamically to work around schemas broken by pgloader
2022-01-03 20:12:55 +02:00
Tulir Asokan
b1da5c7c2c
Don't alter columns to not null on sqlite
2021-12-30 19:59:41 +02:00
Tulir Asokan
af893554cc
Add support for Matrix->Telegram reactions
2021-12-30 18:32:10 +02:00
Tulir Asokan
d108ac5d94
Add support for Telegram->Matrix reactions
2021-12-30 17:43:45 +02:00
Tulir Asokan
aae8f78cb4
Try to drop identity in addition to default and id_seq in puppet/bot_chat tables
...
Closes #720
Closes #721
Co-authored-by: Carl Ambroselli <git@carl-ambroselli.de >
2021-12-29 12:47:32 +02:00
Tulir Asokan
4e571e6b10
Handle some very old membership values in asyncpg migration
2021-12-23 17:10:31 +02:00
Tulir Asokan
50c6f2b009
Add support for sponsored messages. Fixes #699
2021-12-21 19:51:00 +02:00
Tulir Asokan
6d25e9687e
Blacken and isort code
2021-12-21 01:36:24 +02:00
Tulir Asokan
89ab29ea5f
Switch from SQLAlchemy to asyncpg/aiosqlite
2021-12-21 00:44:42 +02:00
Tulir Asokan
abfefab545
Store puppet displayname quality and don't allow it to decrease
2021-03-23 20:13:06 +02:00
Tulir Asokan
79f8c520bd
Move RowProxy import into type checking
2021-03-22 13:51:49 +02:00
Tulir Asokan
cd70e6b836
Switch to BIGINT for Telegram IDs in database
2021-03-09 22:03:23 +02:00
Tulir Asokan
697fb06909
Try to fix displayname changing between contact and non-contact name. Fixes #533
2021-01-01 12:02:21 +02:00
Tulir Asokan
6f4faf7a58
Store Matrix redaction state and ignore deletions of redacted messages
2020-12-19 12:48:08 +02:00
Tulir Asokan
2e27e85ac5
Add support for multiple pins
2020-11-06 18:57:22 +02:00
Tulir Asokan
524f60ab48
Update to mautrix-python 0.8.0.beta3
...
* Cross-server double puppeting is now possible
* End-to-bridge encryption no longer requires login_shared_secret,
but the homeserver must support MSC2778 (Synapse 1.21+)
2020-10-14 18:56:26 +03:00
Tulir Asokan
66917b6db0
Add option to update m.direct with double puppeting
2020-08-21 21:20:49 +03:00
Tulir Asokan
0080b028bf
Update mautrix-python
2020-07-12 15:48:35 +03:00