Граф коммитов

12885 Коммитов

Автор SHA1 Сообщение Дата
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
Elisabeth Kulzer
b683a9020e Revert bulgarian language. (#15512) 2020-09-16 16:44:36 +02:00
Ibrahim Serdar Acikgoz
e69a2a41ca [MM-28210] sqlstore/user_store: filter deleted users for GetProfilesInChannel (#15390)
* sqlstore/user_store: filter deleted users for GetProfilesInChannel

* allow GetProfilesInChannel use userGetOptions

* sqlstore/user_store: add more test cases

* store/user_store: refine filter
2020-09-16 11:04:17 +03:00
Claudio Costa
9c272f0b20 [MM-26812] Add support for resumable file uploads (#15252)
* Implement AppendFile for FileBackend

* Split test into subtests

* [MM-26812] Add support for resumable file uploads (#15252)

* Implement UploadSession

* Implement UploadSessionStore

* Add error strings

* Implement resumable file uploads

* Add UploadType

* Fix retry layer tests

* Regenerate store layers

* Fix store error handling

* Use base for filename

* Prevent concurrent uploads on the same upload session

* Fix erroneus error string

* Improve error handling

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Fix translations

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2020-09-15 21:28:25 +02:00
Farhan Munshi
6a58834f34 [MM-28475] Add server telemetry for the new system roles (#15437)
* MM-28475 Add server telemetry for the new system roles

* Move system roles to permissions_system_scheme table

* Add testing mocks
2020-09-15 14:21:32 -04:00
Rodrigo Villablanca
9ee9c78412 ChannelStore migration Part 2 (#15405)
* Migration completed

* Several corrections in tests

* Fix imports

* Fix some errors after testing

* Trigger CI

* Fix tests

* Suggestions

* Suggestions

* Add license

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2020-09-15 23:18:30 +05:30
Claudio Costa
7abc4f5383 [MM-28033] Perform localcachelayer tests for one DB type only when in CI (#15433)
* Perform localcachelayer tests for one DB type only if in CI

* Add newStoreType() for sqlstore case
2020-09-15 15:05:13 +02:00
Ibrahim Serdar Acikgoz
9c2d2180e6 store/channel_store_categories: fix index out of bounds error (#15423) 2020-09-15 15:25:12 +03:00
Jesús Espino
473e286feb Fix telemetry initialization problem on placeholder usage (#15434) 2020-09-15 08:38:19 +01:00
George Goldberg
4ff12c2aed MM-28115: Add env var for telemetry installation type. (#15431) 2020-09-15 08:27:35 +01:00
Scott Bishel
eba38625eb Implement LDAP Certificate (#15361)
* Implement LDAP Certificate

* add diagnostics and translations

* update from code review

* pass pointer to update pict function

* pass object to first function

* remove debug log messages

* update test to add localmode test

* update lint errors

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2020-09-14 12:53:42 -06:00
Ibrahim Serdar Acikgoz
6fd7cb2a80 app/post: continue to loop in case of an error (#15418) 2020-09-11 18:42:01 +03:00
Hossein Ahmadian-Yazdi
5be6da2e9a [MM-23651] No more than 256 members are allowed to be invited (#15414)
* Update constant to 256

* update test

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2020-09-11 11:02:59 -04:00
Agniva De Sarker
42eca5315b MM-27957: Fix flaky test TestRecycleDBConns (#15415)
https://mattermost.atlassian.net/browse/MM-27957
2020-09-11 18:33:09 +05:30
Jesse Hallam
1337fa919c MM-28103: prepackage incident-response (#15360)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2020-09-10 21:05:20 -03:00
Jesús Espino
1058090a24 Add support for rc versions in upgrader (#15424) 2020-09-10 16:30:03 +02:00
Ayan Banerjee
748526cc4c [MM-23003] Document sql store 'SqlTeamStore' methods (Task 8) fixes (#15318)
Automatic Merge
2020-09-10 07:29:57 -04:00