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
Oliver
01e0dd5dce
Report unhandled errors to sentry
2021-07-13 08:08:58 +10:00
Oliver
374a387355
Better error handling for URL parsing
2021-07-13 08:01:45 +10:00
Oliver
8b5bd0f213
More fixes for null safety support
2021-07-13 01:00:18 +10:00
Oliver
3c6039f757
Make height / width nullable for getImage
2021-07-13 00:29:07 +10:00
Oliver
dce3b6c14a
Context fixes
2021-07-10 00:19:11 +10:00
Oliver
d3eec6a79e
Many many changes for null-safety support
2021-07-09 23:56:38 +10:00
Oliver
9e1305b1f0
Allow upload of part images
...
- Requires API v6
2021-06-23 08:51:41 +10:00
Oliver
316391d5fb
Bump minimum required API version
2021-06-22 21:24:14 +10:00
Oliver
a3f047ce0c
Check for malformed URLs and display correct error message
2021-06-19 16:35:27 +10:00
Oliver Walters
a415a2cd99
Tweaks
2021-05-22 21:13:42 +10:00
Oliver Walters
2a3e83509f
Refactor of translation lookup!
2021-05-19 23:33:28 +10:00