Commit Graph
100 Commits
Author SHA1 Message Date
OliverandGitHub 6401e5c81b New Crowdin updates (#216)
* New translations app_en.arb (Spanish, Mexico)

* New translations app_en.arb (Spanish, Mexico)

* New translations app_en.arb (Spanish, Mexico)
2022-11-06 20:06:35 +11:00
OliverandGitHub 8f0d5add44 Add backup dir for InvenTree test server (#215)
* Add backup dir for InvenTree test server

* Specify python version
2022-11-06 19:57:02 +11:00
OliverandGitHub e2e47961fd New translations app_en.arb (Spanish, Mexico) (#214) 2022-10-28 12:32:50 +11:00
OliverandGitHub 55d1b7a060 New Crowdin updates (#213)
* New translations app_en.arb (Spanish)

* New translations app_en.arb (German)

* New translations app_en.arb (Russian)
2022-10-06 22:46:19 +11:00
OliverandGitHub 6d796a2e32 Barcode updates (#211)
* Adds API function for unlinking a barcode

* Show barcode unlink result

* Update release notes and version number
2022-09-15 14:22:40 +10:00
Oliver Walters 87c8a21c3c Merge remote-tracking branch 'origin/l10n_master' 2022-09-14 18:42:34 +10:00
Oliver ac52feb97b New translations app_en.arb (Danish) 2022-09-14 14:38:58 +10:00
OliverandGitHub 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
OliverandGitHub c25175ac54 Search fix (#208)
* Prevent setState if search widget is not mounted

* Prevent search textbox from disappearing
2022-09-10 13:11:34 +10:00
OliverandGitHub 38b34e0fd9 New Crowdin updates (#204)
* New translations app_en.arb (Chinese Simplified)

* New translations app_en.arb (Spanish)

* New translations app_en.arb (Hungarian)

* New translations app_en.arb (Japanese)

* New translations app_en.arb (French)

* New translations app_en.arb (Czech)

* New translations app_en.arb (German)

* New translations app_en.arb (Spanish)

* New translations app_en.arb (Russian)

* New translations app_en.arb (Spanish, Mexico)

* New translations app_en.arb (Persian)

* New translations app_en.arb (Indonesian)

* New translations app_en.arb (Portuguese, Brazilian)

* New translations app_en.arb (Vietnamese)

* New translations app_en.arb (Chinese Simplified)

* New translations app_en.arb (Turkish)

* New translations app_en.arb (Swedish)

* New translations app_en.arb (Polish)

* New translations app_en.arb (Portuguese)

* New translations app_en.arb (Norwegian)

* New translations app_en.arb (Dutch)

* New translations app_en.arb (Korean)

* New translations app_en.arb (Italian)

* New translations app_en.arb (Hebrew)

* New translations app_en.arb (Greek)

* New translations app_en.arb (Thai)

* New translations app_en.arb (French)
2022-09-05 21:35:03 +10:00
OliverandGitHub 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
OliverandGitHub 61bacefd36 Show release notes (#201)
* Add function to set app locale

* Setting for selecting app language

- Adds requirement for "flutter_localized_locales"
- Change main app to stateless

* Reload entire app tree when language is changed

* Update release notes

* linting

* Show the release notes after updating to a new app version
2022-08-03 11:55:46 +10:00
OliverandGitHub 9559b8602e Locale switch (#200)
* Add function to set app locale

* Setting for selecting app language

- Adds requirement for "flutter_localized_locales"
- Change main app to stateless

* Reload entire app tree when language is changed

* Update release notes

* linting
2022-08-02 15:54:59 +10:00
OliverandGitHub 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
OliverandGitHub e78bb78bfd Check status code before throwing JSON error (#198)
* Check status code before throwing JSON error

* Update release notes
2022-08-01 13:18:26 +10:00
OliverandGitHub 2cbcf275ab Api filtering (#197)
* Add extra filtering options for the PartCategory list

(cherry picked from commit c7b594fd0bfafdde1298f8d3cf503871762b49eb)

* Extra filtering options for stock location list

(cherry picked from commit 5e9bfcfbc336831bfd2bb4414fc1794420c89e0d)
2022-08-01 12:25:13 +10:00
OliverandGitHub 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
OliverandGitHub c5162c1947 Check if widget is mounted before calling setstate() (#193) 2022-07-29 20:01:06 +10:00
Oliver Walters b7a37e50c5 Update version and release noes 2022-07-29 19:31:23 +10:00
OliverandGitHub f652bebd83 Show loading overlay for "toggle star" operation (#192)
* Show loading overlay for "toggle star" operation

* Improve loading speed of PartDetail widget

* Improve loading of StockDetail widget
2022-07-29 19:30:22 +10:00
OliverandGitHub e13817abed New translations app_en.arb (Hungarian) (#191) 2022-07-29 19:29:50 +10:00
OliverandGitHub 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
OliverandGitHub 75e0a69eab Automatically add a demo server profile (#189) 2022-07-25 14:26:26 +10:00
Oliver Walters 0165a4bad5 Bug fix for refreshable state
- Prevent setstate if widget is no longer mounted
2022-07-20 17:38:32 +10:00
OliverandGitHub 19ad3153e4 Remove and fix some TODO entries (#188) 2022-07-20 14:18:07 +10:00
OliverandGitHub 42d69365b8 New Crowdin updates (#187)
* New translations app_en.arb (French)

* New translations app_en.arb (Portuguese, Brazilian)

* New translations app_en.arb (Turkish)

* New translations app_en.arb (Russian)

* New translations app_en.arb (Polish)

* New translations app_en.arb (Spanish)

* New translations app_en.arb (Dutch)

* New translations app_en.arb (Japanese)

* New translations app_en.arb (Hungarian)

* New translations app_en.arb (German)
2022-07-20 13:02:58 +10:00
Oliver Walters 162d05aea5 Update release notes 2022-07-20 09:07:09 +10:00
OliverandGitHub 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
OliverandGitHub 277193ecb0 Refactor create state (#184)
* Refactor createstate for api_form

- Refer to attributes of widget

* Refactor barcode state variables

* More udpates
2022-07-19 23:34:26 +10:00
OliverandGitHub 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
OliverandGitHub e03a8561b9 Main screen loading indicator (#183)
* 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
2022-07-19 23:10:06 +10:00
OliverandGitHub 7f3dfe7dd7 New Crowdin updates (#178)
* New translations app_en.arb (French)

* New translations app_en.arb (Portuguese)

* New translations app_en.arb (Portuguese, Brazilian)

* New translations app_en.arb (Turkish)

* New translations app_en.arb (Polish)

* New translations app_en.arb (Spanish)

* New translations app_en.arb (Dutch)

* New translations app_en.arb (Japanese)

* New translations app_en.arb (Hungarian)

* New translations app_en.arb (German)

* New translations app_en.arb (German)
2022-07-19 22:06:10 +10:00
OliverandGitHub 33d11241e5 New translations app_en.arb (Portuguese) (#177) 2022-07-18 22:11:32 +10:00
OliverandGitHub 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
OliverandGitHub c6678e201f Fix broken android manifest (#172)
- Adds xmlns:tools to manifest xml file
- Ref: https://stackoverflow.com/questions/55334431/facing-below-error-toolsnode-associated-with-an-element-type-uses-permission
2022-07-14 20:31:44 +10:00
OliverandGitHub acbb2d2947 Prevent specific permissions from being requested (#170)
open_file package requests the REQUEST_INSTALL_PACKAGES permission by default
2022-07-13 20:11:49 +10:00
OliverandGitHub 900074f458 New Crowdin updates (#168)
* New translations app_en.arb (Italian)

* New translations app_en.arb (Hungarian)
2022-07-12 11:41:06 +10:00
OliverandGitHub cd0336696c Merge pull request #165 from inventree/bump-version
Increment version and build numbers
2022-07-06 21:44:25 +10:00
Oliver Walters 38004228aa Increment version and build numbers 2022-07-06 21:38:48 +10:00
OliverandGitHub 6a42bc0ec0 Merge pull request #164 from inventree/list-ordering
List ordering
2022-07-06 21:36:53 +10:00
Oliver Walters ed2523c3c5 Linting fixes 2022-07-06 21:29:26 +10:00
Oliver Walters 847fda7652 Enable ordering for purchase order list 2022-07-06 21:24:26 +10:00
Oliver Walters 2e7abf8a1e Allow "trailing" widget to be displayed on home screen entries 2022-07-06 21:21:19 +10:00
Oliver Walters bb73fb7400 Cleanup 2022-07-06 21:17:52 +10:00
Oliver Walters c3e6d3f902 Widget cleanup 2022-07-06 21:13:07 +10:00
Oliver Walters a450154bac Add sorting options for the StockItem list 2022-07-06 21:07:19 +10:00
Oliver Walters 6192932322 Add ordering options for "Part" list 2022-07-06 20:59:38 +10:00
Oliver Walters 6d247f426c Further refactoring 2022-07-06 20:54:17 +10:00
Oliver Walters 7301243ed6 Major overhaul of "paginated list" widget class
- Simplify implementation
- Create mixin class for code reuse
- Allow custom app-bar
- Allow custom ordering / sorting options
- Improve code commenting / readability
2022-07-06 20:24:40 +10:00
Oliver Walters 979f950129 Update release notes 2022-07-06 09:51:05 +10:00
Oliver Walters 6c1099356f Enable basic ordering for BOM list 2022-07-06 09:49:40 +10:00
Oliver Walters c878f37ec2 Implementing a generic "ordering" option configuration for paginated list widget 2022-07-05 21:42:55 +10:00
OliverandGitHub 9c4f6710ff Merge pull request #162 from inventree/bom-display
Allows displays of Bill of Materials for assembled parts
2022-07-05 21:19:15 +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 62df40f4b3 Display "variants" in part detail view 2022-07-05 17:14:00 +10:00
Oliver Walters e35c4df846 Allows displays of Bill of Materials for assembled parts 2022-07-05 16:59:32 +10:00
OliverandGitHub f7e045aaeb Update release.yml
Change labels / etc
2022-06-29 17:48:01 +10:00
OliverandGitHub 8eba549bb0 Merge pull request #160 from inventree/attachment-links
Adds ability to display "links" uploaded to attachment fields
2022-06-20 17:14:15 +10:00
Oliver Walters 0d06d07e0f Adds ability to display "links" uploaded to attachment fields 2022-06-20 15:32:36 +10:00
OliverandGitHub 447497f344 Merge pull request #159 from inventree/l10n_master
New Crowdin updates
2022-06-20 15:21:11 +10:00
Oliver 6463a06b35 New translations app_en.arb (German) 2022-06-19 23:23:00 +10:00
Oliver ec94e3b1d3 New translations app_en.arb (Portuguese, Brazilian) 2022-06-19 11:21:19 +10:00
Oliver a84f082bd6 New translations app_en.arb (Dutch) 2022-06-14 12:18:58 +10:00
Oliver deb8666172 New translations app_en.arb (Dutch) 2022-06-14 00:23:42 +10:00
Oliver 184de1c01e New translations app_en.arb (Hungarian) 2022-06-12 04:35:29 +10:00
Oliver 46dd454c4a New translations app_en.arb (German) 2022-06-07 00:47:22 +10:00
Oliver fe5587b3eb New translations app_en.arb (Hungarian) 2022-06-07 00:47:19 +10:00
Oliver e7be7b4bf2 New translations app_en.arb (Italian) 2022-06-07 00:47:18 +10:00
Oliver 3db0f004c2 New translations app_en.arb (Japanese) 2022-06-07 00:47:17 +10:00
Oliver bc85140264 New translations app_en.arb (Dutch) 2022-06-07 00:47:15 +10:00
Oliver 5a0e5d252d New translations app_en.arb (Polish) 2022-06-07 00:47:13 +10:00
Oliver c534f4196d New translations app_en.arb (Turkish) 2022-06-07 00:47:10 +10:00
Oliver d1bd8890c0 New translations app_en.arb (Portuguese) 2022-06-07 00:47:04 +10:00
Oliver 590036f082 New translations app_en.arb (French) 2022-06-07 00:47:03 +10:00
OliverandGitHub 6f13f429ce Merge pull request #158 from inventree/string-fix
String fixes
2022-06-06 21:24:54 +10:00
Oliver Walters 4a695fa4ef String fixes 2022-06-06 21:15:58 +10:00
Oliver Walters f0d91b12de Bump release version 2022-06-05 09:46:12 +10:00
Oliver Walters bafa378c86 Merge remote-tracking branch 'origin/l10n_master' 2022-06-05 09:45:08 +10:00
Oliver 3d0afa3798 New translations app_en.arb (Hungarian) 2022-06-05 00:03:03 +10:00
OliverandGitHub 51a90f5fca Merge pull request #155 from inventree/search-permissions
Wrap search queries in permission checks
2022-06-04 09:58:23 +10:00
Oliver Walters 2a685a743f Wrap search queries in permission checks 2022-06-04 09:31:34 +10:00
OliverandGitHub 62e6009aeb Merge pull request #152 from inventree/more-attachments
More attachments
2022-06-04 00:40:58 +10:00
Oliver Walters 302532f5a4 Update release notes 2022-06-04 00:34:50 +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 fcfda4ebff Display number of attachments on part view 2022-06-04 00:15:34 +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
OliverandGitHub ffae280d31 Merge pull request #151 from inventree/unit-testing
Unit testing
2022-06-03 21:28:48 +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
OliverandGitHub c8fa6bd992 Merge pull request #150 from inventree/silent-notifications
Pass URL through to the showServeError method
2022-06-03 20:29:29 +10:00
OliverandGitHub aac215678b Update README.md 2022-06-03 20:26:56 +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
OliverandGitHub 99462ffeb9 Merge pull request #149 from inventree/quarantine-stock-status
Add support for "quarantined" stock item status
2022-06-03 19:56:19 +10:00
Oliver Walters aa4317a2fe Add support for "quarantined" stock item status 2022-06-03 19:51:08 +10:00
OliverandGitHub 9a5cf59efb Merge pull request #148 from inventree/auto-release
Add template for auto-generation of release notes
2022-06-03 18:54:23 +10:00