Dan
|
928ce5d850
|
Merge develop -> asyncio
|
2019-09-08 19:27:37 +02:00 |
|
Dan
|
a015f998fa
|
Revert "Stop instantiating logger objects and directly use the logging module"
This reverts commit 792068d7
|
2019-09-08 19:24:06 +02:00 |
|
Dan
|
8f0b8babc2
|
Merge develop -> asyncio
|
2019-09-08 13:26:10 +02:00 |
|
Dan
|
792068d7c8
|
Stop instantiating logger objects and directly use the logging module
|
2019-09-08 12:59:28 +02:00 |
|
Dan
|
ce72a7edd9
|
Merge develop -> asyncio
|
2019-09-07 13:40:26 +02:00 |
|
Dan
|
f3b33ef1d5
|
Revert "Enhance Parser when dealing with leading and trailing whitespaces"
This reverts commit 8cdcf90b
|
2019-09-07 12:49:35 +02:00 |
|
Dan
|
06f3053af8
|
Merge branch 'develop' into asyncio-dev
|
2019-08-07 16:37:55 +02:00 |
|
Mario A
|
2aefbfd531
|
Add better support for nested entities (both for HTML and Markdown) (#297)
* Added better support for nested entities, both for HTML and Markdown
* Tiny style fix
* Make use of pre-defined constants
|
2019-08-07 13:48:21 +02:00 |
|
Dan
|
1540fd4f22
|
Merge remote-tracking branch 'origin/asyncio-dev' into asyncio-dev
|
2019-08-03 10:49:09 +02:00 |
|
Dan
|
7badcd38b4
|
Merge develop -> asyncio
|
2019-08-03 10:48:35 +02:00 |
|
Dan
|
aa135ea457
|
Reformat project
|
2019-08-01 19:11:43 +02:00 |
|
Dan
|
eddff4769c
|
Add missing async/await
|
2019-08-01 10:43:09 +02:00 |
|
Dan
|
0f9029202e
|
Merge develop -> asyncio
|
2019-07-30 00:06:06 +02:00 |
|
Dan
|
8cdcf90b10
|
Enhance Parser when dealing with leading and trailing whitespaces
|
2019-07-28 15:11:18 +02:00 |
|
Dan
|
e1c6e6ecc1
|
Better handling of non-string message texts
Now everything will be allowed and automatically casted to string. This
means that send_message(id, True) would send "True", literally.
|
2019-07-28 10:13:38 +02:00 |
|
Dan
|
6459ce0a07
|
Fix lots of bound methods breaking due to latest changes on parse_mode
Addresses #287
|
2019-07-21 01:03:19 +02:00 |
|
Dan
|
fed8cbf87e
|
Add new set_parse_mode utility method
|
2019-07-11 19:28:33 +02:00 |
|
Dan
|
d441f16879
|
Merge develop -> asyncio
|
2019-07-11 04:17:46 +02:00 |
|
Dan
|
7c704bbb6a
|
Make the text parser log warnings instead of raising exceptions
|
2019-07-11 04:14:14 +02:00 |
|
Dan
|
e41d21ba29
|
Add "md" to possible parse modes for Markdown style
|
2019-07-10 20:03:10 +02:00 |
|
Dan
|
b20e0ef2d2
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/__init__.py
# pyrogram/client/methods/chats/export_chat_invite_link.py
# pyrogram/client/parser/html.py
|
2019-07-01 14:49:47 +02:00 |
|
Dan
|
a790431274
|
Do string conversion and striping in the Parser
|
2019-06-30 21:08:50 +02:00 |
|
Dan
|
8ef97f2177
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/methods/messages/edit_message_text.py
# pyrogram/client/methods/messages/send_animation.py
# pyrogram/client/methods/messages/send_audio.py
# pyrogram/client/methods/messages/send_cached_media.py
# pyrogram/client/methods/messages/send_document.py
# pyrogram/client/methods/messages/send_message.py
# pyrogram/client/methods/messages/send_photo.py
# pyrogram/client/methods/messages/send_video.py
# pyrogram/client/methods/messages/send_voice.py
# pyrogram/client/parser/html.py
# pyrogram/client/parser/markdown.py
# pyrogram/client/types/input_message_content/input_text_message_content.py
|
2019-06-26 19:34:49 +02:00 |
|
Dan
|
197cf5506c
|
Only allow either "markdown" or "html" as text style parse mode
|
2019-06-26 16:36:00 +02:00 |
|
Dan
|
e61bf92627
|
Add Parser package
Revamped from HTML/Markdown
|
2019-06-26 16:07:27 +02:00 |
|
Dan
|
be5f0c9529
|
Parser's client can be None
In that case, check if is None and don't parse user mentions.
This happens only in text content for inline results
|
2019-06-26 16:06:50 +02:00 |
|
Dan
|
8d852cb47e
|
Implement strict and loose markdown parsing
This is enabled by default:
- strict: only markdown syntax is parsed
- loose: both markdown and html syntax are parsed
|
2019-06-26 16:05:09 +02:00 |
|