Commit Graph

  • b1ac8d3d40 Allow photo replies to text message updates Davte 2019-07-03 17:29:30 +02:00
  • 967627c4a2 Path property implemented Davte 2019-07-03 17:26:31 +02:00
  • e47dd1d458 Prevent Telegram flood control on all methods with chat_id as parameter Davte 2019-07-02 23:42:37 +02:00
  • 7582b4cce4 Do not json-dump files Davte 2019-07-02 14:43:58 +02:00
  • 3e6fc8ba42 Close certificate file after setting webhook Davte 2019-07-02 14:40:06 +02:00
  • 94d563b276 Do not wrap certificate file Davte 2019-07-02 14:32:11 +02:00
  • 6b907957d5 Never show bot token or session token in log Davte 2019-07-02 14:27:02 +02:00
  • 4f42696a20 TODO: prevent Telegram flood control Davte 2019-07-01 23:37:17 +02:00
  • e05b0ebe46 Split text in several messages if it hits Telegram limits Davte 2019-07-01 23:36:45 +02:00
  • af64241d81 Handle command aliases and text message update parsers Davte 2019-07-01 20:54:59 +02:00
  • 7ed430b264 Handle unknown commands Davte 2019-07-01 20:46:38 +02:00
  • 631bda4465 Wrappers for sendMessage and answerInlineQuery methods Davte 2019-07-01 20:39:58 +02:00
  • 4ae826f52c Set default keyboard at setup Davte 2019-07-01 20:34:16 +02:00
  • 8f261a4cfa Indentation Davte 2019-07-01 20:23:00 +02:00
  • 08386d19da Indentation Davte 2019-07-01 20:22:35 +02:00
  • 783040bcd0 Provide a chat_id getter and a method to change it. Davte 2019-07-01 20:20:12 +02:00
  • 55d872fc21 Allow individual text message handlers Davte 2019-07-01 20:17:10 +02:00
  • 97a29406ca Authorization system implemented Davte 2019-07-01 20:12:06 +02:00
  • 80c746df20 Handle text message updates according to their subtype Davte 2019-07-01 19:56:32 +02:00
  • ab563c9486 Route updates according to their type calling associated method Davte 2019-07-01 19:55:20 +02:00
  • 2bb0ef9436 Maintenance system implemented Davte 2019-07-01 16:42:17 +02:00
  • d44e410101 Log "API" in case of TelegramError raised during API call Davte 2019-07-01 15:54:33 +02:00
  • 5927dcd30f Dump int, list and dict parameters as strings for API calls Davte 2019-07-01 15:54:25 +02:00
  • 5a0c658ea3 TelegramBot and TelegramError classes moved to dedicated api module. Davte 2019-06-30 18:52:21 +02:00
  • 3c8995b316 All API methods added manually Davte 2019-06-30 18:47:49 +02:00
  • 04733552c5 Exclude table header Davte 2019-06-30 18:05:08 +02:00
  • afaf686827 Get information from Telegram API guide Davte 2019-06-30 17:56:22 +02:00
  • bfbf4a17bd API methods added (more to come) Davte 2019-06-30 10:41:02 +02:00
  • 00e09ee79e API methods added (work in progress) Davte 2019-06-30 00:53:49 +02:00
  • 5aade209d3 adapt_parameters method renamed and cleaned Davte 2019-06-29 20:27:46 +02:00
  • 46a8e2f81b Beyond telepot: my own Telegram interaction logics Davte 2019-06-29 20:17:33 +02:00
  • a571d4fc8f Ignore data folders Davte 2019-06-24 17:22:26 +02:00
  • 9fccdcc51c custom_join function added Davte 2019-06-24 16:17:52 +02:00
  • b6f4465880 Import dependency Davte 2019-06-07 21:30:26 +02:00
  • 0bace2824a Version Davte 2019-06-07 21:13:46 +02:00
  • 9f91114e0e Added function to run aiohttp web apps in dedicated threads. Davte 2019-06-07 21:12:17 +02:00
  • 18fb69dff8 Instantiate dataset.Database object once and return it without re-instantiating it. Davte 2019-06-05 12:49:47 +02:00
  • 0fae3d305a Typo in doc string Davte 2019-05-30 15:40:12 +02:00
  • e906fc8c3a davteutil dependency removed since it is now included as submodule Davte 2019-05-28 17:14:12 +02:00
  • b9f826a2d0 davteutil.utilities imported Davte 2019-05-28 16:52:32 +02:00
  • 8a524a4e55 Added a method to create views in bot's database Davte 2019-05-23 18:39:15 +02:00
  • a2e1b0c11a Move repository to gogs.davte.it Davte 2019-05-16 12:14:08 +02:00
  • 454b021ee7 Push to gogs.davte.it and bitbucket with this script Davte 2019-05-16 12:11:56 +02:00
  • 9f06157234 New version Davte 2019-03-28 20:05:33 +01:00
  • 6b65129f74 Whitespace Davte 2019-03-28 19:29:46 +01:00
  • 9963296f41 Parenthesis Davte 2019-03-28 19:25:54 +01:00
  • bb7aa38913 Docstring Davte 2019-03-28 19:19:30 +01:00
  • 943171ac16 Whitespace in comments and docstrings Davte 2019-03-28 19:17:55 +01:00
  • e776792dee Bots must be instantiated via get Davte 2019-03-28 19:09:19 +01:00
  • 9d664849cd davteutil is required Davte 2019-03-28 19:07:29 +01:00
  • 25f0321250 Ignore all tests (3 digits) Davte 2019-03-28 19:07:22 +01:00
  • 3c2cdfa6a1 Ignore python virtual environment folder and test scripts Davte 2019-03-28 18:43:23 +01:00
  • 213a6ead1a Look for configuration file in script folder, not in working directory Davte 2019-03-28 14:19:06 +01:00
  • 10cc0bbb2d Handle location updates Davte 2019-02-13 17:27:54 +01:00
  • fb3e05681b davteutil.sleep_until was refactored Davte 2019-02-12 18:27:58 +01:00
  • 5aa51f7e8a Talk panel arguments sorted differently Davte 2018-12-03 17:33:04 +01:00
  • 7a52498939 Allow auto-naming of pictures Davte 2018-11-28 19:07:01 +01:00
  • 11b319d0a5 Bot().save_picture defined Davte 2018-11-27 22:46:00 +01:00
  • d988998198 Parentheses again Davte 2018-11-26 18:37:45 +01:00
  • ac40c16bea Parenthesis! Davte 2018-11-26 18:34:56 +01:00
  • 7881a97a73 Parentheses Davte 2018-11-26 18:30:09 +01:00
  • 2ab0712036 Talking sessions are now ready. Davte 2018-11-26 17:32:21 +01:00
  • 328258d2af Accept dict subclasses (such as OrderedDict) as update and user_record Davte 2018-11-26 17:32:07 +01:00
  • f38a6e7e10 If user_record is passed to get_message, extract language from it. Davte 2018-11-26 17:04:29 +01:00
  • 1a784b2b08 Typo; todos Davte 2018-11-25 10:56:35 +01:00
  • 085f473257 'string' != string Log message edited Davte 2018-11-25 01:09:47 +01:00
  • 787fa7d164 Pass format kwargs to get_message Davte 2018-11-25 01:07:24 +01:00
  • 39147326d1 Version Davte 2018-11-25 01:05:26 +01:00
  • ff7efc0e90 Documentation. Davte 2018-11-25 01:00:48 +01:00
  • b0d97265b5 Coroutines must be awaited! Accept format keyword arguments. Davte 2018-11-25 00:56:59 +01:00
  • 269f167be5 Bugs fixed Davte 2018-11-25 00:49:18 +01:00
  • 54e81f57df Working on /talk command Davte 2018-11-25 00:37:12 +01:00
  • 86bab73216 forward_message defined Davte 2018-11-25 00:36:41 +01:00
  • 6f6edfdae9 Undefined names Davte 2018-11-24 18:48:15 +01:00
  • 4ef0648892 Import error fixed Davte 2018-11-24 18:44:57 +01:00
  • 5a7fb42017 admin_tools: Talk to users Davte 2018-11-24 18:41:06 +01:00
  • a1c4e10dae Define get_message method of Bot object. Davte 2018-11-24 18:38:27 +01:00
  • eb58c54928 Include csv data. Davte 2018-11-24 18:37:51 +01:00
  • dc11ca37a9 IETF language tags Davte 2018-11-24 18:30:52 +01:00
  • 890ff77294 Pass coroutines, not tasks. Davte 2018-11-24 16:08:34 +01:00
  • 3e9bea1a95 Better interaction in manual mode Davte 2018-11-24 15:45:52 +01:00
  • 12a5537291 Cannot use_stored if type(photo) is not str Davte 2018-11-24 15:42:00 +01:00
  • 73b44a05d2 use_stored set to False Davte 2018-11-24 15:27:45 +01:00
  • a2cd9ce626 Let user change bot Davte 2018-11-24 15:21:30 +01:00
  • ada5458368 COALESCE to avoid null rows from null fields Davte 2018-11-21 19:29:23 +01:00
  • accdd373d8 Manual mode implemented Davte 2018-11-21 19:18:39 +01:00
  • 121e3c370c Git-ignore test.py. Davte 2018-11-20 20:08:06 +01:00
  • 51b27e2a0d Stupid me! This code should have never been added to repository. Tokens revoked. Davte 2018-11-20 19:48:47 +01:00
  • c6fd334428 Version Davte 2018-11-17 12:07:28 +01:00
  • b658c69156 davteutil structure changed Davte 2018-11-17 12:07:08 +01:00
  • 6922deb989 Version Davte 2018-11-13 22:11:42 +01:00
  • 114990e6d4 Line break escape not needed in parentheses Davte 2018-11-13 22:09:52 +01:00
  • c0f57fbef4 Logging configuration Davte 2018-11-08 22:51:40 +01:00
  • 228f5103cf self.get_me, not get_me Davte 2018-11-08 15:00:59 +01:00
  • b308e7f335 Working on manual mode (cotrol bots from terminal). Davte 2018-11-08 14:58:26 +01:00
  • e56021ae3a PEP8 and PEP257 consistency. Davte 2018-11-05 22:09:37 +01:00
  • 1211d36015 Include email in package setup Davte 2018-10-31 18:58:40 +01:00
  • 95e25549a0 Include email in package setup Davte 2018-10-31 18:53:36 +01:00
  • ef8418f219 Email added Davte 2018-10-31 18:49:39 +01:00
  • 166dd0e5cd Bash scripts helping with updates Davte 2018-10-25 19:35:09 +02:00