100 Commits
Author SHA1 Message Date
Davte 0f4d31892f Prevent globbing and word splitting 2020-07-19 16:11:00 +02:00
Davte c4eaa0b9db Update default help messages with given ones, instead of replacing them 2020-07-17 09:48:52 +02:00
Davte 21214feb0a In default keyboard, show only buttons for commands the user is authorized to call 2020-07-16 10:05:28 +02:00
Davte f7ee5b71a1 Prevent decoding None objects 2020-07-15 13:16:21 +02:00
Davte fb58c0239d Async function to run shell commands 2020-07-15 13:11:04 +02:00
Davte c848bfc228 Script to merge split files 2020-06-22 22:53:25 +02:00
Davte f823057cbe Split outgoing documents bigger than 50 MB and send chunks 2020-06-22 20:30:03 +02:00
Davte d7a1acd23b Typos 2020-06-20 15:44:26 +02:00
Davte 70053c9279 Send error message if database could not be sent - new version 2020-06-20 15:34:39 +02:00
Davte 1c76c7d797 Send error message if database could not be sent 2020-06-20 15:31:42 +02:00
Davte dfffbff7c6 Merge 2020-06-20 15:20:22 +02:00
Davte a4b1ed09a2 longest_cooldown_timedelta property defined 2020-06-20 15:18:13 +02:00
Davte a1bd681cbf Merge 2020-06-20 15:16:46 +02:00
Davte 1b4532e2cd Accept both updates and raw_updates in maintenance exception criteria 2020-05-21 15:32:16 +02:00
Davte 9c57677320 Accept both updates and raw_updates in maintenance exception criteria 2020-05-21 15:32:04 +02:00
Davte 12cca835b9 Pass to handlers the parameters they take and preserve update_id 2020-05-21 14:55:51 +02:00
Davte 956e982157 Pass to handlers the parameters they take and preserve update_id 2020-05-21 14:55:32 +02:00
Davte 4bd10894a8 Merge branch 'master' into develop 2020-05-19 15:21:02 +02:00
Davte 7ad4f48de1 Send long text messages as files 2020-05-19 15:20:34 +02:00
Davte e3cde032ba Small fixes in calculation command
- Consider `_` as a digit when prettifying expressions
- Shorten buffer time for calculation sessions
- Redundant escape
2020-05-19 15:20:23 +02:00
Davte 89a9863510 Send long text messages as files 2020-05-19 15:12:38 +02:00
Davte ed36e53a28 Consider _ as a digit when prettifying expressions 2020-05-19 15:11:58 +02:00
Davte 8977e0fbc3 Shorten buffer time for calculation sessions 2020-05-19 14:04:02 +02:00
Davte cf7e0c740b Redundant escape 2020-05-19 13:59:15 +02:00
Davte cd7392c2fd Prettify expressions removing whitespace around newlines and adjusting whitespace around parentheses 2020-05-19 12:53:29 +02:00
Davte 12b18cff58 Prettify expressions removing whitespace around newlines and adjusting whitespace around parentheses 2020-05-19 12:53:20 +02:00
Davte 995bfee084 TypeError bug fixed 2020-05-18 22:25:41 +02:00
Davte 3160723aa7 TypeError bug fixed 2020-05-18 22:25:30 +02:00
Davte 2131c6acf9 Prevent message is not modified exceptions 2020-05-18 22:08:48 +02:00
Davte 8e2feb5ac2 Prevent message is not modified exceptions 2020-05-18 22:08:10 +02:00
Davte 7f140371b6 Prettify expressions 2020-05-18 19:31:37 +02:00
Davte cbc7424a97 Prettify expressions 2020-05-18 19:31:26 +02:00
Davte 1e7c384b6d Multilanguage message in version command
(cherry picked from commit a7fd054106)
2020-05-18 18:58:23 +02:00
Davte a7fd054106 Multilanguage message in version command 2020-05-18 18:58:14 +02:00
Davte 1018876227 Remove whitespace at the end of the expression after del button is pressed 2020-05-18 18:50:31 +02:00
Davte 7cc2e02f47 Remove whitespace at the end of the expression after del button is pressed 2020-05-18 18:50:21 +02:00
Davte e19e022e12 Track input via message of algebraic expressions as well as input via buttons. 2020-05-18 18:33:56 +02:00
Davte 6315c0dcc2 Track input via message of algebraic expressions as well as input via buttons. 2020-05-18 18:33:40 +02:00
Davte f06c525f5b Merged branch master 2020-05-18 15:09:05 +02:00
Davte 11d07b45d6 /calc command implemented 2020-05-18 15:08:15 +02:00
Davte ea5c63c1f8 Finished working on calc command 2020-05-18 15:04:18 +02:00
Davte ea549b63c8 Working on calc command 2020-05-18 13:04:19 +02:00
Davte e63b0f9265 Working on calc command 2020-05-18 12:42:04 +02:00
Davte cb9310437f Working on calc button 2020-05-17 19:45:39 +02:00
Davte 5bc58dd7d5 Working on calc button 2020-05-16 15:51:49 +02:00
Davte 5d35579e10 Working on /calc command 2020-05-15 19:48:04 +02:00
Davte 9ab3fb3616 /when command implemented 2020-05-14 22:19:01 +02:00
Davte 21222d3d18 /info command implemented 2020-05-14 22:19:00 +02:00
Davte b0132e0b30 /when command implemented 2020-05-14 22:18:21 +02:00
Davte 49ecee63d0 /info command implemented 2020-05-14 21:58:38 +02:00
Davte 82d120dc58 /ping command implemented
/length command returns characters in text message even, not only in reply
2020-05-14 21:24:45 +02:00
Davte 273eda2b67 /ping command implemented
/length command returns characters in text message even, not only in reply
2020-05-14 20:25:29 +02:00
Davte a7e1b40f93 Useful tools module added 2020-05-14 18:50:24 +02:00
Davte cf6a2e1baa Language-labelled commands are accepted only for selected language. /father uses selected language for commands 2020-05-14 18:50:23 +02:00
Davte b12f653096 Useful tools module added 2020-05-14 18:50:05 +02:00
Davte 05878f3fbd Language-labelled commands are accepted only for selected language. /father uses selected language for commands 2020-05-14 18:49:40 +02:00
Davte e6fdacd2f4 Allow language-labelled commands 2020-05-14 16:55:50 +02:00
Davte c583c3c3b0 Allow language-labelled commands 2020-05-14 15:32:06 +02:00
Davte f840f9fe13 /version command looks for updates 2020-05-13 19:45:15 +02:00
Davte 2d40903069 Finished working on /version command 2020-05-13 19:44:04 +02:00
Davte 217a445a65 Working on /version command 2020-05-13 15:54:38 +02:00
Davte b68dbe7a07 /ban command implemented 2020-05-13 15:31:59 +02:00
Davte 258ca9f6ef /ban command implemented 2020-05-13 15:31:20 +02:00
Davte d724442604 /ban command implemented 2020-05-13 15:28:49 +02:00
Davte 3648a36636 Version 2020-05-13 15:22:37 +02:00
Davte ef99493c7f Finished working on /ban 2020-05-13 15:22:14 +02:00
Davte 841f7f0c8d Working on /ban 2020-05-13 12:47:37 +02:00
Davte 34cf987aa7 Implemented button to delete all commands stored by BotFather 2020-05-07 22:52:57 +02:00
Davte 23882e5b3b Implemented button to delete all commands stored by BotFather 2020-05-07 22:52:42 +02:00
Davte 6ba21f0115 Version 2020-05-07 15:29:10 +02:00
Davte a4079cf91d Implemented /father command.
It allows to see commands stored by BotFather, get default command list, change it and send it to BotFather.
2020-05-07 15:28:17 +02:00
Davte ca6dca3cb7 Finished working on /father command 2020-05-07 15:07:45 +02:00
Davte 9072c3abe5 Working on /father command 2020-05-06 23:18:27 +02:00
Davte e74e38c6ae Comment 2020-05-06 15:39:45 +02:00
Davte 7a23045479 New parameters of sendPoll method 2020-05-06 15:33:23 +02:00
Davte 5ef449a542 Temp 2020-05-06 00:44:21 +02:00
Davte a2c83f8d9c Pass language to update handlers 2020-05-06 00:39:23 +02:00
Davte dddaf20ea2 Temp 2020-05-05 23:44:58 +02:00
Davte a828bb5d3c Move functions outside init 2020-05-05 12:29:55 +02:00
Davte 25f5514dff Type hinting
(cherry picked from commit 3896776f0e)
2020-04-28 12:08:01 +02:00
Davte 3896776f0e Type hinting 2020-04-28 12:07:37 +02:00
Davte 34f802732b Do not notify package updates too often
(cherry picked from commit ab6a0bc0ad)
2020-04-28 09:48:53 +02:00
Davte f6466b0540 Merge branch 'develop' of ssh://gogs.davte.it:8445/Davte/davtelepot into develop
# Conflicts:
#	davtelepot/__init__.py
2020-04-28 09:48:42 +02:00
Davte ab6a0bc0ad Do not notify package updates too often 2020-04-28 09:47:41 +02:00
Davte 7565df17ba New version
(cherry picked from commit e61d757c1a)
2020-04-28 00:36:28 +02:00
Davte e61d757c1a New version 2020-04-28 00:35:00 +02:00
Davte 4be33370b9 Text made more clear
(cherry picked from commit e7274dce07)
2020-04-28 00:27:36 +02:00
Davte a4ed0ec1b1 Deprecated admin_tools submodule 2020-04-28 00:27:19 +02:00
Davte cf3f7a88fb Deprecated admin_tools submodule 2020-04-28 00:26:38 +02:00
Davte e7274dce07 Text made more clear 2020-04-27 19:07:28 +02:00
Davte a4d464da58 Text made more clear 2020-04-27 19:07:10 +02:00
Davte 83c0a91919 Missing whitespace
(cherry picked from commit b107cc105d)
2020-04-27 18:03:24 +02:00
Davte b107cc105d Missing whitespace 2020-04-27 18:00:53 +02:00
Davte 85a5ce3882 Merge branch 'develop' of ssh://gogs.davte.it:8445/Davte/davtelepot into develop 2020-04-27 17:30:05 +02:00
Davte 3e00381e0a Deprecated custombot submodule 2020-04-27 17:27:25 +02:00
Davte 77405d2dd3 Merge branch 'master' into develop
# Conflicts:
#	davtelepot/__init__.py
#	davtelepot/administration_tools.py
2020-04-27 14:03:58 +02:00
Davte baf1dbbe62 Show all packages with /version command 2020-04-27 14:02:19 +02:00
Davte edb2201773 Package updates checker implemented
Notify administrators when new versions are available for PyPi packages in `bot.packages`.
2020-04-27 13:48:33 +02:00
Davte 1e2316e748 Package update notifier completed 2020-04-27 13:45:25 +02:00
Davte 16014c5a42 Working on package update notifier 2020-04-26 23:30:44 +02:00