Agniva De Sarker
0e90606547
MM-29011: Add feature flag for shared channels ( #15585 )
...
* MM-29011: Add feature flag for shared channels
https://mattermost.atlassian.net/browse/MM-29011
* gofmt
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-01 10:37:15 +05:30
Mario de Frutos Dieguez
ab816b18ce
[MM-28841] Filter settings sent to the client based on tag ( #15578 )
...
* Filter settings sent to the client based on tag
Right now we're filtering in client the sections based on the
RestrictSystemAdmin setting but we're still sending those
settings through the API call.
In this PR we include a new tag cloud_restrictable and some
method to remove those settings/fields from the final JSON
sent to the client
2020-09-30 21:09:56 +02:00
Agniva De Sarker
886c4898d8
MM-28548: Change default data source to postgres ( #15553 )
...
* MM-28548: Change default data source to postgres
We now move to start using postgres as our default database.
* Add connect_timeout
* Trigger CI
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-30 19:03:41 +05:30
Eli Yukelzon
11d9958a99
MM-28189 - Sentry CI improvements ( #15547 )
2020-09-30 11:09:48 +03:00
Christopher Speller
e974b7b9be
MM28858 Basic framework for use of feature flags. Enviroment variable overrides. ( #15544 )
...
* Basic framework for use of feature flags. Enviroment variable overrides.
* Use Apperr instead of error number increments.
* Undo random viper change.
* Update model/config_test.go
Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com >
Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com >
2020-09-29 21:41:22 -07:00
George Goldberg
61f08d397c
MM-28419: Move SetLogger() to Server. ( #15551 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-29 14:30:15 +01:00
Eli Yukelzon
c298678663
MM-28835 Configure/update notices setting for TeamAdmin ( #15632 )
2020-09-29 15:17:38 +03:00
Ibrahim Serdar Acikgoz
ed2cd0e552
[MM-28028] api4/channel_test: increase timeout fir the case if event is not recieved in time ( #15344 )
...
* api4/channel_test: skip if event is not recieved in time
* api4/channel: TestConvertChannelToPrivate increase timeout
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-29 13:54:38 +03:00
Ibrahim Serdar Acikgoz
c8c7fe0f4f
[MM-28124] api4/post: return error at getFlaggedPostsForUser ( #15493 )
...
* api4/post: return error at getFlaggedPostsForUser
* api4/post_test: add additional test case for GetFlaggedPosts
* reflect review comments
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-29 10:33:15 +03:00
Ibrahim Serdar Acikgoz
7bd18264fd
[MM-28945] api4/file: add missing return statement ( #15552 )
...
* api4/file: add missing return statement
* api4/file: add a test case for GetPublicFile; request a deleted file
* add missing check
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-29 10:32:47 +03:00
catalintomai
1c0d590c81
Add AWS Metering service support ( #15290 )
2020-09-28 11:43:08 -07:00
Maria A Nunez
50e37068b5
MM-27147 - /cloud api endpoints ( #15626 )
2020-09-28 12:18:47 -04:00
Shota Gvinepadze
f73157dd8f
Fix command url validation ( #15239 )
...
* Fix command url validation
* Add Host and Scheme check in IsValidHttpUrl func
* Add unit tests
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-28 17:59:04 +04:00
Martin Kraft
32fc41d807
MM-27523: Remove ability to read/write admin filter settings. ( #15598 )
2020-09-28 09:52:16 -04:00
Agniva De Sarker
85b434c50d
Revert "MM-27147 - /cloud api endpoints ( #15428 )" ( #15615 )
...
This reverts commit 88aed7ec9e .
2020-09-28 09:06:55 +02:00
Maria A Nunez
88aed7ec9e
MM-27147 - /cloud api endpoints ( #15428 )
2020-09-25 21:03:21 -04:00
catalintomai
f74b86ae95
MM-28733 : Admin Advisor v2 ( #15515 )
2020-09-25 14:59:41 -07:00
Ben Schumacher
7c905b0890
[MM-28707] Fix plugin version telemetry for air gaped installations ( #15509 )
2020-09-25 19:13:02 +02:00
Harrison Healey
d9e2b64a61
MM-28890 Enable the gif picker, timezones, and viewing archived channels by default ( #15587 )
2020-09-25 11:01:09 -04:00
Agniva De Sarker
d8622d1b07
MM-28370: Fix send on closed channel ( #15508 )
...
Automatic Merge
2020-09-24 23:53:43 -04:00
Daniel Espino García
9449d0e302
[MM-28447] Avoid "ghost mentions" when "First Name" is not set, but "First Name trigger mention" setting is set ( #15577 )
...
* Do not add any keyword regarding first name if the first name is not set
* Add test
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-24 19:01:14 +02:00
Carlos Tadeu Panato Junior
c392f993d6
upgrade DB to 5.28 ( #15556 )
2020-09-24 18:44:31 +02:00
Scott Bishel
0916c38290
MM-28687:Handle empty returns with invalid certificates ( #15564 )
...
* add error message for certificate auth issues
* remove hanging '-' if not necessary
* fix linter
* update text, per ux review
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-24 10:17:17 -06:00
Hossein Ahmadian-Yazdi
a1e17fe78a
MM-28530 - Changes are not automatically propagated to system console when a permission is added/removed from a role ( #15562 )
...
* send event for when role updates!!!
* address PR comments
2020-09-24 11:49:57 -04:00
Farhan Munshi
2af1bb7579
[MM-28536] [MM-28535] sysconsole_write_authentication bug fixes ( #15558 )
...
* MM-28536 User with write-auth should be able to use all saml related endpoints
* MM-28535 allow users with write auth to invalidate pending email invites
* Update api4/team_test.go
* No need for init basic
* Address review comments
* Fix test ordering
2020-09-24 11:26:11 -04:00
Farhan Munshi
4ef44a3ba1
MM-28537 System role with write experimental should be able to purge indexes ( #15557 )
2020-09-24 11:26:00 -04:00
Harrison Healey
e8a18ab6a6
MM-28347 Enable custom emoji by default for new installs ( #15560 )
2020-09-24 10:28:27 -04:00
Jared Shields
e726b04268
Trimmed trailing slash in URL provided to create Client API ( #15513 )
2020-09-24 12:06:36 +02:00
Ashish Bhate
ee76ad435b
[MM-28303]: check if mmctl exists before checking on Github and reduce requests to Github ( #15387 )
...
Summary:
Every make call would ping Github to find out the mmctl version to download. Each check made 4 requests to Github. So every make execution resulted in 4 requests to Github. This leads to frequent rate-limit errors from Github.
In this PR we check for the mmctl version only if mmctl doesn't already exist. We also print a more helpful error message.
Reduce the number the number of requests to Github from 4 to 2.
Ticket Link:
https://mattermost.atlassian.net/browse/MM-28303
2020-09-24 14:54:57 +05:30
Claudio Costa
605f96fbea
Add multipart support for new resumable uploads API endpoint ( #15510 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-24 09:33:53 +02:00
Rodrigo Villablanca
8118cac350
Poststore migration part3 ( #15505 )
...
* Migration completed
* Order in translations file
* Fix: lints
* Trigger CI
* Fix message key
* Change mlog.Error for mlog.Warn
* Fix imports
* Adding translations needed for EE
* Trigger CI
* Fix merge with master
Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in >
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-24 10:46:36 +05:30
Ashish Bhate
cd7d68effb
[MM-25647][MM-25659] Add missed config settings to telemetry ( #15506 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-24 10:23:23 +05:30
Ben Schumacher
d535e66638
[MM-28520] Update bundled version of nps to 1.1.0 ( #15537 )
2020-09-23 18:00:08 +02:00
Ibrahim Serdar Acikgoz
dc1b42390b
[MM-28664] model/integration_action: fix panic for uncomparable types ( #15514 )
...
* model/integration_action: fix panic for uncomparable types
* model/integration_action: improve performance
* reflect review comments
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-23 18:32:47 +03:00
Claudio Costa
1e34bdac1f
Fix possible nil dereference ( #15435 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-23 08:51:12 +02:00
Claudio Costa
9a4774bcc2
[MM-28383] Fix nil pointer dereference in addTeamMember ( #15422 )
...
* Fix nil pointer dereference in addTeamMember
* Revert to simple nil check
* Add test case
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-23 08:50:38 +02:00
Rodrigo Villablanca
5c449f4202
Fix incorrect error handling ( #15502 )
2020-09-22 21:51:52 -03:00
Jaime Cepeda
f3cb2538a7
Refactor SQL queries in store/sqlstore/channel_member_history_store.go to use the squirrel builder ( #15529 )
2020-09-23 01:32:03 +02:00
Ben Schumacher
31e99920ef
Fix GetPluginStatus in a non-cluster environment ( #15363 )
2020-09-22 10:57:08 +02:00
Ibrahim Serdar Acikgoz
b0216053a1
[MM-28195] storetest/user_store: fix flaky test ( #15543 )
...
* storetest/user_store: fix flaky test
* reflect review comments
2020-09-22 11:28:12 +03:00
Ashish Bhate
fb022461f4
[MM-28100]: fix getChannelByNameForTeamName permissions ( #15525 )
...
Summary:
fix getChannelByNameForTeamName to allow team members to join public channels. I'm not sure why, but the authorization logic of getChannelByName and getChannelByNameForTeamName was different. After this change they behave the same. This fixes an issue with the mobile app.
Ticket Link:
https://mattermost.atlassian.net/browse/MM-28100
Related PR: mattermost/mattermost-mobile#4810
2020-09-22 13:52:42 +05:30
Eli Yukelzon
4e9ddd4686
MM-27918 In-Product notices support ( #15316 )
2020-09-21 10:28:46 +03:00
Maria A Nunez
43ed6ad690
Restricted cloud settings ( #15528 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-18 11:39:34 -04:00
Miguel de la Cruz
1d2220141e
[MM-26420] Adds wildcard support to Bleve ( #14885 )
2020-09-18 10:49:56 +02:00
Claudio Costa
334cf9d84a
[MM-28131] Fix desanitization of DataSourceReplicas and DataSourceSearchReplicas ( #15389 )
...
* Fix desanitization of DataSourceReplicas and DataSourceSearchReplicas
* Fix test case
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-17 20:16:59 +02:00
Miguel de la Cruz
42657fafa1
[MM-25656] Adds a function to allow to update assets subpath in a given directory ( #15020 )
2020-09-17 16:19:26 +02:00
Claudio Costa
4c64cec948
Fix failing test ( #15522 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-17 08:53:04 +02:00
Rodrigo Villablanca
1d4a7c0552
TeamStore migration part 2 ( #15396 )
...
* Migration completed
* Fix tests
* Reduce to one line
* Fix: change to plain error
* Fix imports
* Trigger CI
* Fix i18
* Fix merge with master
* Trigger CI
2020-09-16 21:54:39 -03:00
Agniva De Sarker
b329635b23
MM-27169: Remove uneeded fields from App ( #15408 )
...
* MM-27169: Remove uneeded fields from App
https://mattermost.atlassian.net/browse/MM-27169
* run app-layers
* Bring back searchengine
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-16 21:46:44 +05:30
Rodrigo Villablanca
f0fc51244c
TeamStore migration Part 3 ( #15397 )
...
* Migration completed
* TODO
2020-09-16 12:12:10 -03:00