Commit Graph

  • a790431274 Do string conversion and striping in the Parser Dan 2019-06-30 21:08:50 +0200
  • 40b0c57b54 Don't rename the in-memory sessions Dan 2019-06-30 20:53:35 +0200
  • 83c386cbec Use consistent naming Dan 2019-06-30 20:53:05 +0200
  • a05ac9d8a3 Update errors prune path Dan 2019-06-30 19:22:19 +0200
  • c76a62964f Update: consistent examples Dan 2019-06-30 18:51:04 +0200
  • 580c684cb3 Fix export_chat_invite_link not working correctly (channels/supergroups) Dan 2019-06-30 16:13:10 +0200
  • 0d6f8cd462
    Merge pull request #260 from mendelmaleh/develop Dan 2019-06-30 10:49:22 +0200
  • 09e1ac5eb4
    Fix bad params when defining and calling methods Dan 2019-06-30 10:48:19 +0200
  • 80d7a8cbbd
    Add missing colon Dan 2019-06-30 10:03:45 +0200
  • a02cd271c9
    Update chat.py Dan 2019-06-30 10:01:39 +0200
  • 2c1834b1b2 Add .(kick|unban|restrict|promote)_member bound methods to Chat Mendel E 2019-06-28 20:22:20 -0400
  • 54c8e24f48 Add .set_ bound methods to Chat Mendel E 2019-06-28 13:45:03 -0400
  • 59b43af02e Fix RPCError not setting the x attribute Dan 2019-06-28 20:43:06 +0200
  • 8c2a971fec Merge branch 'develop' into asyncio Dan 2019-06-28 16:31:52 +0200
  • 46bf382480 Fix self.parser not calling .parse for send_document Dan 2019-06-28 16:31:32 +0200
  • 88632ae265 Add block_user and unblock_user to docs Dan 2019-06-28 16:29:16 +0200
  • d8d72395b7 Merge branch 'develop' into asyncio Dan 2019-06-28 11:12:19 +0200
  • 155580649a Update filters: Make the name argument optional Dan 2019-06-28 11:11:59 +0200
  • 506253e506 Fix objects failing to print in case there's no __slots__ attribute Dan 2019-06-28 10:41:57 +0200
  • b6f508711a Many minor documentation enhancements Dan 2019-06-27 23:16:21 +0200
  • 9f231bb880 Update errors documentation page Dan 2019-06-27 23:15:46 +0200
  • a44c996302 Revamp text-formatting page, add info about the new styles Dan 2019-06-27 23:15:12 +0200
  • fa1b66f914 Make unknown errors with known error codes inherit from base categories Dan 2019-06-27 11:59:44 +0200
  • 40bcd4e59d Fix delete_profile_photos. Closes #259 Dan 2019-06-26 21:43:08 +0200
  • 8ef97f2177 Merge branch 'develop' into asyncio Dan 2019-06-26 19:34:49 +0200
  • 39e25147bd Update parse_mode parameter docstrings Dan 2019-06-26 16:36:24 +0200
  • 197cf5506c Only allow either "markdown" or "html" as text style parse mode Dan 2019-06-26 16:36:00 +0200
  • f05e79e0f4 Update usages of Parser all around the library Dan 2019-06-26 16:08:24 +0200
  • e61bf92627 Add Parser package Revamped from HTML/Markdown Dan 2019-06-26 16:07:27 +0200
  • 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 Dan 2019-06-26 16:06:50 +0200
  • 8d852cb47e Implement strict and loose markdown parsing This is enabled by default: Dan 2019-06-26 16:05:09 +0200
  • e4a6d16cf3 Remove generated inline query result types Dan 2019-06-26 15:56:08 +0200
  • 7cd145b0db Merge branch 'develop' into asyncio Dan 2019-06-25 11:48:43 +0200
  • 7490f6cfa3 Update the HTML parser: make it easy for asyncio to deal with mentions We can't await coroutines inside HTMLParser overridden methods, such as handle_starttag, because they can't be async. This commit moves the resolve_peer call into the parse method of the HTML class, which can be defined async. Dan 2019-06-25 11:47:45 +0200
  • 32ca805f6b Update message.py Dan 2019-06-25 10:25:21 +0200
  • 168fce09da Implement HTML.unparse and Markdown.unparse Dan 2019-06-25 10:24:19 +0200
  • a086964e85 Make the HTML parser more sound Dan 2019-06-25 07:41:48 +0200
  • 07bc7e39df Allow entities to overlap, like: <b>bold <i>and</b> italic</i> Dan 2019-06-25 07:08:38 +0200
  • df386b2f91 Make slicing text messages & captions work properly with entity offsets Dan 2019-06-25 05:53:41 +0200
  • de02848a69 Revert "Delete style utils.py and move its content inside html.py The HTML parser is now the only one that makes use of those util methods" Dan 2019-06-25 05:47:57 +0200
  • 656aa4a7ca Enable scheduling of more than 1 updates worker Dan 2019-06-24 17:33:33 +0200
  • cd1e41b130 Delete style utils.py and move its content inside html.py The HTML parser is now the only one that makes use of those util methods Dan 2019-06-24 14:33:17 +0200
  • e7457de947 Add MSGID_DECREASE_RETRY 5xx-class error Dan 2019-06-24 14:25:09 +0200
  • a27dc575e4 Actually fix the HTML Parser feeding by calling .close() when done Dan 2019-06-24 14:17:46 +0200
  • cac0bcabf9 Fix HTML parsing breaking with no tags Dan 2019-06-24 13:36:27 +0200
  • 8e0182633f Ignore any other style when inside a fixed-width style Dan 2019-06-24 13:35:58 +0200
  • f12cee5d94 Automatically escape URL bodies when using markdown Dan 2019-06-24 10:54:58 +0200
  • d6900cde9f Remove debug print() Dan 2019-06-24 10:11:21 +0200
  • fe611a3344 Merge remote-tracking branch 'origin/develop' into develop Dan 2019-06-24 10:08:07 +0200
  • e7c49c6a1b Revamp HTML and Markdown parsers to allow multiple nested entities Dan 2019-06-24 10:07:28 +0200
  • 8102a7fe82
    Update FUNDING.yml Dan 2019-06-24 01:46:20 +0200
  • 3237847ce1 Merge branch 'develop' into asyncio Dan 2019-06-23 23:36:45 +0200
  • 648f37cf6d Add support for underline and strikethrough text via Markdown Dan 2019-06-23 22:43:11 +0200
  • 978ee4e6a6 Add new message entity types: "underline", "strike" and "blockquote" Dan 2019-06-23 22:32:45 +0200
  • 0985d7ad90 Enable parsing underline, strikethrough and blockquote text for HTML Dan 2019-06-23 21:40:52 +0200
  • 4dbdfc85d7 Update API schema to Layer 102 Dan 2019-06-23 20:45:19 +0200
  • 633e11531a Fix coroutine scheduling when adding/removing handlers Dan 2019-06-23 13:56:12 +0200
  • 745d29dfac Add (and update) a bunch of up/download related errors Dan 2019-06-23 02:52:12 +0200
  • 1e546099a3 Merge develop -> asyncio Dan 2019-06-23 01:35:53 +0200
  • 5f2d76ceca Remove outdated note Dan 2019-06-23 01:34:27 +0200
  • 31f39a00ab Make plugin callback functions return the function itself when decorated Dan 2019-06-23 01:33:46 +0200
  • b4f0f411bd Small documentation fixes Dan 2019-06-23 01:32:04 +0200
  • bf71989bd0 Enhance PDF building Dan 2019-06-23 01:31:18 +0200
  • 267797051c Fix broken link Dan 2019-06-23 01:30:50 +0200
  • 91e377aacc Add ARTICLE_TITLE_EMPTY error Dan 2019-06-23 01:30:38 +0200
  • 84278f9cee Merge branch 'develop' into asyncio Dan 2019-06-22 00:49:13 +0200
  • e7fffd2f76 Fix workers not running concurrently anymore after using a shared Lock Dan 2019-06-22 00:45:49 +0200
  • 2ba445d21e Fix asyncio lock not being awaited properly Dan 2019-06-21 21:48:35 +0200
  • b439e44015 Fix tiny typo Dan 2019-06-21 03:43:43 +0200
  • 471a124d2c Merge develop -> asyncio Dan 2019-06-21 02:04:16 +0200
  • a398bc5fc7 Rename CallbackQuery's bound-methods: edit_* -> edit_message_* Dan 2019-06-21 02:00:29 +0200
  • 8d0e161b56 Lock dispatcher groups. Fixes #255 Dan 2019-06-21 01:53:17 +0200
  • 7982eb07b5 Merge branch 'develop' into asyncio Dan 2019-06-20 19:24:15 +0200
  • 0699bd31e5 Bring Message .reply() and .edit() back for now Dan 2019-06-20 19:23:33 +0200
  • 11b4b947ac Small rewords Dan 2019-06-20 16:12:14 +0200
  • 83900f398f Specify that 3.5.3 or higher is required for asyncio Dan 2019-06-20 16:10:18 +0200
  • a928981b1f Link back to the source of information, where applicable Dan 2019-06-20 16:07:57 +0200
  • d06289c88d Add FAQ about why responses might be slow Dan 2019-06-20 15:31:02 +0200
  • 3f261823a7 Merge branch 'develop' into asyncio Dan 2019-06-20 14:17:58 +0200
  • 81e7c1b4eb Add START_PARAM_INVALID error Dan 2019-06-20 14:15:53 +0200
  • 9ebf2983fe Cast Paths to string: pathlib for older pythons doesn't properly work Dan 2019-06-20 14:15:02 +0200
  • 48197cb222 Update FAQ: Starting from v0.14.1 photo-like file id formats changed Dan 2019-06-20 13:56:23 +0200
  • 36757c125c Tiny documentation fix Dan 2019-06-20 13:55:05 +0200
  • ad2d45bca1 Add BUTTON_DATA_INVALID error Dan 2019-06-20 13:54:46 +0200
  • a8dfe61f7e Merge develop -> asyncio Dan 2019-06-20 04:17:24 +0200
  • f16ca8b9ea Small documentation fixes Dan 2019-06-20 03:39:12 +0200
  • 8c96e5f46a Smarter session migration Dan 2019-06-20 03:31:37 +0200
  • fa1976c8a0 Update TgCrypto required version Dan 2019-06-19 17:09:07 +0200
  • 2ff74270ad
    Merge pull request #220 from bakatrouble/session_storage Dan 2019-06-19 16:12:36 +0200
  • d1cd21916a Add storage-engines.rst page to docs Dan 2019-06-19 16:12:06 +0200
  • 1f04ce38fc Fix glossary term Dan 2019-06-19 16:11:53 +0200
  • 0be0e2da56 Add export_session_string method to docs Dan 2019-06-19 16:11:25 +0200
  • 30192de1ad Update pyrogram/client to accommodate Storage Engines Dan 2019-06-19 16:10:37 +0200
  • edaced35a7 Use base64.urlsafe_b64encode/decode instead of manually passing altchars Dan 2019-06-19 16:07:22 +0200
  • 8465c4a977 Instruct Python to add schema.sql file to the package Dan 2019-06-19 16:06:37 +0200
  • 6cc9688e49 Implement FileStorage and MemoryStorage engines Dan 2019-06-19 16:04:35 +0200
  • 6177abbfa4 Add Storage abstract class Dan 2019-06-19 16:04:06 +0200
  • 682591ea8f Update Auth and Session to accommodate Storage Engines Dan 2019-06-19 16:01:23 +0200
  • d472d06c48 Merge branch 'develop' into session_storage Dan 2019-06-19 15:54:52 +0200
  • 651b8d891d
    Merge pull request #256 from ColinTheShark/develop Dan 2019-06-17 14:43:26 +0200