Skip to content

Develop to master - #1309

Merged
johnnyq merged 17 commits into
masterfrom
develop
Nov 7, 2026
Merged

johnnyq merged 17 commits into
masterfrom
develop

Bug fixes

076f429
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 7, 2026 in 2m 9s

Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ B)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 266 in functions/demo.php

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=itflow-org_itflow&issues=AaG3D8M2OmX1BlAoIIge&open=AaG3D8M2OmX1BlAoIIge&pullRequest=1309

Check failure on line 738 in functions/sms.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=itflow-org_itflow&issues=AaG3D8arOmX1BlAoIIhJ&open=AaG3D8arOmX1BlAoIIhJ&pullRequest=1309

Check warning on line 61 in api/sms/skyetel.php

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=itflow-org_itflow&issues=AaG3D7s3OmX1BlAoIIgK&open=AaG3D7s3OmX1BlAoIIgK&pullRequest=1309

Check failure on line 1492 in functions/sms.php

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=itflow-org_itflow&issues=AaG3D8arOmX1BlAoIIhM&open=AaG3D8arOmX1BlAoIIhM&pullRequest=1309

Check warning on line 798 in functions/managed.php

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=itflow-org_itflow&issues=AaG3D8TpOmX1BlAoIIg3&open=AaG3D8TpOmX1BlAoIIg3&pullRequest=1309

Check failure on line 743 in functions/managed.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=itflow-org_itflow&issues=AaG3D8TpOmX1BlAoIIgr&open=AaG3D8TpOmX1BlAoIIgr&pullRequest=1309

Check warning on line 32 in agent/modals/sms/sms_label.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "autofocus" attribute, as it can reduce usability and accessibility for users.

See more on https://sonarcloud.io/project/issues?id=itflow-org_itflow&issues=AaG3D6mGOmX1BlAoIIf2&open=AaG3D6mGOmX1BlAoIIf2&pullRequest=1309

Check failure on line 622 in functions/sms.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Text Message" 5 times.

See more on https://sonarcloud.io/project/issues?id=itflow-org_itflow&issues=AaG3D8arOmX1BlAoIIhQ&open=AaG3D8arOmX1BlAoIIhQ&pullRequest=1309

Check failure on line 190 in functions/sms.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=itflow-org_itflow&issues=AaG3D8arOmX1BlAoIIhI&open=AaG3D8arOmX1BlAoIIhI&pullRequest=1309

Check failure on line 169 in admin/post/managed_instances.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

SQL Injection via URL query parameter

See more on https://sonarcloud.io/project/issues?id=itflow-org_itflow&issues=AaG3D6IwOmX1BlAoIIfW&open=AaG3D6IwOmX1BlAoIIfW&pullRequest=1309

Check warning on line 100 in admin/text_messages.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add an "id" attribute to this input field and associate it with a label.

See more on https://sonarcloud.io/project/issues?id=itflow-org_itflow&issues=AaG3D6RiOmX1BlAoIIfj&open=AaG3D6RiOmX1BlAoIIfj&pullRequest=1309

Check failure on line 1322 in db.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 4 times.

See more on https://sonarcloud.io/project/issues?id=itflow-org_itflow&issues=AaG3D88zOmX1BlAoIIhe&open=AaG3D88zOmX1BlAoIIhe&pullRequest=1309

Check failure on line 1139 in functions/managed.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "#^https?://#" 3 times.

See more on https://sonarcloud.io/project/issues?id=itflow-org_itflow&issues=AaG3D8TpOmX1BlAoIIgw&open=AaG3D8TpOmX1BlAoIIgw&pullRequest=1309

Check warning on line 1992 in functions/client_export.php

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=itflow-org_itflow&issues=AaG3D8dDOmX1BlAoIIhX&open=AaG3D8dDOmX1BlAoIIhX&pullRequest=1309

Check failure on line 270 in functions/managed.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/^[a-f0-9]{64}$/" 3 times.

See more on https://sonarcloud.io/project/issues?id=itflow-org_itflow&issues=AaG3D8TpOmX1BlAoIIgx&open=AaG3D8TpOmX1BlAoIIgx&pullRequest=1309

Check warning on line 307 in functions/managed.php

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=itflow-org_itflow&issues=AaG3D8TpOmX1BlAoIIg0&open=AaG3D8TpOmX1BlAoIIg0&pullRequest=1309

Check warning on line 368 in admin/managed_instance.php

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=itflow-org_itflow&issues=AaG3D6RlOmX1BlAoIIfq&open=AaG3D6RlOmX1BlAoIIfq&pullRequest=1309

Check failure on line 1190 in functions/sms.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "text-bg-light border" 5 times.

See more on https://sonarcloud.io/project/issues?id=itflow-org_itflow&issues=AaG3D8arOmX1BlAoIIhP&open=AaG3D8arOmX1BlAoIIhP&pullRequest=1309

Check warning on line 228 in js/guest_share.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `.includes()`, rather than `.indexOf()`, when checking for existence.

See more on https://sonarcloud.io/project/issues?id=itflow-org_itflow&issues=AaG3D7PvOmX1BlAoIIgH&open=AaG3D7PvOmX1BlAoIIgH&pullRequest=1309

Check warning on line 57 in admin/modals/sms_provider/sms_numbers.php

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=itflow-org_itflow&issues=AaG3D6GPOmX1BlAoIIfA&open=AaG3D6GPOmX1BlAoIIfA&pullRequest=1309

Check warning on line 154 in js/guest_share.js

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=itflow-org_itflow&issues=AaG3D7PvOmX1BlAoIIgF&open=AaG3D7PvOmX1BlAoIIgF&pullRequest=1309

Check warning on line 196 in agent/js/share_add.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract the assignment of "data[key]" from this expression.

See more on https://sonarcloud.io/project/issues?id=itflow-org_itflow&issues=AaG3D6qjOmX1BlAoIIf9&open=AaG3D6qjOmX1BlAoIIf9&pullRequest=1309

Check failure on line 78 in agent/post/texts.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Text Message" 6 times.

See more on https://sonarcloud.io/project/issues?id=itflow-org_itflow&issues=AaG3D62TOmX1BlAoIIf-&open=AaG3D62TOmX1BlAoIIf-&pullRequest=1309

Check warning on line 57 in cron/manager_checkin.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define and throw a dedicated exception instead of using a generic one.

See more on https://sonarcloud.io/project/issues?id=itflow-org_itflow&issues=AaG3D8jzOmX1BlAoIIha&open=AaG3D8jzOmX1BlAoIIha&pullRequest=1309

Check warning on line 485 in functions/sms.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Simplify this regular expression to reduce its complexity from 30 to the 20 allowed.

See more on https://sonarcloud.io/project/issues?id=itflow-org_itflow&issues=AaG3D8arOmX1BlAoIIhS&open=AaG3D8arOmX1BlAoIIhS&pullRequest=1309