Skip to content

groupware: fix use of ?limit=0

d1ef4a0
Select commit
Loading
Failed to load commit list.
Open

Groupware #1994

groupware: fix use of ?limit=0
d1ef4a0
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 24, 2026 in 1m 9s

Quality Gate failed

Failed conditions
9 Security Hotspots
3.9% Duplication on New Code (required ≤ 3%)
E Security Rating on New Code (required ≥ A)
C Reliability 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 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 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-skg&open=AZwzScBgiFdIOO1S-skg&pullRequest=1994

Check warning on line 293 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 201 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-skb&open=AZwzScBgiFdIOO1S-skb&pullRequest=1994

Check warning on line 29 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-skw&open=AZwzScB1iFdIOO1S-skw&pullRequest=1994

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

Check warning on line 38 in tests/groupware/groupware.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

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

Check warning on line 829 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

Check warning on line 25 in services/groupware/pkg/config/config.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_RiFdIOO1S-sjm&open=AZwzSb_RiFdIOO1S-sjm&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 112 in pkg/jmap/api_contact.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=AZ1zG6ZK87T5dO55V85R&open=AZ1zG6ZK87T5dO55V85R&pullRequest=1994

Check warning on line 1843 in pkg/jscontact/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=AZwzScHKiFdIOO1S-soW&open=AZwzScHKiFdIOO1S-soW&pullRequest=1994

Check warning on line 911 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-slf&open=AZwzScDfiFdIOO1S-slf&pullRequest=1994

Check warning on line 358 in pkg/jmap/tools.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=AZwzScF_iFdIOO1S-snn&open=AZwzScF_iFdIOO1S-snn&pullRequest=1994

Check warning on line 75 in pkg/jmap/api_event.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=AZ2F6Z5isrmu-Gaxyyo6&open=AZ2F6Z5isrmu-Gaxyyo6&pullRequest=1994

Check warning on line 197 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-sk0&open=AZwzScB1iFdIOO1S-sk0&pullRequest=1994

Check warning on line 42 in pkg/jscalendar/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=AZwzScHxiFdIOO1S-soc&open=AZwzScHxiFdIOO1S-soc&pullRequest=1994

Check warning on line 642 in services/groupware/pkg/groupware/error.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=AZwzScAJiFdIOO1S-sjr&open=AZwzScAJiFdIOO1S-sjr&pullRequest=1994

Check warning on line 519 in pkg/jmap/templates.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=AZ1zG6VB87T5dO55V85M&open=AZ1zG6VB87T5dO55V85M&pullRequest=1994

Check warning on line 1330 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=AZ2qCPFwNh2m2altvfuQ&open=AZ2qCPFwNh2m2altvfuQ&pullRequest=1994

Check warning on line 191 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-skz&open=AZwzScB1iFdIOO1S-skz&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 1237 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=AZ1zG6aV87T5dO55V85Y&open=AZ1zG6aV87T5dO55V85Y&pullRequest=1994

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

Check warning on line 39 in pkg/jmap/api_quota.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=AZ0vy9gAjFVEyFnlVoef&open=AZ0vy9gAjFVEyFnlVoef&pullRequest=1994