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
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
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
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
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
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
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
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
Scott Bishel
8e78526c84
remove ability to update SAML admin filter settings ( #15932 )
2020-10-13 09:55:18 -06:00
Farhan Munshi
6766853f8a
[MM-28533] [MM-28532] [MM-28531] Fixes several bugs with sysconsole_write_usermanagement ( #15559 )
...
* MM-28533 Fix incorrect permission check for reset password
* Allow write users to edit other users, promote and demote guests
* Update ancillary perms for PERMISSION_SYSCONSOLE_WRITE_USERMANAGEMENT_USER
* MM-28532
* Dont allow non sysadmin to update passwords / reset passwords / patch user on sysadmins
* MM-28532: Updates test.
* MM-28533: Merge fix.
* MM-28533: Adds ability for new roles to activate/deactivate non-system-admin users.
Co-authored-by: Martin Kraft <martin@upspin.org >
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-07 17:41:46 -06:00
Nick Misasi
25fd59a435
Add IsPaidTier to cloud Subscription type ( #15857 )
2020-10-07 09:58:07 -04:00
Michael Kochell
42f539fa57
[MM-27942] Request arch-specific plugin ( #15436 )
...
* request arch-specific plugin
* rename arch/architecture to platform
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-05 13:01:33 -04:00
Devin Binnie
ebd3e6aa49
[MM-28217] Server API to serve up cloud customer information ( #15656 )
...
* [MM-28217] Server API to serve up cloud customer information
* Added missing client4 method
* merge'd
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-05 08:46:52 -04:00
Eli Yukelzon
b8ceb610e6
MM-27353 Mini image previews ( #15376 )
2020-10-02 11:14:57 +03:00
Ben Schumacher
6d7c5c5bf3
Bump app version to 5.30 ( #15612 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-02 00:28:56 +02:00
Maria A Nunez
54fa796f0a
Removed cloud_restrictable from PluginSettings.Enabled ( #15725 )
2020-10-01 15:53:36 -04:00
Devin Binnie
2403aae0c4
[MM-28211] API pass-thru to the CWS for getting subscription ( #15666 )
...
* API pass-thru to the CWS for getting subscription
* Remove use of parameter in favour of env var
* Remove unnecessary param
* Removed unnecessary fields and added client4 method
* Some cleanup
* Translation fix
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-10-01 13:14:48 -04:00
Eli Yukelzon
595248b10e
MM-28247 Threads metadata table ( #15571 )
2020-10-01 18:48:38 +03:00
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
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
Eli Yukelzon
c298678663
MM-28835 Configure/update notices setting for TeamAdmin ( #15632 )
2020-09-29 15:17:38 +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
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
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
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
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
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
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
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
Claudio Costa
7612888052
Fix panic in api4.searchPosts ( #15410 )
2020-09-08 20:36:59 +02:00
Jesús Espino
44079785eb
Moving diagnostics into a service ( #14832 )
...
* Moving diagnostics into a service
* Fixing golint checks
* Fixing tests
* Renaming from diagnostics to telemetry
* Adding missing files
* Initializing telemetry earlier in the server startup
* Fixing tests
* Adding a log for the telemetryID initialization error
* Addressing PR review comments
* Fixing merge problem
* Removing some extra Diagnostics mentions
* Making tests pass
2020-09-08 20:30:54 +02:00
catalintomai
f0eb67fa0d
MM-28226: Admin Advisor: add mitigations ( #15379 )
...
* Admin Advisor: add mitigation
2020-09-08 07:51:14 -07:00
Eli Yukelzon
f4ccc7061c
MM-27199 - Add metrics to MM server for total enabled user count ( #15116 )
...
* Add metrics to MM server for total enabled user count and include installation ID from a new env var
* diagnostics context
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-07 09:26:25 -04:00