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

18 Commits

Author SHA1 Message Date
Oliver
aa274b2e45
Stock location scan (#169)
* Add action for scanning a stock location into another location

* Adds barcode scan handler for new functionality

* Handle scanning of stock location

* Cleanup

* Refactor existing barcode scanning functions

- Will require extensive testing and validation

* Add entry to release notes

* Delete dead code

* Improved ordering based on stock quantity

* Bug fix for 'adjustStock' function

* Improve error responses for barcode scanning

* Improve error responses for barcode scanning

* Remove old debug statements

* Add some extra explanatory texts

* Icon change

* Fixes for unit tests

* Adds extra functionality for user profile manager

* Refactor barcode code - do not rely on BuildContext

* Adds initial unit testing for barcode scanning

- Work on mocking barcode data
- Add hooks for testing snackBar and audio files

* Linting fixes

* More barcode unit tests

* Cleanup unit tests for barcode

* Remove unused import

* Handle HTTPException in API

* Improvements for API unit testing

* Unit testing for scanning item into location

* Add unit test for scanning in items from a location context

* Unit test for scanning location into parent location

* Improve feedback for barcode scanning events
2022-07-18 22:10:00 +10:00
Oliver Walters
21e7a976ee Improve checks for API user permissions 2022-06-03 20:42:25 +10:00
Oliver Walters
1b901b39df Remove old stuffs 2022-05-22 16:19:10 +10:00
Oliver Walters
2cd73a98e8 Remove unused import 2022-05-22 10:03:56 +10:00
Oliver Walters
b98f044204 More checks 2022-05-22 09:56:22 +10:00
Oliver Walters
53b69d9623 Improvements for profile management 2022-05-22 09:29:04 +10:00
Oliver Walters
2e86a02343 more debug 2022-05-22 09:00:09 +10:00
Oliver Walters
8e1804b39d Debug 2022-05-22 08:48:46 +10:00
Oliver Walters
cdeac137bf Improved API connection testing 2022-05-22 08:38:34 +10:00
Oliver Walters
fc911ea5b5 Server connection check passes now 2022-05-22 08:27:01 +10:00
Oliver Walters
f13b04d029 Refactor audio file player
- Do not play if there is no context available (e.g. unit testing)
2022-05-22 08:23:20 +10:00
Oliver Walters
e424a3cf7b Start of unit tests for the actual API code 2022-05-22 00:04:13 +10:00
Oliver Walters
253a75129a Extra tests 2022-05-21 20:41:03 +10:00
Oliver Walters
b8d4130270 Adds tests for the "updateProfile" function 2022-05-21 00:30:56 +10:00
Oliver Walters
00baff7a97 All tests pass now 2022-05-21 00:26:09 +10:00
Oliver Walters
caa10b5f8f Add python requirements file 2022-05-20 23:48:58 +10:00
Oliver Walters
96ae1be3ec Add coveralls step 2022-05-20 23:42:30 +10:00
Oliver Walters
cd9af13e27 Adds an initial unit test 2022-05-20 23:34:02 +10:00