Commit Graph

48 Commits

Author SHA1 Message Date
Stefano Pigozzi
317f32900a Add Docker support (#168, #102)
Co-authored-by: bpro <iserver12345@gmail.com>
2022-03-28 16:09:57 +02:00
Rashid Ali
ee86092c60 🔀 Merge #145: Remove unused imports
* removed unused imports and refactored imports

* Update .gitignore

* Update core.py

* Update worker.py
2021-08-17 02:15:18 +02:00
skipper70
3dd0bbcf93 fix python-telegram-bot:latest warning && variable connection pool size 2021-05-01 03:47:30 +02:00
Stefano Pigozzi
d7d1ad99dd 🐛 Fix error if the specified bot token is invalid 2020-12-03 08:05:48 +01:00
Stefano Pigozzi
69dfbc15c0 🐛 Fix error if an expired invoice was clicked 2020-10-07 02:52:18 +02:00
Stefano Pigozzi
46449d6168 🐛 Fix database table creation 2020-09-11 01:38:37 +02:00
Stefano Pigozzi
22adafea59 Remove access to missing worker.loc 2020-09-09 18:24:18 +02:00
Stefano Pigozzi
62587f0a19 Daemonize worker processes so greed can be stopped with Ctrl+C 2020-09-09 16:41:22 +02:00
Stefano Pigozzi
177f5b3507 Reformat code using PyCharm 2020-09-07 17:13:27 +02:00
Stefano Pigozzi
6a49756394 Completely rework the configuration system (#76)
* Do a lot of progress on the new config system

* Completely rework the configuration system

* Improve logging messages
2020-09-07 17:11:22 +02:00
Stefano Pigozzi
bd1b98437d Fix #63 2020-07-06 23:54:26 +02:00
Stefano Pigozzi
faaeb08773 Display the bot's username instead of "greed" in the starting message 2020-07-06 23:54:26 +02:00
Stefano Pigozzi
6b3fb880cb Fully remove global strings files 2020-05-03 12:40:11 +02:00
Stefano Pigozzi
5c79ec7581 Improve language configuration options 2020-05-03 11:41:12 +02:00
Stefano Pigozzi
5d50008936 Refactor localization support to close #51 2020-05-03 01:01:44 +02:00
Stefano Pigozzi
8d3b492822 Merge branch 'master' into logging 2020-04-23 17:22:58 +02:00
Stefano Pigozzi
68eafef656 Improve logging system (and rename ChatWorker class to Worker) 2020-04-23 17:10:28 +02:00
Stefano Pigozzi
d0faae11fb Accept any commands starting with /start to start the bot 2020-03-31 01:52:44 +02:00
Stefano Pigozzi
641c2736bd Enable logging in core 2020-03-31 01:52:10 +02:00
Stefano Pigozzi
3e49f7c8a5 #17: Properly generate CancelSignals from regular keyboards 2020-03-27 16:57:32 +01:00
Stefano Pigozzi
0a0f76168b PEP8 improvement 2020-03-27 16:31:27 +01:00
Darren
49cc2b8036 Add language switcher 2020-02-04 15:13:14 +02:00
Stefano Pigozzi
23ccd71581 Small generic improvements 2018-05-30 11:46:46 +02:00
Stefano Pigozzi
5ae466de13 Might have fixed something 2018-04-16 21:20:02 +02:00
Stefano Pigozzi
e8250cd64d PEP8 and PyCharm fixes 2018-04-09 12:24:55 +02:00
Stefano Pigozzi
ffc5bbb5f6 Handle correctly telegram exceptions 2018-04-05 10:34:14 +02:00
Stefano Pigozzi
2ba2be62ff Handle telegram exceptions 2018-04-05 09:57:59 +02:00
Stefano Pigozzi
aa96ac0f73 Order display should be finished 2018-04-01 18:10:14 +02:00
Stefano Pigozzi
b0186edd42 Some bugfixes 2018-02-15 08:49:04 +01:00
Stefano Pigozzi
9017680044 Add cancel button 2018-02-08 10:18:53 +01:00
Stefano Pigozzi
c26621223d Recover from corrupt repo 2018-01-10 11:29:02 +01:00
Stefano Pigozzi
cf896a8549 More work on the invoice payload handling 2018-01-07 23:10:28 +01:00
Stefano Pigozzi
2720d96c57 Add "Add Credit" menu 2017-12-26 18:15:30 +01:00
Stefano Pigozzi
782e036be3 Close all open keyboards if the conversation has ended 2017-12-26 17:27:15 +01:00
Stefano Pigozzi
5f04a1ffe9 Start working on the code for the bot 2017-12-21 10:42:23 +01:00
Stefano Pigozzi
e540fa09b2 Load config by importing configloader 2017-12-17 16:49:46 +01:00
Stefano Pigozzi
a3870f4f88 Fix wrong query type 2017-12-15 09:26:53 +01:00
Stefano Pigozzi
b93b615d37 Handle get_updates errors 2017-12-14 10:43:44 +01:00
Stefano Pigozzi
aec1391b17 Configure long polling 2017-12-14 10:25:05 +01:00
Stefano Pigozzi
edefc57147 Restructure the ChatWorker class 2017-12-14 09:40:03 +01:00
Stefano Pigozzi
1ee792e9ee Use threads instead of processes 2017-12-14 08:55:51 +01:00
Stefano Pigozzi
15e80ad644 Recover corrupt git data 2017-12-13 11:20:53 +01:00
Stefano Pigozzi
cb9dbb1305 Continue work on the basic bot code 2017-12-12 19:56:38 +01:00
Stefano Pigozzi
d3f420cf6e Even more work on the basic bot code 2017-12-11 12:48:41 +01:00
Stefano Pigozzi
56d06ea1d2 More work on the basic bot code
pass, ..., and NotImplementedError() are unfinished parts of code
2017-12-08 16:44:11 +01:00
Stefano Pigozzi
94d4ac4ff9 Add the basic bot code 2017-12-07 17:39:12 +01:00
Stefano Pigozzi
2d0631bb72 Add config version handling 2017-12-07 12:06:34 +01:00
Stefano Pigozzi
6091295563 Add config code 2017-12-06 15:40:12 +01:00