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
Oliver
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
Oliver Walters
21e7a976ee
Improve checks for API user permissions
2022-06-03 20:42:25 +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
Oliver Walters
850c2b8c12
Remove support for legacy stock transfer API code
...
- Relies on modern API now
- Checks for error messages against hidden fields in stock items
2022-05-22 15:59:19 +10:00
Oliver Walters
b98f044204
More checks
2022-05-22 09:56:22 +10:00
Oliver Walters
4e14bd077c
Improved debug messages
2022-05-22 09:17:32 +10:00
Oliver Walters
625d29fcf1
Adds debug message helper
2022-05-22 09:13:49 +10:00
Oliver Walters
e424a3cf7b
Start of unit tests for the actual API code
2022-05-22 00:04:13 +10:00
Oliver Walters
b18dd92079
Fixes after preferences file refactor
2022-05-21 19:44:47 +10:00
Oliver Walters
c90a849a5a
Add extra context information to sentry error reports
...
- Should help to track down bugs where stacktrace is missing information
- Adds some more error catching, too
2022-05-12 22:46:12 +10:00
Oliver Walters
6d764e32a0
Improve barcode error handling
2022-05-10 23:37:21 +10:00
Oliver Walters
9f6269375f
linting
2022-05-10 01:19:38 +10:00
Oliver Walters
5ba887d59b
Refactor locate function
2022-05-10 00:28:49 +10:00
Oliver
cc3f7e7f7c
Merge pull request #123 from inventree/server-settings
...
Server settings
2022-05-09 22:20:09 +10:00
Oliver Walters
97ee077419
Require API version 46
2022-05-09 21:46:29 +10:00
Oliver Walters
65570eec33
Adds code for requesting user settings
2022-05-09 21:42:46 +10:00
Oliver Walters
059b69ce99
Adds code to requeest global setting from server
...
- Settings are individually cached for 5 minutes
- For now, use it for the purchase order reference prefix
2022-05-09 21:41:34 +10:00
Oliver Walters
347d2175be
Display a "launch" screen if server is not connected
2022-05-09 20:37:57 +10:00
Oliver Walters
6533cc4af6
Display badge showing current number of unread notifications
2022-05-04 11:41:53 +10:00
Oliver Walters
3fa68ec6da
The "search" window is now a tab on the main screen
2022-05-04 10:27:04 +10:00
Oliver Walters
38652cdba3
Adds new setting to control whether HTTPs is "strict" or not
...
- "non strict" allows use of self-signed server certificates for example
2022-04-02 20:02:23 +11:00
Oliver Walters
2a6df373c5
Refactor imports
2022-03-29 19:54:19 +11:00
Oliver Walters
c78dd7cfa5
Update packages
...
- Trying to find source of null check bug
2022-03-29 19:43:38 +11:00
Oliver Walters
ea724fcf5f
Allow user to manually remove (delete) a StockItem
2022-03-26 18:33:02 +11:00
Oliver Walters
02a9bbe3c6
Enhance existing api_forms functionality
...
- Allow form to be created without an actual API endpoint
- Useful for creating client-side forms without any server interaction
2022-03-25 23:36:56 +11:00
Oliver Walters
63bf88ac66
Adds a function to return a list of plugins which support a specified mixin
2022-03-25 22:53:36 +11:00
Oliver Walters
de45e18359
Request and cache plugin information when connecting to the server
2022-03-25 22:48:21 +11:00
Oliver Walters
0c9c7b2a68
Defines a class for representing an InvenTreePlugin instance
2022-03-25 22:25:27 +11:00
Oliver Walters
8e8015abe9
Request list of labels defined for a given stock item
2022-03-25 22:16:36 +11:00
Oliver Walters
f0c5fb8355
Determine if plugins are enabled when connecting to the server
2022-03-25 20:52:51 +11:00
Oliver Walters
3bb370bee1
API v34 required for plugin support
2022-03-25 20:41:32 +11:00
Oliver
2788ed5bd7
User configurable home screen actions
2022-01-05 14:00:38 +11:00
Oliver
fd54b20b92
Reduce error reporting on permission check errors
2022-01-05 12:18:23 +11:00
Oliver
761aa0f861
v0.5.3
...
- Updated translations
- Improved error catching
2021-11-29 21:02:29 +11:00
Oliver
57911136e8
Catch CertificateException and HandshakeException
2021-10-27 19:04:28 +11:00
Oliver
ba41ebde73
Add support for "modern" stock actions via the API
...
- In the future, will have to deprecate support for the old ways
- Probably v0.6.x?
2021-10-05 22:45:47 +11:00
Oliver
b7f9f1c55f
Handle form posting with complex "layered" data
...
- Handle data rendering
- Handle returned errors
2021-10-03 00:40:26 +10:00
Oliver
86584b366f
Building context menu for purchase order line item
2021-10-02 11:53:45 +10:00
Oliver
77bac9af36
Yet more linting
2021-09-28 20:35:19 +10:00
Oliver
ad0cc36540
More linting work
2021-09-28 20:24:55 +10:00
Oliver
c1152ee286
Fixes for type casting
2021-09-28 17:53:14 +10:00
Oliver
c1a1ef0ad2
Cleanup home page widget
2021-09-28 12:05:44 +10:00
Oliver
4cae087032
Improve rendering of missing image
2021-09-28 00:04:07 +10:00
Oliver
a8ca441868
Fix for utf character encoding
...
- content length was being set based on the non-encoded string
- naughty naughty
2021-09-17 22:19:57 +10:00
Oliver
2720280ada
Remove floating action button
2021-08-16 20:40:29 +10:00
Oliver
e108598557
Refactor "uploadFile" function
...
- Error catching!
2021-08-16 20:20:46 +10:00
Oliver
e31158a966
Download attachments and open
...
- Uses package "open_file"
2021-08-15 22:09:11 +10:00
Oliver
81602512a5
Display error message when form submission returns error
2021-08-15 13:44:27 +10:00
Oliver
3e19e7f1cb
Decode response data when file upload fails
2021-08-09 08:38:43 +10:00