Commit Graph

301 Commits

Author SHA1 Message Date
Rafi Greenberg
b4d06cf52f CEC-1316 azure migration (#140)
* test portal azure

* :doh:

* runner

* WIP

* values

* letsencrypt + docker cache

* stg/prd

* portal things

* cleanup

* split build/deploy + temp stage deploy

* :doh:

* try this

* and prod

* this works for now, can improve later

* no need to specify azure anymore

Co-authored-by: Drew Taylor <69828061+drew-fisker@users.noreply.github.com>
2022-04-18 17:54:14 -04:00
Drew Taylor
491de89269 CEC-1387 superset integration and removal of grafana (#138)
* replace grafana with superset

* updating snapshots
2022-04-18 09:02:17 -07:00
Drew Taylor
11c85e57d6 CEC-1256/CEC-1330 fixing filters length function (#137)
* fixing filters length function

* adding filters testing

* code smell

* code smells

* bug
2022-04-14 19:03:22 -07:00
Drew Taylor
07f77cabdb CEC-1256/CEC-1330 data logger for vehicles/fleets and details tabs for vehicles/fleets (#136)
* forms for fleet can filters

* unit tests for fleet filters

* removing warnings

* updating regex

* added fleet details page

* fleet pages

* smoothed out bugs

* fleets done

* working update, delete vehicles

* finished mocks, still need snapshots and context tests

* contexts done

* snapshot tests

* updating code smells

* smells
2022-04-14 18:11:22 -07:00
John Wu
afa3c1e529 CEC-1320 Update for memory regions (#135)
* CEC-1320 Update for memory regions

* Clean up
2022-04-11 15:43:10 -07:00
John Wu
a9fc0e00c7 CEC-1317 npm update (#134) 2022-04-06 13:30:24 -07:00
John Wu
350134e187 CEC-532 Display manifest file properties (#133)
* CEC-532 Display update file properties

* npm audit fix
2022-04-06 12:34:39 -07:00
Drew Taylor
6eb32d1522 CEC-1182 fleet filter forms (#131)
* forms for fleet can filters

* unit tests for fleet filters

* removing warnings

* updating regex
2022-03-29 10:19:14 -07:00
Drew Taylor
4af3c70ec7 CEC-1183/CEC-1201 fleet vehicles forms (#130)
* working fleet vehicles forms

* snapshots and api tests
2022-03-22 14:15:49 -07:00
John Wu
4daf171b1e CEC-1216 Remove unused components (#129)
* CEC-1216 Remove unused components

* Remove import
2022-03-21 17:21:59 -07:00
venkats09
2e113830a5 CEC-1167 implementing ths coverage thresold (#128) 2022-03-15 13:03:07 -07:00
venkats09
220716051b CEC-1167 ota admin portal (#127)
* Add test coverage script

* Remove unnecessary check

* CEC-1167 unit test and code coverage

* included sonar job

* updated the workflow

* updated sonar properties

* updated sonar properties

* updated sonar properties

* updated sonar properties

* updated sonar properties

* updated sonar properties

* updated sonar properties

* updated sonar properties

Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
2022-03-15 09:36:01 -07:00
John Wu
f952ccdfb3 Update codeowners (#125) 2022-03-11 15:50:42 -08:00
Drew Taylor
34d670c101 CEC-1058 fleet forms (#123)
* working fleets page

* unit tests

* snapshots

* updating messages and snapshots

* updating extraneous snaps
2022-03-11 15:48:30 -08:00
John Wu
a9c154c472 CEC-1160 Last dependabot fix (#122) 2022-03-10 12:48:36 -08:00
John Wu
a720341f30 CEC-1160 Fix package warnings (#121) 2022-03-10 12:12:23 -08:00
John Wu
2d7f51f3f4 CEC-1050 Self download indicator (#119) 2022-03-09 17:12:09 -08:00
Drew Taylor
b7223b8bc6 CEC-464 can filters forms (#118)
* can filters forms and lists

* unit tests

* updating warnings and tests

* merge develop

* fixed snapshots

* update jest mocks

* updating tests
2022-03-03 11:33:07 -08:00
John Wu
3b9252097a CEC-1050 New manifest format (#117)
* CEC-1050 Manifest changes

* Fix delete bug

* Add approve update button

* Code smell

* Remove update approval
2022-03-01 16:56:25 -08:00
John Wu
97b215ec35 Deploy to production
* Fix template function (#105)

* CEC-638 Add EK test ECU (#106)

* CEC-638 Add EK ECU

* Update test

* CEC-638 Should be EKS (#107)

* Should be EKS

* Update snapshot

* CEC-624 Display update status info and ECU (#108)

* Diplay ECU name in update status (#110)

Optimize car update status progress control
Remove car update status page test
Replace with individual component tests

* Handle case ECU is not in message (#111)

* Refresh button label (#112)

* Update ECU refresh button label

* Update snapshot

* remove

* CEC-660 Fix release notes field (#113)

* CEC-775 Manifest details component (#114)

* CEC-775 Manifest details component

* Code smells

* Fix build warning
2022-01-27 17:19:44 -08:00
John Wu
a858b842c6 CEC-775 Manifest details component (#114)
* CEC-775 Manifest details component

* Code smells

* Fix build warning
2022-01-17 08:59:55 -08:00
John Wu
cb5035cf96 CEC-660 Fix release notes field (#113) 2021-11-29 17:25:56 -08:00
John Wu
1410878170 Refresh button label (#112)
* Update ECU refresh button label

* Update snapshot

* remove
2021-11-19 10:02:05 -08:00
John Wu
410962fe97 Handle case ECU is not in message (#111) 2021-11-15 15:40:35 -08:00
John Wu
537e8ed30b Diplay ECU name in update status (#110)
Optimize car update status progress control
Remove car update status page test
Replace with individual component tests
2021-11-15 09:12:03 -08:00
John Wu
4318ce9048 CEC-624 Display update status info and ECU (#108) 2021-11-11 17:10:52 -08:00
John Wu
0f4047e966 CEC-638 Should be EKS (#107)
* Should be EKS

* Update snapshot
2021-11-11 10:12:54 -08:00
John Wu
3d15395d90 CEC-638 Add EK test ECU (#106)
* CEC-638 Add EK ECU

* Update test
2021-11-10 17:19:01 -08:00
John Wu
a81d4960c1 Fix template function (#105) 2021-11-09 16:08:04 -08:00
Rafi Greenberg
6a20f8f003 environment variable ENV->ENVIRONMENT 2021-11-09 13:37:52 -08:00
Rafi Greenberg
75deb9b0cd DEVOPS-86 match cloud deploy (#104) 2021-11-09 13:27:49 -08:00
John Wu
251eb63ec1 CEC-607 Parameterize Grafana (#103)
* CEC-607 Parameterize Grafana

* Update urls
2021-11-09 11:23:10 -08:00
Rafi Greenberg
a5902f06b3 Docker-caching-and-better-slack-notifications (#102)
* test docker caching and slack

* try this

* this _might_ do it

* cleanup

* just realized this is running on self-hosted, so github cache doesn't make sense

* fix logging noise

* cache npm modules during test

* fiskerBot and icon

* quotes (just in case)
2021-11-05 09:09:04 -07:00
John Wu
16c3e2902b Setup environment vars for staging and production (#99)
* CEC-371 Car ECU display (#79)

* Merge Development (#53)

* Use responsive iframe control for charts (#49)

* Use responsive iframe control to charts

* Move external Grafana link to Dashboard page

* Remove unused embedded style class

* Add button label

* added delete button to deploy packages

* Fix unit test warning
Remove unused route from test

* Fix styling of button

* minor fixes per pr review

Co-authored-by: jcw-fisker <jwatson@fiskerinc.com>
Co-authored-by: John Cotten Watson <83605808+jcw-fisker@users.noreply.github.com>

* Development Merge (#57)

* CEC-287 Car connection status (#59) (#60)

* Car connection status

* Formatting

* Merge Development (#64)

* Add connection status to vehicles page

* ConnectedIcon control

* Handle Style

* Development (#67)

* preliminary map for vehicles

* weird zoom bug

* passing react tests

* fixing warnings and updating snapshots

* update node environment to 14

* addressing comments by changing variable types and adding styles to home page title

* adding CODEOWNERS file

* fixing token error

* CEC-371 Update car ECUs display (#78)

* Clean up className styles
Update car status page to show update and ECUs

* Add update ecu version button
Show all ECUs on car status page
Only show car ecus for search

Co-authored-by: jcw-fisker <jwatson@fiskerinc.com>
Co-authored-by: John Cotten Watson <83605808+jcw-fisker@users.noreply.github.com>
Co-authored-by: Drew Taylor <69828061+drew-fisker@users.noreply.github.com>

* CEC-394 Car update log (#81)

* CEC-394 Car update status control

* Remove Datadog RUM
Remove package update components
Move control components into Controls folder
Add Car update status page

* Display update status log
Clean up unused update package code

* Remove console.logs

* no vars

* adding timestamp to vehicle popup

* modifying vehicle data query

* removing extraneous code

* removing console log

* Clean up SonarCloud warnings (#83)

* Clean up SonarCloud warnings

* Bogus security warning

* Fix another warning

* Fix unauthorized locations request

* Fix update progress control

* CEC-563 New manifest format (#88)

* Add ManifestCreateContext
Update create manifest page

* Finish UI changes and API integration

* Fixes

* Fix test

* Remove manifest ECU file version and type

* Fixes

* Add manifest ecu file type control

* Fix Sonar warnings

* Fix test

* Update codeowners

* Formatting

* CEC-553 Change file type to string (#90)

* CEC-553 File type uses string enum

* Fix test timeout

* Fix

* Clean up (#95)

* Clean up
Mock missing methods

* Smell

* Setup environment vars

* fix

* Load env file
Remove env var default values

* Dockerfile requires environment value
Do not need dev Dockerfile

* Github Actions pipeline + git flow (#100)

* test workflow

* oops

* latest slack action for custom message

* this works

Co-authored-by: jcw-fisker <jwatson@fiskerinc.com>
Co-authored-by: John Cotten Watson <83605808+jcw-fisker@users.noreply.github.com>
Co-authored-by: Drew Taylor <69828061+drew-fisker@users.noreply.github.com>
Co-authored-by: Drew Taylor <dtaylor@fiskerinc.com>
Co-authored-by: Rafi Greenberg <72412693+rafi-fisker@users.noreply.github.com>
2021-11-03 17:50:17 -07:00
John Wu
ec3a31a15a Development (#101)
* CEC-371 Car ECU display (#79)

* Merge Development (#53)

* Use responsive iframe control for charts (#49)

* Use responsive iframe control to charts

* Move external Grafana link to Dashboard page

* Remove unused embedded style class

* Add button label

* added delete button to deploy packages

* Fix unit test warning
Remove unused route from test

* Fix styling of button

* minor fixes per pr review

Co-authored-by: jcw-fisker <jwatson@fiskerinc.com>
Co-authored-by: John Cotten Watson <83605808+jcw-fisker@users.noreply.github.com>

* Development Merge (#57)

* CEC-287 Car connection status (#59) (#60)

* Car connection status

* Formatting

* Merge Development (#64)

* Add connection status to vehicles page

* ConnectedIcon control

* Handle Style

* Development (#67)

* preliminary map for vehicles

* weird zoom bug

* passing react tests

* fixing warnings and updating snapshots

* update node environment to 14

* addressing comments by changing variable types and adding styles to home page title

* adding CODEOWNERS file

* fixing token error

* CEC-371 Update car ECUs display (#78)

* Clean up className styles
Update car status page to show update and ECUs

* Add update ecu version button
Show all ECUs on car status page
Only show car ecus for search

Co-authored-by: jcw-fisker <jwatson@fiskerinc.com>
Co-authored-by: John Cotten Watson <83605808+jcw-fisker@users.noreply.github.com>
Co-authored-by: Drew Taylor <69828061+drew-fisker@users.noreply.github.com>

* CEC-394 Car update log (#81)

* CEC-394 Car update status control

* Remove Datadog RUM
Remove package update components
Move control components into Controls folder
Add Car update status page

* Display update status log
Clean up unused update package code

* Remove console.logs

* no vars

* adding timestamp to vehicle popup

* modifying vehicle data query

* removing extraneous code

* removing console log

* Clean up SonarCloud warnings (#83)

* Clean up SonarCloud warnings

* Bogus security warning

* Fix another warning

* Fix unauthorized locations request

* Fix update progress control

* CEC-563 New manifest format (#88)

* Add ManifestCreateContext
Update create manifest page

* Finish UI changes and API integration

* Fixes

* Fix test

* Remove manifest ECU file version and type

* Fixes

* Add manifest ecu file type control

* Fix Sonar warnings

* Fix test

* Update codeowners

* Formatting

* CEC-553 Change file type to string (#90)

* CEC-553 File type uses string enum

* Fix test timeout

* Fix

* Clean up (#95)

* Clean up
Mock missing methods

* Smell

Co-authored-by: jcw-fisker <jwatson@fiskerinc.com>
Co-authored-by: John Cotten Watson <83605808+jcw-fisker@users.noreply.github.com>
Co-authored-by: Drew Taylor <69828061+drew-fisker@users.noreply.github.com>
Co-authored-by: Drew Taylor <dtaylor@fiskerinc.com>
2021-11-03 17:42:29 -07:00
John Wu
86eeaab869 Development (#94)
* CEC-371 Car ECU display (#79)

* Merge Development (#53)

* Use responsive iframe control for charts (#49)

* Use responsive iframe control to charts

* Move external Grafana link to Dashboard page

* Remove unused embedded style class

* Add button label

* added delete button to deploy packages

* Fix unit test warning
Remove unused route from test

* Fix styling of button

* minor fixes per pr review

Co-authored-by: jcw-fisker <jwatson@fiskerinc.com>
Co-authored-by: John Cotten Watson <83605808+jcw-fisker@users.noreply.github.com>

* Development Merge (#57)

* CEC-287 Car connection status (#59) (#60)

* Car connection status

* Formatting

* Merge Development (#64)

* Add connection status to vehicles page

* ConnectedIcon control

* Handle Style

* Development (#67)

* preliminary map for vehicles

* weird zoom bug

* passing react tests

* fixing warnings and updating snapshots

* update node environment to 14

* addressing comments by changing variable types and adding styles to home page title

* adding CODEOWNERS file

* fixing token error

* CEC-371 Update car ECUs display (#78)

* Clean up className styles
Update car status page to show update and ECUs

* Add update ecu version button
Show all ECUs on car status page
Only show car ecus for search

Co-authored-by: jcw-fisker <jwatson@fiskerinc.com>
Co-authored-by: John Cotten Watson <83605808+jcw-fisker@users.noreply.github.com>
Co-authored-by: Drew Taylor <69828061+drew-fisker@users.noreply.github.com>

* CEC-394 Car update log (#81)

* CEC-394 Car update status control

* Remove Datadog RUM
Remove package update components
Move control components into Controls folder
Add Car update status page

* Display update status log
Clean up unused update package code

* Remove console.logs

* no vars

* adding timestamp to vehicle popup

* modifying vehicle data query

* removing extraneous code

* removing console log

* Clean up SonarCloud warnings (#83)

* Clean up SonarCloud warnings

* Bogus security warning

* Fix another warning

* Fix unauthorized locations request

* Fix update progress control

* CEC-563 New manifest format (#88)

* Add ManifestCreateContext
Update create manifest page

* Finish UI changes and API integration

* Fixes

* Fix test

* Remove manifest ECU file version and type

* Fixes

* Add manifest ecu file type control

* Fix Sonar warnings

* Fix test

* Update codeowners

* Formatting

* CEC-553 Change file type to string (#90)

* CEC-553 File type uses string enum

* Fix test timeout

* Fix

* Merge development

* Increase timeout

* Clean up (#95)

* Clean up
Mock missing methods

* Smell

Co-authored-by: jcw-fisker <jwatson@fiskerinc.com>
Co-authored-by: John Cotten Watson <83605808+jcw-fisker@users.noreply.github.com>
Co-authored-by: Drew Taylor <69828061+drew-fisker@users.noreply.github.com>
Co-authored-by: Drew Taylor <dtaylor@fiskerinc.com>
2021-10-14 12:23:16 -07:00
John Wu
ba7611d6aa Development (#87)
* CEC-371 Car ECU display (#79)

* Merge Development (#53)

* Use responsive iframe control for charts (#49)

* Use responsive iframe control to charts

* Move external Grafana link to Dashboard page

* Remove unused embedded style class

* Add button label

* added delete button to deploy packages

* Fix unit test warning
Remove unused route from test

* Fix styling of button

* minor fixes per pr review

Co-authored-by: jcw-fisker <jwatson@fiskerinc.com>
Co-authored-by: John Cotten Watson <83605808+jcw-fisker@users.noreply.github.com>

* Development Merge (#57)

* CEC-287 Car connection status (#59) (#60)

* Car connection status

* Formatting

* Merge Development (#64)

* Add connection status to vehicles page

* ConnectedIcon control

* Handle Style

* Development (#67)

* preliminary map for vehicles

* weird zoom bug

* passing react tests

* fixing warnings and updating snapshots

* update node environment to 14

* addressing comments by changing variable types and adding styles to home page title

* adding CODEOWNERS file

* fixing token error

* CEC-371 Update car ECUs display (#78)

* Clean up className styles
Update car status page to show update and ECUs

* Add update ecu version button
Show all ECUs on car status page
Only show car ecus for search

Co-authored-by: jcw-fisker <jwatson@fiskerinc.com>
Co-authored-by: John Cotten Watson <83605808+jcw-fisker@users.noreply.github.com>
Co-authored-by: Drew Taylor <69828061+drew-fisker@users.noreply.github.com>

* CEC-394 Car update log (#81)

* CEC-394 Car update status control

* Remove Datadog RUM
Remove package update components
Move control components into Controls folder
Add Car update status page

* Display update status log
Clean up unused update package code

* Remove console.logs

* no vars

* adding timestamp to vehicle popup

* modifying vehicle data query

* removing extraneous code

* removing console log

* Clean up SonarCloud warnings (#83)

* Clean up SonarCloud warnings

* Bogus security warning

* Fix another warning

* Fix unauthorized locations request

* Fix update progress control

Co-authored-by: jcw-fisker <jwatson@fiskerinc.com>
Co-authored-by: John Cotten Watson <83605808+jcw-fisker@users.noreply.github.com>
Co-authored-by: Drew Taylor <69828061+drew-fisker@users.noreply.github.com>
Co-authored-by: Drew Taylor <dtaylor@fiskerinc.com>
2021-10-11 17:19:25 -07:00
John Wu
680280dbf2 Merge development (#86) 2021-09-13 09:15:20 -07:00
John Wu
74eb2707a3 Merge CEC-394 Car update log (#82) 2021-08-26 15:03:45 -07:00
John Wu
d1815e2ff9 CEC-371 Update car ECUs display (#78)
* Clean up className styles
Update car status page to show update and ECUs

* Add update ecu version button
Show all ECUs on car status page
Only show car ecus for search
2021-08-18 09:14:13 -07:00
jwu-fisker
3e66959521 Merge branch 'development' into main 2021-08-13 09:33:19 -07:00
John Wu
f273e25cf8 CEC-381 Fix install progress (#77)
* Fix install progress

* Remove unused components and inline styles

* Update test

* errors are not the final update state

* Remove max width for main container

* Progress starts at 0
2021-08-12 17:51:40 -07:00
John Wu
2b95bab38b CEC-381 Install messages and update styling (#76)
* Styling

* Handle install messages

* Update progress

* Display download and install status
2021-08-10 18:11:14 -07:00
Drew Taylor
7cb9d39bbd Merge pull request #75 from Fisker-Inc/cleanup
removed greeting and fixed grafana mock
2021-08-10 16:18:47 -07:00
Drew Taylor
378e58a310 removed greeting and fixed grafana mock 2021-08-10 15:52:10 -07:00
jwu-fisker
3e256dc407 Merge branch 'development' into main 2021-08-10 09:28:47 -07:00
John Wu
e50eb886e6 Reorganize app pages (#73)
* Update layout and menus

* Add breadcrumbs
Add menu icons
Add ECU drop down

* Implement submenu
Update download progress

* revamped dashboard section - failing app.test.js

* Clean up

Co-authored-by: Drew Taylor <dtaylor@fiskerinc.com>
2021-08-10 08:11:06 -07:00
John Wu
0545b54daf CEC-377 Create multi-file updates (#71)
* Replace Deploy Package with Deploy Manifest page
Stub new controls for package files

* Add Release notes and ECU FIles to Create Manifest

* Add Release notes and ECU FIles to Create Manifest

* Oops

* Replace multi release notes with single url

* Implement multiple file uploads and progress

* Update snapshots

* Unused import

* Move file to end of form
Update progress layout
2021-08-09 08:54:48 -07:00
John Wu
5d82356991 CEC-377 Fix carstatus page (#72) 2021-08-06 09:46:42 -07:00
Drew Taylor
0f377d5467 Development (#67)
* preliminary map for vehicles

* weird zoom bug

* passing react tests

* fixing warnings and updating snapshots

* update node environment to 14

* addressing comments by changing variable types and adding styles to home page title

* adding CODEOWNERS file

* fixing token error
2021-08-03 16:34:37 -07:00