Skip to content

groupware: add endpoints to patch addressbooks, contacts, calendars, …

18d4522
Select commit
Loading
Failed to load commit list.
Open

Groupware #1994

groupware: add endpoints to patch addressbooks, contacts, calendars, …
18d4522
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 13, 2026 in 47s

Quality Gate failed

Failed conditions
72 Security Hotspots
3.7% 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 warning on line 157 in pkg/jmap/integration_test.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=AZwzScEIiFdIOO1S-smr&open=AZwzScEIiFdIOO1S-smr&pullRequest=1994

Check warning on line 126 in tests/groupware/setup.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 28 in pkg/jmap/api_addressbook.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Group together these consecutive parameters of the same type.

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

Check failure on line 15 in services/groupware/pkg/middleware/groupware_logger.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=AZwzScCHiFdIOO1S-sk_&open=AZwzScCHiFdIOO1S-sk_&pullRequest=1994

Check warning on line 128 in services/groupware/pkg/groupware/dns.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=AZwzScBUiFdIOO1S-skR&open=AZwzScBUiFdIOO1S-skR&pullRequest=1994

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Revoke and change this secret, as it might be compromised.

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

Check warning on line 17 in services/groupware/pkg/groupware/dns.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=AZwzScBUiFdIOO1S-skN&open=AZwzScBUiFdIOO1S-skN&pullRequest=1994

Check warning on line 1739 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 warning on line 95 in services/groupware/pkg/groupware/request.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Group together these consecutive parameters of the same type.

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

Check warning on line 29 in pkg/jmap/client.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=AZ1zG6Zs87T5dO55V85S&open=AZ1zG6Zs87T5dO55V85S&pullRequest=1994

Check warning on line 714 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 warning on line 59 in services/groupware/pkg/groupware/api_tasklists.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=AZwzScBLiFdIOO1S-skM&open=AZwzScBLiFdIOO1S-skM&pullRequest=1994

Check warning on line 198 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-skZ&open=AZwzScBgiFdIOO1S-skZ&pullRequest=1994

Check warning on line 865 in pkg/jmap/api_email.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=AZwzScDfiFdIOO1S-sle&open=AZwzScDfiFdIOO1S-sle&pullRequest=1994

Check warning on line 185 in services/groupware/pkg/groupware/request.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=AZwzScB1iFdIOO1S-sky&open=AZwzScB1iFdIOO1S-sky&pullRequest=1994

Check warning on line 294 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-skf&open=AZwzScBgiFdIOO1S-skf&pullRequest=1994

Check warning on line 1839 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-soS&open=AZwzScHKiFdIOO1S-soS&pullRequest=1994

Check warning on line 48 in tests/groupware/setup.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Group together these consecutive parameters of the same type.

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

Check failure on line 42 in services/groupware/pkg/middleware/auth.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "X-Request-ID" 3 times.

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

Check warning on line 764 in pkg/jmap/api_email.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=AZwzScDfiFdIOO1S-sld&open=AZwzScDfiFdIOO1S-sld&pullRequest=1994

Check warning on line 78 in pkg/jmap/api_calendar.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Group together these consecutive parameters of the same type.

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

Check warning on line 48 in pkg/jmap/api_calendar.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Group together these consecutive parameters of the same type.

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

Check warning on line 1069 in pkg/jmap/api_email.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=AZwzScDfiFdIOO1S-slh&open=AZwzScDfiFdIOO1S-slh&pullRequest=1994

Check warning on line 145 in services/groupware/pkg/groupware/session.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=AZxITQAa3zPaaK4m--mm&open=AZxITQAa3zPaaK4m--mm&pullRequest=1994

Check warning on line 830 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-skm&open=AZwzScBgiFdIOO1S-skm&pullRequest=1994