1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-11-28 08:34:19 +00:00
Commit graph

105 commits

Author SHA1 Message Date
177f5b3507 Reformat code using PyCharm 2020-09-07 17:13:27 +02:00
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
378bbbad43 Make the welcome message toggleable with a config option (closes #69) 2020-09-06 18:32:48 +02:00
da1de183ab Merge 2020-09-06 03:54:37 +02:00
b4fc5d0efa Hide custom keyboard during Live Orders mode (closes #39)
Also fixes a bug with the chinese translation
2020-09-06 03:53:49 +02:00
netanel133
9267b25eb6
Adding Hebrew language support (#70)
* Adding Hebrew language support

* Update heb.py

* Fix a few things

* Fix issues

Co-authored-by: Stefano Pigozzi <ste.pigozzi@gmail.com>
Co-authored-by: Netanel Koli <netanel.koli@earlysense.com>
2020-08-26 01:55:42 +02:00
智慧雨泽
c077e4047d
Update worker.py 2020-08-22 22:40:47 +08:00
智慧雨泽
556645ba81
Update worker.py 2020-08-22 21:31:31 +08:00
zhihuiyuze
bb4ac59750
Fix Chinese menu 2020-08-22 20:40:27 +08:00
c9f220ace4
Fix https://t.me/greed_project/488 2020-07-07 00:07:20 +02:00
bd1b98437d
Fix #63 2020-07-06 23:54:26 +02:00
3f05a1b7e2
Fixes #61 2020-06-25 14:17:34 +02:00
0a3db24c87
Fix __repr__ being parsed as html entities 2020-06-24 14:36:39 +02:00
4a9b911940
Fix order panel crash if there were products that could be displayed 2020-06-22 14:01:50 +02:00
d7f1c83ef6
Fixes #56 2020-06-18 17:17:44 +02:00
6b3fb880cb Fully remove global strings files 2020-05-03 12:40:11 +02:00
5c79ec7581 Improve language configuration options 2020-05-03 11:41:12 +02:00
5d50008936 Refactor localization support to close #51 2020-05-03 01:01:44 +02:00
bd44942eca Reformat file 2020-04-23 17:47:19 +02:00
8d3b492822
Merge branch 'master' into logging 2020-04-23 17:22:58 +02:00
71a3683cc1 Use logging in configloader (even if it doesn't show up) 2020-04-23 17:20:51 +02:00
68eafef656 Improve logging system (and rename ChatWorker class to Worker) 2020-04-23 17:10:28 +02:00
788163458e Offer refill only if the credit_required is between the min_amount and max_amount range 2020-04-08 15:02:19 +02:00
279b8f1539 #44: Change CancelSignal handling 2020-04-08 14:51:44 +02:00
13243521a5 Don't refill on checkout if credit card payments are disabled 2020-04-07 23:51:59 +02:00
9d6e21fb4e Move the presets to the [Credit Card] section 2020-04-07 02:02:07 +02:00
9df1203b3e Made a few changes 2020-04-07 01:44:23 +02:00
Pavlo Zhuk
23f395ee8a allow refill on insufficient funds during checkout 2020-04-07 01:29:49 +02:00
Pavlo Zhuk
5be2f9e762 add configurable payment presets 2020-04-07 01:29:49 +02:00
Pavlo Zhuk
4c0c38902e create __issue_invoice() 2020-04-07 01:29:49 +02:00
5828ba8f31 PEP8 2020-04-04 13:09:19 +02:00
Pavlo Zhuk
9688575fd7 refactor + add __get_cart_value() and __get_cart_summary() 2020-04-04 13:09:19 +02:00
Pavlo Zhuk
23febf1b4a fix Cancellable calls 2020-04-04 01:44:55 +02:00
3caa5ef179 #18: Recalculate credit on every new transaction
Might slow down the bot if there are a lot of transactions... Let's see what happens.
2020-03-27 18:14:37 +01:00
611eb7e1db Print exceptions to the console for easier debugging 2020-03-27 18:07:13 +01:00
3e49f7c8a5 #17: Properly generate CancelSignals from regular keyboards 2020-03-27 16:57:32 +01:00
2b23bd5661 Fix #27 by removing the character limit on regexes 2020-03-13 02:54:23 +01:00
Darren
49cc2b8036 Add language switcher 2020-02-04 15:13:14 +02:00
0adbbcc019 Another bug fixed 2018-06-10 16:36:13 +02:00
dedd1695eb Possible bugfix for #19 2018-06-10 16:03:40 +02:00
23ccd71581 Small generic improvements 2018-05-30 11:46:46 +02:00
25c52855a6 More fixes 2018-05-15 17:31:30 +02:00
d3505802a1 Final bugfixes 2018-05-15 17:00:24 +02:00
0eaa0188b9 stuff 2018-05-04 15:46:07 +02:00
3c9874f93f I don't know. I found these changes and I committed them. 2018-05-03 08:06:22 +02:00
7ce44fc076 tiny fix 2018-05-02 16:32:16 +02:00
d552b88166 Unfinished stuff 2018-04-30 16:14:02 +02:00
12da94eea2 First user on the bot becomes admin 2018-04-26 09:59:47 +02:00
9e5b2ac472 Tag some order messages as User 2018-04-26 09:39:18 +02:00
762a672ce8 Fix user updating bug 2018-04-20 13:12:07 +02:00