Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
updated to latest stavaganza release (#282)
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Ángel Ortuño <[email protected]>
  • Loading branch information
ortuman committed Jan 6, 2023
1 parent 2a8cd3c commit f16ca35
Show file tree
Hide file tree
Showing 19 changed files with 24 additions and 295 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## jackal - main / unreleased

## 0.63.0 (2023/01/05)

* [ENHANCEMENT] stravaganza: improved xml parsing performance. [#283](https://github.com/ortuman/jackal/pull/283)

## 0.62.3 (2022/09/29)

* [BUGFIX] s2s: overwrite stanza value on received hooks [#261](https://github.com/ortuman/jackal/pull/261)
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.19.3-bullseye as stage
FROM --platform=$BUILDPLATFORM golang:1.19.4-bullseye as stage

ARG TARGETARCH

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/google/uuid v1.1.2
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
github.com/jackal-xmpp/runqueue/v2 v2.0.0
github.com/jackal-xmpp/stravaganza v1.2.4
github.com/jackal-xmpp/stravaganza v1.5.0
github.com/kkyr/fig v0.2.0
github.com/lib/pq v1.8.0
github.com/mattn/go-sqlite3 v1.14.5 // indirect
Expand Down Expand Up @@ -64,7 +64,7 @@ require (
go.uber.org/zap v1.17.0 // indirect
golang.org/x/exp v0.0.0-20220303212507-bbda1eaf7a17 // indirect
golang.org/x/net v0.0.0-20220526153639-5463443f8c37 // indirect
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
golang.org/x/sys v0.0.0-20220704084225-05e143d24a9e // indirect
golang.org/x/text v0.3.7 // indirect
google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ github.com/iris-contrib/i18n v0.0.0-20171121225848-987a633949d0/go.mod h1:pMCz62
github.com/iris-contrib/schema v0.0.1/go.mod h1:urYA3uvUNG1TIIjOSCzHr9/LmbQo8LrOcOqfqxa4hXw=
github.com/jackal-xmpp/runqueue/v2 v2.0.0 h1:QfvOfL6zF5yK1LN5TKabpj+VBuELMwtR8Xpkz0CrjoI=
github.com/jackal-xmpp/runqueue/v2 v2.0.0/go.mod h1:tXZARVqBMGeV8BTc/qDPg0qXILTUWmER7wlYbN9Xcac=
github.com/jackal-xmpp/stravaganza v1.2.4 h1:xz3L2lNEPezOn43az4W4omK1at9tSuR4BDaWOSKo6aE=
github.com/jackal-xmpp/stravaganza v1.2.4/go.mod h1:oesgQpMM0I5gnJM80NsEfSspzDDCArQex+oA0/swCWU=
github.com/jackal-xmpp/stravaganza v1.5.0 h1:ei0onFm8tEU45LzlfTDspZft4nHS5CWL24nETQ9y6YU=
github.com/jackal-xmpp/stravaganza v1.5.0/go.mod h1:qosF3qJLxoebR4uDb2ArBxTyAf9UaRwDvk6rPnddAe8=
github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo=
github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4=
github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
Expand Down Expand Up @@ -551,8 +551,8 @@ golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a h1:dGzPydgVsqGcTRVwiLJ1jVbufYwmzD3LfVPLKsKg+0k=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220704084225-05e143d24a9e h1:CsOuNlbOuf0mzxJIefr6Q4uAUetRUwZE4qt7VfzP+xo=
golang.org/x/sys v0.0.0-20220704084225-05e143d24a9e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
Expand Down
2 changes: 1 addition & 1 deletion helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jackal:

image:
repository: ortuman/jackal
tag: 0.61.0
tag: 0.63.0
pullPolicy: IfNotPresent
resources:
requests:
Expand Down
2 changes: 1 addition & 1 deletion pkg/c2s/in.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import (
stanzaerror "github.com/jackal-xmpp/stravaganza/errors/stanza"
streamerror "github.com/jackal-xmpp/stravaganza/errors/stream"
"github.com/jackal-xmpp/stravaganza/jid"
xmppparser "github.com/jackal-xmpp/stravaganza/parser"
"github.com/ortuman/jackal/pkg/auth"
"github.com/ortuman/jackal/pkg/cluster/instance"
"github.com/ortuman/jackal/pkg/cluster/resourcemanager"
Expand All @@ -39,7 +40,6 @@ import (
"github.com/ortuman/jackal/pkg/host"
c2smodel "github.com/ortuman/jackal/pkg/model/c2s"
"github.com/ortuman/jackal/pkg/module"
xmppparser "github.com/ortuman/jackal/pkg/parser"
"github.com/ortuman/jackal/pkg/router"
"github.com/ortuman/jackal/pkg/router/stream"
xmppsession "github.com/ortuman/jackal/pkg/session"
Expand Down
2 changes: 1 addition & 1 deletion pkg/c2s/in_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ import (
"github.com/jackal-xmpp/stravaganza"
streamerror "github.com/jackal-xmpp/stravaganza/errors/stream"
"github.com/jackal-xmpp/stravaganza/jid"
xmppparser "github.com/jackal-xmpp/stravaganza/parser"
"github.com/ortuman/jackal/pkg/auth"
"github.com/ortuman/jackal/pkg/hook"
c2smodel "github.com/ortuman/jackal/pkg/model/c2s"
xmppparser "github.com/ortuman/jackal/pkg/parser"
"github.com/ortuman/jackal/pkg/router"
"github.com/ortuman/jackal/pkg/router/stream"
"github.com/ortuman/jackal/pkg/transport"
Expand Down
2 changes: 1 addition & 1 deletion pkg/component/xep0114/in.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ import (
"github.com/jackal-xmpp/stravaganza"
streamerror "github.com/jackal-xmpp/stravaganza/errors/stream"
"github.com/jackal-xmpp/stravaganza/jid"
xmppparser "github.com/jackal-xmpp/stravaganza/parser"
"github.com/ortuman/jackal/pkg/component"
"github.com/ortuman/jackal/pkg/component/extcomponentmanager"
"github.com/ortuman/jackal/pkg/hook"
"github.com/ortuman/jackal/pkg/host"
xmppparser "github.com/ortuman/jackal/pkg/parser"
"github.com/ortuman/jackal/pkg/router"
xmppsession "github.com/ortuman/jackal/pkg/session"
"github.com/ortuman/jackal/pkg/shaper"
Expand Down
2 changes: 1 addition & 1 deletion pkg/component/xep0114/in_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ import (
"github.com/jackal-xmpp/runqueue/v2"
"github.com/jackal-xmpp/stravaganza"
"github.com/jackal-xmpp/stravaganza/jid"
xmppparser "github.com/jackal-xmpp/stravaganza/parser"
"github.com/ortuman/jackal/pkg/component"
"github.com/ortuman/jackal/pkg/hook"
xmppparser "github.com/ortuman/jackal/pkg/parser"
"github.com/ortuman/jackal/pkg/transport"
"github.com/stretchr/testify/require"
"golang.org/x/time/rate"
Expand Down
2 changes: 1 addition & 1 deletion pkg/module/xep0198/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ import (
"github.com/jackal-xmpp/stravaganza"
streamerror "github.com/jackal-xmpp/stravaganza/errors/stream"
"github.com/jackal-xmpp/stravaganza/jid"
xmppparser "github.com/jackal-xmpp/stravaganza/parser"
clusterconnmanager "github.com/ortuman/jackal/pkg/cluster/connmanager"
"github.com/ortuman/jackal/pkg/cluster/instance"
"github.com/ortuman/jackal/pkg/cluster/resourcemanager"
"github.com/ortuman/jackal/pkg/hook"
"github.com/ortuman/jackal/pkg/host"
streamqueue "github.com/ortuman/jackal/pkg/module/xep0198/queue"
xmppparser "github.com/ortuman/jackal/pkg/parser"
"github.com/ortuman/jackal/pkg/router"
"github.com/ortuman/jackal/pkg/router/stream"
)
Expand Down
178 changes: 0 additions & 178 deletions pkg/parser/parser.go

This file was deleted.

Loading

0 comments on commit f16ca35

Please sign in to comment.