1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-11-22 05:54:18 +00:00
Commit graph

117 commits

Author SHA1 Message Date
valentino-sm
6a70a45211 fix-2 sqlalchemy exception 2021-05-05 11:00:46 +02:00
valentino-sm
730fa96e56 fix sqlalchemy exception 2021-05-04 14:46:53 +02:00
skipper70
17cb4fe118 fix 3+ numbers for create_transaction 2021-05-01 03:47:30 +02:00
624f4c1b76
Merge remote-tracking branch 'origin/master' 2021-03-17 02:26:47 +01:00
3cc3693b9a
🐛 Fix #100 by using re.DOTALL in all regexes 2021-03-17 02:26:34 +01:00
3cfe0251d1
Tentative fix for #95 2021-03-10 16:51:21 +01:00
Santiago Valenzuela
3915bb7447 🐛 Fix worker not closing sessions properly 2020-12-03 08:11:58 +01:00
Santiago Valenzuela
1dcc8ff5df Language added: es_mx.py - Spanish (México).
Added es_mx to __language_menu.
2020-11-28 19:24:52 -06:00
41cd96933c 🐛 Fix refill_on_checkout getting ignored 2020-10-01 16:59:00 +02:00
128c146210 Fix payment presets list being split as if it was a string 2020-09-12 16:07:54 +02:00
ru-black
9268b1f4b4 Fix typo
Signed-off-by: Stefano Pigozzi <ste.pigozzi@gmail.com>
2020-09-11 15:38:48 +02:00
3bcd409056 Fix self.loc race condition 2020-09-09 16:55:46 +02:00
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