mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-23 21:19:18 -06:00
groupware: update to Stalwart 0.15.0
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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 = `
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user