Commit Graph
100 Commits
Author SHA1 Message Date
OliverandGitHub 9203ee8a3f New Crowdin updates (#417)
* New translations app_en.arb (Swedish)

* New translations app_en.arb (Russian)
2023-08-25 23:31:45 +10:00
OliverandGitHub 1960016288 Do not run flutter upgrade (#418) 2023-08-25 23:22:14 +10:00
OliverandGitHub 81907ad72f Flutter upgrades (#416)
* Upgrade flutter version

* Update packages

* update prj files

* Bump android sdk target to 33
2023-08-22 22:52:18 +10:00
OliverandGitHub af09cde29e New translations app_en.arb (French) (#414) 2023-08-21 17:50:11 +10:00
OliverandGitHub 32c301a9b1 Show version (#415) 2023-08-21 17:43:19 +10:00
Oliver Walters 38dfb03669 Update release notes 2023-08-12 20:59:15 +10:00
OliverandGitHub e6ad1bcb98 New translations app_en.arb (Turkish) (#413) 2023-08-12 20:44:59 +10:00
OliverandGitHub 8200140976 Label fix (#411)
* 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
2023-08-12 20:41:11 +10:00
OliverandGitHub d81f0d532d New translations app_en.arb (Russian) (#412) 2023-08-10 22:32:00 +10:00
OliverandGitHub 75c4e038f4 New translations app_en.arb (Vietnamese) (#410) 2023-08-09 21:57:41 +10:00
OliverandGitHub 72f243e1a5 New Crowdin updates (#409)
* New translations app_en.arb (Swedish)

* New translations app_en.arb (Hindi)

* New translations app_en.arb (Vietnamese)

* New translations app_en.arb (Russian)

* New translations app_en.arb (Russian)

* New translations app_en.arb (Russian)

* New translations app_en.arb (Russian)

* New translations app_en.arb (Vietnamese)
2023-08-08 20:30:44 +10:00
OliverandGitHub d2a01a0286 Supplier part fix (#408)
* Change supplier part fields based on API version

* Display packaging info on supplier part page

* Icon consolidation

* Bump version number
2023-07-27 10:16:36 +10:00
OliverandGitHub d6460d58aa New Crowdin updates (#407)
* New translations app_en.arb (Portuguese, Brazilian)

* New translations app_en.arb (Spanish, Mexico)
2023-07-27 09:50:19 +10:00
Oliver Walters e549968d58 Missed update to pubspec.yaml 2023-07-23 12:43:34 +10:00
OliverandGitHub b044c53d91 More debug (#405)
* Extra options for sentry

* Use string comparison

* Catch error when constructing related field

* Include field name in debug
2023-07-23 09:55:08 +10:00
OliverandGitHub 2e2e9640d4 New translations app_en.arb (Hungarian) (#404) 2023-07-22 22:17:54 +10:00
OliverandGitHub 174f1b2f2d New Crowdin updates (#402)
* New translations app_en.arb (Dutch)

* New translations app_en.arb (Chinese Traditional)
2023-07-21 22:28:43 +10:00
OliverandGitHub 7a11fdead8 Tweaks (#401)
* Improve collect_translations.py

* Cleanup

* Update translation support

* Update release notes
2023-07-17 21:17:23 +10:00
OliverandGitHub 3085d98ce1 New translations app_en.arb (Chinese Traditional) (#400) 2023-07-17 20:59:39 +10:00
OliverandGitHub 443e6e856c Label print updates (#399)
* Allow download of printed label

* Add setting for controlling label printing

* Control display of label printing via setting

* Refactor label printing functionality

- Move to helpers.dart
- Will be used for other label types also

* Factor out request for label templates

* Add label printing support for part

* Support label printing for stock location

* update release notes
2023-07-16 00:51:11 +10:00
OliverandGitHub d78affc1cb New Crowdin updates (#397)
* New translations app_en.arb (Portuguese, Brazilian)

* New translations app_en.arb (French)
2023-07-13 22:05:10 +10:00
OliverandGitHub 76457793b3 Bump version to 0.12.5 (#396) 2023-07-07 22:04:21 +10:00
OliverandGitHub 7ef6da4b2a Add extra filtering options for stock items (#394) 2023-07-07 21:47:27 +10:00
OliverandGitHub 637b058a8a New Crowdin updates (#393)
* New translations app_en.arb (Turkish)

* New translations app_en.arb (Turkish)
2023-07-07 21:47:15 +10:00
OliverandGitHub 2babf27db5 Sentry fix (#395)
* Extra sentry diagnostics

* Fix unit test

* Unit test updates

* More unit test updates
2023-07-07 21:38:04 +10:00
OliverandGitHub 6fe23fa846 Update release notes (#392)
* Update release notes

* Fix typo
2023-07-05 22:21:12 +10:00
OliverandGitHub e39ab9ad78 New Crowdin updates (#391)
* New translations app_en.arb (German)

* New translations app_en.arb (French)
2023-07-05 09:35:56 +10:00
OliverandGitHub 9277e18028 New Crowdin updates (#390)
* New translations app_en.arb (Hungarian)

* New translations app_en.arb (Russian)

* New translations app_en.arb (French)

* New translations app_en.arb (Portuguese, Brazilian)
2023-07-04 19:27:45 +10:00
OliverandGitHub 0365557475 Tweaks for home page widget (#389) 2023-07-02 20:24:07 +10:00
OliverandGitHub 138cae2da0 Search improvements (#388)
* Refactor search widget

- visual improvements
- Simplifications
- Add refresh button
- Improve search button

* Track original search

* fix BOM widget

* Update release notes
2023-06-30 22:42:59 +10:00
OliverandGitHub 23abcb48f2 New Crowdin updates (#387)
* New translations app_en.arb (Russian)

* New translations app_en.arb (Russian)
2023-06-30 22:30:51 +10:00
OliverandGitHub 320b16f86e Specify batch code for incoming items (#386)
When receiving against purchase order
2023-06-29 22:48:14 +10:00
OliverandGitHub 279c15509c Pre fill location (#384)
* Pre-fill the location when transferring stock

* Update release notes
2023-06-28 21:25:15 +10:00
OliverandGitHub d0d96166c4 New translations app_en.arb (Dutch) (#383) 2023-06-28 21:10:09 +10:00
OliverandGitHub 08ebc34730 Bump version to 0.12.3 (#382)
* Bump version to 0.12.3

* Updates for ios

* Fix for float / decimal field

* Cleanup simpleNumberString

* Increment build number
2023-06-26 20:53:09 +10:00
OliverandGitHub 925966c627 Barcode refactor (#381)
* Simplify barcode scanning interface

* Use consistent colors

* Fix notches

* Remove old comment
2023-06-24 21:06:08 +10:00
OliverandGitHub e9eb84eace Stock display (#379)
* 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
2023-06-24 11:34:42 +10:00
OliverandGitHub 8076887e39 New translations app_en.arb (Portuguese, Brazilian) (#377) 2023-06-22 20:04:40 +10:00
OliverandGitHub 770d9cddb2 Add ability to filter stock by "in_stock" (#376) 2023-06-20 20:38:07 +10:00
OliverandGitHub 001450d3bb New Crowdin updates (#373)
* New translations app_en.arb (Indonesian)

* New translations app_en.arb (Spanish, Mexico)
2023-06-18 00:23:13 +10:00
Oliver Walters b863bbd590 Update info.plist 2023-06-14 19:56:17 +10:00
OliverandGitHub ca678c1c6f Update version (#372)
* Update version

- Bump version to 0.12.2

* Tweak unit test
2023-06-13 21:28:38 +10:00
OliverandGitHub 367759e86c Ignore barcode resume if not mounted (#371) 2023-06-13 20:00:59 +10:00
OliverandGitHub 9cc666d13e Fix bug when list of tiles flows off screen (#370)
- Reimplement scrolling behaviour
2023-06-13 19:58:41 +10:00
OliverandGitHub 71bf3ad049 App orientation (#369)
* Configurable screen orientation

- Follow system (default)
- Fixed in portrait
- Fixed in landscape

* Fix for dialog
2023-06-13 19:53:50 +10:00
OliverandGitHub ba409660f4 More iOS workflow fixes (#367)
* More iOS workflow fixes

* revert to building android in debug

- Needs signing key otherwise
2023-06-12 23:29:45 +10:00
OliverandGitHub 8cebc25bea Fix iOS workflow (#366) 2023-06-12 23:10:19 +10:00
OliverandGitHub 21ace1ae02 Package updates (#365)
* 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
2023-06-12 22:52:07 +10:00
OliverandGitHub b051aeccda Barcode refactor (#363)
* Move barcode.dart

* Fix

* Refactoring barcode scanner code:

- Abstract the "controller" class (for future development)
- Break barcode scanning code out into multiple files
- Add CameraBarcodeController class (qr_code_scanner)

* Add await

* Make barcode scan delay configurable

* remove unused import

* Handle camera exceptions

* Improve sequencing for camera scanner

- Show loading overlay
- Prevent reload if view is no longer mounted

* Update docstring

* Update release notes
2023-06-11 09:41:26 +10:00
OliverandGitHub 45fe79daf0 New translations app_en.arb (Finnish) (#362) 2023-06-10 20:17:40 +10:00
OliverandGitHub 7ca9a7ccc4 New Crowdin updates (#360)
* New translations app_en.arb (Finnish)

* New translations app_en.arb (Finnish)
2023-06-06 21:07:39 +10:00
OliverandGitHub 973f1fb002 New translations app_en.arb (Finnish) (#357) 2023-05-30 20:19:14 +10:00
OliverandGitHub b733d00c37 Fix bug in purchase order form (#354)
- Remove "project_code" field if the server API does not yet support it
2023-05-18 20:55:50 +10:00
OliverandGitHub 905cedf9af New Crowdin updates (#350)
* New translations app_en.arb (Czech)

* New translations app_en.arb (Portuguese, Brazilian)

* New translations app_en.arb (Vietnamese)

* New translations app_en.arb (Vietnamese)

* New translations app_en.arb (Spanish, Mexico)

* New translations app_en.arb (Spanish, Mexico)
2023-05-13 20:48:38 +10:00
OliverandGitHub 230627e2bb iOS Build Tweaks (#349)
* Update package versions

* Update xcode project

* Further package updates

* Add display name for ios
2023-05-01 09:35:23 +10:00
OliverandGitHub 0296c4c22a Ios build (#348)
* Update package versions

* Update xcode project

* Further package updates
2023-04-30 21:52:32 +10:00
OliverandGitHub 4ba19fcab2 Increment to 0.12.0 (#347) 2023-04-29 21:06:12 +10:00
OliverandGitHub 99c768a2e1 New translations app_en.arb (Portuguese, Brazilian) (#346) 2023-04-29 20:06:35 +10:00
OliverandGitHub 383571707e Stock test actions (#345)
* Use FAB for stock item test result

* Change long press to tap

* Add setting to control display of stock tests results

* Add question mark if no result recorded
2023-04-28 23:27:59 +10:00
OliverandGitHub 49226a5fce New Crowdin updates (#343)
* New translations app_en.arb (Hungarian)

* New translations app_en.arb (Norwegian)

* New translations app_en.arb (Italian)

* New translations app_en.arb (Czech)

* New translations app_en.arb (Vietnamese)
2023-04-27 19:09:19 +10:00
OliverandGitHub 7abb8cf0c0 New Crowdin updates (#341)
* New translations app_en.arb (Spanish)

* New translations app_en.arb (Czech)

* New translations app_en.arb (German)

* New translations app_en.arb (Hungarian)

* New translations app_en.arb (Italian)

* New translations app_en.arb (Dutch)

* New translations app_en.arb (Norwegian)

* New translations app_en.arb (Turkish)

* New translations app_en.arb (Portuguese, Brazilian)

* New translations app_en.arb (Spanish, Mexico)

* New translations app_en.arb (French)

* New translations app_en.arb (Norwegian)
2023-04-22 22:26:16 +10:00
OliverandGitHub b7e806efee PO Line Item Improvements (#340)
* 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
2023-04-21 23:15:00 +10:00
OliverandGitHub 2c5ceeabdb Handle OSError when attempting connection (#339) 2023-04-21 21:24:14 +10:00
OliverandGitHub bb781aaed5 Allow stock items to be created from top-level location (#338)
(cherry picked from commit fd85abf9d8)
2023-04-21 21:24:06 +10:00
OliverandGitHub e23a8b4d5e Project code support (#336)
* 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
2023-04-21 21:12:22 +10:00
OliverandGitHub 95573a2784 New Crowdin updates (#335)
* New translations app_en.arb (Czech)

* New translations app_en.arb (Czech)
2023-04-21 19:35:07 +10:00
OliverandGitHub 232f721712 Fix duplicate serial number field (#334) 2023-04-20 20:47:40 +10:00
OliverandGitHub 1d6708fbca Adjust colors of action buttons (#333)
Fixes https://github.com/inventree/inventree-app/issues/330
2023-04-20 20:47:24 +10:00
OliverandGitHub ac57c53202 Bump version number to 0.11.6 (#332) 2023-04-20 18:55:22 +10:00
OliverandGitHub 0c4179480d New translations app_en.arb (Norwegian) (#331) 2023-04-20 18:41:03 +10:00
Oliver Walters caa4fdd2a1 Tweak to get invoke command to work on mac 2023-04-19 23:05:16 +10:00
OliverandGitHub 8510034a81 Bump build version to 0.11.5 (#328) 2023-04-19 22:04:18 +10:00
OliverandGitHub b9ffabd561 Make notes widget "generic" (#327)
* 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
2023-04-19 21:57:28 +10:00
OliverandGitHub 28ed1ed545 Improve supplier part detail screen (#326)
* Improve supplier part detail screen

* Update release notes
2023-04-19 21:17:24 +10:00
OliverandGitHub 87994a4912 Re-implement BOM link from part view (#325) 2023-04-19 21:07:56 +10:00
OliverandGitHub ba1df2e817 Adds invoke script for automating release tasks (#324) 2023-04-19 20:57:40 +10:00
OliverandGitHub 347692bf70 Add transparent background image (#323)
- Fixes display of background image in dark mode
2023-04-19 20:54:52 +10:00
OliverandGitHub 612db9f194 Improvements for dark mode (#322)
* Action colors are now determined based on theme

* Fix unused import

* Update some more colors based on theme

* Updated release notes

* Better color choice

* Update for home screen

* Updates for app drawer

* remove unused import
2023-04-18 23:07:24 +10:00
OliverandGitHub d926686a89 Stock history fix (#320)
* Improves quantity parsing from

* Add paginated history widget

* Refactor stock history widget as a paginated widget

* Allow paginated result list to handle results returned as list

- Some API endpoints (older ones most likely) don't paginate results correctly

* Fix code layout

* Render user information in "history" widget (not quantity)

* Hide filter button

* Update release notes

* remove unused import
2023-04-18 22:46:08 +10:00
OliverandGitHub 01a45568a0 Bump version to 0.11.4 (#321) 2023-04-18 22:39:32 +10:00
OliverandGitHub b5c4bda80f New translations app_en.arb (French) (#319) 2023-04-18 18:43:52 +10:00
OliverandGitHub b54565d1c3 Dark mode color fix (#318)
* Fix custom colors in API forms

* update release notes

* update build version
2023-04-16 22:07:01 +10:00
OliverandGitHub a3d712d11d Adds "dark mode" support (#317)
* Adds "dark mode" support

- Uses adaptive_theme package

* CI fixes

* More fixes

* Update release notes
2023-04-16 21:10:57 +10:00
OliverandGitHub e7f5141aa9 New translations app_en.arb (Hungarian) (#315) 2023-04-15 22:11:55 +10:00
OliverandGitHub 1d913084a6 Update release notes (#314) 2023-04-12 22:58:13 +10:00
OliverandGitHub 943104f20c Add actions to issue or cancel purchase orders (#313) 2023-04-11 22:52:27 +10:00
OliverandGitHub 164295c3e2 Code Cleanup (#312)
* Open email and telephone links for company

* Cleanup imports
2023-04-11 22:38:57 +10:00
OliverandGitHub 946abb60a0 Update notifications periodically (#311)
- Call periodically from API class
2023-04-11 21:25:39 +10:00
Oliver Walters 0156329fb6 Bump release number 2023-04-11 00:00:43 +10:00
OliverandGitHub 2fdff02299 Update version number (#309) 2023-04-10 23:29:29 +10:00
OliverandGitHub cb5c292326 Dialog improvements (#308) 2023-04-10 23:28:02 +10:00
OliverandGitHub 26b86a2194 Update status codes (#307)
* 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
2023-04-10 23:12:30 +10:00
OliverandGitHub efb7ff4170 Keyboard fix (#306)
* Remove focusNode in search widget

- Was causing some issues in iOS in particular

* Improve search UX by cancelling previous query

- Prevent successive search queries from being displayed

* Update release notes

* Add "type" for cancelable operation
2023-04-10 17:07:06 +10:00
OliverandGitHub 020cc4497c PO Contact (#305)
* 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
2023-04-10 16:59:45 +10:00
OliverandGitHub 8631fedbfb New translations app_en.arb (French) (#304) 2023-04-10 16:23:22 +10:00
OliverandGitHub bf8a65fadf Update release notes (#302) 2023-04-09 00:14:09 +10:00
OliverandGitHub a8f87e2f5a UX Overhaul (#300)
* Add "global actions" to title bar

* Implement actions

* Add "speed dial" action buttons

* tweak global action icons

* Refactor actions for "stock item" display

* Refactor "part" detail

* part category

* SupplierPart

* More updates

* Add BottomAppBar

* Add a global bottom app bar

* Move "edit" buttons back to the app bar

* tweaks

* Updates to drawer navigation menu

* home screen improvements

* text tweaks

* Fix appBarTitle for notifications widget

* Update "tabs" for category display

* Fix for attachment widget

* Update tabs for purchaseorder view

* Update part display

* Cleanup

* Add "BOM" tab to part detail widget

* Paginated list search cleanup

* Update release notes

* Update old function

* linting

* linting

* Tweaks to bottomappbar

- Increase icon size slightly
- Adjust "actions" icon
2023-04-08 23:59:11 +10:00
OliverandGitHub 74176cdda8 Bump release noes (#299) 2023-04-05 23:14:39 +10:00
OliverandGitHub f7d3315c99 Support barcode scan for purchase order (#298)
* Add functions for determining API support levels

* Handle scanning of purchase orders
2023-04-05 22:43:29 +10:00
OliverandGitHub fb0a383fff New Crowdin updates (#297)
* New translations app_en.arb (French)

* New translations app_en.arb (Spanish)

* New translations app_en.arb (Czech)

* New translations app_en.arb (Danish)

* New translations app_en.arb (German)

* New translations app_en.arb (Greek)

* New translations app_en.arb (Hebrew)

* New translations app_en.arb (Hungarian)

* New translations app_en.arb (Italian)

* New translations app_en.arb (Japanese)

* New translations app_en.arb (Korean)

* New translations app_en.arb (Dutch)

* New translations app_en.arb (Norwegian)

* New translations app_en.arb (Polish)

* New translations app_en.arb (Portuguese)

* New translations app_en.arb (Russian)

* New translations app_en.arb (Slovenian)

* New translations app_en.arb (Swedish)

* New translations app_en.arb (Turkish)

* New translations app_en.arb (Chinese Simplified)

* New translations app_en.arb (Dutch)

* New translations app_en.arb (Vietnamese)

* New translations app_en.arb (Portuguese, Brazilian)

* New translations app_en.arb (Indonesian)

* New translations app_en.arb (Persian)

* New translations app_en.arb (Spanish, Mexico)

* New translations app_en.arb (Thai)
2023-04-05 22:12:17 +10:00