1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-12-23 12:04:21 +00:00
Commit graph

129 commits

Author SHA1 Message Date
HYBRID
8f8a188ade
Add Hindi language (by @hybridvamp, in #218)
Co-authored-by: Stefano Pigozzi <me@steffo.eu>
2023-10-28 01:53:22 +02:00
fe751cb56d
Prevent bypassing the requirement for certain privileges 2022-11-19 17:05:39 +01:00
bb99472c84
Add option to disable cash payments (#190)
* Create the `enable_pay_with_cash` and `enable_create_transaction` config options
* Add configuration gates to the `menu_cash` and `menu_edit_credit` buttons
2022-11-19 16:56:49 +01:00
oleg20111511
55e14b10d5
Code refactor (#178)
Co-authored-by: Stefano Pigozzi <me@steffo.eu>
2022-05-20 02:55:12 +02:00
78b51e30f3
🧹 Remove superfluous file creation (closes #170) 2022-03-16 16:20:32 +01:00
Rashid Ali
ee86092c60
🔀 Merge #145: Remove unused imports
* removed unused imports and refactored imports

* Update .gitignore

* Update core.py

* Update worker.py
2021-08-17 02:15:18 +02:00
48c3eb9c48
Fix #135 2021-06-01 16:19:22 +02:00
Felipe Mateus
6995d78a32
Add language pt_br (#132)
* Add Language PT_BR

Create br.py

* Update config/template_config.toml

* Update strings/br.py

* Update strings/br.py

* Update strings/br.py

* Update strings/br.py

* Update strings/br.py

* Update strings/br.py

* Update config/template_config.toml

* Fix problems

* Update pt_br.py

* 🔧 Add `pt_br` to the language menu
Co-authored-by: Stefano Pigozzi <me@steffo.eu>

* Update pt_br.py
Update "order" word to "pedido".
2021-05-26 01:17:03 +02:00
2262dbb99c 🔧 #107: Support tips (even if not recommended) 2021-05-13 03:41:44 +02:00
valentino-sm
94f8b91611 fix worker init 2021-05-07 14:09:36 +02:00
d3200b170a
🔧 Improve SQLalchemy code 2021-05-07 00:45:32 +02:00
6cf8a3d43e
🔧 Remove unnecessary session parameter 2021-05-07 00:38:03 +02:00
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