oysteikt
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
oysteikt
a654baba11
ruff format
2025-03-30 21:44:37 +02:00
albertba
e69d04dcd0
mock script, og mock data.
2025-03-29 22:48:30 +01:00
albertba
b2a6384f31
la tilbake uv, en project manager
2025-03-29 22:46:30 +01:00
albertba
4f89765070
ignorer bifiler fra hatchling
2025-03-29 22:42:36 +01:00
albertba
914e5b4e50
fjerner __pyachce__, fra repo tracking
2025-03-29 22:37:11 +01:00
oysteikt
de20bad7dd
remove conf.py
2025-03-19 18:47:23 +01:00
oysteikt
4bab5e7e21
treewide: fix brother-ql usage
2025-03-19 18:47:16 +01:00
oysteikt
b85a6535fe
shell.nix: add python with all packages
2025-03-19 18:14:42 +01:00
oysteikt
22a09b4177
README: add more information
2025-03-19 18:06:40 +01:00
oysteikt
c39b15d1a8
.envrc: init
2025-03-19 17:50:48 +01:00
oysteikt
122ac2ab18
treewide: update everything nix
2025-03-19 17:50:14 +01:00
oysteikt
28228beccd
pyproject.toml: remove invalid license
...
This license field was added without any of the earlier contributors
consent on accident. It is not valid
2025-03-17 21:03:55 +01:00
oysteikt
8a6a0c12ba
Merge pull request #3 from Programvareverkstedet/restructure-project
...
Restructure project
2023-09-02 21:18:04 +02:00
oysteikt
4ce471a5ec
add .ruff_cache to .gitignore
2023-08-30 00:12:07 +02:00
oysteikt
58b4f7913f
Fix a few ruff linter errors
2023-08-30 00:08:15 +02:00
oysteikt
c219fa61ba
format code with black
2023-08-30 00:08:14 +02:00
oysteikt
88d855a951
Add devshell with ruff and black
2023-08-30 00:08:14 +02:00
oysteikt
ea1be3be7f
Remove outdated requirements.txt
2023-08-29 23:47:10 +02:00
oysteikt
455936ef01
mark statistikk subcommand as broken
2023-08-29 23:04:10 +02:00
oysteikt
006c010907
scripts -> subcommands, add logic to lib
2023-08-29 23:03:33 +02:00
oysteikt
eb11d2dc2a
add all menu classes to dibbler.menus
2023-08-29 22:56:44 +02:00
oysteikt
cde79ccb34
Split db.py and make declarative models
2023-08-29 22:50:53 +02:00
oysteikt
c25e5cec27
Big cleanup ദ്ദി^._.^)
2023-08-29 18:32:49 +02:00
danio
6ab66771f2
Fix vt-terminal screen stuff
2023-01-29 07:59:55 +01:00
oysteikt
b96921de98
nix: add screen tty systemd service?
...
maybe
2023-01-29 04:21:54 +01:00
danio
2a0193f034
update image config to what actually ran
2023-01-29 03:23:33 +01:00
danio
c8e05c28f8
Update conf with values from production
2023-01-28 01:00:30 +01:00
danio
39747e544b
Add SD image to flake
2022-08-29 03:56:56 +02:00
danio
c450c6710b
make flake and allow overriding conf.py
2022-08-28 05:58:42 +02:00
danio
3c950be930
Package dibbler with nix
2021-09-07 13:07:25 +02:00
danio
91d8de0b7e
Switch to postgresql:// url
...
postgres:// has been deprecated for years
2021-09-07 13:05:59 +02:00
robertem
322903adc1
Touch up the FAQ slightly
2019-09-21 16:52:40 +02:00
robertem
92f3990cc0
Fix errors, make menu formatting more readable
2019-09-21 16:48:49 +02:00
robertem
c188d692dd
Update requirements.txt
2019-09-21 14:34:19 +02:00
robertem
457c625097
Update FAQ
2018-08-31 13:48:13 +02:00
robertem
a9e5985f90
Move c and cs commands to the mainmenu class
...
This makes it so that it only works on the main menu, too.
2018-08-31 13:48:06 +02:00
robertem
33a9f12ac0
Parameter to disallow zero in input_int
2018-08-30 15:12:11 +02:00
robertem
ac3ab8099b
Use new defaults properly in edit product menu
2018-08-30 15:11:17 +02:00
robertem
ca19cc14da
Rewrite input_str to allow defaults and act less strange with some parameters
2018-08-30 14:59:37 +02:00
robertem
1675f26080
Fix string issues related to switch to python3
...
safe_str is no longer relevant after unicode strings are no longer explicit string types.
Popen takes bytes by default now, not strings, which is fixed by setting an encoding
sys.stdout.write should work with strings on linux at least. We only use it for the buy menu timeout, which already only works on linux, so it shouldn't be a problem.
2018-08-24 13:43:35 +02:00
robertem
0ea9042820
Revert change to variable name in helper functions
...
I thought it used the name of a builtin due to silly IDE colouring, but turns out what i changed it *to* was a builtin. oops.
2018-08-24 09:31:15 +02:00
robertem
ab0a218f8e
Use function to return header instead of stringformatting a variable
2018-08-24 09:21:01 +02:00
robertem
24201e8a69
Update requirements.txt to avoid deprecation
2018-08-24 08:42:15 +02:00
robertem
d5475b834f
Convert most strings to fstrings for readability
...
Some are kept as-is because they wouldn't be more readable, or do insanity that i cannot bother deciphering right now
2018-08-23 13:15:45 +02:00
robertem
068015a972
Add requirements.txt
2018-08-21 10:57:32 +02:00
robertem
ce56649c7c
Run 2to3 to start moving to python3
2018-08-19 16:38:45 +02:00
robertem
f155d21ae0
Fix label format for endless label types
...
Add some more documentation to config files
Create bar_codes directory to avoid IOExceptions when trying to write to non-existent directories
2018-08-19 13:16:49 +00:00
robertem
31e3442c7c
Fix user transaction error and other unexpected behaviour
2018-04-22 15:44:24 +00:00
chrivi
17c2d05294
Added message to 'transfer between users'
2017-10-01 05:46:52 +00:00