groupware: update to Stalwart 0.15.0

This commit is contained in:
Pascal Bleser
2025-12-17 09:31:26 +01:00
parent b9ce1fe769
commit 073eec198e
5 changed files with 5 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ services:
- ${STALWART_DOMAIN:-stalwart.opencloud.test}
stalwart:
image: ghcr.io/stalwartlabs/stalwart:v0.14.1-alpine
image: ghcr.io/stalwartlabs/stalwart:v0.15.0-alpine
hostname: ${STALWART_DOMAIN:-stalwart.opencloud.test}
networks:
- opencloud-net

View File

@@ -54,7 +54,7 @@ func (j *Client) QueryCalendarEvents(accountIds []string, session *Session, ctx
uniqueAccountIds := structs.Uniq(accountIds)
if sortBy == nil {
sortBy = []CalendarEventComparator{{Property: CalendarEventPropertyUpdated, IsAscending: false}}
sortBy = []CalendarEventComparator{{Property: CalendarEventPropertyStart, IsAscending: false}}
}
invocations := make([]Invocation, len(uniqueAccountIds)*2)

View File

@@ -50,7 +50,7 @@ func TestEvents(t *testing.T) {
InCalendar: calendarId,
}
sortBy := []CalendarEventComparator{
{Property: CalendarEventPropertyCreated, IsAscending: true},
{Property: CalendarEventPropertyStart, IsAscending: true},
}
contactsByAccount, _, _, _, err := s.client.QueryCalendarEvents([]string{accountId}, session, t.Context(), s.logger, "", filter, sortBy, 0, 0)

View File

@@ -79,7 +79,7 @@ var (
)
const (
stalwartImage = "ghcr.io/stalwartlabs/stalwart:v0.14.1-alpine"
stalwartImage = "ghcr.io/stalwartlabs/stalwart:v0.15.0-alpine"
httpPort = "8080"
imapsPort = "993"
configTemplate = `

View File

@@ -587,7 +587,7 @@ const (
// PhoneFeatures.
PhoneFeatureMobile = PhoneFeature("cell") // TODO the spec says 'mobile', but Stalwart only supports 'cell'
PhoneFeatureMobile = PhoneFeature("mobile")
PhoneFeatureVoice = PhoneFeature("voice")
PhoneFeatureText = PhoneFeature("text")
PhoneFeatureVideo = PhoneFeature("video")