Skip to content

Commit

Permalink
Bump github.com/mattermost/mattermost/server/public from 0.1.7 to 0.1…
Browse files Browse the repository at this point in the history
….9 (#770)

* Bump github.com/mattermost/mattermost/server/public from 0.1.7 to 0.1.9

Bumps [github.com/mattermost/mattermost/server/public](https://github.com/mattermost/mattermost) from 0.1.7 to 0.1.9.
- [Release notes](https://github.com/mattermost/mattermost/releases)
- [Changelog](https://github.com/mattermost/mattermost/blob/master/CHANGELOG.md)
- [Commits](mattermost/mattermost@server/public/v0.1.7...server/public/v0.1.9)

---
updated-dependencies:
- dependency-name: github.com/mattermost/mattermost/server/public
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* updates for v0.1.9

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
  • Loading branch information
dependabot[bot] and lieut-data authored Feb 4, 2025
1 parent 781d826 commit 29eff8c
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 35 deletions.
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ require (
github.com/hashicorp/go-plugin v1.6.3
github.com/jmoiron/sqlx v1.4.0
github.com/lib/pq v1.10.9
github.com/mattermost/mattermost/server/public v0.1.7
github.com/mattermost/mattermost/server/v8 v8.0.0-20240912172627-d1557271f1b4
github.com/mattermost/mattermost/server/public v0.1.9
github.com/mattermost/mattermost/server/v8 v8.0.0-20241113102039-053d0b5f0ad5
github.com/mattermost/morph v1.1.0
github.com/microsoft/kiota-abstractions-go v1.8.1
github.com/microsoft/kiota-http-go v1.4.7
Expand Down Expand Up @@ -50,7 +50,7 @@ require (
github.com/andybalholm/cascadia v1.3.2 // indirect
github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de // indirect
github.com/avct/uasurfer v0.0.0-20240501094946-ca0c4d1e541b // indirect
github.com/aws/aws-sdk-go v1.55.0 // indirect
github.com/aws/aws-sdk-go v1.55.5 // indirect
github.com/aymerick/douceur v0.2.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bits-and-blooms/bitset v1.13.0 // indirect
Expand Down Expand Up @@ -185,7 +185,7 @@ require (
github.com/prometheus/common v0.55.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/redis/go-redis/v9 v9.7.0 // indirect
github.com/redis/rueidis v1.0.41 // indirect
github.com/redis/rueidis v1.0.45 // indirect
github.com/reflog/dateconstraints v0.2.1 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/richardlehane/mscfb v1.0.4 // indirect
Expand Down
20 changes: 10 additions & 10 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de h1:FxWPpzIjnTlhP
github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de/go.mod h1:DCaWoUhZrYW9p1lxo/cm8EmUOOzAPSEZNGF2DK1dJgw=
github.com/avct/uasurfer v0.0.0-20240501094946-ca0c4d1e541b h1:F1IDheTR2BqSIznXwfgxursfutFj5pNezhneejTPUYQ=
github.com/avct/uasurfer v0.0.0-20240501094946-ca0c4d1e541b/go.mod h1:s+GCtuP4kZNxh1WGoqdWI1+PbluBcycrMMWuKQ9e5Nk=
github.com/aws/aws-sdk-go v1.55.0 h1:hVALKPjXz33kP1R9nTyJpUK7qF59dO2mleQxUW9mCVE=
github.com/aws/aws-sdk-go v1.55.0/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU=
github.com/aws/aws-sdk-go v1.55.5 h1:KKUZBfBoyqy5d3swXyiC7Q76ic40rYcbqH7qjh59kzU=
github.com/aws/aws-sdk-go v1.55.5/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
Expand Down Expand Up @@ -355,10 +355,10 @@ github.com/mattermost/ldap v0.0.0-20231116144001-0f480c025956 h1:Y1Tu/swM31pVwwb
github.com/mattermost/ldap v0.0.0-20231116144001-0f480c025956/go.mod h1:SRl30Lb7/QoYyohYeVBuqYvvmXSZJxZgiV3Zf6VbxjI=
github.com/mattermost/logr/v2 v2.0.21 h1:CMHsP+nrbRlEC4g7BwOk1GAnMtHkniFhlSQPXy52be4=
github.com/mattermost/logr/v2 v2.0.21/go.mod h1:kZkB/zqKL9e+RY5gB3vGpsyenC+TpuiOenjMkvJJbzc=
github.com/mattermost/mattermost/server/public v0.1.7 h1:WA+fnLrQQeE6xTyHERqcGiKljBFK6m8WYL4Pez07ko4=
github.com/mattermost/mattermost/server/public v0.1.7/go.mod h1:SkTKbMul91Rq0v2dIxe8mqzUOY+3KwlwwLmAlxDfGCk=
github.com/mattermost/mattermost/server/v8 v8.0.0-20240912172627-d1557271f1b4 h1:eMUdCAZM4q6t312j19+/Towl2po8NErB90nwVh+LOYY=
github.com/mattermost/mattermost/server/v8 v8.0.0-20240912172627-d1557271f1b4/go.mod h1:jjwu7BiI6KQm158uSqynB7Myacz6s4WyxBmwQy5X4JU=
github.com/mattermost/mattermost/server/public v0.1.9 h1:l/OKPRVuFeqL0yqRVC/JpveG5sLNKcT9llxqMkO9e+s=
github.com/mattermost/mattermost/server/public v0.1.9/go.mod h1:SkTKbMul91Rq0v2dIxe8mqzUOY+3KwlwwLmAlxDfGCk=
github.com/mattermost/mattermost/server/v8 v8.0.0-20241113102039-053d0b5f0ad5 h1:XVePV2EZhapQ6JIGFycfTd1QgxICvDs8rRUy3pqxagQ=
github.com/mattermost/mattermost/server/v8 v8.0.0-20241113102039-053d0b5f0ad5/go.mod h1:B4pQsrbZs6yO4GpWY6nCJPNG7myB0r3gvlFWWlGABmc=
github.com/mattermost/morph v1.1.0 h1:Q9vrJbeM3s2jfweGheq12EFIzdNp9a/6IovcbvOQ6Cw=
github.com/mattermost/morph v1.1.0/go.mod h1:gD+EaqX2UMyyuzmF4PFh4r33XneQ8Nzi+0E8nXjMa3A=
github.com/mattermost/rsc v0.0.0-20160330161541-bbaefb05eaa0 h1:G9tL6JXRBMzjuD1kkBtcnd42kUiT6QDwxfFYu7adM6o=
Expand Down Expand Up @@ -446,8 +446,8 @@ github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DV
github.com/olekukonko/tablewriter v0.0.0-20180506121414-d4647c9c7a84/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=
github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
github.com/onsi/gomega v1.31.1 h1:KYppCUK+bUgAZwHOu7EXVBKyQA6ILvOESHkn/tgoqvo=
github.com/onsi/gomega v1.31.1/go.mod h1:y40C95dwAD1Nz36SsEnxvfFe8FFfNxzI5eJ0EYGyAy0=
github.com/onsi/gomega v1.34.1 h1:EUMJIKUjM8sKjYbtxQI9A4z2o+rruxnzNvpknOXie6k=
github.com/onsi/gomega v1.34.1/go.mod h1:kU1QgUvBDLXBJq618Xvm2LUX6rSAfRaFRTcdOeDLwwY=
github.com/oov/psd v0.0.0-20220121172623-5db5eafcecbb h1:JF9kOhBBk4WPF7luXFu5yR+WgaFm9L/KiHJHhU9vDwA=
github.com/oov/psd v0.0.0-20220121172623-5db5eafcecbb/go.mod h1:GHI1bnmAcbp96z6LNfBJvtrjxhaXGkbsk967utPlvL8=
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
Expand Down Expand Up @@ -497,8 +497,8 @@ github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0leargg
github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk=
github.com/redis/go-redis/v9 v9.7.0 h1:HhLSs+B6O021gwzl+locl0zEDnyNkxMtf/Z3NNBMa9E=
github.com/redis/go-redis/v9 v9.7.0/go.mod h1:f6zhXITC7JUJIlPEiBOTXxJgPLdZcA93GewI7inzyWw=
github.com/redis/rueidis v1.0.41 h1:Ls5Dto11Tknh8CFbaMTSBD0fgMlTqJWq8/Df4LPaeQ0=
github.com/redis/rueidis v1.0.41/go.mod h1:bnbkk4+CkXZgDPEbUtSos/o55i4RhFYYesJ4DS2zmq0=
github.com/redis/rueidis v1.0.45 h1:j7hfcqfLLIqgTK3IkxBhXdeJcP34t3XLXvorDLqXfgM=
github.com/redis/rueidis v1.0.45/go.mod h1:by+34b0cFXndxtYmPAHpoTHO5NkosDlBvhexoTURIxM=
github.com/reflog/dateconstraints v0.2.1 h1:Hz1n2Q1vEm0Rj5gciDQcCN1iPBwfFjxUJy32NknGP/s=
github.com/reflog/dateconstraints v0.2.1/go.mod h1:Ax8AxTBcJc3E/oVS2hd2j7RDM/5MDtuPwuR7lIHtPLo=
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE=
Expand Down
12 changes: 6 additions & 6 deletions server/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,12 +340,12 @@ func TestNotificationCommand(t *testing.T) {
}{
{
name: "enabled",
enabled: model.NewBool(true),
enabled: model.NewPointer(true),
expected: "Notifications from chats and group chats in MS Teams are currently enabled.",
},
{
name: "disabled",
enabled: model.NewBool(false),
enabled: model.NewPointer(false),
expected: "Notifications from chats and group chats in MS Teams are currently disabled.",
},
{
Expand Down Expand Up @@ -378,8 +378,8 @@ func TestNotificationCommand(t *testing.T) {
name string
enabled *bool
}{
{name: "was enabled", enabled: model.NewBool(true)},
{name: "was disabled", enabled: model.NewBool(false)},
{name: "was enabled", enabled: model.NewPointer(true)},
{name: "was disabled", enabled: model.NewPointer(false)},
{name: "was not set", enabled: nil},
}
for _, tc := range cases {
Expand All @@ -406,8 +406,8 @@ func TestNotificationCommand(t *testing.T) {
name string
enabled *bool
}{
{name: "was enabled", enabled: model.NewBool(true)},
{name: "was disabled", enabled: model.NewBool(false)},
{name: "was enabled", enabled: model.NewPointer(true)},
{name: "was disabled", enabled: model.NewPointer(false)},
{name: "was not set", enabled: nil},
}
for _, tc := range cases {
Expand Down
26 changes: 13 additions & 13 deletions server/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,21 +121,21 @@ func setupServer(mt *mainT) error {
// Create a test memory store and modify configuration appropriately
configStore := config.NewTestMemoryStore()
config := configStore.Get()
config.PluginSettings.Directory = model.NewString(path.Join(tmpDir, "plugins"))
config.PluginSettings.ClientDirectory = model.NewString(path.Join(tmpDir, "client"))
config.ServiceSettings.ListenAddress = model.NewString("localhost:0")
config.TeamSettings.MaxUsersPerTeam = model.NewInt(10000)
config.PluginSettings.Directory = model.NewPointer(path.Join(tmpDir, "plugins"))
config.PluginSettings.ClientDirectory = model.NewPointer(path.Join(tmpDir, "client"))
config.ServiceSettings.ListenAddress = model.NewPointer("localhost:0")
config.TeamSettings.MaxUsersPerTeam = model.NewPointer(10000)
config.LocalizationSettings.SetDefaults()
config.SqlSettings = *storetest.MakeSqlSettings("postgres", false)
config.ServiceSettings.SiteURL = model.NewString("http://example.com/")
config.LogSettings.EnableConsole = model.NewBool(true)
config.LogSettings.EnableFile = model.NewBool(false)
config.LogSettings.ConsoleLevel = model.NewString("DEBUG")
config.ServiceSettings.EnableLocalMode = model.NewBool(true)
config.ServiceSettings.LocalModeSocketLocation = model.NewString(path.Join(tmpDir, "mattermost_local.socket"))
config.ServiceSettings.EnableDeveloper = model.NewBool(true)
config.ServiceSettings.EnableTesting = model.NewBool(true)
config.FileSettings.Directory = model.NewString(path.Join(tmpDir, "data"))
config.ServiceSettings.SiteURL = model.NewPointer("http://example.com/")
config.LogSettings.EnableConsole = model.NewPointer(true)
config.LogSettings.EnableFile = model.NewPointer(false)
config.LogSettings.ConsoleLevel = model.NewPointer("DEBUG")
config.ServiceSettings.EnableLocalMode = model.NewPointer(true)
config.ServiceSettings.LocalModeSocketLocation = model.NewPointer(path.Join(tmpDir, "mattermost_local.socket"))
config.ServiceSettings.EnableDeveloper = model.NewPointer(true)
config.ServiceSettings.EnableTesting = model.NewPointer(true)
config.FileSettings.Directory = model.NewPointer(path.Join(tmpDir, "data"))

_, _, err = configStore.Set(config)
if err != nil {
Expand Down
4 changes: 2 additions & 2 deletions server/plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func TestGetURL(t *testing.T) {
t.Run(testCase.Name, func(t *testing.T) {
config := &model.Config{}
config.SetDefaults()
config.ServiceSettings.SiteURL = model.NewString(testCase.URL)
config.ServiceSettings.SiteURL = model.NewPointer(testCase.URL)

actual := getURL(config)
assert.Equal(t, testCase.Expected, actual)
Expand Down Expand Up @@ -89,7 +89,7 @@ func TestGetRelativeURL(t *testing.T) {
t.Run(testCase.Name, func(t *testing.T) {
config := &model.Config{}
config.SetDefaults()
config.ServiceSettings.SiteURL = model.NewString(testCase.URL)
config.ServiceSettings.SiteURL = model.NewPointer(testCase.URL)

actual := getRelativeURL(config)
assert.Equal(t, testCase.Expected, actual)
Expand Down

0 comments on commit 29eff8c

Please sign in to comment.