Commit graph

310 commits

Author SHA1 Message Date
TMA
1d9a2e9fac Fix buy rate updating 2025-07-26 18:26:59 +02:00
TMA
54c687edf3 disable slowdown in management for now 2025-07-26 17:12:50 +02:00
TMA
9afef5bce2 maybe make something faster 2025-07-26 16:57:30 +02:00
TMA
c17aa99666 0024: drop old versions before installing new ones 2025-07-26 16:02:47 +02:00
TMA
c04d4a1f8e 0024: propagate errors in find_*_rate 2025-07-26 15:50:10 +02:00
TMA
70c46bd950 log all sql statements 2025-07-26 15:15:03 +02:00
8487202b8f Record to columns. 2025-07-21 17:07:50 +02:00
a1ec2bdb6b Debug raw inventory balance result. 2025-07-21 17:06:13 +02:00
TMA
7a301379f0 0023: security definer 2025-07-21 17:02:02 +02:00
39fe8d97fd Use inventory_balance. 2025-07-21 16:56:50 +02:00
TMA
2e328e4fb3 0023: stored function for total inventory balance 2025-07-21 16:49:29 +02:00
TMA
4f9611727b 0022: drop: add cascade 2025-07-21 16:34:28 +02:00
3933514e86 Fix Shop keyword arguments. 2025-07-21 15:46:26 +02:00
TMA
04f98147fd 0022: shop initialization stored procedure 2025-07-21 15:43:13 +02:00
dde8bd764d Use new shop init interface and black all brmbar/*.py. 2025-07-21 15:42:40 +02:00
a8e4b3216d Old scripts: mark them deprecated and make them exit with status 1. 2025-07-21 15:02:09 +02:00
TMA
01491deec3 remove Account._transaction_split and dependents 2025-07-17 17:48:36 +02:00
TMA
76a484ea5e 0015: find_buy_rate takes currency ID 2025-07-17 17:30:44 +02:00
f962586e3a Ensure amount in buy_for_cash is integer. 2025-07-17 17:16:52 +02:00
TMA
be0b50fedd Fix i_transaction_id as v_transaction_id elsewhere. 2025-07-17 16:57:42 +02:00
95e55aef23 Fix i_transaction_id as v_transaction_id. 2025-07-17 16:50:02 +02:00
e31165d668 Change to receipt_reimbursement. 2025-07-17 16:47:23 +02:00
5d658a7406 Rollback on generic database exceptions. 2025-07-17 16:23:26 +02:00
TMA
f8a265f1d2 0021: constraints on currency columns in database: numbers only 2025-07-17 16:02:50 +02:00
6f945c3a0f Fix Shop.py transfer with more arguments. 2025-07-17 15:27:57 +02:00
9f63a6760e Fix Shop.py credit -> amount 2025-07-17 15:24:18 +02:00
ff68817129 Moar transfer logging. 2025-07-17 15:17:18 +02:00
TMA
afb5476c2d o_id -> i_id 2025-07-12 19:12:52 +02:00
9d8827ccbd 0010: lookup item currency id 2025-07-12 18:52:21 +02:00
TMA
8ee51a23d9 account_id -> id 2025-07-12 18:25:24 +02:00
81366fd2bb 0010: fix v_transaction_id 2025-07-12 18:04:56 +02:00
ee2b945299 0010: fix other to user 2025-07-12 17:53:33 +02:00
38838692c6 Database: other exceptions 2025-07-12 17:45:06 +02:00
557d36cac3 Shop: not array 2025-07-12 17:42:32 +02:00
343df879fb Shop: sell log res 2025-07-12 17:40:16 +02:00
0a8e2b727b gui: logger 2025-07-12 17:37:17 +02:00
829bab66b4 gui: fine-grained logging 2025-07-12 17:35:38 +02:00
c3abceac5d gui: try logging acct in acct_map better 2025-07-12 17:33:28 +02:00
f9230ed5bf gui: try logging acct in acct_map 2025-07-12 17:29:08 +02:00
93f9b336b6 Shop.py: logging to sell 2025-07-12 17:25:27 +02:00
3ab537f7d9 Try logging. 2025-07-12 17:15:22 +02:00
15dfd0be04 gui: remove old db initialization 2025-07-12 15:57:41 +02:00
5355eca6f5 gui: pass database configuration as command-line options 2025-07-12 15:55:06 +02:00
3a4aaa74ce 0017: use proper account id argument - not a constant 2025-07-12 15:15:21 +02:00
cd9b4484c8 Shop.py: python <3.6 compatibility 2025-07-10 16:54:45 +02:00
597bca87b5 Schema 0018: fix ac-c-ounts 2025-07-10 16:24:31 +02:00
5e348b2463 Schema 0017: fix ac-c-ounts 2025-07-10 16:23:25 +02:00
1eff329496 Schema 0017: fix semicolon before return 2025-07-10 16:22:13 +02:00
f7f137821b Schema 0017: fix into syntax 2025-07-10 16:21:22 +02:00
3b0cb6472d Schema 0011: fix type inference for id 2025-07-10 16:19:25 +02:00