345 Commits

Author SHA1 Message Date
b4ad650372 Redirect stderro to stdout 2020-02-20 11:42:52 +01:00
2448c45c3d Handle errors in /version command 2020-02-20 11:14:51 +01:00
4487034c7d Version command implemented 2020-02-20 11:06:47 +01:00
086750c77e Moved messages to dedicated module 2020-02-18 18:50:19 +01:00
61cebd0c1f Multi-language support for administration core functions 2020-02-18 15:36:58 +01:00
8d861757a1 Moved language messages into messages module 2020-02-18 10:32:26 +01:00
18e9490936 Create suggestions table if missing 2020-02-17 14:04:35 +01:00
67d52a8fd8 languages module added to __all__ 2020-02-17 13:43:07 +01:00
61ea563bfa Minor bugs fixed in suggestions module 2020-02-17 12:22:42 +01:00
f17333ca42 Provide a default multilanguage suggestions module 2020-02-17 12:14:52 +01:00
ceef3103f4 Prevent double keyword argument in async_wrapper 2020-02-16 13:40:45 +01:00
23b04d6207 Coroutine wrapper default arguments 2020-02-16 12:04:04 +01:00
0a05c1e1c1 Minor bug fixes 2020-02-14 17:42:15 +01:00
ecdb639741 Include administration tools and helper modules in __all__ 2020-02-14 17:11:40 +01:00
61fe8e0591 Pass errors parameter in async_request function 2020-02-12 15:34:54 +01:00
f73f438d32 Use built-in decoding feature of aiohttp.ClientResponse 2020-02-11 17:28:37 +01:00
ab6849b5e0 Replace multiple whitespace in strings to be parsed 2020-02-11 14:43:15 +01:00
c2b50bc42c Whitespace 2020-02-11 11:38:49 +01:00
9eea9a6632 Merged version 2020-02-10 15:55:12 +01:00
7f7ba35276 Merge branch 'develop' of ssh://davte.it:8445/Davte/davtelepot into develop 2020-02-10 15:54:49 +01:00
709f230266 Provide a shared_data attribute 2020-02-10 15:54:34 +01:00
ebc7d93d95 Version update 2020-01-24 13:34:49 +01:00
c8a98b035f Merge branch 'develop' of ssh://gogs.davte.it:8445/Davte/davtelepot into develop
# Conflicts:
#	davtelepot/__init__.py
2020-01-24 13:34:25 +01:00
87431b8596 Version alignment (again, hopefully for the last time) 2020-01-19 19:26:25 +01:00
19aac0e874 Version alignment (again) 2020-01-19 19:18:47 +01:00
0513c949e5 Version alignment 2020-01-19 19:14:57 +01:00
4f827587ee Mutable defaults removed 2020-01-19 19:09:58 +01:00
4abad7c423 Small improvement in download_file method
Generate new file name if no file name is provided; make sure it does 
not exist.
2020-01-08 10:30:47 +01:00
8565a96e15 Add users table with its fields if missing
Refactoring of previous version patch
2020-01-05 19:33:05 +01:00
33c242efc6 Release user table addition if missing 2020-01-05 19:27:02 +01:00
1511b4742f Add user table if missing 2020-01-05 19:24:42 +01:00
581cfd750e Function to download files implemented 2020-01-04 18:34:17 +01:00
f9ec8a4419 Missing language strings should be logged as warnings, not errors. 2020-01-04 18:33:53 +01:00
4acd10d344 Individual voice handler now supported 2020-01-04 17:21:02 +01:00
383418d955 send_voice method implemented 2020-01-04 15:09:16 +01:00
9ae8058017 send_audio method implemented
Send audio files by their id if available, otherwise send audio file 
from local path and store its telegram_id.
2020-01-04 12:50:44 +01:00
807c62ca95 os-agnostic way to get file path 2019-12-29 22:51:05 +01:00
4c1ffb3382 Hack no longer needed to encode filenames
Thanks to tirkarthi.github.io, a simple parameter `quote_fields` can 
solve the issue which needed a messy workaround until now.
2019-12-27 21:08:29 +01:00
189a10ddbe utilities is a project module, not a third party one 2019-12-01 18:21:01 +01:00
e7a30d0369 Allow command aliases to be a /command too. 2019-12-01 18:20:39 +01:00
d30ed21de2 Typos 2019-12-01 12:42:05 +01:00
886c0c95e4 Typo 2019-12-01 12:40:05 +01:00
920554d465 Print statements removed 2019-11-28 18:12:15 +01:00
85341d7064 Placeholder system
Send a placeholder message or chat_action if the request takes some 
time.
2019-11-28 18:08:58 +01:00
74079fb481 Do not encode pictures as utf-8 2019-10-01 15:00:00 +02:00
f02aa38200 Hide CSV button if no query_id is available 2019-09-29 20:18:14 +02:00
0e268414f9 Prevent UnboundLocalError 2019-09-29 20:16:39 +02:00
aa6f45887e Allow addition of help sections 2019-08-18 23:23:48 +02:00
45e2bbfa3d Support for multilanguage /help command
A bot guide may be built automatically using @bot.command decorator.
2019-08-18 20:55:47 +02:00
a2365f815d Handle unknown exceptions in getUpdates method 2019-08-15 13:45:32 +02:00