Tulir Asokan
d4ea5f8b38
Improve type hints and set version to 0.4.0+dev
2018-09-10 01:14:12 +03:00
Tulir Asokan
731c802fcd
Only import deque in type checking mode to fix 3.5 runtime support
2018-08-30 19:03:22 +03:00
Kai A. Hiller
81531235bc
Replace double quote type annotations with single quotes
2018-08-09 14:36:14 +02:00
Kai A. Hiller
e751d140f2
Change case of new types
2018-08-09 14:11:41 +02:00
Kai A. Hiller
0f8009b1e9
Add missing type hints and fix most type errors except for Optionals.
2018-08-09 03:31:04 +02:00
Kai A. Hiller
08dd5b5b15
Add None return type to functions
2018-08-09 02:42:47 +02:00
Tulir Asokan
f2390c4937
Fix some Nones and fix TelegramMessage.prepend()
2018-07-26 10:16:21 -04:00
Tulir Asokan
629a406051
Fix small formatting things
2018-07-25 22:10:45 -04:00
Tulir Asokan
1421ae0cce
Implement strikethrough and underline in new HTML parser
2018-07-25 22:05:42 -04:00
Tulir Asokan
3cca11a997
Implement lxml parser
2018-07-25 21:45:25 -04:00
Tulir Asokan
c08659c75a
Fix bugs
2018-07-25 11:53:31 -04:00
Tulir Asokan
d5f6e45363
Merge branch 'master' into lxml-formatter
2018-07-25 11:39:48 -04:00
Tulir Asokan
dbfb980bde
Add more type hints
2018-07-25 11:02:38 -04:00
Tulir Asokan
d97281bcdc
Require authentication for web login. Fixes #163
2018-07-14 16:00:20 +03:00
Tulir Asokan
99f84b5dfe
Initial split to htmlparser/lxml matrix->telegram formatters
2018-07-12 15:58:07 +03:00
Tulir Asokan
b50558a37d
Remove custom send_message() function
2018-06-24 00:03:20 +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
649f8aa9a4
Allow escaping ! -> / conversion. Fixes #134
2018-05-19 21:51:52 +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
824725a698
Remove unnecessary newlines from some places. Fixes #113
2018-04-28 21:29:11 +03:00
Tulir Asokan
133e4af712
Fix replying to replies of forwarded messages
...
Fixes #93
2018-03-31 19:48:31 +03:00
Tulir Asokan
66d68f6b63
Fix error when trying to mention unauthenticated users
2018-03-31 11:18:39 +03:00
Tulir Asokan
a1297e90ce
Update alchemysession to fix get_entity
2018-03-30 12:50:48 +03:00
Tulir Asokan
6c0399ac7b
Convert t.me message URLs to matrix.to message URLs. Fixes #98
2018-03-29 21:23:47 +03:00
Tulir Asokan
22f430c340
Fix forwarded messages from channels not appearing
2018-03-24 17:01:09 +02:00
Tulir Asokan
91ae50911e
Fix Telethon 0.18.1 compatibility. Fixes #96
2018-03-24 16:39:28 +02:00
Tulir Asokan
b06e7932f0
Add Matrix->Telegram location bridging and add user to relaybot files. Fixes #89
2018-03-10 19:53:08 +02:00
Tulir Asokan
42e33ab54d
Add temporary patch for TypeMessageEntity
2018-03-10 14:56:25 +02:00
Tulir Asokan
ae88aa0553
Add type hints to formatter
2018-03-10 12:36:11 +02:00
Tulir Asokan
2d63c5b3ce
Fix and refactor Matrix->Telegram formatter
2018-03-10 09:39:53 +02:00
Tulir Asokan
a469e6ed10
Switch to AGPLv3
2018-03-08 23:49:56 +02:00
Tulir Asokan
8bfb416735
Add config option for plaintext highlight bridging
2018-03-08 20:33:42 +02:00
Tulir Asokan
b3082da999
Add option to underline edited part of message in edits. Fixes #61
2018-03-08 19:44:53 +02:00
Tulir Asokan
61d9d6890a
Bridge plaintext mentions of Telegram puppets into Telegram mentions
2018-03-08 18:39:27 +02:00
Tulir Asokan
150321a4d7
Fix replies/forwards to/of images
2018-03-08 18:01:58 +02:00
Tulir Asokan
ee8531143f
Fix small typo
2018-03-08 11:42:53 +02:00
Tulir Asokan
96d3ca106a
Fix Matrix -> Telegram code block bridging
2018-03-07 23:28:36 +02:00
Tulir Asokan
7b4b7509f3
Minor improvements to unicode->html formatter
2018-03-07 14:50:41 +02:00
Tulir Asokan
8bbd1f7db1
Fix duplicate unicode formatting when mixing strikethrough and underline
2018-03-07 14:12:37 +02:00
Tulir Asokan
a6f26c16fc
Add strikethrough/underline <-> unicode converter to formatter
2018-03-07 14:03:38 +02:00
Tulir Asokan
97957a5731
Use native reply fallback format. Fixes #86
2018-03-06 21:24:45 +02:00
Tulir Asokan
e2ba478095
Fix highlighting Telegram users without usernames
2018-03-06 00:27:35 +02:00
Tulir Asokan
a8322992cc
Escape HTML tags in quoted text of non-native replies
2018-03-04 23:20:21 +02:00
Tulir Asokan
021b60a45e
Update Telethon and use PyPI telethon-aio package
2018-03-04 13:35:24 +02:00
Tulir Asokan
d5038e6b98
Fix non-inline URL parsing
2018-02-24 14:04:23 +02:00
Tulir Asokan
55046e15b2
Add support for /command@bot bot command syntax
2018-02-24 12:57:18 +02:00
Tulir Asokan
1372a16459
Bridge !commands to Telegram /commands
2018-02-24 12:25:13 +02:00
Tulir Asokan
6c7f687539
Fix MessageEntityBotCommand handling
2018-02-24 12:06:30 +02:00
Tulir Asokan
9e5843a0dc
Refactor and clean up code
2018-02-23 21:06:28 +02:00