2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 05:26:47 +00:00

1286 Commits

Author SHA1 Message Date
Oliver
730521fd00
New barcode actions (#218)
* 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
2022-12-05 23:39:40 +11:00
Oliver
efb6fc353e
Bom optional (#227)
* Split part settings onto different screen

* show_bom setting controls whether BOM information is displayed

* linting
2022-12-04 23:05:35 +11:00
Oliver
971c6bfcdb
Update API for marking a notification as "read" (#228) 2022-12-04 23:01:11 +11:00
Oliver
544b270ac5
New translations app_en.arb (Hungarian) (#225) 2022-12-04 22:50:34 +11:00
Oliver
c2574e9fa5
Part parameters (#224)
* 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
2022-12-04 20:51:48 +11:00
Oliver
207e5ec6c5
Adds option for deleting attachments from the app (#222)
* Adds option for deleting attachments from the app

Closes https://github.com/inventree/inventree-app/issues/153

* Add entry to release notes
2022-12-02 22:10:56 +11:00
Oliver
15b4cbc67a New translations app_en.arb (Spanish) 2022-11-30 07:28:11 +11:00
Oliver
a951e75a7e New translations app_en.arb (Spanish) 2022-11-29 07:31:20 +11:00
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 Walters
30ea893023 Merge remote-tracking branch 'origin/l10n_master' 2022-11-28 19:02:15 +11:00
Oliver
b07290fee4 New translations app_en.arb (Spanish, Mexico) 2022-11-24 03:52:34 +11:00
Oliver
9475829d86 New translations app_en.arb (Spanish, Mexico) 2022-11-23 15:29:29 +11:00
Oliver
881bc0b6d9 New translations app_en.arb (Spanish) 2022-11-16 20:21:15 +11:00
Oliver
4833424686 New translations app_en.arb (Spanish) 2022-11-16 08:18:28 +11:00
Oliver
c87021fa67 New translations app_en.arb (Turkish) 2022-11-15 17:11:54 +11:00
Oliver
3c36215820 New translations app_en.arb (Greek) 2022-11-15 17:11:53 +11:00
Oliver
f289ab637c New translations app_en.arb (Portuguese, Brazilian) 2022-11-14 16:57:42 +11:00
Oliver
f196ad7fb7 New translations app_en.arb (Portuguese, Brazilian) 2022-11-14 04:44:25 +11:00
Oliver
ca96a707f5 New translations app_en.arb (Portuguese, Brazilian) 2022-11-11 14:14:00 +11:00
Oliver
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
Oliver
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
Oliver
e2e47961fd
New translations app_en.arb (Spanish, Mexico) (#214) 2022-10-28 12:32:50 +11:00
Oliver
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
Oliver
6d796a2e32
Barcode updates (#211)
* Adds API function for unlinking a barcode

* Show barcode unlink result

* Update release notes and version number
0.8.3
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
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
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
Oliver
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
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
0.8.2
2022-08-04 13:23:29 +10:00
Oliver
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
Oliver
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
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
e78bb78bfd
Check status code before throwing JSON error (#198)
* Check status code before throwing JSON error

* Update release notes
0.8.1
2022-08-01 13:18:26 +10:00
Oliver
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
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
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 0.8.0 2022-07-29 19:31:23 +10:00
Oliver
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
Oliver
e13817abed
New translations app_en.arb (Hungarian) (#191) 2022-07-29 19:29:50 +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
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
Oliver
19ad3153e4
Remove and fix some TODO entries (#188) 2022-07-20 14:18:07 +10:00
Oliver
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
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
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
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
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