Commit Graph
306 Commits
Author SHA1 Message Date
a30c335864 Update Agents plugin FIPS version to v2.0.3 (#36417) (#36420)
Automatic Merge

(cherry picked from commit 9bbe9ea6e6)

Co-authored-by: Alejandro García Montoro <alejandro.garciamontoro@gmail.com>
2026-05-05 16:44:34 +02:00
Mattermost BuildandGitHub 56ffaa0201 Prepackage mattermost-plugin-agents v2.0.3 (#36401) (#36403)
Automatic Merge
2026-05-05 08:53:37 +02:00
Alejandro García MontoroandGitHub 7aef5a717a Update Agents plugin FIPS version to v2.0.2 (#36389) (#36393)
Automatic Merge
2026-05-04 17:55:20 +02:00
Alejandro García MontoroandGitHub b7019d1359 MM-67931: Prepackage the FIPS flavour of Playbooks v2.8.1 (#36387)
Automatic Merge
2026-05-04 12:47:39 +02:00
Mattermost BuildandGitHub eb4399cbc7 [MM-67867] Update Playbooks plugin to v2.8.1 (#36361) (#36378)
Automatic Merge
2026-05-04 07:47:39 +02:00
9f382a5eaf Prepackage Agents plugin v2.0.2 (#36349) (#36354)
Update non-FIPS PLUGIN_PACKAGES entry to mattermost-plugin-agents-v2.0.2
(https://github.com/mattermost/mattermost-plugin-agents/releases/tag/v2.0.2).

FIPS prepackage is unchanged; v2.0.2 FIPS artifacts are not published yet.

Made-with: Cursor
(cherry picked from commit 082f6ba85a)

Co-authored-by: Nick Misasi <nick.misasi@mattermost.com>
2026-05-04 08:32:18 +03:00
db9d6929e1 Update Agents plugin FIPS version to v2.0.0 (#36344) (#36347)
Automatic Merge

(cherry picked from commit 8d7507b1eb)

Co-authored-by: Alejandro García Montoro <alejandro.garciamontoro@gmail.com>
2026-05-01 17:03:43 +02:00
Mattermost BuildandGitHub a0947f9201 Update Agents plugin to v2.0.0 (#36336) (#36337)
Automatic Merge
2026-04-30 14:47:40 +02:00
6eb222aa17 Update Agents plugin to v2.0.0-rc5 (#36207) (#36210)
* Update Agents plugin to v2.0.0-rc4

* Update Agents plugin to v2.0.0-rc5

(cherry picked from commit 863d581f98)

Co-authored-by: Christopher Speller <crspeller@gmail.com>
2026-04-22 12:21:23 +00:00
Mattermost BuildandGitHub 07f64ba0d8 Bump Boards FIPS version to v9.2.4 (#36165) (#36167)
Automatic Merge
2026-04-17 18:12:10 +02:00
05cc28e6b2 Update Agents plugin to v2.0.0-rc3 (#36157) (#36161)
(cherry picked from commit 41e59bf1d5)

Co-authored-by: Christopher Speller <crspeller@gmail.com>
2026-04-17 08:37:01 +03:00
Andre VasconcelosandGitHub f3c2e52b76 Bumping prepackaged zoom version to 1.13.0 (#35998) 2026-04-10 17:48:50 +03:00
Jesse HallamandGitHub 4d028d557b Support Elasticsearch v9 alongside v8 (#35781) 2026-04-10 11:15:07 -03:00
Rajat DabadeandGitHub 1c093d3760 Upgraded board prepackaged version to v9.2.4 (#35969) 2026-04-09 13:20:50 +05:30
Jesse HallamandGitHub 12aedfdcae Simplify Apple Silicon docker-compose support (#35975) 2026-04-08 07:59:04 -04:00
e2e7aed678 Add prepackaged version of github plugin v2.7. (#35968)
Co-authored-by: Nevyana Angelova <nevyangelova@192.168.100.47>
2026-04-07 17:26:53 +03:00
Jesse HallamandGitHub f6d5d9e1bc [MM-67859] Update license renewal and expiry email branding (#35701) 2026-04-04 20:30:36 -03:00
4d20645a5b Inline mattermost-govet into the monorepo (#35869)
* inline mattermost-govet

* fix style issues

* simplify the openApiSync spec test

* README.md tweaks

* fix missing licenses

* simplify README.md

* trigger server-ci on tools/mattermost-govet/**

* Apply https://github.com/mattermost/mattermost-govet/commit/470cf78253f0aa85a4f4b5b50002682bf823e729

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2026-04-01 13:24:22 +00:00
Jesse HallamandGitHub f7f2d944e8 upgrade golangci-lint (#35845) 2026-03-30 13:41:32 -03:00
Carlos GarciaandGitHub fd2dd1c618 updated go to version 1.25.8 (#35817)
* updated go to version 1.25.8

* updated gotestsum version to work with go 1.25.8

go 1.25 does not work with indirect tools 0.11 dependency pulled by
gotestsum.

* Use sync.WaitGroup.Go to simplify goroutine creation

Replace the wg.Add(1) + go func() { defer wg.Done() }() pattern with
wg.Go(), which was introduced in Go 1.25.

* pushes fips image on workflow dispatch to allow fips test to run on go version update

* fix new requirements for FIPS compliance imposed on updating to go 1.25.8

* updates openssl symbol check for library shipped with FIPS new versions

go-openssl v2 shipped with FIPS versions starting from 1.25 uses mkcgo to generate
bindings causing symbol names to be different.

* removes temp workflow-dispatch condition

* keep versions out of agents md file
2026-03-27 21:11:52 +01:00
Jesse HallamandGitHub 71fe83aea2 Add concurrentIndex vet rule and fix migrations (#35809)
* dont panic in CleanupSqlSettings so we can surface migration failures

* update mattermost-govet

* nolint existing missing CONCURRENT

* Revert "nolint existing missing CONCURRENT"

This reverts commit 45b3110bf0.

* simplify

* approve up to 166
2026-03-27 16:34:17 -03:00
Jesse HallamandGitHub 4c25d03f67 Automate setup-go-work as a dependency for Make targets (#35476)
* automate setup-go-work

It's all to easy to forget to `make setup-go-work`, only to run into mysterious build failures. Let's default to doing this automatically, unless `SKIP_SETUP_GO_WORK` is true (or the legacy `IGNORE_GO_WORK_IF_EXISTS`, which was oddly named, since we can't actually ignore it.)

* Make setup-go-work recipe fail-fast with set -e
2026-03-20 19:12:20 +00:00
5af5b6dfac [MM-67744] Add -buildvcs=false to default GOFLAGS (#35587)
* Add -buildvcs=false to default GOFLAGS

This prevents Go from embedding VCS information into binaries, which
avoids false positives in container vulnerability scanners like Trivy
when using Go workspaces with enterprise dependencies.

Also updates mmctl-build target to use $(GO) and $(GOFLAGS) for
consistency with other build targets.

Made-with: Cursor

* Update comment wording

Trigger PR sync to test Enterprise CI

Made-with: Cursor

* Trigger CI to test Enterprise CI fix

Made-with: Cursor

* Test Enterprise CI

Made-with: Cursor

* replace buildvcs metadata in mmctl

* rm redundant -buildvcs=false in GitHub actions

* update mmctl-docs to $(GO)

* simplify getVersionInfo signature

* use GOOS/GOARCH convention

* export GOFLAGS for common use

* Clarify version.go var block comment

---------

Co-authored-by: Jesse Hallam <jesse@mattermost.com>
2026-03-20 10:28:36 -03:00
Andre VasconcelosandGitHub f165e08246 Bumping prepackaged Jira version to 4.6.0 (#35637) 2026-03-17 16:14:23 +02:00
Andre VasconcelosandGitHub e0fa9c7818 Bumping prepackaged GitLab plugin version to v1.12.1 (#35595) 2026-03-13 22:32:15 +02:00
Bill GardnerandGitHub 5646f4aa5c Update plugin-calls to v1.11.4 (#35561) 2026-03-12 11:40:38 -04:00
Andre VasconcelosandGitHub 608c009e4f Bumping prepackaged MS Teams Meetings plugin version to 2.4.1 (#35564) 2026-03-12 14:56:45 +02:00
560ee5c598 [MM-67626] Update Playbooks plugin to v2.8.0 (#35549)
* [MM-67626] Update Playbooks plugin to v2.8.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Prepackage FIPS version for Playbooks

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Alejandro García Montoro <alejandro.garciamontoro@gmail.com>
2026-03-11 11:02:36 +00:00
Mattermost BuildandGitHub 27d054c4d3 Prepackage Playbooks FIPS v2.7.0 (#35450) (#35456)
Automatic Merge
2026-03-03 09:25:21 +01:00
Alejandro García MontoroandGitHub fa7668ae0d MM-67668: Replace Promtail with OpenTelemetry collector (#35381)
* Add container name to Docker logs

This will allow for querying Loki by container's name:

  {job="docker",container_name="mattermost-postgres"}

* Configue Loki to prepare for OTLP ingestion

- Add a volume to Loki container to get the config
- Configure Loki with the expected labels so that we can query by job,
  app, container.name...

* Add OpenTelemetry collector configuration

There are three pipelines:
1. logs/mattermost scrapes the logs from mattermost.log, parsing the
   timestamp and severity, and pushes them to Loki.
2. logs/docker scrapes the Docker logs from *-json.log, parsing the
   timestamp, the log itself and the container name, and pushes them to Loki.
3. metrics/docker scrapes the Docker socket to retrieve the containers'
   uptime values and pushes them to Prometheus.

* Replace Promtail with OpenTelemetry collector

* Update build tooling for OpenTelemetry collector

1. Make sure that the logs directory is created
2. Swap Promtail with OpenTelemetry collector

* Scrape collector to get Docker stats

Prometheus needs to scrape the OpenTelemetry collector in the exposed
port to get the Docker stats, so that we can query the uptime with
metric container_uptime_seconds, which has a container_name label to
filter by container.

* Update Grafana dashboard for Docker health checks

1. Use Prometheus as the datasource in all queries
2. Simplify the mappings to either 0 (offline, red) or 1 (online,
   green).
3. Unify all queries on container_uptime_seconds, filtering by
   container_name, and making sure that the latest value we got is at most
   15 seconds old, so that it does not show stale data.
4. Add Redis health check, that was missing
5. Update the dashboard title to Docker containers

* Tune Loki and OTel collector configs for local dev

- Switch filelog receivers to start_at: beginning so existing logs are
  ingested on collector startup, not just new entries.
- Fix Docker log timestamp layout to use 9s (variable-length nanos)
  instead of 0s (fixed-width), matching actual Docker JSON log format.
- Add ingester max_chunk_age to keep chunks open longer in the
  single-instance dev setup, so that we can ingest older logs (the
  window is max_chunk_age/2).
- Relax Loki limits for local development: allow unordered writes,
  disable old-sample rejection, and raise ingestion rate/burst to 64 MB
  to avoid throttling during bulk ingest.
2026-02-27 16:48:17 +01:00
Bill GardnerandGitHub 8069cae8f8 Update plugin-calls to v1.11.1 (#35427) 2026-02-26 16:38:34 -05:00
Andre VasconcelosandGitHub 46e35cecb5 Bumped prepackaged MS Calendar version to 1.6.0 (#35328) 2026-02-18 12:56:01 +02:00
Andre VasconcelosandGitHub 7d89d327ec Bumping prepackaged version of GitHub plugin (#35223) 2026-02-10 15:11:09 +02:00
4887c501e1 chore: Update zoom version to 1.12.0 (#35167)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevy-Macbook-16-2025.local>
Co-authored-by: Mattermost Build <build@mattermost.com>
2026-02-04 18:03:04 +07:00
f3c6602725 Allow building the server on FreeBSD (#25838)
* Allow building the server on FreeBSD

* Fix merge

---------

Co-authored-by: Erwan Martin <erwan@pepper.com>
Co-authored-by: Alejandro García Montoro <alejandro.garciamontoro@gmail.com>
2026-02-03 14:05:16 +00:00
Julien TantandGitHub 288816834d Bump playbooks to v2.7.0 (#35150) 2026-01-30 11:42:41 -07:00
Andre VasconcelosandGitHub 3321db82c3 Bumping prepackaged version of MS Teams Meetings plugin to 2.4.0 (#35146) 2026-01-30 18:03:20 +02:00
Alejandro García MontoroandGitHub 62df0b0417 Update the FIPS flavour of Playbooks to v2.6.2 (#35096)
Automatic Merge
2026-01-29 08:53:28 +02:00
Julien TantandGitHub 73d7e66e97 Bump playbooks to v2.6.2 (#35077)
Automatic Merge
2026-01-27 23:53:27 +02:00
Carlos GarciaandGitHub 89a29ce3c2 MM-66167 fix (#35061)
* use BUILD_ENTERPRISE_READY instead of hardcoded value in Makefile

* fixes MM-66167
2026-01-27 15:29:22 +01:00
Alejandro García MontoroandGitHub 4cd9a266f8 Update the FIPS flavour of Boards to v9.2.2 (#35064)
Automatic Merge
2026-01-27 08:53:33 +02:00
Andre VasconcelosandGitHub 3a394b25e4 Bumping version of prepackaged Gitlab plugin to 1.12.0 (#35033) 2026-01-23 17:41:11 +02:00
0ace6a45cd Update prepackaged Jira plugin to v4.5.1 (#34978)
Co-authored-by: Nevyana Angelova <nevyangelova@192.168.100.42>
2026-01-19 17:25:27 +00:00
07ba32e849 MM-62151 avoid select * for post store (#34709)
* fix SELECT * in user_store.go

* MM-62151: Avoid SELECT * in post store SQL queries

Replace all SELECT * patterns in post_store.go with explicit column
specifications using postSliceColumns() and postSliceColumnsWithName()
helper functions. This prevents unnecessary data transfer and protects
against schema changes.

Changes:
- Use Squirrel's .Column() method for cleaner query building
- Remove unqueryvet linter exception for post_store.go
- Fix 11 SELECT * occurrences in various query methods

* leverage postsQuery where we can

* more builder simplifications

* add noSelectStar to linter

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2026-01-09 18:23:16 +00:00
Rajat DabadeandGitHub e45dd2ccf3 Upgraded board version to v9.2.2 (#34884) 2026-01-09 20:31:21 +05:30
Andre VasconcelosandGitHub a17bb19844 Bumping prepackaged Jira Plugin version to v4.5.0 (#34803) 2025-12-19 16:23:55 +02:00
Nick MisasiandGitHub 11e849d416 Update prepackaged Agents to 1.7.2 (#34780)
Automatic Merge
2025-12-18 10:31:23 +02:00
b61389526b Update Zoom prepackaged version to 1.11.0 (#34734)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevy-Macbook-16-2025.local>
2025-12-12 17:04:11 +00:00
Christopher SpellerandGitHub 36285d192b Update Agents plugin to v1.7.1 (#34716)
Automatic Merge
2025-12-12 08:24:16 +02:00
9936b5ac82 Bump prepackage Microsoft Calendar plugin version to 1.5.0 (#34648)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevy-Macbook-16-2025.local>
2025-12-04 16:11:00 +02:00