* Fix formatting
* Handle case where server does not provide permissions information
* Enhanced URL checks
* Enhanced check
* Fix for error dialog
* Bump version information
* API: refactor checkPermission
- Rename to checkRole (actually what it is doing)
- Permission check will be incoming
* Add checkPermission function for API
* Create a new company
* Bump release notes
* Cleanup
* Fix
* Bump release notes and version
* Display responsible owner for purchase order
* Display responsible owner for sales order
* Display order completion date
* Change from fontawesome to tabler icons
- Consistent with the frontend
* Cleanup conflicts
* Use double quotes
* remove unused import
* Update release notes
* Migrate some google icons to tabler icons
* Icon update
* Properly support display of custom icons
* Fix lookup
* Minimum API version is now 100
* Remove old API features
- Anything below API v100 no longer supported
* Reefactor attachment widget to support modern attachment API
* Filter and display attachments correctly
* Refactor
* Add check for modern label printing interface
* Update getLabelTemplates
* Fix typo
* Refactor / simplify
* Revert parameter type
* Update version number and release notes
* Refactor label printing function
- Will require some cleanup in the future
- Still needs testing
* Fix for modern printing
* Typo fix
* Add support for "active" status for:
- SupplierPart
- Company
* Add filtering options
* Fix default value
* Add inactive tiles
* Update text and release notes
* Prevent error reporting for certain status codes
- These error codes indicate that there is something wrong with the server setup
- Outside scope
* Bump version
* Catch error comparing dropdown items
* Update version number and release notes
* Data conversion
* Catch error when loading image from network
* Suppress error reporting for statusCode -1
* Add barcode handler for allocating stock to sales order
* Refactor sales order allocation fields
* Improve barcode handling
* Handle barcode scan from sales order line detail view
* Remove debug statements
* Refactor existing barcode scan endpoint
- Break out into new file just for purchase orders
* Handle scanning of salesorder
* Add new handler for adding items to PO via barcode
* Allocate with barcode
* Add new string
* Add new models for SalesOrder
- Create generic Order and OrderLine models with common functionality
* Refactor
- Move some widgets around
- Cleanup directory structure
* Add link to home screen and nav drawer
* Add SalesOrder list widget
* Linting fixes
* Fix string
* Refactor PurchaseOrderDetailWidget
* Tweaks to existing code
* linting
* Fixes for drawer widget
* Add "detail" page for SalesOrder
* Add more tiles to SalesOrder detail
* Allow editing of salesorder
* add list filters for sales orders
* Display list of line items
* Customer updates
- Display customer icon on home screen
- Fetch sales orders for customer detail page
* Cleanup company detail view
* Create new sales order from list
* Stricter typing for formFields method
* Create new PurchaseOrder and SalesOrder from company deatil
* Status code updates
- Add function for name comparison
- Remove hard-coded values
* Update view permission checks for home widget
* Add ability to manually add SalesOrderLineItem
* Add nice progress bar widgets
* Display detail view for sales order line item
* edit SalesOrderLineItem
* Fix unused import
* Hide "shipped items" tab
- Will be added in a future update
* Embed device platform information into token request
* Remove username and password from userProfile
* Display icon to show if profile has associated user token
* Remove username / password from login settings screen
* Refactor login procedure around token auth
* Refactoring
* Add profile login screen
- Username / password values are not stored
- Just to fetch api token
* Login with basic auth
* Pass profile to API when connecting
* Remove _BASE_URL accessor
- Fixes URL caching bug
* Add more context to login screen
* Add helper functions for unit tests
- Change default port to 8000 (makes testing easier with local inventree instance)
* api.dart handles basic auth now
* fix api_test.dart
* Further test improvements
* linting fixes
* Provide feedback when login fails
* More linting
* Record user details on login, and display in "about" widget
* Fix string lookup
* Add extra debug
* Fix auth values
* Fix user profile test
* Add POReceiveBarcodeHandler to support barcode/po-receive/ endpoint
* Remove german translation
* Add api version checks
* Add getOverlayText method to barcode handler
* Bump required API version to 139
* Update barcode.dart
The "quantity" field is not an integer, and can cause the app to crash if not handled correctly
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Fix locale header
- Moving to new framework meant that Intl.getCurrentLocale was no longer working
* Update release notes
* Fix typo in pubspec.yaml
* Clear cached values when locale is changed
* Add extra context check
* Cleanup label printing options
- Improve calls to setState()
- Should fix potential race conditions
* Use name if description not available
* Code simplification
* Fetch plugins even if the server reports "plugins enabled"
- Builtin plugins are still a thing!
* Use name *and* description to display label
* Display stock quantity more prominently
* Cleanup search widget
* Update for stock_detail widget
* More tweaks
* Change bottom bar icon
* Display boolean parameters appropriately
* Adds ability to edit part parameters
* Bump icon size a bit
* Improvements to filter options
- Allow filtering by "option" type
- To start with, filter stock by status code
* Remove debug message
* Remove getTriState method
- No longer needed
- Remove associated unit tests
* Adjust filters based on server API version
* Muted colors
* Update dart version
* Update flutter version in workflow
* Update packages
* Updates to android workflow
* Specify dart verrsion in CI
* Run flutter upgrade
* Helps to check which workflow is actually running I guess
* Disable linting check
* linting fixes
* linting
* Bug fix for paginator
* Refactor thumbnail image
* Add paginated list of purchase order line items
* Refactor getBody() function
- No longer "have" to specify
- Can use getTiles for a simpler interface
* Add detail widget for polineitem
* add pricing info
* Receive line items via action button
* tweak color
* update release notes
* linting fixes
* Determine if project codes are supported
* Add helpers for boolean functions
* Adds helper methods for generic "model" class
- Will allow us to do some good refactoring
* Refactor the refactor
* Add debug support and getMap function
* Major refactoring for model data accessors
* Handle null values
* Add sentry reporting if key is used incorrectly
* Fix typo
* Refactor createFromJson function
* Add model for ProjectCode
* Display and edit project code for purchase orders
* Make notes widget "generic"
- No longer tied to the "part" model
- Will allow us to use it elsewhere
* Update release notes
* Add helper methods for checking model permissions
* Refactoring of permissions checks
* Add notes to the "purchase order" widget
* Fix typos
* remove bom tab from part view
* linting fixes
* Extra error info when connecting to server
* Adds accessors for various types of status codes
* Cleanup / refactor stock status codes
- No longer need to duplicate these on the app
* improvements to purchase order list
- Add option to show closed orders
- Render order status
* Add purchase order status to order detail widget
* Update release notes
* Cleanup for imports
* linting fixes
* Bug fix in API forms
- Allow form fields to specify custom filters at runtime
* Add "contact" model to purchase order edit form
* Add action to create new purchase order from list widget
* widget updates for purchase order
* Bump android compile and target version, also flutter dependencies and resolve issues
* Remove deprecated splashscreen and added support for new Android 12 version.
* Updated workflow action versions and flutter sdk
* Resolved linting issues
* Resolved test binding issues
* API: Provide more info in error messages
* Fix support for legacy stock item custom barcodes
* Refresh display after assigning barcode
* Update release notes
* Fix for scanning unkown barcode
- Modern API returns slightly different data
* Fix for scanning unkown barcode
- Modern API returns slightly different data
* Update release notes
* 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
* Adds class representing the PartParameter model
* Adds API method for determining support for PartParmaters
* Display part parameter count in part detail widget
* Adds user setting for controlling if part parameters are displayed
* Fix URL for model
* Widget for displaying part parameters
* linting
* 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
* 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
* Bug fix for login screen
- Prevent setState() from being called if the widget is no longer loaded
* Add callback function when API status changes
- Home screen uses this function to update connection status indicator
* Linting fixes