Commit Graph

66 Commits

Author SHA1 Message Date
John Wu
113cc97fea Car table update (#27) 2021-04-05 10:09:40 -07:00
John Wu
17f81822c0 Add package updates, car updates, and vehicle screens (#25) 2021-03-31 17:42:31 -07:00
John Wu
2d1faa8fb7 Merge branch 'main' into development 2021-03-29 13:30:55 -07:00
John Wu
aea873e920 Add role checks (#21)
* Add role checks

* Remove moved Roles enum
2021-03-22 11:29:35 -07:00
John Wu
03de4f5826 Fix signout refresh (#20)
* Merge to main (#17)

* Fix sign up form bug

* Add run.sh to run setup and run web app

* Output node version

* Update readme with run.sh

* Fix file upload form to handle ota_update service

* Enable file upload form

Enable error boundary to catch React errors (#7)
Fix warning for link noreferrer
Include authorization header with file upload

* Remove default localhost settings (#8)

* Remove default localhost settings
Replace with deployment settings

* Fix for upload data format

* Fix test data for last commit

* Fix json link format and remove localhost default settings (#10)

* Remove default localhost settings
Replace with deployment settings

* Fix for upload data format

* Fix test data for last commit

* Fix link data format

* Fix link json again (#12)

Use id token instead of access token

* nginx things

* Web Worker Sign Out and Use Go API (#13)

* Calculate checksum and send with file upload

* Limit file upload and display rejected file error

* Add sign in timeout

* Check auth token structure before setting
Clean up

* Use web worker timer to sign out
Remove checksum
Point to Go ota update

* Remove checksum dependency

* Use compute auth service and fix static code analyzer warnings (#15)

* Clean up formatting

* Use new compute_auth service
Implment SSO
Implement token refresh
Clean up unit tests

* Fix unit tests

* Fix auth test
Fix warnings

* Update default settings for compute_auth

* Change main UI layout and add VINs to add and upload forms (#16)

* Add new upload update package form
Add new add vehicle form
Add new side menu layout
Add new toolbar layout
Update and add unit tests

* Enable add get and add vehicles

* Integration issues with ota_update service

* Update get vehicle JSON format

* Fix related unit test
Add release notes field

* Add StatusContext to display error and status messages

* Handle api error json (#18)

* Handle api error json

* Fix get vehicles error handling
Update .env.template

Co-authored-by: Rafi Greenberg <rgreenberg@fiskerinc.com>

* Fix sign out and refresh

* Check for bad json

Co-authored-by: Rafi Greenberg <rgreenberg@fiskerinc.com>
2021-03-18 17:22:08 -07:00
John Wu
30155887cb Merge to main (#17)
* Fix sign up form bug

* Add run.sh to run setup and run web app

* Output node version

* Update readme with run.sh

* Fix file upload form to handle ota_update service

* Enable file upload form

Enable error boundary to catch React errors (#7)
Fix warning for link noreferrer
Include authorization header with file upload

* Remove default localhost settings (#8)

* Remove default localhost settings
Replace with deployment settings

* Fix for upload data format

* Fix test data for last commit

* Fix json link format and remove localhost default settings (#10)

* Remove default localhost settings
Replace with deployment settings

* Fix for upload data format

* Fix test data for last commit

* Fix link data format

* Fix link json again (#12)

Use id token instead of access token

* nginx things

* Web Worker Sign Out and Use Go API (#13)

* Calculate checksum and send with file upload

* Limit file upload and display rejected file error

* Add sign in timeout

* Check auth token structure before setting
Clean up

* Use web worker timer to sign out
Remove checksum
Point to Go ota update

* Remove checksum dependency

* Use compute auth service and fix static code analyzer warnings (#15)

* Clean up formatting

* Use new compute_auth service
Implment SSO
Implement token refresh
Clean up unit tests

* Fix unit tests

* Fix auth test
Fix warnings

* Update default settings for compute_auth

* Change main UI layout and add VINs to add and upload forms (#16)

* Add new upload update package form
Add new add vehicle form
Add new side menu layout
Add new toolbar layout
Update and add unit tests

* Enable add get and add vehicles

* Integration issues with ota_update service

* Update get vehicle JSON format

* Fix related unit test
Add release notes field

* Add StatusContext to display error and status messages

* Handle api error json (#18)

* Handle api error json

* Fix get vehicles error handling
Update .env.template

Co-authored-by: Rafi Greenberg <rgreenberg@fiskerinc.com>
2021-03-17 15:16:08 -07:00
John Wu
bf401e68eb Handle api error json (#18)
* Handle api error json

* Fix get vehicles error handling
Update .env.template
2021-03-17 15:11:41 -07:00
John Wu
2e1f4a7a7c Change main UI layout and add VINs to add and upload forms (#16)
* Add new upload update package form
Add new add vehicle form
Add new side menu layout
Add new toolbar layout
Update and add unit tests

* Enable add get and add vehicles

* Integration issues with ota_update service

* Update get vehicle JSON format

* Fix related unit test
Add release notes field

* Add StatusContext to display error and status messages
2021-03-11 12:53:29 -08:00
John Wu
39e779dc1d Use compute auth service and fix static code analyzer warnings (#15)
* Clean up formatting

* Use new compute_auth service
Implment SSO
Implement token refresh
Clean up unit tests

* Fix unit tests

* Fix auth test
Fix warnings

* Update default settings for compute_auth
2021-03-04 14:30:56 -08:00
John Wu
e1f0006d5e Web Worker Sign Out and Use Go API (#13)
* Calculate checksum and send with file upload

* Limit file upload and display rejected file error

* Add sign in timeout

* Check auth token structure before setting
Clean up

* Use web worker timer to sign out
Remove checksum
Point to Go ota update

* Remove checksum dependency
2021-02-08 15:23:36 -08:00
John Wu
98bcab5b81 Fix link json again (#12)
Use id token instead of access token
2021-02-03 08:35:06 -08:00
John Wu
eccae3f26d Remove default localhost settings (#8)
* Remove default localhost settings
Replace with deployment settings

* Fix for upload data format

* Fix test data for last commit
2021-01-26 17:35:39 -08:00
John Wu
fcde299197 Enable file upload form
Enable error boundary to catch React errors (#7)
Fix warning for link noreferrer
Include authorization header with file upload
2021-01-20 13:36:40 -08:00
jwu-fisker
ec4dd7d35d Fix file upload form to handle ota_update service 2021-01-15 11:11:51 -08:00
jwu-fisker
1a7ad4c2a2 Fix sign up form bug 2021-01-08 15:06:19 -08:00
jwu-fisker
c51199111f Rename contexts to Contexts 2021-01-08 09:38:43 -08:00