This website requires JavaScript.
3e4c3a44d2
fixup! WIP
event-sourcing
h7x4
2025-06-13 22:19:40 +02:00
f5c4959e51
fixup! WIP
h7x4
2025-06-12 23:29:38 +02:00
b7df9a8640
fixup! WIP
h7x4
2025-06-12 23:19:05 +02:00
d4511981ff
fixup! WIP
h7x4
2025-06-12 21:46:52 +02:00
3c9bca8b55
fixup! WIP
h7x4
2025-06-11 20:01:11 +02:00
745db277ec
WIP
h7x4
2025-06-10 20:59:38 +02:00
9f5999854f
.gitignore: add pytest-cov data
h7x4
2025-06-10 20:59:10 +02:00
042bb58fbd
{nix,pyproject.toml}: add pytest, pytest-cov
h7x4
2025-06-10 20:58:49 +02:00
e9d30b63a5
flake.lock: bump
main
h7x4
2025-06-07 15:13:32 +02:00
e258358402
WIP
libdibification
h7x4
2025-06-07 14:16:23 +02:00
2c77ae6357
flake.nix: add libdib
h7x4
2025-06-07 15:02:29 +02:00
0844843e59
remove all the image related things from dibbler service
Daniel Olsen
2025-05-17 20:05:35 +02:00
70677f7f79
db: handle database.url_file
h7x4
2025-05-17 19:17:47 +02:00
f5557a1d99
db: handle database.url_file
master
h7x4
2025-05-17 19:17:47 +02:00
4a4f0e6947
module.nix: config -> settings
h7x4
2025-05-05 14:52:28 +02:00
a4d10ad0c7
Merge pull request 'Seed test data' (#16 ) from seed_test into master
Oystein Kristoffer Tveit
2025-03-30 21:45:37 +02:00
a654baba11
ruff format
h7x4
2025-03-30 21:44:37 +02:00
e69d04dcd0
mock script, og mock data.
Albert
2025-03-29 22:48:30 +01:00
b2a6384f31
la tilbake uv, en project manager
Albert
2025-03-29 22:46:30 +01:00
4f89765070
ignorer bifiler fra hatchling
Albert
2025-03-29 22:42:36 +01:00
914e5b4e50
fjerner __pyachce__, fra repo tracking
Albert
2025-03-29 22:31:55 +01:00
de20bad7dd
remove conf.py
h7x4
2025-03-19 18:47:23 +01:00
4bab5e7e21
treewide: fix brother-ql usage
h7x4
2025-03-19 18:47:16 +01:00
b85a6535fe
shell.nix: add python with all packages
h7x4
2025-03-19 18:14:42 +01:00
22a09b4177
README: add more information
h7x4
2025-03-19 18:06:40 +01:00
c39b15d1a8
.envrc: init
h7x4
2025-03-19 17:50:48 +01:00
122ac2ab18
treewide: update everything nix
h7x4
2025-03-19 17:47:51 +01:00
28228beccd
pyproject.toml: remove invalid license
h7x4
2025-03-17 21:03:55 +01:00
91f924a75a
devenv
kjhkjhkjh
Peder Bergebakken Sundt
2024-11-15 02:34:52 +01:00
e1605aab29
modernize
Peder Bergebakken Sundt
2024-11-15 00:21:53 +01:00
1164d492a3
conf.py does nothing
Peder Bergebakken Sundt
2024-11-15 00:18:26 +01:00
8a6a0c12ba
Merge pull request #3 from Programvareverkstedet/restructure-project
Øystein Tveit
2023-09-02 21:18:04 +02:00
4ce471a5ec
add .ruff_cache
to .gitignore
restructure-project
h7x4
2023-08-30 00:10:21 +02:00
58b4f7913f
Fix a few ruff
linter errors
h7x4
2023-08-30 00:06:58 +02:00
c219fa61ba
format code with black
h7x4
2023-08-29 23:50:34 +02:00
88d855a951
Add devshell with ruff
and black
h7x4
2023-08-30 00:02:17 +02:00
ea1be3be7f
Remove outdated requirements.txt
h7x4
2023-08-29 23:47:10 +02:00
455936ef01
mark statistikk subcommand as broken
h7x4
2023-08-29 23:04:10 +02:00
006c010907
scripts
-> subcommands
, add logic to lib
h7x4
2023-08-29 23:00:03 +02:00
eb11d2dc2a
add all menu classes to dibbler.menus
h7x4
2023-08-29 22:56:44 +02:00
cde79ccb34
Split db.py
and make declarative models
h7x4
2023-08-29 22:50:53 +02:00
c25e5cec27
Big cleanup ദ്ദി^._.^)
h7x4
2023-08-29 18:32:49 +02:00
6ab66771f2
Fix vt-terminal screen stuff
Daniel Olsen
2023-01-29 07:59:55 +01:00
b96921de98
nix: add screen tty systemd service?
h7x4
2023-01-29 03:53:13 +01:00
2a0193f034
update image config to what actually ran
Daniel Olsen
2023-01-29 03:23:33 +01:00
c8e05c28f8
Update conf with values from production
Daniel Olsen
2023-01-28 01:00:30 +01:00
39747e544b
Add SD image to flake
Daniel Olsen
2022-08-28 09:39:07 +02:00
c450c6710b
make flake and allow overriding conf.py
Daniel Olsen
2022-08-28 05:58:42 +02:00
3c950be930
Package dibbler with nix
Daniel Olsen
2021-09-07 13:07:25 +02:00
91d8de0b7e
Switch to postgresql:// url postgres:// has been deprecated for years
Daniel Olsen
2021-09-07 13:05:59 +02:00
322903adc1
Touch up the FAQ slightly
Robert Maikher
2019-09-21 16:52:40 +02:00
92f3990cc0
Fix errors, make menu formatting more readable
Robert Maikher
2019-09-21 16:48:49 +02:00
c188d692dd
Update requirements.txt
Robert Maikher
2019-09-21 14:34:19 +02:00
457c625097
Update FAQ
Robert Maikher
2018-08-31 13:48:13 +02:00
a9e5985f90
Move c and cs commands to the mainmenu class This makes it so that it only works on the main menu, too.
Robert Maikher
2018-08-31 13:48:06 +02:00
33a9f12ac0
Parameter to disallow zero in input_int
Robert Maikher
2018-08-30 15:12:11 +02:00
ac3ab8099b
Use new defaults properly in edit product menu
Robert Maikher
2018-08-30 15:11:17 +02:00
ca19cc14da
Rewrite input_str to allow defaults and act less strange with some parameters
Robert Maikher
2018-08-30 14:59:37 +02:00
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.
Robert Maikher
2018-08-24 13:43:35 +02:00
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.
Robert Maikher
2018-08-24 09:31:15 +02:00
ab0a218f8e
Use function to return header instead of stringformatting a variable
Robert Maikher
2018-08-24 09:21:01 +02:00
24201e8a69
Update requirements.txt to avoid deprecation
Robert Maikher
2018-08-24 08:42:15 +02:00
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
Robert Maikher
2018-08-23 13:15:45 +02:00
068015a972
Add requirements.txt
Robert Maikher
2018-08-21 10:57:32 +02:00
ce56649c7c
Run 2to3 to start moving to python3
Robert Maikher
2018-08-19 16:38:45 +02:00
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
robertem
2018-08-19 13:16:49 +00:00
31e3442c7c
Fix user transaction error and other unexpected behaviour
robertem
2018-04-22 15:44:24 +00:00
17c2d05294
Added message to 'transfer between users'
Christoffer Viken
2017-10-01 05:46:52 +00:00
3ef2323276
"did you pay different ammount" now goes the right way around.
Christoffer Viken
2017-09-30 13:02:50 +00:00
702dfffbfa
Patch to handle negative stock issues
Christoffer Viken
2017-06-11 14:25:27 +00:00
a03ca8f299
Removed SqlAlchemy from repo
Christoffer Viken
2017-06-05 14:07:33 +00:00
bae4a74196
Oops? Remove debug print
Christoffer Viken
2017-06-05 13:26:45 +00:00
97537eaa83
Updated statistics
Christoffer Viken
2017-06-05 13:24:05 +00:00
de24644a51
Updated statistics
Christoffer Viken
2017-06-05 13:14:21 +00:00
078ccf6b8a
Only count positive stock for "Total" stats
Christoffer Viken
2017-06-05 12:33:06 +00:00
fd67aed7dd
Added "total purchase" option back
Christoffer Viken
2017-05-12 19:34:33 +00:00
0265757993
Apparently python2 has problems with æ ø å.
Christoffer Viken
2017-04-25 14:06:37 +00:00
1c8f03695a
Cleanup
Christoffer Viken
2017-04-15 18:47:28 +00:00
4669737fe3
Updated SqlAlchemy + the new files
Christoffer Viken
2017-04-15 16:33:29 +00:00
e3267d4bda
Updated SqlAlchemy
Christoffer Viken
2017-04-15 16:27:12 +00:00
2c790e1fe1
Bar code lengths give different formats.
Christoffer Viken
2017-03-27 16:02:24 +00:00
195f88ad06
Better typeface
Christoffer Viken
2017-03-25 16:20:51 +00:00
899f7c4ecd
Text fixes
Christoffer Viken
2017-03-25 16:02:29 +00:00
b201c6d8c7
Aaand font paths
Christoffer Viken
2017-03-25 15:59:47 +00:00
5a0ba1523b
Aaand font paths
Christoffer Viken
2017-03-22 17:16:22 +00:00
8e47a1848b
Maybe remember the rotation and menu name
Christoffer Viken
2017-03-22 17:13:15 +00:00
6d205fcf18
Add print menu
Christoffer Viken
2017-03-22 17:02:11 +00:00
1917944966
Ok, new try to get it working WTF debian
Christoffer Viken
2017-03-21 22:27:37 +00:00
806c9c3516
No idae what happened, but rotate in PIL instead of brother
Christoffer Viken
2017-03-21 21:08:19 +00:00
1b13dd9d32
Another try for 2.7 support
Christoffer Viken
2017-03-21 20:50:41 +00:00
5a89ca7ccd
Python2 compatible maybe?
Christoffer Viken
2017-03-21 20:47:37 +00:00
6fdf157b5f
LabelPrinter functionality
Christoffer Viken
2017-03-21 20:43:36 +00:00
ffd93278d9
Added support for new RFID format
Christoffer Viken
2017-03-16 18:54:42 +00:00
13dbdf5f60
Counter view now has a "sign" to distinguish between purchases and anti-purchases.
Christoffer Viken
2017-02-26 13:26:17 +00:00
a0ec131c49
Join the last 2 entries in a purchase if they are the same thing.
Christoffer Viken
2017-02-26 11:26:41 +00:00
a71274ed78
Multiple buyers for 'add stock' menu
Christoffer Viken
2017-02-25 16:28:38 +00:00
8977071b3e
Add stock 'antipurchase' for auditing
Christoffer Viken
2017-02-21 15:38:41 +00:00
015c64a2ac
Fixed bug preventing superfast mode from being set properly.
robertem
2017-02-20 12:49:47 +00:00
d78f7b2ede
Fixed bug preventing superfast mode from being set. Fixed bug when printing warning star next to user in purchase list.
robertem
2017-02-20 12:37:56 +00:00
d9a91a7aa9
Christoffer Viken
2017-02-20 12:29:30 +00:00