2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-05-03 15:58:54 +00:00

294 Commits

Author SHA1 Message Date
Oliver
d122a352a6
Structural categories (#220)
* Add support for editing "structural" tree field

- Requires API v83 or newer

* Update release notes
2022-11-28 20:18:57 +11:00
Oliver
7fc109e0c2
Show used in assembly list (#209)
* Update default list filters for BomItem

* Display "usedIn" count for part detail view

* Improve BillOfMaterials widget to display "used in" parts

* Update release notes
2022-09-10 14:06:58 +10:00
Oliver
e7c5186823
Catch some subtle errors (#202)
- Prevent API requests for invalid PK values
- Perform checks for invalid PK values at multiple points
- Change order of operations in StockDetail widget
2022-08-04 13:23:29 +10:00
Oliver
19ff6eb526
Stock item serial number functionality (#199)
* Stock item serial number functionality

- Allow serial numbers to be specified when creating a new stock item
- Allow serial number to be edited from stock item context

* Update build number and release notes
2022-08-02 13:34:15 +10:00
Oliver
b5d26580b4
Update API to match server changes (#196)
* Support updated API which changes detail of PartCategory list

* Update version to 0.8.1
2022-08-01 11:22:56 +10:00
Oliver
dacbf880da
Improve error handling and reporting (#190)
* Prevent duplicate reporting of errors to sentry

* Prevent error message upload on some server error codes

* Filter out some common errors we are not interested in
2022-07-26 15:57:16 +10:00
Oliver
19ad3153e4
Remove and fix some TODO entries (#188) 2022-07-20 14:18:07 +10:00
Oliver
01dd046dd1
Display overlay screen for blocking operations (#186)
* Catch state error in homepage widget

* Add flutter_overlay_loader lib

- Displays an overlay screen to indicate blocking operation

* Wrap blocking widget transitions in a loading overlay

- Prevents user from doing other things while loading
- Shows the user that something is happening

* Linting fixes

* Show overlay when uploading attachment file

* Show overlay when downloading file also

* Show overlay when loading or submitting API forms

- Major improvements to usability "feel"

* UI improvements for stock item test results widget

* Fix API_FORM bug

- onSuccess function was not being called
2022-07-20 09:05:21 +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
6c1099356f Enable basic ordering for BOM list 2022-07-06 09:49:40 +10:00
Oliver Walters
78a5a9090d Adds new custom widget for displaying Bill of Materials data 2022-07-05 19:16:06 +10:00
Oliver Walters
591c6a5592 Update stock display to indicate allocations 2022-07-05 18:38:28 +10:00
Oliver Walters
e35c4df846 Allows displays of Bill of Materials for assembled parts 2022-07-05 16:59:32 +10:00
Oliver Walters
0237e9c819 Adds attachment support for purchase orders 2022-06-04 00:28:39 +10:00
Oliver Walters
ada64f3971 Adds attachment support for the StockItem model 2022-06-04 00:23:10 +10:00
Oliver Walters
10783cd1c4 Refactor PartAttachmentWidget
- Now displays generic attachments
- Augment the InvenTreeAttachment class to "know" about its model reference
2022-06-04 00:12:44 +10:00
Oliver Walters
dbc024491c Pass URL through to the showServeError method
- Can decide, based on the URL, if we want to show an error
2022-06-03 20:23:59 +10:00
Oliver Walters
aa4317a2fe Add support for "quarantined" stock item status 2022-06-03 19:51:08 +10:00
Oliver
333e5bb41d
Merge pull request #140 from inventree/legacy-api
Remove support for legacy stock transfer API code
2022-05-22 16:26:57 +10:00
Oliver Walters
850c2b8c12 Remove support for legacy stock transfer API code
- Relies on modern API now
- Checks for error messages against hidden fields in stock items
2022-05-22 15:59:19 +10:00
Oliver Walters
69e00a5fd8 Attempt to capture stacktrace data when uploading a custom message to sentry 2022-05-22 10:23:27 +10:00
Oliver Walters
b98f044204 More checks 2022-05-22 09:56:22 +10:00
Oliver Walters
b18dd92079 Fixes after preferences file refactor 2022-05-21 19:44:47 +10:00
Oliver Walters
941ee5e172 Prevent "old" search results from mucking up the displayed data
- Only accept results if the search term has not changed
2022-05-19 21:06:20 +10:00
Oliver Walters
c90a849a5a Add extra context information to sentry error reports
- Should help to track down bugs where stacktrace is missing information
- Adds some more error catching, too
2022-05-12 22:46:12 +10:00
Oliver Walters
e2ed80f2d0 Add barcode scan context 2022-05-10 18:26:55 +10:00
Oliver Walters
610f6533d0 Refactor sentry error reporting for model class 2022-05-10 18:16:15 +10:00
Oliver Walters
059b69ce99 Adds code to requeest global setting from server
- Settings are individually cached for 5 minutes
- For now, use it for the purchase order reference prefix
2022-05-09 21:41:34 +10:00
Oliver Walters
da3b668e8c Adds class representing global and user settings 2022-05-09 20:53:12 +10:00
Oliver Walters
349eca4533 Save datetime since last reload 2022-05-09 20:51:27 +10:00
Oliver Walters
0140ffd96f Fix duplicate display of units 2022-05-07 15:25:26 +10:00
Oliver Walters
407250c336 Further linting fixes 2022-05-04 12:17:55 +10:00
Oliver Walters
020f006410 Adds ability to "dismiss" a notification 2022-05-04 11:21:52 +10:00
Oliver Walters
6bbae67482 Add model for notifications
- Display a list of active notifications
2022-05-04 11:11:29 +10:00
Oliver Walters
60475f518e Render link to "parent template part" (if it exists) 2022-04-21 00:51:52 +10:00
Oliver Walters
84edaef10a Bug fix and refactoring
- Display difference between "in stock" and "unallocated stock"
- Refactor to use single function in detail and list widgets
2022-04-18 21:49:10 +10:00
Oliver Walters
046af50146 Use 'available_stock' when available (new API) 2022-04-18 21:39:09 +10:00
Oliver Walters
2a6df373c5 Refactor imports 2022-03-29 19:54:19 +11:00
Oliver Walters
139b166a5e bug fix 2022-03-28 21:54:53 +11:00
Oliver Walters
5c0ffe795c Fixes 2022-03-28 21:48:23 +11:00
Oliver Walters
43faec8b21 Display history 2022-03-28 21:23:56 +11:00
Oliver Walters
d780a1faa1 Merge remote-tracking branch 'origin/master' into stock-item-delete 2022-03-26 19:04:48 +11:00
Oliver Walters
fd8fc9051a Show if stock item is "in production" 2022-03-26 18:58:59 +11:00
Oliver Walters
ea724fcf5f Allow user to manually remove (delete) a StockItem 2022-03-26 18:33:02 +11:00
Oliver Walters
126fde3944 Fix comment string 2022-03-26 11:29:50 +11:00
Oliver Walters
34fd68229d Launch a dialog to print a label 2022-03-25 23:37:14 +11:00
Oliver Walters
de45e18359 Request and cache plugin information when connecting to the server 2022-03-25 22:48:21 +11:00
Oliver Walters
0c9c7b2a68 Defines a class for representing an InvenTreePlugin instance 2022-03-25 22:25:27 +11:00
Oliver
9507f4c985 Anonymize URL when reporting message to sentry.io 2022-03-10 16:06:06 +11:00