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
f4b5e1d6d4
pyproject.toml: set package version, fix nix package
2026-01-06 14:09:38 +09:00
634716956e
uv.lock: init
2025-12-08 18:26:08 +09:00
fb81eef26f
flake.lock: bump
2025-12-08 18:25:59 +09:00
e9d30b63a5
flake.lock: bump
2025-06-07 15:13:32 +02:00
0844843e59
remove all the image related things from dibbler service
2025-05-17 20:05:35 +02:00
70677f7f79
db: handle database.url_file
2025-05-17 19:19:10 +02:00
4a4f0e6947
module.nix: config -> settings
2025-05-05 14:52:28 +02:00
a4d10ad0c7
Merge pull request 'Seed test data' ( #16 ) from seed_test into master
...
Reviewed-on: #16
Reviewed-by: Oystein Kristoffer Tveit <oysteikt@pvv.ntnu.no >
2025-03-30 21:45:37 +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
b2a6384f31
la tilbake uv, en project manager
2025-03-29 22:46:30 +01:00
4f89765070
ignorer bifiler fra hatchling
2025-03-29 22:42:36 +01:00
914e5b4e50
fjerner __pyachce__, fra repo tracking
2025-03-29 22:37:11 +01:00
de20bad7dd
remove conf.py
2025-03-19 18:47:23 +01:00
4bab5e7e21
treewide: fix brother-ql usage
2025-03-19 18:47:16 +01:00
b85a6535fe
shell.nix: add python with all packages
2025-03-19 18:14:42 +01:00
22a09b4177
README: add more information
2025-03-19 18:06:40 +01:00
c39b15d1a8
.envrc: init
2025-03-19 17:50:48 +01:00