Commit Graph

2887 Commits

Author SHA1 Message Date
Dan
f12cee5d94 Automatically escape URL bodies when using markdown 2019-06-24 10:54:58 +02:00
Dan
d6900cde9f Remove debug print() 2019-06-24 10:11:21 +02:00
Dan
fe611a3344 Merge remote-tracking branch 'origin/develop' into develop 2019-06-24 10:08:07 +02:00
Dan
e7c49c6a1b Revamp HTML and Markdown parsers to allow multiple nested entities 2019-06-24 10:07:28 +02:00
Dan
8102a7fe82
Update FUNDING.yml 2019-06-24 01:46:20 +02:00
Dan
3237847ce1 Merge branch 'develop' into asyncio 2019-06-23 23:36:45 +02:00
Dan
648f37cf6d Add support for underline and strikethrough text via Markdown
New delimiters:

    - ~~strikethrough~~
    - --underline--
2019-06-23 22:43:11 +02:00
Dan
978ee4e6a6 Add new message entity types: "underline", "strike" and "blockquote" 2019-06-23 22:32:45 +02:00
Dan
0985d7ad90 Enable parsing underline, strikethrough and blockquote text for HTML 2019-06-23 22:31:55 +02:00
Dan
4dbdfc85d7 Update API schema to Layer 102 2019-06-23 20:45:19 +02:00
Dan
633e11531a Fix coroutine scheduling when adding/removing handlers 2019-06-23 13:56:12 +02:00
Dan
745d29dfac Add (and update) a bunch of up/download related errors 2019-06-23 03:02:29 +02:00
Dan
1e546099a3 Merge develop -> asyncio 2019-06-23 01:35:53 +02:00
Dan
5f2d76ceca Remove outdated note 2019-06-23 01:34:27 +02:00
Dan
31f39a00ab Make plugin callback functions return the function itself when decorated 2019-06-23 01:33:46 +02:00
Dan
b4f0f411bd Small documentation fixes 2019-06-23 01:32:04 +02:00
Dan
bf71989bd0 Enhance PDF building 2019-06-23 01:31:18 +02:00
Dan
267797051c Fix broken link 2019-06-23 01:30:50 +02:00
Dan
91e377aacc Add ARTICLE_TITLE_EMPTY error 2019-06-23 01:30:38 +02:00
Dan
84278f9cee Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/ext/dispatcher.py
2019-06-22 00:49:13 +02:00
Dan
e7fffd2f76 Fix workers not running concurrently anymore after using a shared Lock 2019-06-22 00:45:49 +02:00
Dan
2ba445d21e Fix asyncio lock not being awaited properly 2019-06-21 21:48:35 +02:00
Dan
b439e44015 Fix tiny typo 2019-06-21 03:43:43 +02:00
Dan
471a124d2c Merge develop -> asyncio 2019-06-21 02:04:16 +02:00
Dan
a398bc5fc7 Rename CallbackQuery's bound-methods: edit_* -> edit_message_* 2019-06-21 02:00:29 +02:00
Dan
8d0e161b56 Lock dispatcher groups. Fixes #255 2019-06-21 01:53:17 +02:00
Dan
7982eb07b5 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/types/messages_and_media/message.py
2019-06-20 19:24:15 +02:00
Dan
0699bd31e5 Bring Message .reply() and .edit() back for now 2019-06-20 19:23:33 +02:00
Dan
11b4b947ac Small rewords 2019-06-20 16:40:12 +02:00
Dan
83900f398f Specify that 3.5.3 or higher is required for asyncio 2019-06-20 16:10:18 +02:00
Dan
a928981b1f Link back to the source of information, where applicable 2019-06-20 16:07:57 +02:00
Dan
d06289c88d Add FAQ about why responses might be slow 2019-06-20 15:31:02 +02:00
Dan
3f261823a7 Merge branch 'develop' into asyncio 2019-06-20 14:17:58 +02:00
Dan
81e7c1b4eb Add START_PARAM_INVALID error 2019-06-20 14:15:53 +02:00
Dan
9ebf2983fe Cast Paths to string: pathlib for older pythons doesn't properly work 2019-06-20 14:15:02 +02:00
Dan
48197cb222 Update FAQ: Starting from v0.14.1 photo-like file id formats changed 2019-06-20 13:56:23 +02:00
Dan
36757c125c Tiny documentation fix 2019-06-20 13:55:05 +02:00
Dan
ad2d45bca1 Add BUTTON_DATA_INVALID error 2019-06-20 13:54:46 +02:00
Dan
a8dfe61f7e Merge develop -> asyncio 2019-06-20 04:17:24 +02:00
Dan
f16ca8b9ea Small documentation fixes 2019-06-20 03:39:12 +02:00
Dan
8c96e5f46a Smarter session migration 2019-06-20 03:31:37 +02:00
Dan
fa1976c8a0 Update TgCrypto required version 2019-06-19 17:09:07 +02:00
Dan
2ff74270ad
Merge pull request #220 from bakatrouble/session_storage
Implement extendable session storage, move to SQLite as main storage (WIP)
2019-06-19 16:12:36 +02:00
Dan
d1cd21916a Add storage-engines.rst page to docs 2019-06-19 16:12:06 +02:00
Dan
1f04ce38fc Fix glossary term 2019-06-19 16:11:53 +02:00
Dan
0be0e2da56 Add export_session_string method to docs 2019-06-19 16:11:25 +02:00
Dan
30192de1ad Update pyrogram/client to accommodate Storage Engines 2019-06-19 16:10:37 +02:00
Dan
edaced35a7 Use base64.urlsafe_b64encode/decode instead of manually passing altchars 2019-06-19 16:07:22 +02:00
Dan
8465c4a977 Instruct Python to add schema.sql file to the package 2019-06-19 16:06:37 +02:00
Dan
6cc9688e49 Implement FileStorage and MemoryStorage engines 2019-06-19 16:04:35 +02:00