Skip to content

feat(fullstack): v1.2.1 geo-zoning, per-zone seismograph and GNSS readiness - #367

Merged
GiZano merged 7 commits into
mainfrom
feat/v1-2-1
Aug 14, 2026
Merged

feat(fullstack): v1.2.1 geo-zoning, per-zone seismograph and GNSS readiness#367
GiZano merged 7 commits into
mainfrom
feat/v1-2-1

fix(backend): resolve Bandit B110 and SonarCloud security issues

a1c4e3d
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 14, 2026 in 30s

Annotations

Check warning on line 39 in firmware/src/GnssModule.h

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a name to this namespace.

See more on https://sonarcloud.io/project/issues?id=GiZano_QuakeGuard&issues=AaAB93yxE2CEp0L93XwS&open=AaAB93yxE2CEp0L93XwS&pullRequest=367

Check warning on line 148 in mobile/app/(tabs)/index.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=GiZano_QuakeGuard&issues=AaAB93x5E2CEp0L93XwK&open=AaAB93x5E2CEp0L93XwK&pullRequest=367

Check failure on line 25 in backend/src/timescale.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=GiZano_QuakeGuard&issues=AaAB93w8E2CEp0L93XwI&open=AaAB93w8E2CEp0L93XwI&pullRequest=367

Check failure on line 500 in backend/src/main.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Zone not found" 3 times.

See more on https://sonarcloud.io/project/issues?id=GiZano_QuakeGuard&issues=AaAB93wfE2CEp0L93XwG&open=AaAB93wfE2CEp0L93XwG&pullRequest=367

Check warning on line 189 in mobile/app/(tabs)/index.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=GiZano_QuakeGuard&issues=AaAB93x5E2CEp0L93XwN&open=AaAB93x5E2CEp0L93XwN&pullRequest=367

Check failure on line 79 in backend/src/geo.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=GiZano_QuakeGuard&issues=AaAB93wEE2CEp0L93XwF&open=AaAB93wEE2CEp0L93XwF&pullRequest=367

Check warning on line 79 in mobile/app/(tabs)/map.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=GiZano_QuakeGuard&issues=AaAB93yTE2CEp0L93XwQ&open=AaAB93yTE2CEp0L93XwQ&pullRequest=367

Check warning on line 133 in backend/scripts/simulate_zone.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested conditional expression into an independent statement.

See more on https://sonarcloud.io/project/issues?id=GiZano_QuakeGuard&issues=AaAB93rRE2CEp0L93XwE&open=AaAB93rRE2CEp0L93XwE&pullRequest=367

Check warning on line 311 in mobile/app/(tabs)/index.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move this array "sort" operation to a separate statement or replace it with "toSorted".

See more on https://sonarcloud.io/project/issues?id=GiZano_QuakeGuard&issues=AaAB93x5E2CEp0L93XwO&open=AaAB93x5E2CEp0L93XwO&pullRequest=367

Check failure on line 177 in backend/src/worker.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 31 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=GiZano_QuakeGuard&issues=AaAB93wyE2CEp0L93XwH&open=AaAB93wyE2CEp0L93XwH&pullRequest=367

Check warning on line 183 in mobile/app/(tabs)/index.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.at(…)` over `[….length - index]`.

See more on https://sonarcloud.io/project/issues?id=GiZano_QuakeGuard&issues=AaAB93x5E2CEp0L93XwL&open=AaAB93x5E2CEp0L93XwL&pullRequest=367

Check warning on line 410 in mobile/app/(tabs)/index.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=GiZano_QuakeGuard&issues=AaAB93x5E2CEp0L93XwP&open=AaAB93x5E2CEp0L93XwP&pullRequest=367

Check warning on line 189 in mobile/app/(tabs)/index.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=GiZano_QuakeGuard&issues=AaAB93x5E2CEp0L93XwM&open=AaAB93x5E2CEp0L93XwM&pullRequest=367