inventree-app/lib/inventree
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
..
bom.dart Project code support (#336) 2023-04-21 21:12:22 +10:00
company.dart Supplier part fix (#408) 2023-07-27 10:16:36 +10:00
model.dart Package updates (#365) 2023-06-12 22:52:07 +10:00
notification.dart Project code support (#336) 2023-04-21 21:12:22 +10:00
part.dart Stock display (#379) 2023-06-24 11:34:42 +10:00
project_code.dart Project code support (#336) 2023-04-21 21:12:22 +10:00
purchase_order.dart Token auth (#434) 2023-10-23 01:29:16 +11:00
sentry.dart Token auth (#434) 2023-10-23 01:29:16 +11:00
status_codes.dart Barcode refactor (#381) 2023-06-24 21:06:08 +10:00
stock.dart Search improvements (#388) 2023-06-30 22:42:59 +10:00