2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-27 21:16:48 +00:00

1192 Commits

Author SHA1 Message Date
Oliver Walters
fca9ad2a50 "Home" button pops stack 2020-04-03 22:27:15 +11:00
Oliver Walters
49133a8e71 Add qr_utils barcode scanner 2020-04-03 15:31:36 +11:00
Oliver Walters
570e44a83a Remove drawer.dart 2020-04-03 14:50:46 +11:00
Oliver Walters
728597fcdc Allow model class to be filtered
- Each subclass should provide a custom filtering function
2020-04-03 14:27:39 +11:00
Oliver Walters
ee7ab5308e server / username / password now saved to local preferences 2020-04-03 14:25:28 +11:00
Oliver Walters
2ec662fdef Remove the button counter 2020-04-03 12:24:46 +11:00
Oliver Walters
3a686b8b7f Display for StockItem
- Empty for now
2020-04-03 12:23:57 +11:00
Oliver Walters
7d060acc93 Add "location" display widget 2020-04-03 11:28:46 +11:00
Oliver Walters
718f89b339 Add display for part information
- Very sparse currently
2020-04-03 11:14:25 +11:00
Oliver Walters
d3415e5ebe Simplify PartCategory display
- Pass an InvenTreePartCategory object
2020-04-03 11:00:38 +11:00
Oliver Walters
5d8126d6d1 Display parts in each subcategory 2020-04-03 10:43:43 +11:00
Oliver Walters
01faed03ee Add "Category display" view
- Select "parts" from the app drawer
- Allow traversal of sub-categories
2020-04-03 10:37:28 +11:00
Oliver Walters
f9dddfe3a2 Simplify part filtering 2020-04-02 11:47:05 +11:00
Oliver Walters
2797bc1912 Request list of parts from the server, and display the results
- Also allow custom filtering of the returned results!
2020-04-02 10:30:27 +11:00
Oliver Walters
039b09564e Add class for representing SupplierPart model 2020-04-01 16:24:02 +11:00
Oliver Walters
784fae276b Add endpoint for Company model 2020-04-01 10:28:00 +11:00
Oliver Walters
0bf02dad64 Add endpoint for StockLocation model 2020-04-01 10:04:55 +11:00
Oliver Walters
df0b3c796c Add endpoint for StockItem model 2020-04-01 10:02:01 +11:00
Oliver Walters
e9b0cc3128 rename InvenTreeObject to InvenTreeModel 2020-04-01 09:48:53 +11:00
Oliver Walters
cc4f5091c7 Fix:
methods / data with _ can't be seen from separate library :|
2020-04-01 00:55:04 +11:00
Oliver Walters
3c541a9656 Split 'part' model into new file 2020-04-01 00:52:20 +11:00
Oliver Walters
25a16b5a28 Rename to 'model' 2020-04-01 00:06:51 +11:00
Oliver Walters
bce0d959c5 Move model representation code to sub-directory 2020-04-01 00:04:55 +11:00
Oliver Walters
c05c07dd0a Class for reading Partcategory data 2020-03-31 23:52:38 +11:00
Oliver Walters
120e481e27 cleanup objects 2020-03-31 23:45:56 +11:00
Oliver Walters
c06dd9d999 Returning object list now works correctly (and asynchronously!) 2020-03-31 23:38:24 +11:00
Oliver Walters
0ee1dedd45 Connection now works properly! yay!
Nested asyncs are hard ya'll
2020-03-31 23:35:23 +11:00
Oliver Walters
83fc4b407d Work on improving async calls
- Still don't fully grok them
2020-03-31 23:07:31 +11:00
Oliver Walters
e75297053b Cleanup of list creation 2020-03-31 23:03:05 +11:00
Oliver Walters
ef09b024e6 Add InvenTreeObject class for getting API data 2020-03-31 00:05:54 +11:00
Oliver Walters
3da5adca28 GET request now can be provided with query parameters, and works OK 2020-03-29 13:05:11 +11:00
Oliver Walters
4da4731fb2 API improvements
- Catch more errors
- Use username/password data if token has not been received
2020-03-29 12:44:36 +11:00
Oliver Walters
c64d4c3ccb Require "preferences" plugin 2020-03-29 11:15:12 +11:00
Oliver Walters
b71c665453 Better use of async functions for API
- Use local_preferences for storing data
2019-06-26 00:07:18 +10:00
Oliver Walters
6e807cbed1 Make the API a singleton class
Also add some simple URL validation
2019-06-25 22:38:11 +10:00
Oliver Walters
6b58ccb844 Load / save login settings
- Using simple shared_preferences package for now
2019-06-25 22:14:31 +10:00
Oliver Walters
e723a70d15 Add a 'login setings' form 2019-06-25 21:48:37 +10:00
Oliver Walters
75306a9ca5 i18n 2019-06-25 15:06:12 +10:00
Oliver Walters
3258903745 Add API class
- Secure token based on username/password
2019-06-25 00:40:03 +10:00
Oliver Walters
f747692277 Add an 'app drawer' 2019-06-24 22:48:48 +10:00
Oliver Walters
f174d99844 Change app title block 2019-06-24 22:48:31 +10:00
Oliver Walters
56d7f6389c Initial project commit
Generated icon using flutter_launcher_icons plugin
2019-06-24 00:33:22 +10:00