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

1731 Коммитов

Автор SHA1 Сообщение Дата
Julien Tant
79e6c65933 [MM-50007] WorkTemplate: disallow creating private playbook without an enterprise license (#22159) 2023-01-27 14:03:46 -07:00
Konstantinos Pittas
874c6269ec [MM-49265] Update translations when config is changed (#21987)
* update translations when config is changed

* wrap and return the error message

* use the configs directly instead of diff
2023-01-26 18:20:04 -05:00
Julien Tant
7bfca605e1 [MM-49929] Work templates: allow simple users to list marketplace plugins (#22151) 2023-01-26 09:08:05 -07:00
Julien Tant
753ee85c6b [MM-47846] Execute Work Template (#22055) 2023-01-25 10:24:01 -07:00
Said Atrahouch
53938167f8 [MM-49949] fix endpoint handle to download invoices (#22143)
* [MM-49949] fix endpoint handle to download invoices

* Bump _ inside the regex and remove in_
2023-01-25 10:41:26 -05:00
Nathaniel Allred
813a7efbcd if cloud interface reports upstream is off, notify the web client of the same (#22118) 2023-01-23 08:20:21 -06:00
Conor Macpherson
087aa38afb Merge pull request #22078 from mattermost/MM-49474-add-downgrade-feedback
MM-49474 - Add Telemetry Event for Submitting Downgrade Feedback
2023-01-17 11:19:33 -05:00
Mattermost Build
357428dfb0 Merge branch 'master' into MM-47853-true-up-review-telemetry-off-non-air-gapped 2023-01-17 08:45:44 +02:00
Conor Macpherson
a13fda6b61 Add telemetry event for submitting downgrade feedback. 2023-01-13 14:52:24 -05:00
Konstantinos Pittas
a3dcaee066 [MM-42652] Re-enable test (#21986) 2023-01-09 20:02:45 +02:00
Mattermost Build
c0fd11f953 Merge branch 'master' into MM-47853-true-up-review-telemetry-off-non-air-gapped 2023-01-09 16:53:36 +02:00
Conor Macpherson
337c80f2bf Create true up review earlier, move completed check to be earlier. 2023-01-06 11:08:58 -05:00
Allan Guwatudde
398476138d [MM-48416] - Fix flaky TestRequestTrialLicense - trial license user count less than current users (#21988) 2023-01-06 15:42:17 +03:00
Conor Macpherson
40724ae44d Merge branch 'master' of github.com:mattermost/mattermost-server into MM-47853-true-up-review-telemetry-off-non-air-gapped 2023-01-03 13:54:38 -05:00
Conor Macpherson
e31a6a47b0 Only check if diagnostics are disabled, remove telemetry enabled in true up review status response in favor of using front-end configs. 2023-01-03 13:35:31 -05:00
Mattermod
4a0a3eaa91 Merge branch 'master' into MM-48759_track_event_cws_signup_campaign_redirect 2023-01-03 18:41:04 +02:00
Conor Macpherson
84fe5514fc One last cleanup, i18n, etc. 2022-12-30 15:04:30 -05:00
Conor Macpherson
b3b39e4f15 Move get or create true up review status into the app interface, adds a function to execute checks for being within true up review widnow (and tests), adds a job for sending true up telemetry. 2022-12-30 13:11:17 -05:00
Vishal
babe01ee2e remove crt feature flag (#21788)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-30 14:41:31 +05:30
Conor Macpherson
c30439743c Ensure content is base64 encoded, add check for telemetry enabled. 2022-12-29 19:47:58 -05:00
Conor Macpherson
49c5ca69df Add comment to re-run checks. 2022-12-29 17:11:50 -05:00
Nathaniel Allred
408d752b5c dry up some code. Move other code to app layer (#21961)
* dry up some code. Move other code to app layer
* check err
2022-12-29 14:27:45 -06:00
Conor Macpherson
4e54a40a21 Add cws availability check. 2022-12-29 15:07:06 -05:00
Conor Macpherson
6685268085 Add cws availability check. 2022-12-29 14:58:05 -05:00
Agniva De Sarker
93f17980a1 Remove unnecessary debug log (#21959)
This log is continuously spamming our community server
and I see it all the time in my dev environment.

Let's remove this to keep the logs clean.

```release-note
NONE
```
2022-12-29 12:21:25 +05:30
Conor Macpherson
a839646757 Fix typo, ensure we don't throw away errors that are not store.NotFound. 2022-12-28 10:01:20 -05:00
Conor Macpherson
54bcd16842 Merge branch 'MM-47853-true-up-review-telemetry-off-non-air-gapped' of github.com:mattermost/mattermost-server into MM-47853-true-up-review-telemetry-off-non-air-gapped 2022-12-28 09:57:20 -05:00
Conor Macpherson
3c0375d18e Fix error type checks, change log levels, update comments. 2022-12-28 09:56:58 -05:00
Conor Macpherson
f42f7bdaf8 Update api4/license.go
typo

Co-authored-by: Allan Guwatudde <guwats10@gmail.com>
2022-12-28 09:27:23 -05:00
Conor Macpherson
ba1c4befa8 Fix empty translations, add details to errors. 2022-12-27 17:20:22 -05:00
Conor Macpherson
9c71784d0d Code review comments. 2022-12-27 16:54:46 -05:00
Conor Macpherson
40c94892ee Merge branch 'master' of github.com:mattermost/mattermost-server into MM-47853-true-up-review-telemetry-off-non-air-gapped 2022-12-27 11:20:09 -05:00
Said Atrahouch
b9501bc535 Mm 47648 check license expandable (#21770)
* [MM-47648] Handler for check if a subscription is expandable

* Mock cloud regenerate

* PR Webapp test purpose only

* [MM-47648] Refactor and tests for expand stats for a subscription

* Fix typos

* style fix

* has to be revert

* CWS URL to Spinwick

* new spinwick url

* target portal test

* Generate token instead of send licenseId

* Rename

* Rename methods

* Revert public key and cws url

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-27 12:08:11 +01:00
Conor Macpherson
d5a5686986 Add admin and cloud checks back. 2022-12-23 16:48:19 -05:00
Conor Macpherson
64000da417 Convert due date string to millisecond format. 2022-12-23 15:37:31 -05:00
Conor Macpherson
ec5be3c940 Hopefully fix db tests. 2022-12-23 10:06:09 -05:00
Conor Macpherson
40fbb00acc Remove auto create if no records present, add new error message. 2022-12-23 09:18:14 -05:00
Conor Macpherson
299c079895 ensure true up review status is updated when a review is requested. 2022-12-22 16:06:00 -05:00
Conor Macpherson
cedfc46bd9 Add more tests, add mocks. 2022-12-22 15:40:26 -05:00
Conor Macpherson
88090ea40b Add true up review status history, add migration for persisting history, add store to create, get, and update true up review history entries, cleanup errors, etc. 2022-12-22 14:59:05 -05:00
Conor Macpherson
91bc4b3c80 Fix tests, flip login for cloud check. 2022-12-21 15:02:24 -05:00
Ibrahim Serdar Acikgoz
c252704140 Revert "[MM-48626] Move plugins environment out of Channels (#21730)" (#21934) 2022-12-21 22:10:26 +03:00
Conor Macpherson
518ba17920 Ensure telemetry data is sent as a flat map, rather than a structured one. 2022-12-21 12:21:35 -05:00
Conor Macpherson
f65aa61440 remove webhook queries in favor of using existing ones that ignore deleted webhooks, enforce not implemented for cloud users, get seats from license.features.users. 2022-12-21 12:09:33 -05:00
Conor Macpherson
77d3e3591a Add minor code review changes. 2022-12-21 11:54:45 -05:00
Ibrahim Serdar Acikgoz
dcf499b51d [MM-48626] Move plugins environment out of Channels (#21730) 2022-12-21 16:11:57 +03:00
Conor Macpherson
a64be851c0 Remove unneeded conversion. 2022-12-20 14:43:37 -05:00
Conor Macpherson
95594c0374 respond with review profile for use in bundle download. 2022-12-20 14:22:39 -05:00
Conor Macpherson
589ae56c29 Remove shadowing declaration of subscription. 2022-12-20 09:53:20 -05:00
Conor Macpherson
197262bc70 Move seats data extraction closer to subscription definition. 2022-12-20 09:43:07 -05:00