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
Oliver
3e2b4454dd
Catch error when decoding permissions
2021-08-09 08:27:29 +10:00
Oliver
8f02092731
Add extra error reporting information in sentry errors
2021-08-09 08:22:36 +10:00
Oliver
d47a8db289
More code cleanup
2021-08-02 21:53:57 +10:00
Oliver
978cefd6bf
edit stock item
...
- Render choice fields
2021-07-26 22:26:56 +10:00
Oliver
d07b704014
Looks like dropdown_search is the way to go!
2021-07-26 17:21:17 +10:00
Oliver
ca4297ae6d
Working on implementation of a related field
2021-07-25 23:26:27 +10:00
Oliver
fd818740f7
Merge branch 'master' into api-forms
2021-07-19 12:07:51 +10:00
Oliver
bf7a0e72bf
Cleanup
2021-07-19 11:18:42 +10:00
Oliver
31ed4c6a7b
Handle error code 50x
2021-07-19 10:41:34 +10:00
Oliver
b254784bb3
Catch for response.data potentially being null
2021-07-19 10:00:20 +10:00
Oliver
faf20030e3
Set error messgaes for form fields
2021-07-16 17:30:31 +10:00
Oliver
e470fb60a2
Fix package names
2021-07-16 17:10:03 +10:00
Oliver
322b35ec1c
Merge branch 'master' into api-forms
...
# Conflicts:
# lib/api.dart
# lib/widget/part_detail.dart
2021-07-16 17:06:38 +10:00
Oliver
6ed0acce27
Refactor API requests
...
- Return a non-nullable APIRequest object
- Contains status-code, url, method, etc
- Pass all API requests through a common function which does error handling
2021-07-16 16:39:33 +10:00
Oliver
e637e2a9bc
make package name lowercase
2021-07-16 15:07:28 +10:00
Oliver
ba9f09cd65
stash
2021-07-16 08:23:34 +10:00
Oliver
d2ce3fadf1
Code cleanup
2021-07-15 11:27:19 +10:00
Oliver
2a5bb4631b
Report message to sentry in case of bad JSON decoding
2021-07-15 09:46:09 +10:00
Oliver
aea0036881
Adds function to get OPTIONS endpoint data
2021-07-14 17:00:47 +10:00
Oliver
fad7840c5c
v0.2.7 - Update release notes
2021-07-14 11:23:18 +10:00
Oliver
b50d83f5f3
Greatly improve error handling for API request functions
2021-07-14 08:41:42 +10:00
Oliver
a8b3027ec7
Include more context data in error reports
2021-07-13 08:31:29 +10:00
Oliver
f6c8d9a449
Upload custom message when server returns error code >= 500
2021-07-13 08:23:59 +10:00