Skip to content

groupware: clarify the ContactCard situation

1f4d3d6
Select commit
Loading
Failed to load commit list.
Open

Groupware #1994

groupware: clarify the ContactCard situation
1f4d3d6
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 19, 2026 in 1m 20s

Quality Gate failed

Failed conditions
69 Security Hotspots
3.3% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)
E Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

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

Annotations

Check failure on line 496 in pkg/jmap/integration_email_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Enable server certificate validation on this SSL/TLS connection.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScGfiFdIOO1S-sn3&open=AZwzScGfiFdIOO1S-sn3&pullRequest=1994

Check failure on line 177 in services/auth-api/pkg/auth-api/authapi.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZxITP353zPaaK4m--ml&open=AZxITP353zPaaK4m--ml&pullRequest=1994

Check warning on line 1515 in pkg/jscontact/model.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScHKiFdIOO1S-soQ&open=AZwzScHKiFdIOO1S-soQ&pullRequest=1994

Check warning on line 311 in pkg/jmap/api_email.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScDfiFdIOO1S-slp&open=AZwzScDfiFdIOO1S-slp&pullRequest=1994

Check failure on line 1500 in pkg/jmap/model.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScFfiFdIOO1S-snC&open=AZwzScFfiFdIOO1S-snC&pullRequest=1994

Check warning on line 427 in pkg/jmap/api_email.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 10 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScDfiFdIOO1S-slq&open=AZwzScDfiFdIOO1S-slq&pullRequest=1994

Check warning on line 227 in services/groupware/pkg/groupware/framework.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScBgiFdIOO1S-skd&open=AZwzScBgiFdIOO1S-skd&pullRequest=1994

Check failure on line 496 in pkg/jmap/integration_email_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Enable server hostname verification on this SSL/TLS connection.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScGfiFdIOO1S-sn4&open=AZwzScGfiFdIOO1S-sn4&pullRequest=1994

Check failure on line 70 in pkg/jmap/http.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this function is empty or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScDuiFdIOO1S-sl8&open=AZwzScDuiFdIOO1S-sl8&pullRequest=1994

Check failure on line 100 in pkg/jmap/integration_contact_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 83 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScEliFdIOO1S-smw&open=AZwzScEliFdIOO1S-smw&pullRequest=1994

Check warning on line 707 in services/groupware/pkg/groupware/api_emails.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScA5iFdIOO1S-sjv&open=AZwzScA5iFdIOO1S-sjv&pullRequest=1994

Check failure on line 291 in pkg/jmap/http.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScDuiFdIOO1S-smD&open=AZwzScDuiFdIOO1S-smD&pullRequest=1994

Check failure on line 788 in services/groupware/pkg/groupware/api_emails.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScA5iFdIOO1S-skC&open=AZwzScA5iFdIOO1S-skC&pullRequest=1994

Check failure on line 533 in pkg/jmap/integration_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Enable server hostname verification on this SSL/TLS connection.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScEIiFdIOO1S-smb&open=AZwzScEIiFdIOO1S-smb&pullRequest=1994

Check failure on line 1213 in services/groupware/pkg/groupware/api_emails.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScA5iFdIOO1S-skG&open=AZwzScA5iFdIOO1S-skG&pullRequest=1994

Check warning on line 1368 in pkg/jmap/model.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "_isAMailboxFilterElement" to match the regular expression ^(_|[a-zA-Z0-9]+)$

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScFfiFdIOO1S-sm9&open=AZwzScFfiFdIOO1S-sm9&pullRequest=1994

Check warning on line 50 in pkg/jmap/api_blob.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScGpiFdIOO1S-soH&open=AZwzScGpiFdIOO1S-soH&pullRequest=1994

Check failure on line 376 in tests/groupware/setup.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 43 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScDFiFdIOO1S-slR&open=AZwzScDFiFdIOO1S-slR&pullRequest=1994

Check warning on line 16 in services/auth-api/pkg/server/debug/option.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'context.Context' field and pass context as a parameter to methods that need it.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzSb-ZiFdIOO1S-sjd&open=AZwzSb-ZiFdIOO1S-sjd&pullRequest=1994

Check warning on line 1356 in pkg/jmap/model.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this interface to follow Go naming conventions for single-method interfaces.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScFfiFdIOO1S-snO&open=AZwzScFfiFdIOO1S-snO&pullRequest=1994

Check failure on line 59 in services/auth-api/pkg/metrics/metrics.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Failed to register prometheus metric" 3 times.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzSb-5iFdIOO1S-sjk&open=AZwzSb-5iFdIOO1S-sjk&pullRequest=1994

Check failure on line 1498 in pkg/jmap/model.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this function is empty or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScFfiFdIOO1S-snA&open=AZwzScFfiFdIOO1S-snA&pullRequest=1994

Check warning on line 55 in pkg/jmap/api_blob.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScGpiFdIOO1S-soJ&open=AZwzScGpiFdIOO1S-soJ&pullRequest=1994

Check failure on line 581 in services/groupware/pkg/groupware/framework.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "failed to render error response" 3 times.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZy5oHjiNERQer0C_bzE&open=AZy5oHjiNERQer0C_bzE&pullRequest=1994

Check failure on line 487 in pkg/jmap/integration_email_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 97 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZwzScGfiFdIOO1S-sn2&open=AZwzScGfiFdIOO1S-sn2&pullRequest=1994