Oliver Walters
0f42916521
Improve settings.py
...
- Load database config from either config.yaml or environment variables
- Mix and match, if you want!
- Move to use logging module rather than just printing stuff
- Error if required database parameters are not required
2020-11-13 13:38:01 +11:00
Oliver Walters
beccbe8583
Flake fixes
2020-06-11 19:46:36 +10:00
Oliver Walters
0068cd9825
Refactor barcode endoint
...
- Moved code into 'barcode' directory
2020-06-11 11:09:07 +10:00
Oliver Walters
78990a99e5
Fix serializer for stock item
2020-05-26 23:01:30 +10:00
Oliver Walters
91012d2788
Delete unused import
2020-04-17 08:40:37 +10:00
Oliver Walters
10ee8bc666
Use existing serializers to encode information for barcode response
2020-04-15 23:41:16 +10:00
Oliver Walters
a58e2e84f8
Add "ActionPlugin" interface
...
- Plugin for running a custom action
2020-04-15 00:16:42 +10:00
Oliver Walters
7faa0d199d
Push even more barcode decoding to the individual plugin
...
- DigiKey barcode is NOT json formatted, for example...
2020-04-14 23:33:03 +10:00
Oliver Walters
277b28a7e9
Create a "unique(ish)" hash for barcode data
2020-04-14 22:38:32 +10:00
Oliver Walters
f742f32804
Added some doc string
2020-04-14 22:33:03 +10:00
Oliver Walters
94e400d0e1
Simplify barcode plugin class
2020-04-14 22:30:29 +10:00
Oliver Walters
5de85defa7
Validation of InvenTree style barcodes
2020-04-14 22:00:58 +10:00
Oliver Walters
4a615e05ae
Further barcode work
...
- Simplify InvenTree barcode format
- Create base-clas for plugin
2020-04-14 21:30:43 +10:00
Oliver Walters
70589b06e1
doc
2020-04-14 19:27:43 +10:00
Oliver Walters
b286a5e30c
Plugin framework
...
- Registers some very simple barcode plugins
2020-04-14 01:17:44 +10:00