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

270 commits

Author SHA1 Message Date
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
038b0e574d
Merge pull request #54 from Steffo99/i18n
Closes #51: Better strings and localization support
2020-06-09 02:40:28 +02:00
12c70ac388 Add a json conversion 2020-05-03 13:36:01 +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
8356565bd2 Fix template_config.ini 2020-05-03 01:17:22 +02:00
5d50008936 Refactor localization support to close #51 2020-05-03 01:01:44 +02:00
8f471412ee Remove quotes in currency symbol template 2020-04-29 01:06:56 +02:00
fb8d733298 Update README.md 2020-04-23 17:50:51 +02:00
bd44942eca Reformat file 2020-04-23 17:47:19 +02:00
e663da5adc Update CONTRIBUTING.md 2020-04-23 17:46:58 +02:00
dbd137b23e
Merge #52: Add logging support 2020-04-23 17:24:15 +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
357b0e5680 #43: Improve README.md 2020-04-08 00:03:33 +02:00
1523863fed #46: Don't crash if Sentry is enabled and greed isn't being run in a git repository 2020-04-07 23:54:24 +02:00
45eadb74b2 Clarify how to disable credit card payments in the template config 2020-04-07 23:52:17 +02:00
13243521a5 Don't refill on checkout if credit card payments are disabled 2020-04-07 23:51:59 +02:00
3f6b208ba1 #47: Add a link to the greed Telegram group in the README 2020-04-07 23:42:44 +02:00
b074daf347
Merge pull request #41 from pzhuk/russian-translation
add russian language support
2020-04-07 14:39:52 +02:00
5da299f044 #45: Load config files with UTF8 encoding 2020-04-07 02:27:03 +02:00
102d58b387
Merge pull request #40 from pzhuk/order-invoice
Order invoice
2020-04-07 02:04:55 +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
c9561f0da5 Bump up config file version 2020-04-07 01:30:13 +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
87922e8aad
Merge pull request #42 from pzhuk/conf-currency-symbol
Allow configuration of currency symbol instead of using language-base…
2020-04-05 19:04:46 +02:00
b1c313bf1d
Bump config version 2020-04-05 19:04:32 +02:00
Pavlo Zhuk
be31210afa Allow configuration of currency symbol instead of using language-based one 2020-04-05 00:43:41 +03:00
Pavlo Zhuk
37ce8ca57d add russian language support 2020-04-05 00:18:45 +03: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
d70a8f2134 full stops 2020-04-04 01:45:44 +02:00
Pavlo Zhuk
c54e56b59c minor fix 2020-04-04 01:45:44 +02:00
Pavlo Zhuk
96c295b327 adding Ukrainian translations 2020-04-04 01:45:44 +02:00
Pavlo Zhuk
23febf1b4a fix Cancellable calls 2020-04-04 01:44:55 +02:00
013ffc8bbc Use logging in utils too 2020-04-01 03:19:01 +02:00
d0faae11fb Accept any commands starting with /start to start the bot 2020-03-31 01:52:44 +02:00
641c2736bd Enable logging in core 2020-03-31 01:52:10 +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
7f4087e046 Add a "transactions" backref to User 2020-03-27 18:06:31 +01:00