Commit Graph
100 Commits
Author SHA1 Message Date
Oliver efce514be3 v0.4.0
- Update version number and release notes
2021-07-28 16:49:19 +10:00
Oliver d6a2a41ab2 Enable multi-line text editing for API forms
- User can edit part notes
- User can edit stock item notes
2021-07-28 16:19:42 +10:00
Oliver b8379e05db Update to allow android 30 (and newer) to open HTTPS links
Ref: https://medium.com/flutter-community/package-visibility-for-url-launcher-on-android-11-api-30-7c03cbce76a5
2021-07-28 16:18:49 +10:00
Oliver 6f366452f8 Bumped build number 2021-07-27 09:00:07 +10:00
Oliver 9b090723f9 Update release notes,
- Also adds locale support for more language codes
2021-07-27 08:56:40 +10:00
OliverandGitHub 51f3be899b Merge pull request #55 from SchrodingersGat/api-forms
Api forms
2021-07-27 08:41:48 +10:00
Oliver 5b36b8e4e3 Bump release version 2021-07-27 08:41:12 +10:00
Oliver 9b29f617c9 bump release notes to 0.3.1 2021-07-26 23:35:36 +10:00
Oliver fd821bbfc5 Display purcahse price for stock item 2021-07-26 23:31:36 +10:00
Oliver 8a114d345f Display "action" items with color 2021-07-26 23:18:52 +10:00
Oliver 08eb6fc4b1 Remove typeahead library 2021-07-26 23:04:43 +10:00
Oliver 978cefd6bf edit stock item
- Render choice fields
2021-07-26 22:26:56 +10:00
Oliver e8cb002e3c Edit StockLocation 2021-07-26 22:03:37 +10:00
Oliver bc713dfdcd API form for editing PartCategory
- Custom related field renderer function
- Grab related field data from the server
2021-07-26 21:56:29 +10:00
Oliver 377da3c2fb Handle "filters" for related fields 2021-07-26 21:02:24 +10:00
Oliver 2bdadc2140 Cleanup 2021-07-26 17:28:16 +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 a002ce1e8a Add more editable fields to the Part 2021-07-23 13:07:15 +10:00
Oliver 1e4e75dfb7 Refactor colors used in the app 2021-07-23 12:57:56 +10:00
Oliver 7a6457f870 Improve rendering for checkbox fields 2021-07-23 12:36:03 +10:00
Oliver 5c2f747b93 Improve formatting of error messages
Also run onSuccess function when form completes
2021-07-23 09:42:05 +10:00
Oliver 64aed4b31a Refactor modal form into a new stateful widget 2021-07-22 17:49:43 +10:00
Oliver 885df45138 Merge branch 'master' into api-forms 2021-07-22 17:00:13 +10:00
Oliver c83c164624 0.2.10 2021-07-22 16:56:34 +10:00
Oliver ece875ac3e Update release notes 2021-07-22 16:54:44 +10:00
Oliver 6b226fafc9 Improve display of StockList tiles 2021-07-20 19:36:19 +10:00
Oliver 7e55dbb260 Update release notes 2021-07-20 19:33:29 +10:00
Oliver c99be189bb Updates!
- Add "last update date" to StockDetail view
- Add 'stocktake date" to StockDetail view
2021-07-20 19:32:48 +10:00
Oliver ca6226a596 Form updates 2021-07-20 19:14:44 +10:00
Oliver fd818740f7 Merge branch 'master' into api-forms 2021-07-19 12:07:51 +10:00
Oliver f425391301 v0.2.9
- Update release notes
2021-07-19 11:21:14 +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 27caf3983a Add callback functions 2021-07-16 17:35:56 +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 6a6ad13900 v0.2.8 release 2021-07-16 16:51:11 +10:00
Oliver b219de757b Cleanup 2021-07-16 16:41:37 +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 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 a52ae09b2b Merge branch 'null-safety' 2021-07-13 08:38:10 +10:00
Oliver 37cd4f080f Updated release notes 2021-07-13 08:38:00 +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 dd39b98ae9 Getting the project to compile again... 2021-07-12 23:32:30 +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 657a36e14f Update gradle settings
Ref: https://github.com/juliuscanute/qr_code_scanner/issues/325
2021-07-09 23:57:06 +10:00
Oliver c64983bf8b Update packages 2021-07-09 23:56:46 +10:00
Oliver d3eec6a79e Many many changes for null-safety support 2021-07-09 23:56:38 +10:00
Oliver 2988716bf3 Increase minimum SDK version (to activate nullsafety) 2021-07-09 21:38:56 +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
OliverandGitHub 5343bc23b0 Merge pull request #51 from SchrodingersGat/sentry-refactor
Sentry refactor
2021-06-29 22:43:07 +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 d0aa6a61ba 0.2.4
- Update release notes etc
- Version numbering now matches server version numbering
2021-06-27 21:11:20 +10:00
Oliver a78e0e65e1 Show snack bar with image upload result 2021-06-23 19:21:23 +10:00
Oliver a7d19c4c5a v0.1.6
- Fix build version
- Fix release notes
2021-06-23 11:49:28 +10:00
OliverandGitHub 94a56a7b24 Merge pull request #48 from SchrodingersGat/part-photo-upload
Part photo upload
2021-06-23 08:52:08 +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 a7d855defe Increment version / build number 2021-05-20 00:22:56 +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