Mario de Frutos Dieguez
bb095c2a1a
mmctl is not being included in the package ( #16105 )
...
It's was including it in the bin folder but when we package we need to include it in the dist/bin so right now the `download_mmctl` script accepts a second parameter to define the path where the binary is going to be stored
2020-10-28 13:59:49 +01:00
Agniva De Sarker
27dbe9e182
MM-28984: Add fallback text to push notification ( #16089 )
...
We read the fallback text from message attachments and append that as part
of a push notification.
https://mattermost.atlassian.net/browse/MM-28984
```release-note
NONE
```
2020-10-28 10:42:08 +05:30
Claudio Costa
165c4d2dd1
[MM-29295] Fix data race in app.CreatePost() ( #15880 )
...
* Fix data race
* Better naming
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-27 20:11:38 +01:00
Alex Johnson
9cb704d537
Documents exported methods within SqlTeamStore methods ( #15996 )
...
Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com >
2020-10-27 16:19:11 +01:00
Jesús Espino
8d5be2d657
Document extractor service ( #15665 )
...
* Document extractor service
* Fixing vendor modules
* Addressing PR Review comments
* Some small simplifications
* Fixing a linter complain
* simplifying a bit the code using package variables
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-27 15:58:38 +01:00
Ibrahim Serdar Acikgoz
04ef5c682e
storetest/reaction_store: add sleep before updating ( #16060 )
2020-10-27 13:02:25 +03:00
Weblate (bot)
5a9f3ff5c8
Translations update from Weblate ( #16085 )
...
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 98.1% (2043 of 2081 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pt_BR/
* Translated using Weblate (Russian)
Currently translated at 96.8% (2015 of 2081 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
* Translated using Weblate (Dutch)
Currently translated at 99.7% (2076 of 2081 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
Translated using Weblate (Dutch)
Currently translated at 99.6% (2073 of 2081 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
* Translated using Weblate (Turkish)
Currently translated at 96.8% (2016 of 2081 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
* Translated using Weblate (Chinese (Simplified))
Currently translated at 99.7% (2076 of 2081 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/zh_Hans/
* Translated using Weblate (Japanese)
Currently translated at 99.6% (2074 of 2081 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
* Translated using Weblate (Spanish)
Currently translated at 99.7% (2076 of 2081 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/es/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com >
Co-authored-by: Alexey Napalkov <flynbit@gmail.com >
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be >
Co-authored-by: Kaya Zeren <kayazeren@gmail.com >
Co-authored-by: aeomin <lin@aeomin.net >
Co-authored-by: kaakaa <stooner.hoe@gmail.com >
Co-authored-by: Elias Nahum <elias@mattermost.com >
2020-10-27 10:43:32 +01:00
Mario de Frutos Dieguez
f5531a5a43
[MM-29523] EmailVerified flag can be user as parameter ( #16031 )
...
* EmailVerified flag can be used as a parameter
But only when if the user creator is an admin
2020-10-27 10:41:20 +01:00
Ben Schumacher
76f1bfb941
[MM-29361] Send cloud flag with Marketplace requests ( #15913 )
2020-10-26 21:57:19 +01:00
Nick Misasi
3697f92045
[MM-28363] User Limit Overage Warning Emails ( #16053 )
...
* Adding files, commit of UI in good shape
* Translations added, working with activation and deactivation
* Add check for error
* Fix i18n?
* Push without subscription check so Steve and Matt can look at it
* Fix font-weight in chrome
* Fix font-weight on button
* UX fixes
* Fixes for PR
* Add back subscription stuff
* Fix tests
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-26 13:24:26 -04:00
Mario de Frutos Dieguez
b68f171162
[MM-29157] Cloud invoices logic ( #16056 )
...
* Cloud invoices logic
This commit includes all the code needed to get and print invoices
from CWS
2020-10-26 18:17:55 +01:00
Miguel de la Cruz
8f895908fc
[MM-29220] Adds a client function that retrieves the full status report ( #15727 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-26 15:45:58 +01:00
Claudio Costa
9484366784
Fix nil dereference panic in SearchArchivedInTeam ( #16064 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-26 15:19:14 +01:00
Agniva De Sarker
72432ab3ff
MM-27909: Add manage_shared_channels permission ( #15601 )
...
* MM-27909: Add manage_shared_channels permission
We add a new permission to manage shared channels.
It's a channel scoped permission and only the system admin
has that by default.
https://mattermost.atlassian.net/browse/MM-27909
* change to system scoped
* Trigger CI
* Trigger CI
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-26 15:54:50 +05:30
Rodrigo Villablanca
96f1739f8f
UserStore migration ( #15563 )
...
* Migration completed
* Fix tests
* Fix tests
* Fix tests
* Suggestions
* Trigger CI
* Suggestions
* Merge with master
* Trigger CI
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in >
2020-10-26 15:11:27 +05:30
Agniva De Sarker
d51d843fcd
MM-22950: Remove supplier test ( #16072 )
...
This test is too flaky to be written as a test. Let's just remove it.
https://mattermost.atlassian.net/browse/MM-29950
```release-note
NONE
```
2020-10-26 13:21:24 +05:30
Agniva De Sarker
087758caee
MM-28737: Upgrade dependencies ( #15877 )
...
https://mattermost.atlassian.net/browse/MM-28737
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-25 22:09:55 +05:30
Agniva De Sarker
d2730014f9
MM-29525: Strip path_prefix from ListDirectory ( #15949 )
...
* MM-29525: Strip path_prefix from ListDirectory
An AWS path prefix is meant to be an implementation detail
which the calling application should not be aware of. Hence, we should
strip the path prefix when returning objects in a directory
because they anyways get applied while using the other APIs
https://mattermost.atlassian.net/browse/MM-29525
* simplify
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-25 22:09:38 +05:30
Devin Binnie
79b5350576
[MM-29937] Don't allow email and contact name to be updated from the MM app ( #16058 )
...
* [MM-29937] Don't allow email and contact name to be updated from the MM app
* Switched to use omitempty
2020-10-23 15:39:36 -04:00
Daniel Espino García
910de96a33
Thread autoresponse posts with the post they are autoresponding to ( #15625 )
...
* Thread autoresponse posts with the post they are autoresponding to
* Remove unneeded if
* Remove ParentID references
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-23 16:21:21 +02:00
Elisabeth Kulzer
8c63eb7232
DOPS-243: Add manifest.txt ( #15959 )
...
* DOPS-243: Add manifest.txt
* Update build/release.mk
* Change path
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-23 09:41:33 +02:00
Scott Bishel
f46661d7a9
MM-28882:ignore guest ldap sync ( #15936 )
...
* add ignoreGuestsLdapSync to config, update interface
* update interface
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-21 20:12:12 -06:00
Scott Bishel
efc3304fe1
MM-29522:fix typo in constant name ( #15933 )
...
* fix type in constant name
* fix lint
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-21 16:59:54 -06:00
George Goldberg
9b23ee659f
MM-29812: Fix a panic in auth code if GetChannel returns an error. ( #16010 )
...
* MM-29812: Don't panic if GetChannel returns an error in auth code.
* Fix gofmt
* Add further mocking.
* Another mock.
* More mocks.
2020-10-21 16:59:32 +01:00
Claudio Costa
e5e2dbdf1a
[MM-29731] Fix panic in saveUserTermsOfService ( #16044 )
...
* Fix panic in saveUserTermsOfService
* Remove unneeded initialization
2020-10-21 17:08:33 +02:00
Ed Trist
91bb7d3b11
[MM-24391] Render icon_emoji names surrounded by colons in incoming webhooks ( #15753 )
2020-10-21 14:13:10 +02:00
Weblate (bot)
20491c2585
Translations update from Weblate ( #16018 )
...
* Translated using Weblate (Dutch)
Currently translated at 99.6% (2073 of 2081 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
Translated using Weblate (Dutch)
Currently translated at 99.6% (2073 of 2081 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
Translated using Weblate (Dutch)
Currently translated at 99.6% (2073 of 2080 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
* Translated using Weblate (Korean)
Currently translated at 94.2% (1961 of 2081 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ko/
* Translated using Weblate (Spanish)
Currently translated at 99.7% (2076 of 2081 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/es/
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be >
Co-authored-by: retheviper <youngbina@hotmail.com >
Co-authored-by: Elias Nahum <elias@mattermost.com >
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-20 18:14:32 +02:00
Devin Binnie
73a1c95137
[MM-28218] API hookup for updating company info and address in MM app ( #15974 )
2020-10-20 11:46:58 +02:00
Ibrahim Serdar Acikgoz
c05ee81c9f
[MM-28125] einterface/oauthprovide: return parsing errors ( #15426 )
...
* einterface/oauthprovide: return parsing errors
* Update app/oauth.go
* reflect review comments
* fix var name error
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-19 18:07:20 +03:00
Nick Misasi
90738de75f
Add webhook event for when user status changes from activated to deactivated and vice versa ( #15990 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-19 10:29:43 -04:00
Jesús Espino
f7854f9645
Skipping some telemetry tests on production builds ( #16007 )
2020-10-19 16:15:54 +02:00
Martin Kraft
b3260e58e2
Adds the release-note block to the PR template. ( #14975 )
...
* Adds the release-note block to the PR template.
* Update .github/PULL_REQUEST_TEMPLATE.md
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
* Update .github/PULL_REQUEST_TEMPLATE.md
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-19 09:53:54 -04:00
Jason Paul Deland
c55f40cae9
MMCTL download migration to S3 location ( #15993 )
...
* Update to get latest release from S3
* Update mmctl to download to use S3
* Download MMCTL from S3
* Update download_mmctl_release.sh
* Update Makefile
* Update release.mk
* Update the script called, remove call to sub shell and clean up indentation
* Add quotes around THIS_BRANCH var
* Update script to support overriding the OS for packaging
* Add check for release-<Digit> to better match the branch
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-17 11:43:53 -04:00
Jason Paul Deland
e280aa1c63
Update to get latest release from S3 ( #15952 )
...
* Update to get latest release from S3
* Update mmctl to download to use S3
* Download MMCTL from S3
* Update download_mmctl_release.sh
* Update Makefile
* Update release.mk
* Update the script called, remove call to sub shell and clean up indentation
* Add quotes around THIS_BRANCH var
* Update script to support overriding the OS for packaging
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-16 20:27:50 -04:00
Devin Binnie
9b1dee7087
[MM-29723] Added websocket event constant for updating the payment status for cloud ( #15988 )
2020-10-16 13:23:49 -04:00
Martin Kraft
d519ab580f
MM-28815: Message export query optimization. ( #15757 )
...
* MM-28815: Optimizes message export query.
* MM-28815: Removes DeleteAt WHERE condition.
* MM-28815: Adds Id to the ORDER BY clause.
* MM-28815: Concatenates the string to remove the confusing '%%' in the query.
* MM-28115: Remvoes secondary sorting.
* MM-28815: Keeps the alias in the order by.
* MM-28815: Removing forced index.
* MM-28815: Formatting.
2020-10-16 10:21:36 -04:00
Agniva De Sarker
4b57cea789
MM-29572: Add Bifrost support to codebase ( #15955 )
...
* MM-29572: Add Bifrost support to codebase
We use a custom transport for minio when an environment variable
indicates that Mattermost is running in cloud.
The transport is used to redirect the request to the S3 endpoint set
in the config. And the scheme is set depending on if S3SSL is set.
A custom credentials provider is needed to return empty credentials
which will be overridden by the service anyways. This is just to allow
the minio client library to work transparently without knowing that
there is something else in the middle intercepting requests.
https://mattermost.atlassian.net/browse/MM-29572
* incorporate review comments
* Update services/filesstore/s3_overrides.go
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com >
* Change to new env key
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com >
2020-10-15 22:39:23 +05:30
Eli Yukelzon
b5047e51fe
on prem/cloud validation fixed ( #15972 )
2020-10-15 18:01:31 +03:00
Eli Yukelzon
8844141df3
MM-28249 Auto follow threads ( #15878 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-15 18:01:16 +03:00
Agniva De Sarker
944841a237
MM-29573: Reuse s3 client amongst all requests ( #15948 )
...
* MM-29573: Reuse s3 client amongst all requests
An http.Client is meant as a long-term object to be reused between
consecutive requests. This reduces burden on HTTP servers by reusing TCP connections
and also makes things faster by avoiding the TCP handshake for every single request.
https://mattermost.atlassian.net/browse/MM-29573
* Trigger CI
* Fix i18n
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-15 08:54:57 +05:30
Nick Misasi
e27a75fba6
[MM-29646] Add check for IsPaidTier, and don't send emails over limit for guest invites ( #15958 )
...
* Add check for ispaidtier to email invites
* Add same check for guest emails
* Update api4/team.go
Co-authored-by: Mario de Frutos Dieguez <mario@defrutos.org >
* Update api4/team.go
Co-authored-by: Mario de Frutos Dieguez <mario@defrutos.org >
* Check for an error and return if there is one
* Fix tests
* Remove test to move to enterprise repo
Co-authored-by: Mario de Frutos Dieguez <mario@defrutos.org >
2020-10-14 19:44:44 -04:00
camgraff
07948ae7bc
[MM-29224] Fix bug where markdown image link doesn't show preview ( #15862 )
...
* Fix bug where markdown image has no preview
* go fmt
* Fix failing test
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-14 20:36:46 +08:00
Aayush Pal
fa9279a675
Added GoDoc for functions mentioned in Task 7 ( #14004 ) team_store.go ( #15762 )
2020-10-14 12:53:48 +02:00
Scott Bishel
8e78526c84
remove ability to update SAML admin filter settings ( #15932 )
2020-10-13 09:55:18 -06:00
camgraff
2bf6992397
Update golangci-lint to v1.31.0 ( #15909 )
2020-10-13 17:08:07 +02:00
Eli Yukelzon
c9257b858e
MM-29560 Correct Cloud detection in InProduct Notices ( #15938 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-13 16:42:21 +03:00
Nexus Web Development
5b16ac7f13
Update file.go ( #15751 )
2020-10-13 15:35:19 +02:00
Weblate (bot)
d03ae9abb4
Translations update from Weblate ( #15934 )
...
* Translated using Weblate (Spanish)
Currently translated at 99.7% (2075 of 2080 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/es/
Translated using Weblate (Spanish)
Currently translated at 99.4% (2068 of 2079 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/es/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 98.2% (2044 of 2080 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pt_BR/
* Translated using Weblate (Chinese (Simplified))
Currently translated at 99.5% (2071 of 2080 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/zh_Hans/
* Translated using Weblate (Japanese)
Currently translated at 99.7% (2075 of 2080 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
* Translated using Weblate (Japanese)
Currently translated at 99.7% (2075 of 2080 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
Co-authored-by: Elias Nahum <elias@mattermost.com >
Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com >
Co-authored-by: aeomin <lin@aeomin.net >
Co-authored-by: kaakaa <stooner.hoe@gmail.com >
Co-authored-by: maruTA-bis5 <bis5.wsys@gmail.com >
2020-10-13 09:44:34 +02:00
Maria A Nunez
7381b4c0e5
MM-27454 - Added CWSUrl to Client Config ( #15916 )
2020-10-12 22:46:22 -04:00
Scott Bishel
66a01205e6
MM-28702 - call InitEnterprise() to initialize Enterprise for cli ( #15683 )
...
* call InitServer() to initialize Enterprise for cli
* only call initEnterprise
* back to InitServer()
* move below license load
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-12 13:36:24 -06:00