Граф коммитов

202 Коммитов

Автор SHA1 Сообщение Дата
Mattermod
91ffe24c14 Update latest version to 6.7.0 (#20219)
Automatic Merge
2022-05-18 17:39:55 +03:00
Agniva De Sarker
2c155cdc95 Makefile: Added setup-go-work to build step as well (#20193)
Without this, the go.work file would not get
generated in a fresh build.

```release-note
NONE
```
2022-05-12 14:08:39 +05:30
Claudio Costa
aee68c7ae4 [MM-44056] Make Calls plugin's state on Cloud controllable by feature flag (#20161)
* Make Calls plugin's state on Cloud controllable by feature flag

* Prepackage Calls v0.4.9 (#20148)

* Update app/plugin.go

Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>

* Update app/plugin_install.go

Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>

* Bump Calls version to latest

Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-05-10 19:29:48 +02:00
Martin Kraft
d47a466a27 Bumps ES minor version. (#20117) 2022-05-10 08:31:44 -04:00
Agniva De Sarker
8358f92786 Update Dockerfile to 1.18.1 (#20138) 2022-05-05 12:59:52 +05:30
Mattermod
5cf721fdc0 Update latest version to 6.6.1 (#20090)
Automatic Merge
2022-04-28 18:57:06 +03:00
Mattermod
a98975b00f Update latest version to 6.6.0 (#19990)
Automatic Merge
2022-04-14 18:27:05 +03:00
Ossi Väänänen
67d57fc400 Pin the FROM in dockerfiles (#19526)
This prevents supply chain attacks where the latest image is replaced with a malicious version.

Pinning done by using https://github.com/Jille/dockpin
2022-03-31 15:22:20 +03:00
Mattermod
17ea088eb4 Update latest version to 6.4.1 (#19680)
Co-authored-by: Mmbot <mmbot@mattermost>
2022-03-03 13:44:19 +02:00
Agniva De Sarker
3f52bd197a GraphQL (part 2): Model changes and resolvers (#19486)
This PR adds the necessary resolvers to support
the graphQL front-end. Some additional methods
need to be added to the model structs to support
this. Comments have been made to clarify their purpose.

There is a slight duplication of code in the api layer.
But eventually that's going to go away when we move
away from the REST API entirely.

The schema is in api4/schema.graphqls and gets compiled
into the binary as an asset.

The GraphiQL editor url is at GET /api/v5/graphql.

Everything is behind the feature flag MM_FEATUREFLAGS_GRAPHQL.

```release-note
NONE
```
2022-02-11 12:37:05 +05:30
Josh Soref
294bd44971 [GH-19267] Spelling comments (#19268)
* spelling: comments

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-20 10:07:27 +05:30
Carlos Tadeu Panato Junior
36008ae412 fix mmctl download script when using as stand alone script (#19143) 2021-12-16 11:31:57 +01:00
Carlos Tadeu Panato Junior
c317254954 build: add mmctl to arm64 packages (#19090)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-12-03 15:37:37 +01:00
Carlos Tadeu Panato Junior
2865ad9221 Revert "DOPS-602: Change how mmctl gets packaged and locally fetched. (#18335)" (#18930)
This reverts commit 5ede63badc.
2021-11-03 14:54:34 +01:00
Elisabeth Kulzer
5ede63badc DOPS-602: Change how mmctl gets packaged and locally fetched. (#18335)
* DOPS-602: Change how mmctl gets packaged and locally fetched.
2021-11-02 14:45:02 +01:00
James Addison
8c4e6a85b3 Add .gitlab-ci.yml-compatible continuous integration configuration (#17844)
* Add .gitlab-ci.collabora.yml continuous integration configuration

* Relocate custom GitLab CI/CD configuration file to 'contrib' directory

* Fixup: .gitlab-ci.collabora.yml -> .gitlab-ci.yml

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-29 13:16:45 +02:00
Carlos Tadeu Panato Junior
fc712f5fdf default mm package to release 6.0.0 (#18667) 2021-10-18 13:48:55 +02:00
Carlos Tadeu Panato Junior
d074c3d20d fix package name typo (#18665) 2021-10-13 16:01:32 +08:00
Carlos Tadeu Panato Junior
e95e0e95a8 build: add targets for linux/darwin arm64 and include those in the package (#18491)
* build: add targets for linux/darwin arm64 and include those in the package

* update based on feedback

* store arm64 targets
2021-10-12 11:12:32 +02:00
Carlos Tadeu Panato Junior
5120097a02 build: set 600 permission to config.json when packagin the app (#18490) 2021-10-01 09:40:11 -05:00
Carlos Tadeu Panato Junior
f27f7bfe79 Update base container image from alpine 3.12 to 3.14 (#18450)
* update default mm package to 5.39.0

* update base container image from alpine 3.12 to 3.14
2021-09-23 17:36:05 +02:00
Claudio Costa
9534f9fb62 Update schemas to include new indexes (#18313)
* Update schemas to include new indexes

* Increase local usability of gitlab scripts. (#18314)

* Increase local usability of gitlab scripts.

* Fix loading/saving SQL dumps

* Add logging to schema tests.

* Fix adding logs dir.

Co-authored-by: Claudio Costa <cstcld91@gmail.com>

Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
2021-09-01 09:00:49 +02:00
Joram Wilander
e9935e44bd Bump go.mod and docker go version to 1.16 (#18280)
* Bump go.mod go version to 1.16

* Bump docker build go version to 1.16.7
2021-08-27 08:08:03 -04:00
Mattermod
ddaa07e35f Update latest version to 5.38.1 (#18243)
Automatic Merge
2021-08-23 11:45:03 +02:00
Ben Cooke
ce081357e8 [MM-36445] Changing elastic search docker version (#18117)
* changing elastic docker version for testing

* fixing elastic issue

* temp dockerfile

* test

* removing command

* fixing dockerfile

* adding 7.0.0

* using elasticsearch 7

Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local>
2021-08-18 11:26:05 -04:00
Devin Binnie
0dbaa48741 Change inbucket default port from 10080 to 9001 (#18145) 2021-08-18 09:31:25 -04:00
Martin Kraft
4db27ceda9 Switch to mysql/mysql-server docker image for ARM64 support. (#18137) 2021-08-16 09:23:21 -04:00
Carlos Tadeu Panato Junior
2982cc6f4e update mm server builder to use go 1.16.7 (#18107) 2021-08-10 18:53:35 +02:00
Mattermod
61e4e4d3fc Update latest version to 5.37.1 (#18058)
Co-authored-by: Mmbot <mmbot@mattermost>
2021-08-04 17:47:07 +02:00
Elisabeth Kulzer
04ef406bd6 Increase mysql version of gitlab docker-compose. (#17982)
Automatic Merge
2021-07-22 14:05:02 +02:00
Agniva De Sarker
4968657651 MM-37034: Bump the MySQL min version to 5.7 (#17919)
* MM-37034: Bump the MySQL min version to 5.7

https://mattermost.atlassian.net/browse/MM-37034

```release-note
Minimum required MySQL version is now 5.7
```

* fix shadow warnings

```release-note
NONE
```

* Bumped to 5.7.12

```release-note
NONE
```

* update comment

```release-note
NONE
```

* refactor

```release-note
NONE
```

* fix lint error

```release-note
NONE
```

* fix2

```release-note
NONE
```

* add tests

```release-note
NONE
```

* simplify

```release-note
NONE
```
2021-07-21 16:38:39 +02:00
Carlos Tadeu Panato Junior
959834aefa update mattermost server build to use go 1.16.6 (#17969)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-07-21 11:19:28 +02:00
Emil Velikov
a78a7c7b54 Split package target into per platform (#17692)
Currently the `package` make target handles all three platforms -
Windows, OSX and Linux. While doing it in surprisingly serial mode.

Split it up in 3, so that things are a bit faster and people can package
only what they need.

v2: Rebase (platform was removed)

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>

Co-authored-by: Emil Velikov <emil.velikov@collabora.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-07-19 14:35:21 +02:00
Mattermod
4ad0193d0a Bump version (#17932)
Co-authored-by: Mmbot <mmbot@mattermost>
2021-07-15 18:17:48 +02:00
Carlos Tadeu Panato Junior
eaa76e9529 go: upgrade builder image to use go1.16 (#17897)
* go: upgrade builder image to use go1.16
2021-07-14 13:39:19 +02:00
Elisabeth Kulzer
0765f27483 Enable e2e testing with docker-compose on GitLab (#17765)
* Make testing with docker-compose work on GitLab.

* Comment heavy jobs.

* Make testing with docker-compose work on GitLab.

* Comment heavy jobs.

* Fix images

* Addressing review.
2021-06-23 15:31:57 +02:00
Mattermod
71ef1c5386 Bump version (#17819)
Co-authored-by: Mmbot <mmbot@mattermost>
2021-06-22 13:08:49 +02:00
Mattermod
d093e102a4 Bump version (#17790)
Automatic Merge
2021-06-16 16:10:22 +02:00
Mattermod
45550d4d2a Bump version (#17716)
Automatic Merge
2021-06-04 11:40:22 +02:00
Ibrahim Serdar Acikgoz
0e42613aef cmd: remove platform binary (#17712) 2021-06-04 10:32:50 +03:00
Claudio Costa
3681cd3688 [MM-32390] Config logic refactor (#17578)
* Replace config generator

* Cleanup

* Some renaming and docs additions to add clarity

* Cleanup logging related methods

* Cleanup emitter

* Fix TestDefaultsGenerator

* Move feature flags synchronization logic out of config package

* Remove unnecessary util functions

* Simplify load/set logic

* Refine semantics and add some test to cover them

* Remove unnecessary deep copies

* Improve logic further

* Fix license header

* Review file store tests

* Fix test

* Fix test

* Avoid additional write during initialization

* More consistent naming

* Update app/feature_flags.go

Co-authored-by: Christopher Speller <crspeller@gmail.com>

* Update config/store.go

Co-authored-by: Christopher Speller <crspeller@gmail.com>

* Update config/store.go

Co-authored-by: Christopher Speller <crspeller@gmail.com>

* Update config/store.go

Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>

* Move FF synchronizer to its own package

* Remove unidiomatic use of sync.Once

* Add some comments

* Rename function

* More comment

Co-authored-by: Christopher Speller <crspeller@gmail.com>
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
2021-05-19 13:30:26 +02:00
Carlos Tadeu Panato Junior
fc75b72bba ci: upgrade inbucket (#17560) 2021-05-12 12:45:03 +02:00
Carlos Tadeu Panato Junior
c90c371fd4 build/package: remove dist/mattermost directory (#17601) 2021-05-11 12:23:25 +02:00
Carlos Tadeu Panato Junior
0cbfc58276 ci: update inbucket to use mattermost/inbucket:release-1.2.0 (#17559) 2021-05-03 15:24:51 +02:00
Jesús Espino
d2ed053b6b Add doc extraction dependencies (#17403)
Automatic Merge
2021-04-19 18:06:05 +02:00
Max Erenberg
869da7a78b [MM-32044] Reset SAML auth data (#17161)
Automatic Merge
2021-04-13 00:46:30 +02:00
Mattermost Build
565f65a0c3 Bump version (#17368)
Co-authored-by: Mmbot <mmbot@mattermost>
2021-04-09 13:32:27 +02:00
Doug Lauder
02196e04fa MM-27493 Shared channels (MVP) (#17301)
Remote Cluster Service
- provides ability for multiple Mattermost cluster instances to create a trusted connection with each other and exchange messages
- trusted connections are managed via slash commands (for now)
- facilitates features requiring inter-cluster communication, such as Shared Channels
Shared Channels Service
- provides ability to shared channels between one or more Mattermost cluster instances (using trusted connection)
- sharing/unsharing of channels is managed via slash commands (for now)
2021-04-01 13:44:56 -04:00
Mattermost Build
9d65b72a3a Bump version (#17195)
Co-authored-by: Mmbot <mmbot@mattermost>
2021-03-22 16:23:11 +01:00
Martin Raymond Kraft
58dce5930e [MM-31094] Replication Lag (#16888)
* MM-31094: Adds tooling to develop and test using a MySQL instance with replication lag. Adds some lazy lookups to fallback to master if results are not found.

* MM-31094: Removes mysql-read-replica from default docker services.

* MM-31094: Switches (store..SessionStore).Get and (store.TeamStore).GetMember to using context.Context.

* MM-31094: Updates (store.UsersStore).Get to use context.

* MM-31094: Updates (store.PostStore).Get to use context.

* MM-31094: Removes feature flag and config setting.

* MM-31094: Rolls back some master reads.

* MM-31094: Rolls a non-cache read.

* MM-31094: Removes feature flag from the store.

* MM-31094: Removes unused constant and struct field.

* MM-31094: Removes some old feature flag references.

* MM-31094: Fixes some tests.

* MM-31094: App layers fix.

* MM-31094: Fixes mocks.

* MM-31094: Don't reparse flag.

* MM-31094: No reparse.

* MM-31094: Removed unused FeatureFlags field.

* MM-31094: Removes unnecessary feature flags variable declarations.

* MM-31094: Fixes copy-paste error.

* MM-31094: Fixes logical error.

* MM-30194: Removes test method from store.

* Revert "MM-30194: Removes test method from store."

This reverts commit d5a6e8529bd5f4d993824c828e239d009b05e567.

* MM-31094: Conforming to make's strange syntax.

* MM-31094: Configures helper for read replica with option.

* MM-31094: Adds some missing ctx's.

* MM-31094: WIP

* MM-31094: Updates test names.

* MM-31094: WIP

* MM-31094: Removes unnecessary master reads.

* MM-31094: ID case changes out of scope.

* MM-31094: Removes unused context.

* MM-31094: Switches to a helper. Removes some var naming changes. Fixes a merge error.

* MM-31094: Removes SQLITE db driver ref.

* MM-31094: Layer generate fix.

* MM-31094: Removes unnecessary changes.

* MM-31094: Moves test method.

* MM-31094: Re-add previous fix.

* MM-31094: Removes make command for dev.

* MM-31094: Fix for login.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-03-12 12:37:30 -05:00