Commit Graph
100 Commits
Author SHA1 Message Date
Oliver Walters c658ae48d8 Getting iOS build to compile 2021-08-09 23:41:15 +10:00
Oliver Walters 540c6e58fa Fix hard-coded path 2021-08-09 23:07:54 +10:00
Oliver Walters c2ac2512ab ignore export_environment file 2021-08-09 22:11:04 +10:00
Oliver 3df40d3dfb Update export_environments file 2021-08-09 09:16:02 +10:00
Oliver 4774710aa7 0.4.3
- Update version number
- Update release notes
2021-08-09 09:14:57 +10:00
Oliver 6de29cf6d5 Include required file 2021-08-09 09:09:26 +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 607d4b61ef Show message if image upload fails 2021-08-09 07:56:38 +10:00
Oliver beeea794cb 0.4.2
- Disable "suppliers" detail window (for now)
2021-08-05 09:42:36 +10:00
Oliver acecec113e Show snack when encountering a server error 2021-08-05 08:54:02 +10:00
Oliver ca35f44dc8 Error fixes / catches
- Barcode scan returns invalid response
- model.reload() returns invalid response
- model.create() returns invalid response
- model.get() returns invalid response
2021-08-05 08:37:11 +10:00
Oliver ca73ff0d35 Catch null purchase_price 2021-08-05 08:20:28 +10:00
Oliver 293750dce7 Refactor company list views:
- Suppliers
- Manufacturers
- Customers
2021-08-03 01:38:58 +10:00
Oliver e5f09acf3f Update CompanyDetail page 2021-08-03 01:00:55 +10:00
Oliver 0fdc56d299 Remove unused imports 2021-08-02 21:57:20 +10:00
Oliver d47a8db289 More code cleanup 2021-08-02 21:53:57 +10:00
Oliver 68859b3d2e Code cleanup 2021-08-02 21:48:53 +10:00
Oliver 9b42c88b53 Refactor part image widget
- Separate buttons to upload image from gallery or camera
2021-08-02 21:35:33 +10:00
Oliver 48d5c2e560 Display number of items on order 2021-08-02 20:07:29 +10:00
Oliver 71ef6b3c5a Render list of SupplierPart 2021-08-02 20:05:05 +10:00
Oliver 5429c06349 Add isManufacturer accessor for Company 2021-08-02 17:33:13 +10:00
Oliver 944f1e2cdc Add default list filters for ManufacturerPart 2021-08-02 16:31:44 +10:00
Oliver 0b44b3a0c9 Add default list filters for SupplierPart 2021-08-02 16:31:05 +10:00
Oliver aa24274cb3 Code cleanup for part_detail view 2021-08-02 14:04:18 +10:00
Oliver 013e977031 Request list of supplierparts 2021-08-02 14:00:39 +10:00
Oliver 21985584c2 Add accessor functions for SupplierPart and ManufacturerPart models 2021-08-02 13:45:57 +10:00
Oliver 76e0dd6803 Add model for ManufacturerPart 2021-08-02 11:51:49 +10:00
Oliver 77532a4026 Add more details to the part page
- "on order" count
- "used in" count
- "supplier" count
- "bill of material" count
2021-08-02 11:42:21 +10:00
Oliver 1f3e73fdd1 0.4.1 2021-08-02 11:25:50 +10:00
Oliver aca7b79a96 Merge branch 'barcode-fixes' 2021-07-30 11:10:47 +10:00
Oliver d290f98445 Refactor showFormDialog function 2021-07-30 11:09:46 +10:00
Oliver 07017c4745 Barcode handler code cleanup 2021-07-30 11:09:01 +10:00
Oliver b423d43db8 Cleanup 2021-07-29 17:23:07 +10:00
Oliver 3ae9342a86 Provide release code to sentry 2021-07-29 16:13:15 +10:00
Oliver b41f1a2ac7 Update package_info and device_info 2021-07-29 16:08:44 +10:00
Oliver 489f4bee50 Specify environment for sentry.io 2021-07-29 15:25:29 +10:00
Oliver 6d1bed29c0 Pass BuildContext variable to barcode views, rather than storing it locally 2021-07-29 01:26:35 +10:00
Oliver 058cde1d3d Adjust calls in barcode.dart to match example 2021-07-28 22:36:39 +10:00
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