Commit Graph

444 Commits

Author SHA1 Message Date
Ibrahim Serdar Acikgoz
e49cc0313a [MM-42167] Add configuration tables to migration system (#19671)
* add configuration tables to migration system

* config: move config migrations into new system completely

* add mysql specific bits

* use helper db instance instead

* fix typo

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-03-08 15:07:37 +03:00
Cass C
73ca57d8db Pre-package Playbooks v1.25.0 (#19725) 2022-03-07 17:42:55 -04:00
Julien Tant
5dd4bec6fa Add inject-test-data to the makefile (#19715) 2022-03-07 12:57:04 -07:00
Julien Tant
dd100a3a69 [MM-41785] Show error in invitation popin when email can't be send (#19617)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-03-02 14:26:57 -07:00
Agniva De Sarker
678c7d3b8c Replace remaining GetMaster() queries (#19545)
There are still some remaining which
access the raw DB struct. There will be
a separate PR to clean those up.

```release-note
NONE
```
2022-02-16 22:30:27 +05:30
Julien Tant
431a5fce59 load docker-compose.override.yaml when it exists (#19541) 2022-02-15 06:38:50 -07:00
Scott Bishel
9dcd61c124 prepackage focalboard v0.14.0 (#19518)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-11 10:53:16 -08:00
Cass C
de0d95f72b MM-41035: Pre-package Playbooks v1.24.1 (#19443)
* MM-41035: Pre-package Playbooks v1.24.0

* bump minor version
2022-02-08 15:05:23 -05:00
Agniva De Sarker
569ee94116 Pin GolangCI to a specific version (#19505)
* Pin GolangCI to a specific version

Go 1.16+ allows installing a tool directly from a specific version.
Therefore, we don't need to rely on the tool being pre-installed
and can directly install it using standard method.

This keeps the same version of the tool for a repo and limits the
binary placement to the GOBIN of the repo.

```release-note
NONE
```
2022-02-07 23:37:04 +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
Scott Bishel
9fde5b1ac3 prepackage boards to v0.12.1 release (#19375) 2022-01-19 10:14:27 -07:00
Agniva De Sarker
b6f3f580bc Migrate tool install to the new pattern (#19331)
Installing tools via go get is deprecated since Go 1.17,
and directly installing a version via go install is recommended.

We remove the go.tools.mod file as it's no longer the right
pattern.

```release-note
NONE
```
2022-01-14 20:15:07 +05:30
Max Schumacher
a07936c279 used silver searcher docs and regex to make todo target more concise (#19208)
* used silver searcher docs and regex to make todo target more concise
2022-01-13 15:16:54 +01:00
Scott Bishel
0c542bc86c prepackage boards to v0.12.0 (#19299)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-13 06:54:09 -07:00
Ibrahim Serdar Acikgoz
6595b31f23 Replace go-migrate with morph (#19116) 2022-01-08 10:16:07 +02:00
Jesse Hallam
a4f61e2c68 MM-40677: Pre-package Playbooks v1.23.0 (#19295) 2022-01-07 13:23:00 -04:00
Agniva De Sarker
93a9c6c293 MM-40852: Fix make gen-serialized breakage (#19291)
- Fixed the Makefile command so that it can be run in CI
- Changed to go install to make it compatible with >1.16 versions.
- Removed unnecessary lines in go.tools.mod now that we aren't using that.

```release-note
NONE
```
2022-01-07 20:02:54 +05:30
Scott Bishel
2727bb122e prepackage boards to v0.10.0 (#19111)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-12-13 14:33:48 +01:00
Jesse Hallam
92e80bd4ed Pre-package Playbooks v1.22.1 (#19130)
* Pre-package Playbooks v1.22.1

* Bump
2021-12-07 14:56:52 -04:00
Scott Bishel
e3051b0df8 prepackage boards to 0.10.0 (#18973)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-10 15:58:36 -07:00
Jesse Hallam
5cca781c62 MM-39314: Pre-package Playbooks 1.21.0 (#18935) 2021-11-04 17:42:58 -03:00
Scott Bishel
7521d8e9e4 update boards version to 0.9.4 (#18831)
Automatic Merge
2021-10-22 23:25:26 +02:00
Agniva De Sarker
acd08f0a48 Fix migration scripts (#18756)
* Fix migration scripts

Set the DB schema version in DB prior to running migration

https://community-daily.mattermost.com/boards/workspace/zyoahc9uapdn3xdptac6jb69ic/285b80a3-257d-41f6-8cf4-ed80ca9d92e5/495cdb4d-c13a-4992-8eb9-80cfee2819a4?c=c2525dbb-23eb-4fe7-8fb4-e9a5f503dc8c

```release-note
NONE
```

* Revert schema to 6.0.0 and update CI scripts

* Fix typo

* Add missing default

* Fix extra comma

Co-authored-by: Claudio Costa <cstcld91@gmail.com>
2021-10-19 19:56:09 +05:30
Jesse Hallam
c5811939c4 Pre-package Playbooks 1.20.2 (#18703) 2021-10-18 11:00:11 -03:00
Scott Bishel
60b20dbd92 update focalboard to 0.9.3 (#18688)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-14 14:57:03 -06: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
Scott Bishel
4a7cf864be update boards to 0.9.2 (#18616)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-08 10:25:44 -06:00
Scott Bishel
0d961b00d9 Prepackaged boards to 0.9.1 (#18405)
* update prepackaged boards to 0.9.0

* update to 0.9.1

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-06 13:28:10 -06:00
Jesse Hallam
4fbcc85c3e Pre-package Playbooks v1.20.1 (#18542) 2021-10-05 15:22:33 -03:00
Alejandro García Montoro
5045152acc Pre-package Channel Export plugin v1.0.0 (#18544) 2021-10-05 17:48:19 +02:00
Jesse Hallam
8a2832223c Pre-package Playbooks 1.20.0 (#18477)
Automatic Merge
2021-09-28 03:20:02 +02:00
Jesús Espino
f9bd7cce8e Set BuildDate compile flag to dev during development (#18383)
* Set BuildDate compile flag to dev during development

* Addressing review comments
2021-09-15 10:16:20 +02:00
Claudio Costa
57075c9cc0 Fix stopping mattermost server (#18337) 2021-09-06 10:04:32 +02:00
Agniva De Sarker
eaa6113cb4 Use new mattermost-govet (#18329)
```release-note
NONE
```
2021-09-02 13:36:20 +05:30
Claudio Costa
ac252f0771 [MM-37621] Update db schema validation scripts for 6.0 (#18223)
* Fix migration scripts

* Update schema validation scripts
2021-08-31 09:50:47 +02:00
Martin Kraft
77dc29308f Fix for test-data make target (#18229)
* Fix for the test-data command.

* Sleep and warn about needing local mode enabled.

* Improved server start synchro.
2021-08-23 09:45:07 -04:00
Christopher Poile
098099aedd prepackage v1.16.1 (#18155) 2021-08-18 08:59:57 -04:00
Doug Lauder
a4507327a7 MM-36764 mlog refactor (#18118)
Refactor mlog
- simplify mlog by removing redundant code
- remove Zap dependency
- update unit test helpers
- update logging config
- update auditing
2021-08-17 16:08:04 -04:00
Christopher Poile
6af00ee2ce Pre-package Incident Collaboration v1.16.0 (#18082)
Automatic Merge
2021-08-09 21:15:04 +02:00
Scott Bishel
56be6b539c update prepackage board version to 0.8.2 (#18071)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-08-09 16:05:34 +02:00
Ben Schumacher
bf1f60d309 [MM-2307] Move plugin helpers from mattermost-server repository into mattermost-plugin-api (#17870) 2021-08-06 11:54:56 +02:00
Claudio Costa
186475db3b [MM-35470] Disable config watching logic (#17913)
* Disable config watching logic

* Fix tests
2021-07-26 20:13:30 +02:00
Agniva De Sarker
c4b4e1bc38 MM-36271: Bump major version to 6.0 (#17973)
https://mattermost.atlassian.net/browse/MM-36271

```release-note
We bump the major version to 6.0
```
2021-07-22 12:21:47 +05:30
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
Jesse Hallam
0276a69f0c Pre-package Incident Collaboration v1.14.3 (#17916)
Automatic Merge
2021-07-13 20:35:02 +02:00
Jesse Hallam
54097ef34a Pre-package Incident Collaboration v1.14.2 (#17886) 2021-07-08 19:24:43 -03:00
Miguel de la Cruz
334fec1e2d Prepackage focalboard v0.7.3 (#17867) 2021-07-07 17:32:56 +02:00
Miguel de la Cruz
c26393421e Bump focalboard prepackaged plugin version to v0.7.0 (#17822) 2021-06-23 19:21:27 +02:00
Agniva De Sarker
df224571d8 Adding plugin.Driver mocks (#17807)
This is needed for plugin clients to mock tests.

```release-note
NONE
```
2021-06-21 12:48:17 +05:30
Harshil Sharma
e4aa729a0c MM-34437 Preventing infinite trial requests (#17472)
* MM-34434: Added 'is_trial' boolean to all trial license requests and to the License struct.

* MM-34434: Generalized the concept of a license request.

* MM-34434: Verifies JSON field of license instance is set.

* MM-34434: Added missing client param.

* MM-34434: Added some tests of the request trial API endpoint.

* MM-34434: Removed comment.

* fix broken test (#17348)

* Add missing wrapped errors (#17339)

* Improve document extraction and including a document extraction command (#17183)

* Add extract documents content command

* Adding the extraction command and making the pure go pdf library as secondary option

* Improving the memory usage and docextractor interface

* Enable content extraction by default in all the instances

* Tiny improvement on archive indexing

* Adding App interface generation and the opentracing layer

* Fixing linter errors

* Addressing PR review comments

* Addressing PR review comments

* Update en.json (#17356)

Automatic Merge

* adding new feature flag (#17308)

Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Bump no_output_timeout to 2 hours (#17358)

* log invalid username (#17345)

Automatic Merge

* MM-34434: Added missing client param.

MM-34434: Added some tests of the request trial API endpoint.

MM-34434: Removed comment.

* MM-34434: Switched to a hard-coded true value.

* MM-34434: Reverts test change.

* MM-34434: Removes unnecessary field.

* MM-34434: Tests that is_trial is hard-coded by TrialLicenseRequest.

* MM-34434: Removed accidental commit.

* MM-34434: Removes unnecessary is_trial key from JSON payload.

* MM-34434: Reverts to old pointer receiver variable name.

* MM-34434: Removes test.

* #MM-34437 Initialized license service

* ##MM-34437 Verified at all points if server is trial elligible

* WIp

* #MM-34437 removed unused commented code

* MM-34437 make a log less severe

* #MM-34437 generated einterface mocks

* #MM-34437 added license on new file

* #MM-34437 removed unused translation

* #MM-34437 some refactoring

* Update api4/license.go

* Update api4/license.go

* #MM-34437 made a variable name consistent

* #MM-34437 Added mocks for lince validator

* #M--34437 Added license validator test framework

* #MM-34437 Renamed isTrial method to isTrialLicense to avoid conflict with newlya dded field

* #M--34437 Allowed sales-sanctioned trials

* #MM-34437 fixed trial license API tests

* Added tests for add license API

* #MM-34437 fixed ValidateLicense test

* #MM-34437 Added util tests

* #MM-34437 using NoError for checking no error

* #MM-34437 using NoError for checking no error

* Added dummy piblic key for testing

* Fixed tests

* #MM-34437 udpaetd trial license URL for testing

* #MM-34437 adjusted times for licences generated through admin portal

* Reverted test-only changes

Co-authored-by: Martin Kraft <martin@upspin.org>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Amy Blais <amy_blais@hotmail.com>
Co-authored-by: Ben Cooke <benkcooke@gmail.com>
Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in>
Co-authored-by: Max Erenberg <max.erenberg@mattermost.com>
2021-06-17 17:37:34 +05:30