* Upgrade Go to 1.24.3

Updates the following files:
- server/.go-version: 1.23.9 → 1.24.3
- server/build/Dockerfile.buildenv: golang:1.23.9-bullseye → golang:1.24.3-bullseye
- server/go.mod: go 1.23.0 → go 1.24.3, toolchain go1.23.9 → go1.24.3
- server/public/go.mod: go 1.23.0 → go 1.24.3, toolchain go1.23.9 → go1.24.3

Also fixes non-constant format string errors introduced by Go 1.24.3's stricter format string checking:
- Added response() helper function in slashcommands/util.go for simple string responses
- Removed unused responsef() function from slashcommands/util.go
- Replaced responsef() with response() for translated strings that don't need formatting
- Fixed fmt.Errorf and fmt.Fprintf calls to use proper format verbs instead of string concatenation
- Updated marketplace buildURL to handle format strings conditionally

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update generated mocks for Go 1.24.3

Regenerated mocks using mockery v2.53.4 to ensure compatibility with Go 1.24.3.
This addresses mock generation failures that occurred with the Go upgrade.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update to bookworm and fix non-existent sha

Signed-off-by: Stavros Foteinopoulos <stafot@gmail.com>

* fix non-constant format string

---------

Signed-off-by: Stavros Foteinopoulos <stafot@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Stavros Foteinopoulos <stafot@gmail.com>
Этот коммит содержится в:
Jesse Hallam
2025-06-10 15:04:57 -03:00
коммит произвёл GitHub
родитель d01d6501f7
Коммит e6d8bf5835
110 изменённых файлов: 422 добавлений и 425 удалений

Просмотреть файл

@@ -1,4 +1,4 @@
// Code generated by mockery v2.42.2. DO NOT EDIT.
// Code generated by mockery v2.53.4. DO NOT EDIT.
// Regenerate this file using `make einterfaces-mocks`.
@@ -28,7 +28,7 @@ func (_m *MetricsInterface) AddMemCacheMissCounter(cacheName string, amount floa
_m.Called(cacheName, amount)
}
// ClearMobileClientSessionMetadata provides a mock function with given fields:
// ClearMobileClientSessionMetadata provides a mock function with no fields
func (_m *MetricsInterface) ClearMobileClientSessionMetadata() {
_m.Called()
}
@@ -53,7 +53,7 @@ func (_m *MetricsInterface) DecrementWebSocketBroadcastUsersRegistered(hub strin
_m.Called(hub, amount)
}
// GetLoggerMetricsCollector provides a mock function with given fields:
// GetLoggerMetricsCollector provides a mock function with no fields
func (_m *MetricsInterface) GetLoggerMetricsCollector() logr.MetricsCollector {
ret := _m.Called()
@@ -73,12 +73,12 @@ func (_m *MetricsInterface) GetLoggerMetricsCollector() logr.MetricsCollector {
return r0
}
// IncrementAccessControlCacheInvalidation provides a mock function with given fields:
// IncrementAccessControlCacheInvalidation provides a mock function with no fields
func (_m *MetricsInterface) IncrementAccessControlCacheInvalidation() {
_m.Called()
}
// IncrementChannelIndexCounter provides a mock function with given fields:
// IncrementChannelIndexCounter provides a mock function with no fields
func (_m *MetricsInterface) IncrementChannelIndexCounter() {
_m.Called()
}
@@ -93,7 +93,7 @@ func (_m *MetricsInterface) IncrementClusterEventType(eventType model.ClusterEve
_m.Called(eventType)
}
// IncrementClusterRequest provides a mock function with given fields:
// IncrementClusterRequest provides a mock function with no fields
func (_m *MetricsInterface) IncrementClusterRequest() {
_m.Called()
}
@@ -108,22 +108,22 @@ func (_m *MetricsInterface) IncrementEtagMissCounter(route string) {
_m.Called(route)
}
// IncrementFileIndexCounter provides a mock function with given fields:
// IncrementFileIndexCounter provides a mock function with no fields
func (_m *MetricsInterface) IncrementFileIndexCounter() {
_m.Called()
}
// IncrementFilesSearchCounter provides a mock function with given fields:
// IncrementFilesSearchCounter provides a mock function with no fields
func (_m *MetricsInterface) IncrementFilesSearchCounter() {
_m.Called()
}
// IncrementHTTPError provides a mock function with given fields:
// IncrementHTTPError provides a mock function with no fields
func (_m *MetricsInterface) IncrementHTTPError() {
_m.Called()
}
// IncrementHTTPRequest provides a mock function with given fields:
// IncrementHTTPRequest provides a mock function with no fields
func (_m *MetricsInterface) IncrementHTTPRequest() {
_m.Called()
}
@@ -138,12 +138,12 @@ func (_m *MetricsInterface) IncrementJobActive(jobType string) {
_m.Called(jobType)
}
// IncrementLogin provides a mock function with given fields:
// IncrementLogin provides a mock function with no fields
func (_m *MetricsInterface) IncrementLogin() {
_m.Called()
}
// IncrementLoginFail provides a mock function with given fields:
// IncrementLoginFail provides a mock function with no fields
func (_m *MetricsInterface) IncrementLoginFail() {
_m.Called()
}
@@ -153,7 +153,7 @@ func (_m *MetricsInterface) IncrementMemCacheHitCounter(cacheName string) {
_m.Called(cacheName)
}
// IncrementMemCacheHitCounterSession provides a mock function with given fields:
// IncrementMemCacheHitCounterSession provides a mock function with no fields
func (_m *MetricsInterface) IncrementMemCacheHitCounterSession() {
_m.Called()
}
@@ -163,7 +163,7 @@ func (_m *MetricsInterface) IncrementMemCacheInvalidationCounter(cacheName strin
_m.Called(cacheName)
}
// IncrementMemCacheInvalidationCounterSession provides a mock function with given fields:
// IncrementMemCacheInvalidationCounterSession provides a mock function with no fields
func (_m *MetricsInterface) IncrementMemCacheInvalidationCounterSession() {
_m.Called()
}
@@ -173,7 +173,7 @@ func (_m *MetricsInterface) IncrementMemCacheMissCounter(cacheName string) {
_m.Called(cacheName)
}
// IncrementMemCacheMissCounterSession provides a mock function with given fields:
// IncrementMemCacheMissCounterSession provides a mock function with no fields
func (_m *MetricsInterface) IncrementMemCacheMissCounterSession() {
_m.Called()
}
@@ -208,12 +208,12 @@ func (_m *MetricsInterface) IncrementNotificationUnsupportedCounter(notification
_m.Called(notificationType, notSentReason, platform)
}
// IncrementPostBroadcast provides a mock function with given fields:
// IncrementPostBroadcast provides a mock function with no fields
func (_m *MetricsInterface) IncrementPostBroadcast() {
_m.Called()
}
// IncrementPostCreate provides a mock function with given fields:
// IncrementPostCreate provides a mock function with no fields
func (_m *MetricsInterface) IncrementPostCreate() {
_m.Called()
}
@@ -223,22 +223,22 @@ func (_m *MetricsInterface) IncrementPostFileAttachment(count int) {
_m.Called(count)
}
// IncrementPostIndexCounter provides a mock function with given fields:
// IncrementPostIndexCounter provides a mock function with no fields
func (_m *MetricsInterface) IncrementPostIndexCounter() {
_m.Called()
}
// IncrementPostSentEmail provides a mock function with given fields:
// IncrementPostSentEmail provides a mock function with no fields
func (_m *MetricsInterface) IncrementPostSentEmail() {
_m.Called()
}
// IncrementPostSentPush provides a mock function with given fields:
// IncrementPostSentPush provides a mock function with no fields
func (_m *MetricsInterface) IncrementPostSentPush() {
_m.Called()
}
// IncrementPostsSearchCounter provides a mock function with given fields:
// IncrementPostsSearchCounter provides a mock function with no fields
func (_m *MetricsInterface) IncrementPostsSearchCounter() {
_m.Called()
}
@@ -268,7 +268,7 @@ func (_m *MetricsInterface) IncrementSharedChannelsSyncCounter(remoteID string)
_m.Called(remoteID)
}
// IncrementUserIndexCounter provides a mock function with given fields:
// IncrementUserIndexCounter provides a mock function with no fields
func (_m *MetricsInterface) IncrementUserIndexCounter() {
_m.Called()
}
@@ -288,7 +288,7 @@ func (_m *MetricsInterface) IncrementWebSocketBroadcastUsersRegistered(hub strin
_m.Called(hub, amount)
}
// IncrementWebhookPost provides a mock function with given fields:
// IncrementWebhookPost provides a mock function with no fields
func (_m *MetricsInterface) IncrementWebhookPost() {
_m.Called()
}
@@ -553,7 +553,7 @@ func (_m *MetricsInterface) ObserveStoreMethodDuration(method string, success st
_m.Called(method, success, elapsed)
}
// Register provides a mock function with given fields:
// Register provides a mock function with no fields
func (_m *MetricsInterface) Register() {
_m.Called()
}