|
656e08fc1a
|
/maintenance command implemented
|
2019-07-26 19:34:38 +02:00 |
|
|
417dcb63e4
|
/log and /errors commands implemented
Receive bot general log and errors log via bot itself
|
2019-07-26 18:22:27 +02:00 |
|
|
7a994ca957
|
Function to send part of text files
|
2019-07-26 18:21:39 +02:00 |
|
|
c56c37c351
|
Make send_document return an Exception if document to send is not found
|
2019-07-26 14:03:33 +02:00 |
|
|
1297402357
|
/select command implemented
It calls _query_command function
|
2019-07-26 11:42:41 +02:00 |
|
|
39e7d8b783
|
Provide help if /query command is called with no text
|
2019-07-26 11:05:37 +02:00 |
|
|
9961c2734c
|
/query command implemented
Run a SQL query on bot database and receive the results as a message or
a CSV file
|
2019-07-26 10:56:48 +02:00 |
|
|
d60637a3b7
|
Consider user_record in /talk related function
Thus, user-selected language will be applied in get_message method calls
|
2019-07-26 10:56:01 +02:00 |
|
|
d765aea71e
|
Function to send CSV files
|
2019-07-26 10:54:33 +02:00 |
|
|
ad5ec33869
|
Close buffered_file only if it exists
|
2019-07-26 10:36:30 +02:00 |
|
|
80418bd11c
|
Allow keyword arguments in custombot initialization
|
2019-07-22 21:59:31 +02:00 |
|
|
637dca7af2
|
handle_location method deprecated
|
2019-07-22 18:23:39 +02:00 |
|
|
c1c9f7dd78
|
Language suppport for /language command
|
2019-07-22 12:36:38 +02:00 |
|
|
3f4417b84b
|
Added support for multilanguage command descriptions
|
2019-07-21 20:47:54 +02:00 |
|
|
b1c7ee4299
|
Get database url from database object
|
2019-07-21 20:08:01 +02:00 |
|
|
cb64443af2
|
New version
|
2019-07-21 17:46:28 +02:00 |
|
|
9890988f7f
|
/db command implemented
|
2019-07-21 17:46:06 +02:00 |
|
|
f5c661925c
|
Close buffered_file only if it exists
|
2019-07-21 17:45:39 +02:00 |
|
|
04827b4691
|
davtelepot.bot.Bot().send_document method implemented
It accepts document handlers, Telegram `document_id`s or file paths
|
2019-07-21 17:32:27 +02:00 |
|
|
37a2e6a9f2
|
Use default_message argument of get_message method
|
2019-07-21 15:56:30 +02:00 |
|
|
fba4e4c143
|
get_message method now supports a default_message optional kwarg
|
2019-07-21 15:39:59 +02:00 |
|
|
6e95de61e9
|
More elegant way of /stop ping bots
|
2019-07-20 21:05:40 +02:00 |
|
|
191a2d2ecb
|
/stop command implemented
|
2019-07-20 20:34:39 +02:00 |
|
|
ab63f56276
|
Log identifier if get_user_identifier method fails
|
2019-07-20 19:29:00 +02:00 |
|
|
adf67c9ce1
|
Restart command implemented; user_record variable renamed
|
2019-07-20 17:09:14 +02:00 |
|
|
00bd5b24cd
|
Return instructions if /auth is called without arguments
|
2019-07-20 13:57:02 +02:00 |
|
|
ec8a882eba
|
Logical error fixed
When selected_language_code was not a field of `user` table, it was
never added
|
2019-07-20 13:17:15 +02:00 |
|
|
907d27b554
|
Ensure that field selected_language_code is added if not present
|
2019-07-20 13:13:18 +02:00 |
|
|
c43c0be4fa
|
Multilanguage support
Support /language command (and buttons) to make user choose a language.
|
2019-07-20 13:05:26 +02:00 |
|
|
10d53e8e1e
|
Insert selected_language_code for new users (set to None).
|
2019-07-20 13:04:54 +02:00 |
|
|
4b3228b6bc
|
/auth command and buttons
|
2019-07-20 00:04:55 +02:00 |
|
|
81cf37b0eb
|
Option to switch off telegram profile linking
|
2019-07-19 22:59:32 +02:00 |
|
|
dba337f5dc
|
Authorization-related multilanguage messages
|
2019-07-19 19:12:10 +02:00 |
|
|
382ee2a4f1
|
Store users data and track changes
|
2019-07-19 18:17:19 +02:00 |
|
|
cab54806a7
|
More general refactoring
|
2019-07-19 17:25:47 +02:00 |
|
|
4dd88a0b2c
|
Authorization module to handle roles
|
2019-07-19 17:08:53 +02:00 |
|
|
3c12b00839
|
custom_parser does not exist anymore
|
2019-07-19 16:45:32 +02:00 |
|
|
6075e5513b
|
Support for multiple languages
|
2019-07-19 16:40:46 +02:00 |
|
|
a085fddf31
|
Use dot for relative imports
|
2019-07-19 12:21:11 +02:00 |
|
|
e22854c77d
|
aiohttp.web.Application does not take a loop argument anymore
|
2019-07-19 10:50:29 +02:00 |
|
|
65559814a4
|
Package information updated
|
2019-07-19 10:47:46 +02:00 |
|
|
e8cf7cd421
|
Version 13 exposed secrets
|
2019-07-19 10:07:24 +02:00 |
|
|
600e3a3826
|
New version (12 was deleted due to token exposure)
|
2019-07-19 10:03:29 +02:00 |
|
|
44baf46406
|
Build wheels from sdist output, since the former ignores MANIEFST.in
|
2019-07-19 10:02:46 +02:00 |
|
|
7e0d871474
|
Exclude data/ and test*.py from distribution
|
2019-07-19 09:39:42 +02:00 |
|
|
f8ec144719
|
Prevent AttributeError: 'NoneType' object has no attribute 'format'
|
2019-07-18 17:45:47 +02:00 |
|
|
948ebcd015
|
Used edit_message_text to reply if message_id is in kwargs
|
2019-07-18 12:07:06 +02:00 |
|
|
3cb912154b
|
Typo
|
2019-07-18 11:21:14 +02:00 |
|
|
0557b67734
|
Backward compatibility: allow regular functions instead of coroutines
Wrap regular functions passed to `set_chosen_inline_result_handler`
since it accepts only coroutines.
|
2019-07-18 10:17:41 +02:00 |
|
|
a01ff8c486
|
Individual location handler
|
2019-07-18 09:57:56 +02:00 |
|