Commit Graph

43 Commits

Author SHA1 Message Date
a9070fc680 Add subcommand for displaying the transaction log 2026-02-12 16:55:50 +09:00
2ac7d26bcd seed_test_data: use new queries 2026-02-12 16:55:50 +09:00
57f7d25cdf Write a set of queries to go along with the event sourcing model 2026-02-12 16:55:49 +09:00
2a05bd7a58 Update models for event sourcing 2026-02-12 16:54:08 +09:00
fb0f24cb67 fix database verification for views 2026-02-05 02:50:11 +09:00
3d555ca9d1 menus/faq: fix indentation 2026-02-05 01:52:56 +09:00
af5710d663 verify database connection before starting 2026-02-05 01:39:40 +09:00
4d88409e97 helpers: fix search_user 2026-02-05 01:39:12 +09:00
b1bb1e556b Add --version flag to cli 2026-02-05 00:41:06 +09:00
70b04c0c45 Fix a bunch more lints 2026-02-04 22:59:18 +09:00
7bea5b0b96 Remove need for clear 2026-02-04 22:16:45 +09:00
3123b8b474 loop: disable autocommits, reset db session on looping 2026-02-04 00:38:40 +09:00
9091adedad stats: fix balance stat when missing database rows 2026-02-04 00:34:45 +09:00
94955cb706 treewide: fix a bunch more typing issues 2026-02-04 00:28:29 +09:00
3b6cd1d354 buymenu: fix warning message escapes 2026-02-04 00:24:36 +09:00
c2ee66c394 treewide: format 2026-02-04 00:01:38 +09:00
b5b2706085 helpermenus: add some more types 2026-02-04 00:01:17 +09:00
bf9cea7dfc loop: disable autoflushing, don't expire session on commit 2026-02-03 23:32:19 +09:00
cf945143ba treewide: fix a bunch of lints 2026-02-03 23:24:37 +09:00
17fc23ba97 menus/Menu: never unset sql_session 2026-02-03 23:02:11 +09:00
45179a9c43 loop: don't overload main name 2026-02-03 23:01:36 +09:00
dfaa818f46 treewide: rollback if commit was unsuccessful 2026-02-03 22:52:43 +09:00
1b09a904cb menus/mainmenu: register sql session in menu 2026-01-27 19:40:17 +09:00
8e84669d9b Temporarily disable brother-ql + friends, update to python 3.13 2026-01-26 13:02:34 +09:00
019f419b12 models: a bit of back population 2026-01-25 22:54:01 +09:00
3bab62b3ac treewide: types, types and more types 2026-01-25 22:53:45 +09:00
e771fb0240 Propagate sql_session through constructors 2026-01-25 18:38:22 +09:00
2331e53795 config: structured database config 2026-01-25 18:08:50 +09:00
ecaec99212 Replace configparser with tomllib 2026-01-25 18:08:49 +09:00
9c0bd54be6 parse config file argument as Path 2026-01-09 05:45:43 +09:00
919d7a5afe assert database_url is present 2026-01-09 05:45:42 +09:00
78161a96be Try to read config from /etc/dibbler/dibbler.conf 2026-01-06 16:01:34 +09:00
70677f7f79 db: handle database.url_file 2025-05-17 19:19:10 +02:00
a654baba11 ruff format 2025-03-30 21:44:37 +02:00
e69d04dcd0 mock script, og mock data. 2025-03-29 22:48:30 +01:00
4bab5e7e21 treewide: fix brother-ql usage 2025-03-19 18:47:16 +01:00
58b4f7913f Fix a few ruff linter errors 2023-08-30 00:08:15 +02:00
c219fa61ba format code with black 2023-08-30 00:08:14 +02:00
455936ef01 mark statistikk subcommand as broken 2023-08-29 23:04:10 +02:00
006c010907 scripts -> subcommands, add logic to lib 2023-08-29 23:03:33 +02:00
eb11d2dc2a add all menu classes to dibbler.menus 2023-08-29 22:56:44 +02:00
cde79ccb34 Split db.py and make declarative models 2023-08-29 22:50:53 +02:00
c25e5cec27 Big cleanup ദ്ദി^._.^) 2023-08-29 18:32:49 +02:00