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

128 commits

Author SHA1 Message Date
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
752830d190 Update user credit after a user menu choice 2018-04-19 10:03:25 +02:00
f823d5cc7a Send all messages in parse_mode="HTML" 2018-04-19 09:55:36 +02:00
5da9535b97 Use ; instead of , in the csv file 2018-04-19 09:39:11 +02:00
3757b1fa6a Add transaction file 2018-04-19 09:37:42 +02:00
f8b078f557 Add transaction log 2018-04-18 21:28:39 +02:00
17b4be529d UNFINISHED 2018-04-18 09:23:44 +02:00
d3a89f3215 Minor string change 2018-04-17 22:59:28 +02:00
ea5e674609 Better strings 2018-04-17 09:51:05 +02:00
a7fda3cfb3 Horizontal product keyboard 2018-04-17 08:17:16 +02:00
5ae466de13 Might have fixed something 2018-04-16 21:20:02 +02:00
13ca9c5391 Delete cancelled refund messages 2018-04-16 12:28:00 +02:00
62056f57ad #9: handle Telegram HTML correctly 2018-04-16 12:18:42 +02:00
9dd9ac9edd #4: Add help menu 2018-04-16 12:09:51 +02:00
575ca37033 #3: Do not crash if a CancelSignal is sent to a non-cancellable wait 2018-04-13 09:40:31 +02:00
6680797a72 #2: Do not crash when a not existing product message tries to add something to the cart 2018-04-13 09:37:03 +02:00
15438ccaaf PEP8 2018-04-12 10:21:49 +02:00
6883d8ff3d Add Sentry integration and error handling 2018-04-12 10:21:11 +02:00
c573c4db62 Add "Create Transaction" menu option and fix image formatting 2018-04-12 09:28:52 +02:00
e8250cd64d PEP8 and PyCharm fixes 2018-04-09 12:24:55 +02:00
0ad395bfd3 PEP8 2018-04-05 10:43:27 +02:00
ffc5bbb5f6 Handle correctly telegram exceptions 2018-04-05 10:34:14 +02:00
2ba2be62ff Handle telegram exceptions 2018-04-05 09:57:59 +02:00
410aa99018 Add order status 2018-04-05 09:30:32 +02:00
aa96ac0f73 Order display should be finished 2018-04-01 18:10:14 +02:00
214401a509 Fix some price bugs 2018-03-22 10:33:50 +01:00
c28675f395 Almost completed work on the orders menu 2018-03-22 09:54:45 +01:00
712fd29f6a Start work on live orders menu 2018-03-19 12:24:05 +01:00
3ba6916ffe Recover corrupt git repo 2018-03-12 10:19:01 +01:00
b056343855 Unfinished order representation 2018-03-07 10:48:30 +01:00
ea02db4786
Add Delete Product function 2018-03-06 17:39:02 +01:00
fa32ed9f6a
Fixed the vanishing keyboard bug 2018-03-05 13:12:38 +01:00
4658cdc31b
Some new stuff, but now the keyboard disappears? 2018-02-28 20:07:40 +01:00
c3d3cb2c3e
Add order product menu 2018-02-19 13:47:43 +01:00
6686543cc7 First part of the order products 2018-02-15 10:37:51 +01:00
b0186edd42 Some bugfixes 2018-02-15 08:49:04 +01:00
9017680044
Add cancel button 2018-02-08 10:18:53 +01:00
af1757050b
Add something. Don't really know what, I wasn't paying attention. 2018-02-05 13:32:18 +01:00
2415a53c43
Order products (temp version) 2018-02-05 12:49:21 +01:00
c97dcaeef4
Add and edit products 2018-02-01 10:06:40 +01:00
b7bdae4678
Started work on the admin menu 2018-01-29 13:26:49 +01:00
69862d62a7
Change the database value type from Decimal to int 2018-01-29 11:46:01 +01:00
ad38019afb
Add support for credit card user fees 2018-01-15 10:16:04 +01:00
c26621223d
Recover from corrupt repo 2018-01-10 11:29:02 +01:00
4c074ac199
Incomplete work on the invoice payload handling 2018-01-04 20:11:48 +01:00
be22e9351a
Add invoice generation 2018-01-03 15:23:08 +01:00
ddbd7ee667
Add payment verification 2018-01-03 14:52:05 +01:00
2720d96c57
Add "Add Credit" menu 2017-12-26 18:15:30 +01:00
b4137e7462
Add menu functions 2017-12-22 09:56:03 +01:00
5f04a1ffe9
Start working on the code for the bot 2017-12-21 10:42:23 +01:00
e540fa09b2
Load config by importing configloader 2017-12-17 16:49:46 +01:00
edefc57147
Restructure the ChatWorker class 2017-12-14 09:40:03 +01:00
1ee792e9ee Use threads instead of processes 2017-12-14 08:55:51 +01:00
15e80ad644
Recover corrupt git data 2017-12-13 11:20:53 +01:00
cb9dbb1305
Continue work on the basic bot code 2017-12-12 19:56:38 +01:00
56d06ea1d2
More work on the basic bot code
pass, ..., and NotImplementedError() are unfinished parts of code
2017-12-08 16:44:11 +01:00