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

15722 Коммитов

Автор SHA1 Сообщение Дата
Conor Macpherson
cad414fd4d Use proper error handling, fix up data structure, attempt to send telemetry data. 2022-12-13 13:09:20 -04:00
Conor Macpherson
68c27f7c37 Run make store-layers 2022-12-08 16:20:17 -05:00
Conor Macpherson
c0735ae689 Add route with functionality for building out the true up review profile. 2022-12-08 16:11:43 -05:00
Conor Macpherson
6e6a1ec01c Add server installation type, ensure customer name is optional. 2022-12-08 14:13:28 -05:00
Conor Macpherson
8500d834ff Add basic model for true up review data requirements. 2022-12-08 14:10:47 -05:00
Jesse Hallam
64add1a108 Pre-package Playbooks v1.34.0 (#21824) 2022-12-08 14:34:56 -04:00
Agniva De Sarker
7606fd9725 MM-48651: Log error while queuing telemetry (#21821)
We didn't use to handle the error returned from the Enqueue
method. We fix that.

Additionally, we add a verbosity flag that can allow us to
look into verbose logs from the rudder client. This can
help us to debug issues regarding telemetry not being sent.

https://mattermost.atlassian.net/browse/MM-48651

```release-note
NONE
```
2022-12-08 21:25:00 +05:30
Mylon Suren
8c206c1fd4 [MM-48921] Don't return error when deleting Draft if Draft DNE (#21818)
* set global drafts feature flag to true

* Don't return error on deleteDraft when draft doesn't exist in server

* undo accidental feature flag change

* address comments

* change log level to debug

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-08 09:40:14 -05:00
Kyriakos Z
8d554a3621 Fixes wrong err check (#21823)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-08 15:00:39 +02:00
Ibrahim Serdar Acikgoz
d8e2859b0b Minimize app dependency on platform service (#21548) 2022-12-07 20:31:03 +03:00
Conor Macpherson
91ee9ed2eb Merge pull request #21801 from mattermost/MM-48125-downgrade-to-starter-email-says-upgrade-with-billing-start-date
- Ensure upgrade emails are not sent out when downgrading to the starter/free plan by checking if the new subscription's product SKU is cloud-starter.
2022-12-07 10:53:18 -05:00
Conor Macpherson
cdc8476032 Merge branch 'master' of github.com:mattermost/mattermost-server into MM-48125-downgrade-to-starter-email-says-upgrade-with-billing-start-date 2022-12-07 10:21:55 -05:00
Nick Misasi
3872f24b0c [MM-47566] Add upcominginvoice field to Subscription type (#21717)
* Add upcominginvoice field to Subscription type

* Add support for fetching upcoming invoices

* Put back upcominginvoice

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-07 10:05:48 -05:00
Kyriakos Z
b51c06e5a6 Enables PostPriority FeatureFlag by default (#21720)
Automatic Merge
2022-12-07 16:44:48 +02:00
Konstantinos Pittas
6e9dbbd237 [MM-46463] Return last_picture_update for new team members (#21758)
* return last picture update

* add API test

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-07 11:16:56 +02:00
Ibrahim Serdar Acikgoz
617c024476 app: avoid plugin env check for RunMultiHook and use pluginslock while accessing plugin env (#21803)
* app/channels: use pluginslock while accessing plugins environment

* when using RunMultiHook we don't need to do a nil check on plugin env

* trigger ci
2022-12-07 10:00:47 +03:00
Shivashis Padhi
03a5b4a288 [MM-48727] Restore license checks for SSO in self-hosted deployments (#21781)
* Revert license checks for sso integrations

 - Revert license check changes for open-id connect options
 - Add option to integrate openid-connect for all cloud offerings

* Move enterprise SSO features back to enterprise repository
2022-12-06 16:47:26 -05:00
Conor Macpherson
82d9f25807 Replase product skus with their full names. 2022-12-06 13:03:00 -05:00
Michael Kochell
c3c81cb3d6 MM-48120/MM-48623 Patch plugin bundle react-dom on webapp extract (#21171)
Automatic Merge
2022-12-06 19:44:48 +02:00
Conor Macpherson
47b8125659 Fix check for starter sku. 2022-12-05 15:28:36 -05:00
Conor Macpherson
6c43daa218 Merge in master. 2022-12-05 15:07:03 -05:00
Conor Macpherson
352eedf7c1 Fix app error id. 2022-12-05 14:53:38 -05:00
Conor Macpherson
fc8268990e Add check for subscription change to product with sku cloud-starter. 2022-12-05 14:34:51 -05:00
Ibrahim Serdar Acikgoz
43e26ccda2 MPA: move product hooks out of plugins environment (#21772)
* product: add new hooks manager for porducts

* move product hooks out of plugins environment

* add hooks for plugin
2022-12-05 20:16:35 +01:00
emmyni
9e79ca7160 [MM-48472]: Update the Upgrade Confirmation Email for yearly subscriptions (#21766) 2022-12-05 12:10:00 -05:00
Konstantinos Pittas
3059abdd88 [MM-44765] Add API method for getting post's information from permalink (#21518)
* add api for getting post's information

* add information about current user state

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-05 16:04:44 +02:00
Shivashis Padhi
0c64252c9f [MM-48521] Fix for batch notification email not rendering properly (#21736)
* Add MessageAttachment field to postdata while rendering batched email notifications

* Add test for SlackAttachments body generator

* Add context to changes

* Add license text to new test file

* Use app/email/notification_email.go as single source for attachment generation
2022-12-05 16:47:28 +05:30
Shivashis Padhi
b0804f26ef Adhere to convention while writing insights response (#21602) 2022-12-04 21:20:51 +05:30
Michael Kochell
06e964b86b Add prepackage plugins for react-dom updates (#21617)
* add prepackage plugins for react-dom updates

* update github plugin version, and add confluence plugin

* debug log

* Revert "debug log"

This reverts commit 22753058556d69d357660596a253880c60ddda73.

* update jira and gitlab plugin versions

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-30 15:02:43 -05:00
Muhammad S
5df5f22c14 Merge pull request #21747 from mhd-sln/MM-48409_utm_campaign_redirect_to_configured_url
[MM-48409] url mapping to configured path for cws
2022-11-30 21:35:39 +02:00
Muhammad S
62a1601331 [MM-48409] code review fix 2022-11-30 19:43:12 +02:00
Muhammad S
a71adb08e0 [MM-48409] lint and vet fix 2022-11-30 19:43:12 +02:00
Muhammad S
4092107262 [MM-48409] url mapping to configured path for cws 2022-11-30 19:43:12 +02:00
Doug Lauder
070ee9a74d use rolling-stable branch when fetching focalboard repo (#21769) 2022-11-30 09:36:01 -05:00
Ibrahim Serdar Acikgoz
ebaa170338 docker-compose: include db driver type for the haserver env vars (#21771) 2022-11-30 15:47:51 +03:00
Allan Guwatudde
966456567d MM-47420 - Add endpoint to fetch selfhosted products (#21678)
* created selfhosted endpoint

* make autogenerated mocks

* add test

* add user id

* remove user id requirement

* add tests

* send user id with request

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-30 14:26:30 +03:00
Shivashis Padhi
ed3f3fec46 [MM-43850] Separate leave_team events for associated user and team (#21231)
* Separate leave_team events for associated user and team

* Remove unnecessary change of sending mode

* Remove redundant get, set of message.broadcast

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-30 11:53:16 +05:30
Julien Tant
3e928f57fb [MM-48031] Work template read API (#21661) 2022-11-29 14:53:03 -07:00
Kyriakos Z
a240cd53eb MM-48614: saves priority for drafts (#21752)
* MM-48614: saves priority for drafts

Adds a new column in the drafts table, "priority".
This way we can save post's priority in the draft.

Fixes OmitConnectionId, which when you published a ws event for a user
was getting bypassed.

Fixes Get for drafts returns deleted ones as well, which is needed for
upsert.

* Adds test case for the OmitConnectionId

* Addresses review comments, removes DeleteAt

* Vets

* Adds missing translation

* Re-instates DeleteAt column

* Adds separate case to get draft including deleted

* Fixes Update Draft

* Empty
2022-11-29 23:36:47 +02:00
Nathaniel Allred
4f3f6e6496 Mm 47422 signup token (#21662)
* When service setting flag is on, self hosted workspaces can initiate process for self-serve sign up
* Add hosted_customer api.
2022-11-29 13:32:08 -06:00
emmyni
2455de99ff [MM-47565]: In product true up for yearly products (#21704) 2022-11-29 11:47:51 -05:00
Mattermod
37466fe438 Update Licences at Notice.txt to reflect dependency changes. (#21751) 2022-11-29 13:30:18 +03:00
emmyni
f12ac02e0b [MM-48088]: Ability to migrate from Monthly to Cloud Pro Annual (#21673) 2022-11-28 16:54:15 -05:00
emmyni
cfa008e9c3 [MM-48097]: Delinquency Email Spacing/Wording Changes (#21740) 2022-11-28 14:46:48 -05:00
Martin Kraft
62d9218011 MM-47936: Removes CustomGroups feature flag. (#21739)
* MM-47936: Removes CustomGroups feature flag.

* MM-47936: Updates godoc.
2022-11-28 13:49:51 -05:00
Tim Scheuermann
6965585aa8 [MM-48391] Store the server info in the export version line (#21709) 2022-11-28 17:35:47 +01:00
Pantelis Vratsalis
7c6d487cf3 Merge pull request #21750 from m1lt0n/translations_fix_nov_28
Translations fix nov 28
2022-11-28 18:21:52 +02:00
Martin Kraft
b0001f7cad MM-41294: Allow team scheme APIs to be accessed with a professional l… (#21660)
* MM-41294: Allow team scheme APIs to be accessed with a professional license.

* MM-41294: Adds tests.
2022-11-28 11:19:58 -05:00
Martin Kraft
3e7a8d8426 MM-48181: Invalidate cache to reflect permissions changes from a team scheme. (#21735)
* MM-48181: Bust the allChannelMembersForUserCache when assigning a team scheme.

* MM-48181: Tests cache fix.
2022-11-28 11:18:17 -05:00
Martin Kraft
98a14c8c55 gofmt fixes. (#21742) 2022-11-28 11:16:47 -05:00