Commit Graph

263 Commits

Author SHA1 Message Date
aed85b4a06 uv.lock: update 2026-02-12 17:02:38 +09:00
3fc7d78c1c nix/package: add missing test deps 2026-02-12 16:55:51 +09:00
38e9066300 Add benchmarks 2026-02-12 16:55:50 +09:00
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
c85a11eb89 README: add overview of project structure 2026-02-12 16:55:49 +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
00afede3d9 .gitea/workflows: init test pipeline 2026-02-12 16:54:04 +09:00
19ee9bebc2 Set up testing with pytest and co 2026-02-12 16:54:03 +09:00
acb31992f8 Write specification for economy 2026-02-12 16:37:37 +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
72cd066414 example-config.toml: fix sqlite default path 2026-02-05 01:38:35 +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
e84b43e2a0 pyproject.toml: add ruff linting rules 2026-02-03 23:24:19 +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
ec43f67e58 flake.nix: fix nix run 2026-01-27 19:42:21 +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
1d01e1b2cb package.nix: add clear to $PATH 2026-01-26 02:30:10 +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
2ae651a1fa README: add link to wiki docs 2026-01-25 18:08:49 +09:00
76f07841be module.nix: fix lib.getExe warnings 2026-01-25 18:08:49 +09:00
ecaec99212 Replace configparser with tomllib 2026-01-25 18:08:49 +09:00
cb385097dc README: add note about vm 2026-01-11 22:36:51 +09:00
b86962ef0e flake.nix: system -> stdenv.hostPlatform.system 2026-01-09 06:14:35 +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
ddca959ad6 pyproject.toml: psycopg2 -> psycopg2-binary 2026-01-09 05:45:40 +09:00
1733843b77 pyproject.toml: set authors 2026-01-06 17:33:15 +09:00
4ed68ff05c nix: yeet skrott, massive module modifications tm, wrap package and more
Sorry for the kinda big commit that does everything at once

This change does the following:
- yeets skrott and skrot-specific settings from the NixOS module,
- adds a bunch more settings and generalizations to the NixOS module,
- adds two VM NixOS configurations for interactive testing
- wraps the nix package so that `less` is always present in `$PATH`
- yeah, that's about it

kthxbye
2026-01-06 17:01:21 +09:00
78161a96be Try to read config from /etc/dibbler/dibbler.conf 2026-01-06 16:01:34 +09:00