Tulir Asokan
366b95c8e8
Fix Python 3.5 compatibility
2019-03-21 14:42:18 +02:00
Tulir Asokan
2cf9dcafd9
Update copyright year and fix minor lint problems
2019-03-19 18:30:36 +02:00
Tulir Asokan
f7a4a23045
Don't add reply fallback to caption when caption is separate event. Fixes #285
2019-03-16 21:59:37 +02:00
Tulir Asokan
8ef337f40b
Remove lxml HTML parser as it was messing up emoji offset handling
2019-03-01 23:45:30 +02:00
Tulir Asokan
6ceb7f735c
Show channel name or link in forwarded messages. Fixes #107
2019-02-13 00:15:24 +02:00
Tulir Asokan
e9ddd0caa8
Add missing checks and fix file bridging with latest Telegram API layer
...
Fixes #260
2019-01-01 18:45:59 +02:00
Tulir Asokan
2e20ae2148
Add support for playing games. Fixes #256
2018-12-23 17:00:19 +02:00
Tulir Asokan
75b6e4f633
Strip displayname format in Matrix->Telegram non-username mentions. Fixes #138
2018-12-20 16:45:40 +02:00
Tulir Asokan
c39d24ccdc
Add HTMLParser compatibility to recursive Matrix parser and remove old parser
2018-11-28 02:26:01 +02:00
Tulir Asokan
bac1e30cf0
Fix Matrix->Telegram code blocks without language. Fixes #240
2018-10-27 19:22:04 +03:00
Tulir Asokan
388e4f8601
Port Message table to SQLAlchemy Core
2018-10-20 23:11:10 +03:00
Tulir Asokan
5054afcbb5
Fix Python 3.5 compatibility
2018-10-02 14:51:54 +03:00
Tulir Asokan
24bdda8ca1
Reorganize formatter utils and add more blue text
2018-09-28 18:39:57 +03:00
Tulir Asokan
c38e46fc2a
Fix linebreaks in pre blocks
2018-09-28 17:15:57 +03:00
Tulir Asokan
916cc3746d
Fix block tag newlines and allow <strike>. Fixes #232
2018-09-28 17:06:42 +03:00
Tulir Asokan
b44d6d2d90
Fix minor things and type hints
2018-09-28 01:02:09 +03:00
Tulir Asokan
828047e272
Split TelegramMessage helper to separate file
2018-09-28 00:49:37 +03:00
Tulir Asokan
a9cb1bf518
Fix linebreak handling in lxml parser and add better bullets
...
Fixes #218
2018-09-28 00:45:37 +03:00
Tulir Asokan
d71f421981
Use <pre> for multiline MessageEntityCode entities
2018-09-26 00:24:04 +03:00
Tulir Asokan
fc23461445
Add room specific settings. Probably broken
2018-09-24 16:01:16 +03:00
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