Tulir Asokan
ab2e38b33b
Merge remote-tracking branch 'ofalvai/patch-1'
2022-06-22 12:10:52 +03:00
Tulir Asokan
38af35e776
Merge remote-tracking branch 'cynhr/cmd-prefix'
2022-06-22 12:10:44 +03:00
Tulir Asokan
c6adb87aea
Set sync_channel_members to false by default
2022-06-22 12:09:38 +03:00
Tulir Asokan
e8eef1c31e
Add option to not bridge chats with too many members
2022-06-22 12:05:48 +03:00
Cy Nhr
50cd878f13
Include command prefix in game and poll messages
...
Game and poll messages send by the bridge to matrix each include a command the
receiver might want to run (to play the game or to vote in the poll).
But these command suggestions did always include the "!tg" command prefix, even
if the command prefix was changed to a different value in the config. That
could lead to the bridge ignoring the exact command it suggested earlier.
With this commit, these messages contain the correct command prefix as defined
in the config so that the command suggestions can be executed by the user
without manually correcting the prefix.
2022-06-18 20:23:59 +02:00
Tulir Asokan
b60056c560
Add missing prefix to bridge info endpoint
2022-06-18 09:56:54 +03:00
Tulir Asokan
820210dc44
Fix bridging polls from Telegram
2022-06-02 19:40:23 +03:00
Tulir Asokan
7d998dca3f
Add support for custom message bridging status events
2022-06-01 15:36:22 +03:00
Tulir Asokan
037d93471d
Catch PhoneNumberUnoccupied in /login/send_code provisioning API
2022-05-30 22:18:28 +03:00
Tulir Asokan
5cb2b871cd
Fix sticker event type
2022-05-29 00:35:25 +03:00
Tulir Asokan
44f2c648a8
Add config option to exit if telethon update loop fails
2022-05-26 17:37:21 +03:00
Tulir Asokan
0ae8a5877e
Rename db upgrade
2022-05-26 17:28:44 +03:00
Tulir Asokan
18f6622340
Separate Telegram message conversion code from Matrix sending
2022-05-26 15:46:20 +03:00
Tulir Asokan
591e79f5a0
Enable catch_up and sequential_updates by default
2022-05-25 16:49:59 +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
e89c75c6cd
Don't try to stop relaybot if it's not enabled
2022-05-23 10:46:00 +03:00
Tulir Asokan
9383249ade
Stop relaybot connection cleanly
2022-05-20 18:44:36 +03:00
Tulir Asokan
190f452910
Fix some bugs and update Telethon
2022-05-20 14:24:28 +03:00
Tulir Asokan
3c59a1af97
Adjust logs slightly
2022-05-20 12:28:39 +03:00
Tulir Asokan
11ff628ef8
Always check database before handling message
2022-05-20 12:02:32 +03:00
Tulir Asokan
908e600dc9
Switch /resolve_identifier to GET
2022-05-19 18:22:04 +03:00
Tulir Asokan
eb43fde3e4
Add provisioning API for resolving identifiers
2022-05-19 13:15:44 +03:00
Tulir Asokan
e6ef40e51d
Update Telethon
2022-05-19 13:15:39 +03:00
Tulir Asokan
7feea5aa6d
Redact QR code after login
2022-05-16 19:13:06 +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
d9018868a1
Use new helper method to redact command
2022-05-10 17:27:03 +03:00
Tulir Asokan
72360457ef
Bridge audio and video metadata properly
2022-05-10 17:13:14 +03:00
Tulir Asokan
0e4c1b71e6
Redact 2fa password when using in-Matrix login
2022-05-10 17:04:39 +03:00
Olivér Falvai
575b761f77
Increase image_as_file_pixels default value
2022-05-07 12:23:01 +02:00
Tulir Asokan
21c6a7d87f
Bump version to 0.11.3
2022-04-17 13:30:38 +03:00
Tulir Asokan
7c2a569235
Remove some unused fields
2022-04-13 14:43:53 +03:00
Tulir Asokan
1f5b91cbec
Update mautrix-python
2022-04-09 20:52:45 +03:00
Tulir Asokan
ed6735f10f
Fix creating new database
2022-04-06 19:04:12 +03:00
Tulir Asokan
5acd3cf007
Move API version number to endpoint definition
2022-04-06 14:33:03 +03:00
Tulir Asokan
279b997bd3
Add contacts and PM endpoints to OpenAPI spec
2022-04-06 14:29:50 +03:00
Tulir Asokan
4eb6095822
Update provisioning API spec to OpenAPI 3.1.0
2022-04-06 14:06:10 +03:00
Tulir Asokan
da5b8556f2
Add phone number field for puppets
2022-04-06 12:49:01 +03:00
Tulir Asokan
261f99ac82
Add provisioning API for listing contacts and starting DMs
2022-04-06 12:40:55 +03:00
Tulir Asokan
61f3c39cc2
Mark reactions as read when reading from Matrix
2022-04-01 15:56:16 +03:00
Tulir Asokan
39ab1d0c22
Fix another bug
2022-03-31 01:58:40 +03:00
Tulir Asokan
8abb9c3884
Fix bugs in Telegram entity parser
2022-03-31 01:53:51 +03:00
Tulir Asokan
58f8ee2ee2
Add config option to mark joined Telegram notices as read automatically
2022-03-30 11:58:40 +03:00
Tulir Asokan
a3f4e25101
Fix some bugs and add command to list invite links
2022-03-28 15:49:08 +03:00
Tulir Asokan
8befb664b6
Handle accepted into group action messages
2022-03-28 15:06:35 +03:00
Tulir Asokan
819dd1bcff
Allow generating invite links that need join approval
2022-03-28 15:03:22 +03:00
Tulir Asokan
2b8b853fec
Add proper message when requesting to join via invite link
2022-03-28 15:03:05 +03:00
Tulir Asokan
f13acfe825
Clarify that supergroups are channels in !tg bridge
2022-03-27 23:39:46 +03:00
Sumner Evans
8d7cfd8e46
parallel transfer: disable async_upload
2022-03-27 12:26:44 -06:00
Sumner Evans
601058d61c
async media: add ability to upload media asynchronously
...
Co-authored-by: Tulir Asokan <tulir@maunium.net >
2022-03-27 12:26:44 -06:00
Tulir Asokan
f8596ef368
Use new ensure_has_html method instead of duplicating code
2022-03-23 19:51:01 +02:00