Conversation
- Using "vue-i18n" as basis. - Introducing a language selector in the top right of the UI. - Introducing a locale identifier in the URL, e.g. http://localhost:8080/#/en/connect - Modifying "update-simulator-data.js" to generate labels and extract English descriptions to English locale files. - Adding two demo languages German "de" and Chinese (simplified) "zh" Signed-off-by: Patrick Atoon <[email protected]>
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
…ue." Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
592f403 to
c499cb5
Compare
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
…lly fixing error "Unsafe call of an `error` typed value". Signed-off-by: Patrick Atoon <[email protected]>
…d value." linter error by using safe patterns. Signed-off-by: Patrick Atoon <[email protected]>
|
I'm struggling to conquer the Codacy Static Code Analysis results. Part of the problem is that it seems to be using a different set of ESlint settings from what is available in the repo. When I run Also, Codacy's output provides no detail on what exactly in the source is violating the "Unsafe call of an error type typed value" rule. I've tried to cast and narrow the types involved, but all to no avail. |
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
… path information." Signed-off-by: Patrick Atoon <[email protected]>
…checks Signed-off-by: Patrick Atoon <[email protected]>
…t of an error typed value." error Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
This reverts commit 549e176. Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
…type typed value." Signed-off-by: Patrick Atoon <[email protected]>
…on line 53 Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
…rror Signed-off-by: Patrick Atoon <[email protected]>
… to a parameter of type `{}`."
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
…iteral variable in a util.format / console.log function." Signed-off-by: Patrick Atoon <[email protected]>
…signed to a parameter of type `{}`."
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
…n Sink" error persists. Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
…rol data in `Object.assign` can cause web response to include data that it should not have or can lead to a mass assignment vulnerability." Signed-off-by: Patrick Atoon <[email protected]>
|
I've brought the number of errors in the Codacy Static Code Analysis down to 10. All of which are in parts of the code that I did not touch. It feels like the code in this repo got security checks bolted on at some point in time, but it was never brought up to scratch accordingly. My pull request is the first non-bot pull request that is actually being validated, and therefore it gets all the violations that were embedded in the code already. My suggestions:
I'll try to bring down the number of errors to 0 as best I can. That being said, these "Generic Object Injection Sink" and "Unsafe call of an |
… the rule where safe. Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
…h to help Codacy's linting. Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
…ped value." Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
…ess .interface on an `error` typed value." error Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Signed-off-by: Patrick Atoon <[email protected]>
Implements language support as described in #336.