Agniva De Sarker
a31159257d
Ran make modules-tidy ( #22600 )
...
* Ran make modules-tidy
* Removed go.tools.sum which is not needed anymore
* Upgrade golang.org/x/net
2023-03-23 16:59:50 +05:30
Doug Lauder
c943ed6859
Mono repo -> Master ( #22553 )
...
Combines the following repositories into one:
https://github.com/mattermost/mattermost-server
https://github.com/mattermost/mattermost-webapp
https://github.com/mattermost/focalboard
https://github.com/mattermost/mattermost-plugin-playbooks
2023-03-22 17:22:27 -04:00
Doug Lauder
f2d151cfd5
Bump Logr to version 2.0.16 ( #22210 )
...
* Bump Logr to version 2.0.16
2023-02-01 11:13:45 -05:00
Julien Tant
753ee85c6b
[MM-47846] Execute Work Template ( #22055 )
2023-01-25 10:24:01 -07:00
Agniva De Sarker
f76d240495
MM-49703: Bump Go version to 1.19 ( #22107 )
...
https://mattermost.atlassian.net/browse/MM-49703
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-01-23 12:43:56 +05:30
Agniva De Sarker
0cd07df844
MM-48504: Bump dependencies ( #21994 )
...
* MM-48504: Bump dependencies
https://mattermost.atlassian.net/browse/MM-48504
```release-note
NONE
```
2023-01-12 19:30:04 +05:30
Doug Lauder
7a9354cd09
Expose boards APIs for MPA ( #21917 )
...
* add first batch of Boards service APIs for MPA
2022-12-23 10:47:29 -05:00
Julien Tant
3e928f57fb
[MM-48031] Work template read API ( #21661 )
2022-11-29 14:53:03 -07:00
Ibrahim Serdar Acikgoz
1edbf67bb2
migrations: bump morph dependency and reflect changes ( #21670 )
2022-11-17 19:36:08 +03:00
Agniva De Sarker
17332035fa
MM-47034: Update dependencies ( #21676 )
...
https://mattermost.atlassian.net/browse/MM-47034
```release-note
NONE
```
2022-11-17 09:27:08 +05:30
Agniva De Sarker
e14fd1d955
Bump splitio dependency ( #20960 )
...
Split finally upgraded their dependency.
This means we can bump this and get rid of any hacks
in our dependency upgrade process!
```release-note
NONE
```
2022-09-09 00:41:04 +05:30
Agniva De Sarker
6b6fec5678
MM-46420: Update server dependencies ( #20844 )
...
https://mattermost.atlassian.net/browse/MM-46420
```release-note
NONE
```
2022-08-19 09:40:21 +05:30
Agniva De Sarker
2388848f47
Killing dyatlov/go-opengraph with fire ( #20706 )
...
Correctly updating this requires PRs
in multiple repositories. Fixing this
with a hammer for now to unblock server.
```release-note
NONE
```
2022-07-25 22:15:24 +05:30
Agniva De Sarker
fa9477d332
MM-45000: Upgrade to new opengraph module path ( #20701 )
...
https://mattermost.atlassian.net/browse/MM-45000
```release-note
NONE
```
2022-07-25 14:25:32 +05:30
Ashish Bhate
7793aebfbb
Revert "MM-45000: Change dyatlov dependency ( #20443 )" ( #20506 )
...
This reverts commit 680b00047f .
Reverts the recent opengraph update to fix some issues with our plugins
2022-06-20 20:34:41 +05:30
Tim Scheuermann
eb034fc981
MM-44236 Update server dependencies ( #20444 )
2022-06-16 08:50:55 +02:00
Agniva De Sarker
680b00047f
MM-45000: Change dyatlov dependency ( #20443 )
...
* MM-45000: Change dyatlov dependency
https://mattermost.atlassian.net/browse/MM-45000
2022-06-14 16:11:53 +03:00
Jesse Hallam
a4ad6eda5d
s/masterminds/mattermost for squirrel ( #20162 )
...
Our fork of https://github.com/Masterminds/squirrel at https://github.com/mattermost/squirrel (previously https://github.com/lieut-data/squirrel ) isn't compatible with the upstream project, and causes issues for repositories importing mattermost-server and using squirrel.
Sidestep this by adopting the `mattermost/squirrel` fork explicitly. (Downstream repos can either switch, or keep using the upstream version from `Masterminds`.)
2022-05-10 11:48:59 -03:00
Ibrahim Serdar Acikgoz
22d040eeb2
update dependencies ( #20158 )
2022-05-10 10:58:09 +03:00
Agniva De Sarker
38d0c2bcf3
MM-43753: Module workspaces ( #20113 )
...
* MM-43753: Module workspaces
Move to module workspaces
We make the following changes:
- Remove the vendor directory.
- Dynamically create the go.work file if it doesn't exist.
- Set the MM_SERVER_PATH for enterprise tests.
https://mattermost.atlassian.net/browse/MM-43753
```release-note
NONE
```
* Fix missing reference to MM_SERVER_PATH
```release-note
NONE
```
* Update test to add another nested dir
```release-note
NONE
```
* Have separate script to create go.work file
```release-note
NONE
```
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-05-05 21:42:31 +05:30
Agniva De Sarker
4bc2ed3973
Bump GoSAML dependency ( #20092 )
...
```release-note
NONE
```
2022-04-28 22:28:58 +05:30
Agniva De Sarker
48f8e2fa44
MM-43753: Go mod tidy for 1.18 ( #20073 )
...
We bump the go.mod version to 1.18
and run go mod tidy.
This is required for using new features.
```release-note
NONE
```
2022-04-27 13:51:49 +05:30
Agniva De Sarker
9d37a6cc3d
MM-42927: Use new gosaml2 library ( #20004 )
...
```release-note
NONE
```
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-04-26 11:28:49 +05:30
Nazar Vovk
3476eccf5b
Update minio-go dependency to 7.0.24 ( #20006 )
...
* Update minio-go dep to 7.0.24
* Bringing back some removed libraries
```release-note
NONE
```
Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in >
2022-04-16 10:38:32 +05:30
Agniva De Sarker
56dfcddff5
MM-43143: Dataloaders for roles ( #19936 )
...
We use a dataloader to optimize roles loading.
https://mattermost.atlassian.net/browse/MM-43143
```release-note
NONE
```
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-04-08 15:32:35 +05:30
Agniva De Sarker
bc69069a83
MM-42570: Update dependencies ( #19901 )
...
https://mattermost.atlassian.net/browse/MM-42570
```release-note
NONE
```
2022-04-06 06:44:42 +08:00
Jesse Hallam
7b5ac343f0
adopt forked squirrel supporting from UPDATE FROM ( #19896 )
...
Fork https://github.com/Masterminds/squirrel as https://github.com/lieut-data/squirrel with the following changes:
* https://github.com/Masterminds/squirrel/pull/256 supporting FROM clause to update builder (Postgres)
* Extension of above to support multiple FROM in UPDATE (Postgres)
* Support for multiple tables in UPDATE (MySQL)
This PR then leverages those changes to simplify a query that previously had to be coded by hand and duplicate for each of MySQL and Postgres.
2022-04-04 09:30:59 -03:00
Ibrahim Serdar Acikgoz
97d3368a98
update morph dependency ( #19891 )
2022-04-04 14:03:39 +03:00
Agniva De Sarker
4da98cb51a
Kill gorp ( #19786 )
...
* Kill gorp
Gorp is dead. Long live Gorp.
```release-note
NONE
```
2022-03-15 19:49:19 +05:30
Ibrahim Serdar Acikgoz
a22bc8fd96
Update dependecies ( #19635 )
2022-02-28 09:37:32 +03:00
Agniva De Sarker
939551ed10
MM-38634: Simplify image proxy ( #19603 )
...
We copy over the necessary code to simplify
the local image proxy feature.
https://mattermost.atlassian.net/browse/MM-38634
```release-note
NONE
```
2022-02-24 09:02:57 +05:30
Agniva De Sarker
2a59047d07
Moved morph dependency to new repo ( #19618 )
...
```release-note
NONE
```
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com >
2022-02-23 20:11:12 +05:30
Agniva De Sarker
9640962428
Bump morph dependency ( #19569 )
...
```release-note
NONE
```
2022-02-16 22:30:41 +05:30
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
Agniva De Sarker
57eafbc6ca
MM-40676: Bump dependencies ( #19525 )
...
https://mattermost.atlassian.net/browse/MM-40676
```release-note
NONE
```
2022-02-09 23:05:16 +05:30
Agniva De Sarker
d639e3c87c
MM-41231: Bump morph dependency to avoid advisory locks ( #19421 )
...
https://mattermost.atlassian.net/browse/MM-41231
```release-note
NONE
```
2022-01-26 19:48:21 +05:30
Ibrahim Serdar Acikgoz
73ac1a354d
Update morph dependecy to fix a data race ( #19326 )
...
* Update morph dependecy to fix a data race
* run go mod tidy
2022-01-13 12:41:56 +03:00
Ibrahim Serdar Acikgoz
f829dba615
Update morph dependency ( #19308 )
...
* Update morph dependency to use a newer version
* remove timeout check for migrations statements
* store/sqlstore: reset timeout for mysql while creating db for migrations
* update morph to v0.2.1
2022-01-12 17:24:29 +03:00
Claudio Costa
0bd19e682c
Sanitize message in email template ( #19304 )
2022-01-11 11:40:00 +01:00
Ibrahim Serdar Acikgoz
6595b31f23
Replace go-migrate with morph ( #19116 )
2022-01-08 10:16:07 +02:00
Agniva De Sarker
b836edba40
MM-40537: Bump bleve dependency to fix Sentry crash ( #19194 )
...
* MM-40537: Bump bleve dependency to fix Sentry crash
We observed a sentry crash, which is now fixed upstream.
So we bump the dependency accordingly.
```release-note
NONE
```
* Fix vendor/modules.txt
```release-note
NONE
```
* New fix
```release-note
NONE
```
* Trigger CI
```release-note
NONE
```
2021-12-20 14:48:24 +05:30
Agniva De Sarker
189d447591
MM-39315: Bump dependencies ( #19039 )
...
Note: We keep splitio/go-client untouched
because the dependency is broken.
See https://github.com/mattermost/mattermost-server/pull/18604
```release-note
NONE
```
2021-11-24 19:45:28 +05:30
Ibrahim Serdar Acikgoz
ba3a911c99
[MM-39299] Remove outdated translations and update go-i18n library ( #18674 )
...
* Remove outdated translations
* update go-i18n dependency
* reflect review comments
* add message count for languages which has two translations for plurals
2021-10-15 16:26:25 +03:00
Agniva De Sarker
76d492f9ab
MM-37186: Update dependencies ( #18604 )
...
* MM-37186: Update dependencies
The split client libraries were excluded from being upgraded.
See: https://github.com/splitio/go-split-commons/issues/56
https://mattermost.atlassian.net/browse/MM-37186
```release-note
NONE
```
* Ignore staticcheck deprecation warnings
```release-note
NONE
```
2021-10-07 12:57:51 +05:30
Miguel de la Cruz
a9101d62a6
Update to bleve v2 and to use the scorch index ( #18266 )
...
Automatic Merge
2021-09-17 10:59:02 +02:00
Doug Lauder
bb659d03fd
Fix plugin logging missing context fields
...
Fix an issue where context fields logged by server on behalf of plugins didn't contain correct name/value pairs:
- bump Logr version to add key/value methods to sugar logger
- expose factory args when configuring logging with custom target types (needed for FocalBoard to create log target adapter that converts typed fields into slices of interface{} as per plugin logging API)
2021-09-13 10:12:18 -04: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
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
Jesús Espino
b9cceb70ae
Making doc extraction more reliable ( #17842 )
...
* Making doc extraction more reliable
* fix error message
* Adding test doc file
* Removing test that not works on CI because the lack of a binary
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2021-07-29 11:57:51 +02:00
Claudio Costa
1ae1c38c9f
[MM-36995] Start using db native JSON datatypes ( #17930 )
...
* Start using db native JSON datatypes
* Fix syntax to work on MySQL 5.7.12
2021-07-28 08:50:36 +02:00