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
284c59d8f8
Construct a custom dialog
2021-07-16 01:04:55 +10:00
Oliver
6d045c1aac
Support boolean and string fields
...
- Pass existing data to the API form to pre-populate
2021-07-16 00:48:04 +10:00
Oliver
4331269128
OOPs I did it again
2021-07-16 00:05:28 +10:00
Oliver
7291dc9272
Extract field information from the server
2021-07-15 23:58:09 +10:00
Oliver
83e29777c2
More cleanup
2021-07-15 23:28:55 +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
b9719ea9eb
Add stock item counter to StockLocation display
2021-07-13 08:36:53 +10:00
Oliver
4691dd3054
URL fix
2021-07-13 08:34:30 +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
5728d1e698
Fix for quantity display
2021-07-13 00:19:56 +10:00
Oliver
f058cefad2
Fixes for double.tryParse
2021-07-13 00:17:35 +10:00
Oliver
40613c9c36
.empty() -> []
...
Turns out .empty() creates an empty list which is fixed length!
2021-07-13 00:13:38 +10:00
Oliver
855a1481b2
I18N fallback for null context
2021-07-10 00:19:20 +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
04180a42c7
Null check for pagination controller
2021-07-09 19:44:11 +10:00
Oliver
b8673c57cc
0.2.5
...
- Updated build number
2021-06-29 22:44:03 +10:00
Oliver
7c44d212d5
Update string translations
2021-06-29 22:35:00 +10:00
Oliver
b741e0100b
Add null check
2021-06-29 22:28:58 +10:00
Oliver
2fd7409804
Throw assertion errors which will be sent to sentry
2021-06-29 22:27:09 +10:00
Oliver
de79289b70
Check if location is set before launching barcode scanner
2021-06-29 22:26:48 +10:00
Oliver
c84941695d
Ensure that flutter errors are also reported to sentry!
2021-06-29 22:26:20 +10:00
Oliver
a78e0e65e1
Show snack bar with image upload result
2021-06-23 19:21:23 +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
f0c45cd7c7
Track latest translation dir
2021-06-19 16:36:19 +10:00
Oliver
a3f047ce0c
Check for malformed URLs and display correct error message
2021-06-19 16:35:27 +10:00
Oliver
65cabc2fa9
Update package versions and refactor accordingly
2021-06-18 21:28:07 +10:00
Oliver Walters
a415a2cd99
Tweaks
2021-05-22 21:13:42 +10:00
Oliver Walters
0adfdd2a2e
Add button to launch translation service weblink
2021-05-20 00:20:39 +10:00
Oliver Walters
89b48876fc
Check connection before searching
2021-05-20 00:14:56 +10:00
Oliver Walters
3a2b906b77
Fix context issue for app title
2021-05-20 00:11:05 +10:00
Oliver Walters
8716f3d8a5
Add instruction for compiling translated strings before release
2021-05-20 00:06:27 +10:00
Oliver Walters
0d86fdd063
changes
2021-05-19 23:33:57 +10:00
Oliver Walters
2a3e83509f
Refactor of translation lookup!
2021-05-19 23:33:28 +10:00
Oliver Walters
b86025013d
More translations
2021-05-19 23:15:49 +10:00
Oliver Walters
34a6a43d35
Fixed (most) of the raw text instances
2021-05-19 23:08:44 +10:00
Oliver Walters
c8583aba04
Support more country codes
2021-05-19 22:53:14 +10:00