2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 21:46:46 +00:00

26 Commits

Author SHA1 Message Date
Oliver Walters
33bb6148de Cleanup for API error handling
Ref: https://stackoverflow.com/questions/54617432/looking-up-a-deactivated-widgets-ancestor-is-unsafe
2021-02-09 21:38:50 +11:00
Oliver Walters
90072904a0 String translations 2021-02-09 20:31:55 +11:00
Oliver Walters
e77b9539f9 Disable some more natty dialogs 2021-02-04 23:56:06 +11:00
Oliver Walters
b69762ff15 API refactoring:
- Error if the server version is *older* than the min required version
- Display dialog boxes for different server errors
2021-02-02 20:37:54 +11:00
Oliver Walters
3433d57f83 Refactor display for StockLocation 2021-01-29 00:52:15 +11:00
Oliver Walters
c00e367ae5 Add barcode handler to scan stock item into location 2021-01-29 00:28:50 +11:00
Oliver Walters
c15d3a6524 Toot toot, it's the refactor tractor
- Introduces the concept of a "BarcodeHandler"
- Re-uses most of the code
- Custom handlers for barcode success / failure
2021-01-21 20:17:05 +11:00
Oliver Walters
e39cd4c009 Refactoring 2021-01-21 16:49:58 +11:00
Oliver Walters
1385f46c93 Remove old comment 2021-01-21 16:28:53 +11:00
Oliver Walters
47929c888b Improve error message handlers 2020-05-26 23:43:36 +10:00
Oliver Walters
02982cea5e Improve error handling for barcode
- Only resume barcode camera when the error dialog is dismissed
2020-05-26 23:40:41 +10:00
Oliver Walters
baed2d98c6 Yay, barcode scanning working again!!! 2020-05-26 23:26:05 +10:00
Oliver Walters
a4390d16d9 Using new qr code scanner - qr_code_scanner 2020-05-26 23:02:19 +10:00
Oliver Walters
952f98d78b qr_utils is causing issues - comment out for now, need to look at a different barcode library 2020-05-23 11:31:30 +10:00
Oliver Walters
0f472d448b Udpate barcode decoding to match API changes 2020-04-16 10:21:44 +10:00
Oliver Walters
5ed13e69aa Add timeout funtionality to GET and LIST requests 2020-04-15 09:28:35 +10:00
Oliver Walters
cd864abfbe Don't force barcode data to be a JSON object.
Just send the scanned data to the server, and let it handle it...
2020-04-14 23:23:24 +10:00
Oliver Walters
d0f1a4d4ce error dialog if the barcode cannot be converted to JSON! 2020-04-14 23:11:30 +10:00
Oliver Walters
200d2edc9a Add some docs 2020-04-14 22:57:58 +10:00
Oliver Walters
8bd022bccd Progress dialog is now a part of the model GET request 2020-04-14 22:18:05 +10:00
Oliver Walters
ca7505796d Show progress dialog when requesting info from server 2020-04-14 22:11:38 +10:00
Oliver Walters
83cc92c422 Handle barcode data passed back from the server 2020-04-14 21:59:58 +10:00
Oliver Walters
18ef039f4a POST barcode data to server, and interpret the response 2020-04-14 21:06:21 +10:00
Oliver Walters
7304484369 Refactoring 2020-04-06 23:51:46 +10:00
Oliver Walters
d57e2033dc Further support for QR decoding
- StockItem
- Part
2020-04-03 22:47:03 +11:00
Oliver Walters
876aad5805 Scan QR code now working!
- Navigate to a StockLocation
2020-04-03 22:36:21 +11:00