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

31 Commits

Author SHA1 Message Date
Oliver
730521fd00
New barcode actions (#218)
* Bump release notes

* Adds method for linking custom barcodes

* Custom getter method for determining if an item has barcode data

* Add method to check if the API supports "modern" barcodes

* Refactor custom barcode implementation for StockItem

- Needs testing

* Unit testing for linking and unlinking barcodes

* Fixes

* Refactor code for "custom barcode action" tile

* Add custom barcode action to StockLocation

* Add extra debug to debug the debugging

* Unit test fix

* Change scope I guess?

* remove handler test
2022-12-05 23:39:40 +11:00
Oliver
19ad3153e4
Remove and fix some TODO entries (#188) 2022-07-20 14:18:07 +10:00
Oliver
13ebaf43e1
List refactor (#179)
* Catch paginator bug if widget is disposed before request returns

* Refactoring paginated query widget

- Add option to enable / disable search filters

* Major refactor of paginated search widget

- Learned something new.. a state can access widget.<attribute>
- THIS CHANGES EVERTHING

* Preferences: Add code for tri-state values

- Also improve unit testing for preferences code

* Allow boolean form fields to be optionally tristate

* paginator: Allow custom boolean filters

* Remove outdated filtering preferences

* Refactor filter options

- Allow specification of more detailed options

* Add custom filters for "part" list

* filter tweaks

* Remove legacy "SublocationList" widget

* Add filtering option for locationlist

* Updates for stock location widget

* Refactor category display widget

* More widget refactoring

* Update main search widget

* Fix unit tests

* Improve filtering on BOM display page
2022-07-19 23:29:01 +10:00
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
b40a0f8dad Adds basic unit tests for part category 2022-06-03 21:23:22 +10:00
Oliver Walters
8ee10a3424 Adds more unit tests for the part model 2022-06-03 21:14:39 +10:00
Oliver Walters
7d1735b1b7 Fix import quotes 2022-06-03 20:57:08 +10:00
Oliver Walters
1769693687 Initial tests for grabbing model data from server 2022-06-03 20:55:17 +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
63dd081a1c Test fix? 2022-05-21 20:49:32 +10:00
Oliver Walters
253a75129a Extra tests 2022-05-21 20:41:03 +10:00
Oliver Walters
6ef95499b7 Add genhtml step 2022-05-21 19:27:44 +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
Oliver
ad0cc36540 More linting work 2021-09-28 20:24:55 +10:00
Oliver
d2ce3fadf1 Code cleanup 2021-07-15 11:27:19 +10:00
Oliver Walters
7ba1fc9328 NFI
- Changing some rando stuff to try to get the project to compile.
- Updated Android Studio after almost a year, it was hella borked
2021-01-20 08:00:43 +11:00
Oliver Walters
56d7f6389c Initial project commit
Generated icon using flutter_launcher_icons plugin
2019-06-24 00:33:22 +10:00