Commit Graph
221 Commits
Author SHA1 Message Date
Oliver 08f78763f4 Additional coverage (#908)
* Add coverage for settings widgets

* Additional unit tests
2026-11-03 18:23:17 +11:00
Oliver c75403b3ed Session auth (#904)
* use session auth rather than token auth

* Add unit tests for login

* Ensure user cannot reuse login after logout

* handle logout mid session

* Additional unit tests

* ensure sensitive data is redacted from sentry

* Handle session disconnect

* Additional tweaks

* Update pubspec.lock

* Update release_notes.md

* Bump version number

* Adjust login button

* Clear stored session when host changes

* Improved redacting of sensitive info

* Improved handling of local session storage

* prevent failed migration from logging as complete

* Fix for error raised in overlapping requests

* replace userInfo on successful response

* handle empty response

* Improved session comparison

* Add UI testing
2026-11-02 19:15:27 +11:00
Oliver edd7fafb6d Audit log (#899)
* Check if the backend supports auditlog info

* Change from stockhistory to auditlog

- Removes support for legacy stockhistory tracking
- Now uses AuditLog

* Update release notes
2026-10-26 20:05:38 +11:00
Oliver 3a228dfc1f Update supportsPricingRole to require apiVersion 562 (#896) 2026-10-21 13:23:32 +11:00
Oliver a76675dd4d Update pricing role checks (#893)
* Update pricing role checks

Ref: https://github.com/inventree/InvenTree/pull/13034

* Update release notes
2026-10-21 07:00:21 +11:00
Oliver 7554bbdfa2 Fix unit tests in CI (#895)
* use demo data rather than simple fixtures

* Remove admin creation in CI

* Adjust unit tests

* Remove token data from debug log
2026-10-21 00:48:28 +11:00
Oliver 5b40a0d3b6 Implement multi-note support (#883)
* Implement multi-note support

Ref: https://github.com/inventree/InvenTree/pull/11971

* Bump iOS target
2026-09-12 08:41:11 +10:00
Oliver 5418a71207 Top level fix (#874)
* Fix top-level items

* Show pagination error messages

* Update release notes

* Check API version
2026-09-01 23:55:01 +10:00
Oliver 93a19b77f8 Add extra filtering options for supplier parts (#868)
* Add extra filtering options for supplier parts

* Update release notes

* Allow edit of "primary" field
2026-08-28 21:45:16 +10:00
Oliver 2cc5d37f71 Fixes for build orders (#862)
* Fixes for build orders

- Display build description
- Improve status display

* Bump version info

* More fixes
2026-08-11 21:41:55 +10:00
Oliver 0fe2bdd507 Transfer order (#854)
* Add API version check

* Implement basic transfer order support

* add link to drawer

* Adjust dashboard display order

* Support transfer order allocation detail

* Add progress bar

* Enable scan of transfer order
2026-07-14 15:37:43 +10:00
Oliver 3647b32cc0 Fix login issues (#852)
- Properly clear secure token
- Better error messages
2026-07-06 23:45:23 +10:00
Oliver cb6b5a437d Legacy prune (#850)
* Update minimum supported API version

* Remove legacy search support

* Remove supportsContactModel

* More updates

* Final updates

* Remove broken ref
2026-07-06 22:11:29 +10:00
Oliver 349a8e0ef5 UI updates (#849)
* Updated dashboard

- Display "outstanding" badges
- Display "overdue" badges
- Pull-to-refresh

* Remove dead code

* Refactor app colors

* Add "pending shipments" icon

* Remove custom spinner

* Refactor error dialog

* Updated redirect after login

* Refactor login/account pages

- Better UX and confirmation messages

* Refactor API error messages

* Improve token management

- Secure storage
- Handle session expiry
- Per-profile HTTPS certificate checks

* Improved error messages
2026-07-06 21:10:10 +10:00
Jorropo 4195841827 Reuse http client and cache the https setting (#845)
This makes the app way faster by not having to redo the TCP and TLS handshake all the time and removing a disk read on each http request.
2026-07-02 21:49:17 +10:00
Oliver 4bde91a234 Adjust "default" value for strictHttps (#835)
Note: all calls to this function override the default, so this is *not* a functional change
2026-06-17 10:47:04 +10:00
Oliver ea075f35e8 User info (#826)
* Enhanced user information in "about" view

* Add user info to nav drawer

* Update release notes
2026-05-30 14:19:32 +10:00
Oliver 86b126f129 Support "creation_date" field for StockItem (#823)
Ref: https://github.com/inventree/InvenTree/pull/12011
2026-05-27 20:01:03 +10:00
Matthias Mair 9d28ae92d7 use new user-self endpoints (#822)
* report new user-self endpoints

* swich default around and fix roles

* run format
2026-05-22 09:45:07 +10:00
Oliver 5339d6acc0 Check server state (#782) 2026-02-27 23:03:25 +11:00
Oliver 3c8c263327 Image url fix (#765)
* Bump release notes

* Improve URL resolution

* Add URL tests

* Add debug for CI

* Fix stock adjustment URLs

* Fix barcode URLs
2026-02-05 21:08:12 +11:00
Oliver ee553af93b Part requirements (#761)
* Add setting to control if part requirements are shown

* Split settings for Part and Stock

* Fetch part requirements information

* Add "building" indicator

* Show order allocation progress for part requirements

* Bump release notes

* Remove unused import
2026-02-02 22:52:53 +11:00
Oliver 864c3eea76 Parameters refactor (#738)
* refactor attachment code into its own file

* Add getters

* Remove custom models for each type of attachment

* Refactor existing widgets

* Fix double camera open bug

* Add check for modern parameter API

* Add generic parameter type

* Remove old code

* Remove dead code

* Refactor previous widget

* Remove unused imports

* Refactor common code

* format

* Update release notes

* Helper func to render parameters list tile

* Display parameters on part page

* parameters for company

* Supplier more model types:

- ManufacturerPart
- SupplierPart
- PurchaseOrder
- SalesOrder

* dart format

* Fix image prefix

* Remove unused import

* Adjust API version
2025-12-04 18:34:05 +11:00
Oliver 13d95dd1b1 Modern Label printing (#724)
* Basic widget

* Redirect label printing action

* Refactor label printing code

* Construct form elements

* Refactor to allow re-use of forms

* Basic rendering of label printing form

* Remove dead code

* Pass custom handler through to form context

* Refactoring API forms:

- Allow custom pk field name
- Add callback when values change

* linting

* Dynamically rebuild form

* Handle nested fields

* Handle label printing status

* Run dart format

* Update release notes

* Remove unused var

* Enable close icon

* Handle initial plugin default value

* Store default values:

- Selected template (per label type)
- Selected printing plugin

* Dart format

* Fix dart linting

* use setter

* Just use a public field
2025-11-22 07:26:37 +11:00
Oliver ae1d8dd188 File upload fix (#712)
* Allow file upload with non-strict https

- Create custom client for uploads
- Observe the USE_STRICT_HTTPS setting

* Formatting

* Update release notes

* Fix await code
2025-11-04 12:32:38 +11:00
Oliver 2252dd2fd6 Thumbnail errors (#708)
* Extract error info from thumbnail errors

* Formatting
2025-11-03 22:10:00 +11:00
Oliver 624655ec6b SalesOrderShipment (#697)
* Add detail widget for SalesOrderShipment

* Support editing of shipment details

* Rearrange SalesOrderDetail page

* Add support for attachments against shipment model

* refactoring

* Add shipment details page

* Add user actions for shipments:

- Check / uncheck
- Take photo

* Placeholder action to send shipment

* Send shipment from app

* Display pending shipments on the home screen

* Improve rending for shipments list

* Add class definition for SalesOrderAllocation

* Display list of items allocated against SalesOrderShipment

* Bump release notse

* Click through to stock item

* Bump version number

* dart format

* cleanup

* Remove unused imports
2025-10-24 13:36:10 +11:00
Oliver 7d32bd6d88 bug fix: PO Lines (#685)
* bug fix: PO Lines

- Correctly display part images for purchase order line items

* Refactor

* Code formatting
2025-08-19 11:37:27 +10:00
Ben Hagen 4444884afa Format Code and Add Format Checks to CI (#643)
* Remove unused lib/generated/i18n.dart

* Use `fvm dart format .`

* Add contributing guidelines

* Enforce dart format

* Add `dart format off` directive to generated files
2025-06-24 09:55:01 +10:00
Oliver e9db6532e4 Notification frequency (#662)
* Adjust notification check frequency

- 60s vs 5s

* Bump release notes
2025-06-23 20:11:20 +10:00
Ben Hagen c4e33a4c1a Use FVM in GitHub Actions and migrate to Flutter 3.32.4 (#641)
* feat: implement Flutter version management using FVM across CI workflows

* Flutter 3.29.3 + minor Package upgrades

* Replace deprecated `withOpacity`

* Upgrade major package versions without breaking changes.

* Disable unnecessary_async rule

Re-enable later

* New language version and automated fixes

- unnecessary_breaks
- unnecessary_underscore

* Update BUILDING.md to use fvm commands

* Add gitignore files for Android and iOS build artifacts

* Migrate iOS dependencies to Swift Package Manager

This is being done automatically by Flutter

* Flutter 3.32.4

* New sdk version

* docs: add IDE setup instructions and troubleshooting guide for FVM integration
2025-06-23 19:42:05 +10:00
Oliver 9ea7a2348b Fix simple typo (#647) 2025-06-02 22:40:53 +10:00
Oliver 52879c0fc2 Bug fixes (#637)
Android / build (push) Has been cancelled
CI / test (push) Has been cancelled
iOS / build (push) Has been cancelled
* Fix formatting

* Handle case where server does not provide permissions information

* Enhanced URL checks

* Enhanced check

* Fix for error dialog

* Bump version information
2025-04-18 19:12:34 +10:00
Oliver 25d7ac9189 Start date (#631)
Android / build (push) Has been cancelled
CI / test (push) Has been cancelled
iOS / build (push) Has been cancelled
* Support "start_date" for PurchaseOrder and SalesOrder

* Update release notes

* Add form fields
2025-04-15 15:45:09 +10:00
Oliver dc314d1c26 Company split search (#620)
Android / build (push) Waiting to run
CI / test (push) Waiting to run
iOS / build (push) Waiting to run
* Allow split search by company type

* Bump release notes
2025-02-26 22:36:29 +11:00
Oliver 1a3f48f48c Company create (#610)
Android / build (push) Has been cancelled
CI / test (push) Has been cancelled
iOS / build (push) Has been cancelled
* 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
2025-02-08 10:36:26 +11:00
Oliver 854ef95fbf Order responsible (#602)
Android / build (push) Has been cancelled
CI / test (push) Has been cancelled
iOS / build (push) Has been cancelled
* Bump release notes and version

* Display responsible owner for purchase order

* Display responsible owner for sales order

* Display order completion date
2025-01-20 23:22:10 +11:00
Oliver aac13ed5d6 Stock expiry (#590)
* Add stock expiry getters

* refactor date getters

* Display expiry information

* Update release notes

* Remove unused import
2024-12-23 22:25:55 +11:00
Oliver bc44b99d43 Label printing fix (#587)
* Handle blank URL provided for file download

* Improved printing checks

* Auto-select the correct printer
2024-12-23 09:57:13 +11:00
Oliver 08e01a729b Updates
(cherry picked from commit 94125667d9cdd1bd486aa58a2c4908c143b47225)
2024-12-11 16:07:22 +11:00
Oliver 6f5fc1d8a9 Test result fixes (#564)
* Fix association of test results to templates

* Fixes

* Remove unused vars
2024-12-06 10:59:49 +11:00
Oliver d990508237 Update Requirements (#541)
Android / build (push) Has been cancelled
CI / test (push) Has been cancelled
iOS / build (push) Has been cancelled
* Update package requiremenst

* github workflow updates

* ios build updates

* Theme adjustments

* Further updates

* Fix typo

* Deprecated imperative apply of Flutter's Gradle plugins

Ref: https://docs.flutter.dev/release/breaking-changes/flutter-gradle-plugin-apply

* Refactor wedge scanner

* Add context checks

* Adjust behaviour if testing

* Further refactoring

* Moar checks

* Logic fix

* Fix for wedge scanner test

* Fix for barcode processing

* Fix

* Yet another fix
2024-10-01 12:25:11 +10:00
Oliver c9cad2f89f Change from fontawesome to tabler icons (#516)
Android / build (push) Has been cancelled
CI / test (push) Has been cancelled
iOS / build (push) Has been cancelled
* 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
2024-08-08 19:44:44 +10:00
Oliver e837394495 Modern attachments (#505)
* 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
2024-06-11 23:16:01 +10:00
Oliver 541060aa03 Print label key (#491)
Android / build (push) Has been cancelled
CI / test (push) Has been cancelled
iOS / build (push) Has been cancelled
* We now use the plugin key for printing labels

* Bump API version for modern label printing

* Fix typo
2024-05-15 20:19:34 +10:00
Oliver 3c0bca276d Label printing fix (#489)
* 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
2024-05-12 20:41:02 +10:00
Oliver a889417fe0 Company active filters (#484)
* Add support for "active" status for:

- SupplierPart
- Company

* Add filtering options

* Fix default value

* Add inactive tiles

* Update text and release notes
2024-04-18 21:48:45 +10:00
Oliver a889c4adbe Filter fix (#473)
* Add check for "null" top level locations and categories

* Fix API

- Top level location and category broken after API 174
- Ref: https://github.com/inventree/InvenTree/pull/6536
2024-02-28 16:23:46 +11:00
Oliver 1d41d229ca Error report updates (#470)
* Prevent error reporting for certain status codes

- These error codes indicate that there is something wrong with the server setup
- Outside scope

* Bump version
2024-01-16 00:31:10 +11:00
Oliver d152475de4 Catch errors (#469)
* 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
2024-01-10 23:24:40 +11:00