Tulir Asokan
b50558a37d
Remove custom send_message() function
2018-06-24 00:03:20 +03:00
Tulir Asokan
ad23445b69
Simplify and improve message format config
2018-06-23 23:46:41 +03:00
Tulir Asokan
f473c02bc3
Retry joins in bridge bot invite accepting. Fixes #150
2018-06-23 22:19:53 +03:00
Tulir Asokan
f1b52e7465
Merge pull request #157 from tulir/telematrix-import
...
Telematrix import script
2018-06-23 22:05:19 +03:00
Tulir Asokan
e6e6af0689
Make potential datacenter switch related file transfer auth errors non-fatal
2018-06-23 21:51:22 +03:00
Tulir Asokan
7a7c0b780f
Convert user_level to int in _participant_to_power_levels
2018-06-23 21:43:06 +03:00
Tulir Asokan
3775206ab3
Move scripts under mautrix_telegram to allow calling them when installing with pip
2018-06-23 21:18:45 +03:00
Tulir Asokan
42fc48adfe
Replace tabs with 4 spaces
...
Telegram doesn't allow tabs and was converting them to a space.
The local formatter needs to account for all of telegram's formatting
rules as otherwise the content-based duplicate checker will fail.
2018-06-23 19:57:11 +03:00
Tulir Asokan
f51d43b999
Increase connection timeout
2018-06-23 11:26:21 +03:00
Tulir Asokan
25b1adf626
Add support for logging in with a bot. Fixes #155
2018-06-23 00:44:41 +03:00
Tulir Asokan
17aefd02da
Make alembic result consistent with definitions in db.py and add bot_id to bot_chat table
2018-06-22 21:20:00 +03:00
Tulir Asokan
b127afbf9b
Delete unauthenticated sessions
2018-06-22 15:13:22 +03:00
Tulir Asokan
b8f2c9a8f7
Add recommendation to use out-of-Matrix login for telegram 2FA
2018-06-22 12:48:05 +03:00
Tulir Asokan
d466060c44
Make logged_in and has_full_access async functions instead of properties
2018-06-22 12:45:19 +03:00
Tulir Asokan
42056b91c5
Fix critical Telethon core rewrite compatibility bugs
2018-06-21 16:16:16 +03:00
Tulir Asokan
68e6a70234
Merge pull request #152 from turt2live/travis/display_name
...
Add configuration for basic message formats
2018-06-08 12:01:14 +03:00
Tulir Asokan
642ea2baae
Bump version to 0.3.0+dev
2018-06-08 12:00:33 +03:00
Tulir Asokan
005daa9ee2
Bump version to 0.2.0
2018-06-08 11:55:59 +03:00
Travis Ralston
dad99823fc
Add the m.emote message formats to the config
2018-06-07 14:58:46 -06:00
Travis Ralston
0d264e09a8
Add configuration for basic message formats
...
Fixes https://github.com/tulir/mautrix-telegram/issues/92
2018-06-07 13:49:03 -06:00
Tulir Asokan
7029102c0f
Bump version to 0.2.0rc6
2018-06-06 13:39:09 +03:00
Tulir Asokan
c0da861562
Add warning about delete-portal kicking all room members
2018-06-01 18:05:35 +03:00
Tulir Asokan
844cf14bcd
Bump version to 0.2.0rc5
2018-06-01 13:27:20 +03:00
Tulir Asokan
fe32475e10
Fix kicking Telegram puppets and fix error message when bridging chats you've left
2018-05-31 11:19:24 +03:00
Tulir Asokan
f28f5915a4
Don't create portal in response to relaybot events. Fixes #145
2018-05-31 11:18:48 +03:00
Tulir Asokan
1aa80c1a8f
Fix user_portal delete cascade when deleting portals
2018-05-31 11:18:20 +03:00
Tulir Asokan
5d9b94fa5f
Bump version to 0.2.0rc4
2018-05-29 22:26:26 +03:00
Tulir Asokan
6ef31599e9
Read database path from config in alembic env.py
...
Slightly related to #135
2018-05-29 18:37:08 +03:00
Tulir Asokan
e961e0bcc6
Fix manual bridging using the relay bot
2018-05-29 15:26:40 +03:00
Tulir Asokan
dc85754b1e
Fix postgres compatibility
2018-05-29 15:17:08 +03:00
Tulir Asokan
04e2c03dae
Allow inviting relaybot-whitelisted Matrix users to portal from telegram
2018-05-29 15:15:42 +03:00
Tulir Asokan
42d54dac5b
Bump version to 0.2.0rc3
2018-05-25 00:08:46 +03:00
Tulir Asokan
961707dd30
Bump version to 0.2.0rc2
2018-05-21 00:39:27 +03:00
Tulir Asokan
606686ce84
Bump version to 0.2.0rc1
2018-05-19 23:13:19 +03:00
Tulir Asokan
649f8aa9a4
Allow escaping ! -> / conversion. Fixes #134
2018-05-19 21:51:52 +03:00
Tulir Asokan
13db0eea93
Sync telegram user's puppet at message send time if no display name is set. Fixes #131
2018-05-19 21:45:47 +03:00
Tulir Asokan
adbd048108
Remove temporary debug messages
2018-05-19 21:42:48 +03:00
Tulir Asokan
1639099401
Update command help
2018-05-19 20:57:46 +03:00
Tulir Asokan
7a373fa556
Add option to filter telegram chats from being bridged. Fixes #41
2018-05-19 19:35:01 +03:00
Tulir Asokan
1f5261ff8f
Initial solution and database update for #11
...
The database now contains a displayname_source field which is the
telegram user ID of the user whose point of view the displayname
is from.
Updates from the relaybot user always take precendence, but currently
the relaybot will never automatically fetch displaynames.
2018-05-19 17:22:16 +03:00
Tulir Asokan
0833850f4f
Fix potential duplicate unauthenticated user join/leave message in Matrix
2018-05-19 16:18:04 +03:00
Tulir Asokan
87a715aa10
Add missing await when joining chat with invite link
2018-05-17 17:20:56 +03:00
Tulir Asokan
79341b8d28
Add support for Telethon's catch_up() (ref #124 )
2018-05-13 11:22:20 +03:00
Tulir Asokan
949c380235
Update reply format again
2018-05-13 10:28:56 +03:00
Tulir Asokan
81d982d254
Add/handle <!--end-mx-reply--> at end of native reply fallbacks. Fixes #133
2018-05-04 15:40:26 +03:00
Tulir Asokan
1e0f2c72b5
Fix line lengths and add limit to .editorconfig
2018-04-29 23:51:28 +03:00
Tulir Asokan
73e7b8f635
Add option to send bot messages as m.notice. Fixes #121
2018-04-29 23:51:27 +03:00
Tulir Asokan
8354bf6bb5
Send gif stickers as-is rather than converting to webp. Fixes #132
2018-04-29 23:15:05 +03:00
Tulir Asokan
db5441c3eb
Fix some potential errors in matrix file handling
2018-04-29 23:15:04 +03:00
Tulir Asokan
bb13813952
Check if portal is channel before trusting member list
2018-04-29 15:54:16 +03:00