Oliver Walters
10783cd1c4
Refactor PartAttachmentWidget
...
- Now displays generic attachments
- Augment the InvenTreeAttachment class to "know" about its model reference
2022-06-04 00:12:44 +10:00
Oliver Walters
dbc024491c
Pass URL through to the showServeError method
...
- Can decide, based on the URL, if we want to show an error
2022-06-03 20:23:59 +10:00
Oliver Walters
941ee5e172
Prevent "old" search results from mucking up the displayed data
...
- Only accept results if the search term has not changed
2022-05-19 21:06:20 +10:00
Oliver Walters
e2ed80f2d0
Add barcode scan context
2022-05-10 18:26:55 +10:00
Oliver Walters
610f6533d0
Refactor sentry error reporting for model class
2022-05-10 18:16:15 +10:00
Oliver Walters
059b69ce99
Adds code to requeest global setting from server
...
- Settings are individually cached for 5 minutes
- For now, use it for the purchase order reference prefix
2022-05-09 21:41:34 +10:00
Oliver Walters
da3b668e8c
Adds class representing global and user settings
2022-05-09 20:53:12 +10:00
Oliver Walters
349eca4533
Save datetime since last reload
2022-05-09 20:51:27 +10:00
Oliver Walters
2a6df373c5
Refactor imports
2022-03-29 19:54:19 +11:00
Oliver Walters
ea724fcf5f
Allow user to manually remove (delete) a StockItem
2022-03-26 18:33:02 +11:00
Oliver Walters
126fde3944
Fix comment string
2022-03-26 11:29:50 +11:00
Oliver Walters
34fd68229d
Launch a dialog to print a label
2022-03-25 23:37:14 +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
761aa0f861
v0.5.3
...
- Updated translations
- Improved error catching
2021-11-29 21:02:29 +11:00
Oliver
581d182464
Refactor StockList
2021-10-04 00:14:12 +11:00
Oliver
b656eb7b43
Show supplier results
2021-10-03 23:47:59 +11:00
Oliver
1ca3732a33
Work on refactoring search page
...
- Implement generic "search" count preview
- Nice and speedy!
2021-10-03 23:37:15 +11:00
Oliver
2f8d02b0be
API_Form: Allow customizable icon
...
- Also fixes for API search
2021-10-02 22:31:28 +10:00
Oliver
be36811cb3
More linting again
2021-09-28 21:34:11 +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
8bca501fc4
Allow file fields for api forms
2021-08-16 20:22:05 +10:00
Oliver
e31158a966
Download attachments and open
...
- Uses package "open_file"
2021-08-15 22:09:11 +10:00
Oliver
a5edb84723
Upload part attachnents
...
- Select file from device
- Take picture with camera
2021-08-15 17:27:25 +10:00
Oliver
ffd423cf9a
Add model for InvenTreePartAttachment
2021-08-15 16:49:59 +10:00
Oliver
232535d166
Reduce error reporting for model requests
2021-08-11 08:14:40 +10:00
Oliver
6d0282519d
API forms return the JSON data to the onSuccess function
2021-08-10 14:33:08 +10:00
Oliver
67ccbf64b5
Adds convenience function for editing model
2021-08-10 08:40:36 +10:00
Oliver
f8e007e07d
Merge branch 'master' into create-part
2021-08-09 12:37:30 +10:00
Oliver
8f02092731
Add extra error reporting information in sentry errors
2021-08-09 08:22:36 +10:00
Oliver
2dfe8921eb
Fix URL getters
2021-08-09 07:51:46 +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
d47a8db289
More code cleanup
2021-08-02 21:53:57 +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
2bdadc2140
Cleanup
2021-07-26 17:28:16 +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
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
8b5bd0f213
More fixes for null safety support
2021-07-13 01:00:18 +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
d3eec6a79e
Many many changes for null-safety support
2021-07-09 23:56:38 +10:00
Oliver
65cabc2fa9
Update package versions and refactor accordingly
2021-06-18 21:28:07 +10:00
Oliver Walters
fa1256d858
Updated PATCH request
2021-04-19 22:15:47 +10:00