Commit Graph

47 Commits

Author SHA1 Message Date
Milamary
e1f4da2232 CEC-4854 Trunk-based deploy pipeline (#412)
* CEC-4855: fix manifest deselect (#410)

* fix manifest deselect

* adjusted blackduck pipeline to run the latest detect version

* added blackduck_rapid pipeline to run synopsys detect rapid scans

* adjusted deploy pipeline to trun-based model, adjusted test pipeline to use main branch

* test image builds

* clean up

* CEC-4563: add cancel and include results in promise (#411)

* splited build and deploy order according to each environment, test builds

* clean up

* clean up

* CEC-4635: prevent false 0 calculation (#413)

* prevent false 0 calculation

* refactor switch statement

---------

Co-authored-by: Tristan Timblin <ttimblin@fiskerinc.com>
2023-08-14 14:09:15 -05:00
Paul Adamsen
ddefc90696 CEC-4693 - Generate EU certificates for aftersales (#389)
* CEC-4543 - Add location to digital twin map

* remember previous deployment tab

* different name

* CEC-4693 - Generate EU certificates for aftersales
2023-07-10 17:45:23 -04:00
Eduard Voronkin
02552f261d CEC-4654 limit access to 'Remote Diagnostic Tab' (#380)
* CEC-4654 limit access to 'Remote Diagnostic Tab'

Only members of 'Cognito Car Reset' have access.

* snapshots

* Update src/utils/roles.js
2023-06-30 15:08:59 -07:00
Paul Adamsen
ab42480e31 CEC-4543 - Add Aftersales filter to Deployments (#378)
* CEC-4543 - Add location to digital twin map

* CEC-4565 - Add Aftersales filter to Deployments

* Comments

---------

Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
2023-06-30 14:40:56 -04:00
Tristan Timblin
df760fa73f CEC-4576: update permission for updateDeploy action (#370)
* CEC-4576: use new UpdateDeploy permission

* update manifest deploy permission
2023-06-27 09:07:43 -04:00
Tristan Timblin
60c1f414a6 CEC-4523: add bulk archive to /packages (#372)
* CEC-4523: add bulk archive to /packages
2023-06-26 12:35:17 -04:00
Tristan Timblin
de1a5dcd2d CEC-4499: add bulk update configs support (#357)
* add taskRunner util

* add bulk update config flow
2023-06-14 13:53:32 -04:00
John Wu
8752445aeb CEC-4250, CEC-4251 Fix timed out test (#328) 2023-05-02 17:13:26 -07:00
Paul Adamsen
55ae0f20b9 CEC-3933 - use VehiclePaths for location drawing (#306)
* CEC-3933 - Parse VehiclePaths location data

* changes

* fixes

* stuff

* sort of works

* fix

* progress

* refactor

* fix vehicle paths query

* digital twin shows map

* new dashboard

* wider digital twin map

* snapshot

* latest; using polylines

* lag lng changes

* stuff

* path showing up

* stuff

* things

* revert home page

* whitespace

* validation

* more stuff

* fix button issue

* tests pass without mocking data

* fix code smells

* remove map from digital twin, add to tab

* fix bug

* marker click event working

* individual colors

* possible fix

* fix warning

* merge and remove unused code

* small fixes

* re add dashboard

* snaps
2023-04-28 16:56:41 -04:00
das31
e0315ba76e CEC-4126-update-manifest-migrate-button (#320)
* CEC-4126-update-manifest-migrate-button

* remove comment

---------

Co-authored-by: John Wu <76966357+jwu-fisker@users.noreply.github.com>
2023-04-25 14:36:25 -07:00
Paul Adamsen
2620109acb CEC-3300 - Env var the group permissions ids (#298)
* CEC-3300 - Env var the group permissions ids

* manufacture role

* latest updates
2023-04-11 10:39:02 -04:00
John Wu
cfb1b7d74e CEC-4044 update manifest form (#312)
* CEC-4044 update manifest form

* Show env input if there are options
2023-04-10 10:59:01 -07:00
John Wu
7dd4a1c4c0 CEC-3980 Remove ICC certificate type (#304) 2023-03-28 09:52:11 -07:00
Paul Adamsen
897d1e9869 CEC-3360 - Magna portal viewable by Fisker-QA (#299)
* CEC-3360 - Magna portal viewable by Fisker-QA

* unit test

* more roles for qa

* use role manufacture

* fix test

* fix env vars

* further changes

* new token

* testing improvements, etc

* Remove RebuildPermissions

* Manga dashboards

* Fix snapshot

---------

Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
2023-03-23 18:10:02 -04:00
John Wu
19bc054343 CEC-3912 VIN input (#293)
* CEC-3912 VIN input

* Revert
2023-03-16 15:13:47 -07:00
das31
324e3d2b91 CEC-3514 create can self serve page (#288)
* first push

* fix snapshot

* remove unused vars

* update snap

* remove some console logs

* Remove snapshot

* Update

* CEC-3770 Update cert expire text (#282)

* CEC-3577: fetch T.Rex log from the cloud (#283)

* CEC-3577: fetch T.Rex log from the cloud

* tabs?

* CSS

* smells

* fix smells and warnings

* suggestions

* CEC-3577 Style tweak (#284)

* CEC-3577: trex logs (#285)

* CEC-3577: trex logs

add filtering
add progress bar for log fetching
always fetch all the logs
request canceling

* don't hide progress

* CEC-3751, CEC-3478 misc window status and invalid location value (#287)

* CEC-3751 misc window status
CEC-3478 invalid location value

* Fix snapshot
Update browser list

* merge develop update snap

* resolve comments

* add date and time picker seperately, use checkbox for dropdown

* added verification for date and fixed time picker

* fix snap

* resolve comments

* removed small bug

* tweak layout

* added snap shot test for can signals

* small change

* Fix test

* fix sms snap

* change function name

* mock can signals api

* resolved comments

* fix ci

* Clean up

---------

Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
Co-authored-by: John Wu <76966357+jwu-fisker@users.noreply.github.com>
Co-authored-by: Eduard Voronkin <116690094+eduardvoronkin@users.noreply.github.com>
2023-03-10 00:13:27 -05:00
John Wu
7b6a2bfa11 CEC-3751, CEC-3478 misc window status and invalid location value (#287)
* CEC-3751 misc window status
CEC-3478 invalid location value

* Fix snapshot
Update browser list
2023-03-02 12:26:41 -08:00
John Wu
9cf84fc426 CEC-3672 Update manifest version on deploy (#277)
* CEC-3672 Add versions to CarUpdatesContext
Stub out getSoftwareVersions and updateManifestVersion

* CEC-3672 update version on deploy

* Validate version before updating
2023-02-09 11:51:23 -08:00
das31
f863f37a9a CEC-3595-invalid-locations (#276)
* CEC-3595-invalid-locations

* fix ci

* added validate function

* resolve comments:
2023-02-03 20:11:00 -05:00
John Wu
2ec340efc5 CEC-3301, CEC-3317 Magna security dll and remote commands (#249)
* CEC-3301, CEC-3317 Magna security dll and remote commands

* Fix test
2022-12-12 10:59:30 -08:00
arpanetus
1ecc8943a3 CEC-3086 Allow creating filters without interval (#237) 2022-11-22 04:22:36 +06:00
John Wu
aa585bebc3 CEC-3119 Magna Create Certs (#236)
* CEC-3119 FiskerQA
Give Magna access to create certs

* Comment
2022-11-15 12:19:43 -08:00
John Wu
b7e13382c4 CEC-3119 Magna access (#235)
* CEC-3119 Magna access

* Clean up

* Update test provider
2022-11-14 13:30:57 -08:00
jwu-fisker
33bfc4fb13 Revert "CEC-2977 Filter portal access based on auth provider (#231)"
This reverts commit f2f046968e.
2022-11-08 16:49:10 -08:00
arpanetus
f2f046968e CEC-2977 Filter portal access based on auth provider (#231)
* fix/fleet-vehicles-search

* fix/fleet-name-update

* Update hasRole logic, create RoleWrap component

* Add MAGNA and MAGNAGROUP env vars

* Add Permissions

Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
2022-11-08 16:46:33 -08:00
John Wu
aaf47f4cc7 CEC-2920 Aftersales certificates (#225)
* CEC-2920 aftersales certificates

* smells

* smells
2022-10-25 11:00:50 -07:00
arpanetus
131c97fa7b CEC-2587 Add edge_mask field (#217) 2022-10-14 19:35:58 +06:00
John Wu
153c6bdcf7 CEC-2385 Only show software updates (#193)
* CEC-2385 Only show software updates

* Update browser list

* update threshold

* Clean up
2022-09-02 09:56:52 -07:00
John Wu
738a19c229 CEC-2056 safari map (#186)
* CEC-2056 Fix Safari map popup

* Snapshot serializer for Private styles

* Combine serializers
2022-08-09 13:26:37 -07:00
John Wu
93926d3c01 CEC-1230 Datascope opens iframe dashboard (#174)
* CEC-1230 Datascope opens iframe dashboard

* Clean up
2022-08-04 11:59:02 -07:00
John Wu
05d841159c CEC-2075 Remove supplier active directory id (#167)
* CEC-2075 Remove supplier oid

* Clean up
2022-07-18 10:39:07 -07:00
John Wu
86418d093c CEC-1965 Cleanup (#163) 2022-07-01 13:00:26 -07:00
John Wu
fe40c26c56 CEC-1965 Supplier update and approval (#162)
* CEC-1965 Supplier update and approval
Fix calling connectedcars for no VINs
Search sets table page to 0

* PR comments
2022-07-01 12:39:21 -07:00
John Wu
23111f9c3a CEC-1691 Handle 503 errors (#156) 2022-05-18 16:02:13 -07:00
John Wu
56bef0c34d CEC-749 Generate cert UI (#141)
* Add Create Certificate page

* Tests

* Update permission check

* Use Azure
2022-04-18 16:50:51 -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
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
cb5035cf96 CEC-660 Fix release notes field (#113) 2021-11-29 17:25:56 -08: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
74eb2707a3 Merge CEC-394 Car update log (#82) 2021-08-26 15:03:45 -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
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
8bb245a417 CEC-279 Add logger (#62)
* CEC-279 Add logger

* Error log 500 status requests
2021-06-24 10:17:34 -07:00
John Wu
17f81822c0 Add package updates, car updates, and vehicle screens (#25) 2021-03-31 17:42:31 -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
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
jwu-fisker
1ed43fa2a0 Add file upload tests 2021-01-07 16:50:30 -08:00