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
Tulir Asokan
31cac3eef3
Update mautrix-python
2020-07-09 16:59:01 +03:00
Tulir Asokan
489e520ddd
Add option to resend bridge info to all portals
2020-06-15 15:30:57 +03:00
Tulir Asokan
8a99e67c6d
Update bridge info when portal metadata changes
2020-06-15 14:43:38 +03:00
Tulir Asokan
c1d4e8e482
Update mautrix-python to use SQLAlchemy for matrix-nio state storage
2020-03-31 22:19:43 +03:00
Tulir Asokan
698b56afcf
Encrypt media being sent to Matrix in encrypted rooms
2020-03-30 21:47:13 +03:00
Tulir Asokan
c79d442158
Add initial Matrix end-to-bridge encryption support
2020-03-28 22:01:23 +02:00
Tulir Asokan
2fbee75453
Add command to backfill room history from Telegram
...
Currently supports backfilling one room at a time and backfills
everything after the last bridged message.
2020-02-04 22:41:51 +02:00
Tulir Asokan
539c2338fc
Fix typo in lowercase sql func
2019-11-30 16:18:25 +02:00
Tulir Asokan
91e6a73f33
Fix incorrectly case sensitive username finding in db. Fixes #384
2019-11-30 15:21:47 +02:00
Tulir Asokan
aaf158cc29
Fix loading TelegramFile thumbnails from the db
2019-11-06 22:37:25 +02:00
Tulir Asokan
574312d7c5
Add option for parallel streamed file transfer
2019-10-27 01:12:15 +03:00
Tulir Asokan
835b363661
Fix some problems with editing
2019-09-02 22:58:11 +03:00
Tulir Asokan
fbb1267609
Start using new db base functions
2019-09-02 22:02:50 +03:00
Tulir Asokan
47cf63e0e6
Add psycopg2 as an optional dependency and throw error at startup if db is not initialized
2019-08-07 00:00:59 +03:00
Tulir Asokan
ad499b977e
Persist next_batch for custom puppets
2019-08-06 23:16:17 +03:00
Tulir Asokan
bd13c73f2f
Fix bugs
2019-08-06 01:13:27 +03:00
Tulir Asokan
2a9ab569b4
Only load users with a tgid at startup
2019-08-06 00:59:28 +03:00
Tulir Asokan
d6a2e7a9f7
Split portal.py and migrate more stuff to mautrix-0.4
2019-08-05 00:11:21 +03:00
Tulir Asokan
d8653961af
Even even more migrations to mautrix-python
2019-08-04 01:41:10 +03:00
Tulir Asokan
d4e3956941
Even more migrations to mautrix-python
2019-07-19 21:36:21 +03:00
Tulir Asokan
eef498d47a
More migrations to mautrix-python
2019-07-19 00:17:57 +03:00
Tulir Asokan
8d4a9dc231
Start migrating to mautrix-python
2019-07-18 23:24:25 +03:00