inventree-app/lib
Oliver 76b6191a67
Token auth (#434)
* Embed device platform information into token request

* Remove username and password from userProfile

* Display icon to show if profile has associated user token

* Remove username / password from login settings screen

* Refactor login procedure around token auth

* Refactoring

* Add profile login screen

- Username / password values are not stored
- Just to fetch api token

* Login with basic auth

* Pass profile to API when connecting

* Remove _BASE_URL accessor

- Fixes URL caching bug

* Add more context to login screen

* Add helper functions for unit tests

- Change default port to 8000 (makes testing easier with local inventree instance)

* api.dart handles basic auth now

* fix api_test.dart

* Further test improvements

* linting fixes

* Provide feedback when login fails

* More linting

* Record user details on login, and display in "about" widget

* Fix string lookup

* Add extra debug

* Fix auth values

* Fix user profile test
2023-10-23 01:29:16 +11:00
..
barcode Add POReceiveBarcodeHandler to support barcode/po-receive/ endpoint (#421) 2023-10-19 23:28:32 +11:00
generated More linting work 2021-09-28 20:24:55 +10:00
inventree Token auth (#434) 2023-10-23 01:29:16 +11:00
l10n Token auth (#434) 2023-10-23 01:29:16 +11:00
settings Token auth (#434) 2023-10-23 01:29:16 +11:00
widget Token auth (#434) 2023-10-23 01:29:16 +11:00
api.dart Token auth (#434) 2023-10-23 01:29:16 +11:00
api_form.dart Supplier part fix (#408) 2023-07-27 10:16:36 +10:00
app_colors.dart Barcode refactor (#381) 2023-06-24 21:06:08 +10:00
dummy_dsn.dart Add a dummy .dsn file 2021-09-28 23:26:10 +10:00
fa_icon_mapping.dart Adds pre-generated file for mapping icon names to icon hex values (#235) 2022-12-18 00:06:11 +11:00
helpers.dart Label print updates (#399) 2023-07-16 00:51:11 +10:00
l10.dart Start of unit tests for the actual API code 2022-05-22 00:04:13 +10:00
labels.dart Label fix (#411) 2023-08-12 20:41:11 +10:00
main.dart Translation fix (#424) 2023-09-20 08:37:48 +10:00
preferences.dart Label print updates (#399) 2023-07-16 00:51:11 +10:00
user_profile.dart Token auth (#434) 2023-10-23 01:29:16 +11:00