1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-11-30 17:44:18 +00:00
Commit graph

254 commits

Author SHA1 Message Date
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
3e49f7c8a5 #17: Properly generate CancelSignals from regular keyboards 2020-03-27 16:57:32 +01:00
0a0f76168b PEP8 improvement 2020-03-27 16:31:27 +01:00
2b23bd5661 Fix #27 by removing the character limit on regexes 2020-03-13 02:54:23 +01:00
16e6b16fb0 Improve README 2020-03-01 23:51:35 +01:00
eea3623475 Merge branch 'english-translation' 2020-03-01 23:27:28 +01:00
88b38b2b5b Improve english and italian translations 2020-03-01 23:25:47 +01:00
0a9ade30e9
Add localization support and unofficial en_US strings file (#32) 2020-02-05 03:25:34 +01:00
63a28f2225 Improve translations a bit 2020-02-05 03:23:13 +01:00
985550e37b Bump the config version to 14, as a new value was added to it 2020-02-05 02:12:57 +01:00
Darren
7d4d5f966e Add English translations en_US 2020-02-04 15:14:04 +02:00
Darren
49cc2b8036 Add language switcher 2020-02-04 15:13:14 +02:00
2d8c36fdca
Fix default database engine 2019-10-21 17:44:29 +02:00
2e142d6702
Update README.md 2019-10-20 19:14:14 +02:00
087eb0d594 Don't crash if config.ini does not exist 2019-09-02 16:05:37 +02:00
002ccfb14b
Change default setting (closes #21) 2018-11-21 14:05:38 +00:00
4e5bf3db67
Added possible fix to a common problem 2018-09-24 17:20:40 +02:00