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

15847 Коммитов

Автор SHA1 Сообщение Дата
Conor Macpherson
a8fc0ddf17 Remove true up review job, remove unneeded export of telemetryEnabled function. 2023-01-04 13:31:16 -05: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
Muhammad S
c8e70718c2 Merge pull request #21899 from mhd-sln/MM-48759_track_event_cws_signup_campaign_redirect
[MM-48759] track event when redirect from cws signup with utm campaign
2023-01-03 22:54:27 +05:00
Conor Macpherson
e4fe76d01f Only pull active plugins from the mattermost marketplace. 2023-01-03 11:47:05 -05:00
Mattermod
4a0a3eaa91 Merge branch 'master' into MM-48759_track_event_cws_signup_campaign_redirect 2023-01-03 18:41:04 +02:00
Agniva De Sarker
e4b050693d Return 404 when thread membership not found (#21960)
We were incorrectly returning by checking
for `err != nil` when a 404 error was included
in that condition.

```release-note
NONE
```
2023-01-03 21:30:51 +05:30
Agniva De Sarker
356188de28 Clean untranslated logs (#21956)
Remove the word "<untranslated>" from appearing
in the logs.

```release-note
NONE
```
2023-01-03 20:14:45 +05:30
Agniva De Sarker
6ad1861535 MM-48345: Fix Critical level logging (#21952)
Critical wasn't added in the StdLevels slice
and due to that mlog.Critical wasn't printing anything.
This was a complete blindspot that was missed.

We have removed all references to mlog.Critical in the codebase
and pointed Critical to be Fatal in the library.

In v8, we will remove Critical altogether.

```release-note
Servers with an encrypted key will throw an error
during startup now.
```
2023-01-03 20:14:16 +05:30
Nathaniel Allred
1353ebc3ab Mm 49258 - Inform admins trying to self-hosted purchase who the email listed on the JWT claim is (#21964)
* add email of JWT claim to bootstrap signup response
2023-01-03 08:36:23 -06:00
Luis Suarez
f1e96cb830 MM-48988 Log plugins version on install and on startup (#21907) 2023-01-03 00:07:38 +01: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
46c28e4257 i18n 2022-12-28 10:07:24 -05:00
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
896974844a i18n 2022-12-27 17:07:59 -05:00
Conor Macpherson
7048d83ca5 Add test to ensure GetNextTrueUpREviewDueDate will return a year in the future if necessary. 2022-12-27 16:59:16 -05:00
Conor Macpherson
9c71784d0d Code review comments. 2022-12-27 16:54:46 -05:00
Conor Macpherson
c633a1d2fa Code review comments. 2022-12-27 16:03:04 -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
Hosted Weblate
5e4d787766 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
2022-12-27 17:14:00 +01:00
Matthew Williams
ef39d50cd5 Translated using Weblate (English (Australia))
Currently translated at 99.6% (2421 of 2430 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2022-12-27 17:14:00 +01:00
Ji-Hyeon Gim
badbb49089 Translated using Weblate (Korean)
Currently translated at 82.3% (2001 of 2430 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ko/
2022-12-27 17:14:00 +01:00
MArtin Johnson
0a0ff0b2d8 Translated using Weblate (Swedish)
Currently translated at 100.0% (2430 of 2430 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2022-12-27 17:14:00 +01:00
Tom De Moor
fc018cbe38 Translated using Weblate (Dutch)
Currently translated at 100.0% (2430 of 2430 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/

Translated using Weblate (Dutch)

Currently translated at 98.1% (2384 of 2430 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
2022-12-27 17:14:00 +01: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
Vishal
dc533e59b8 Message export: Fix job progress calculation (#21925)
* use posts count instead of job duration to calculate progress

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-27 14:34:40 +05:30
Doug Lauder
ab133f20de add DuplicateBoard to service API (#21950)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-26 11:53:34 -05:00
Gabe Jackson
99b232e080 Improve bulk export logging (#21935)
This change includes the following:
 - Adds the job ID as a log field for bulk exports
 - Adds checkpoint logging for posts and direct posts so that
   progress can be tracked.
2022-12-25 21:43:30 -05:00
Conor Macpherson
d5a5686986 Add admin and cloud checks back. 2022-12-23 16:48:19 -05:00
Conor Macpherson
967efae926 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-23 16:13:11 -05:00
Conor Macpherson
9f8e22fed0 Update mocks 2022-12-23 16:13:03 -05:00
Mattermod
b4d9d12856 Merge branch 'master' into MM-47853-true-up-review-telemetry-off-non-air-gapped 2022-12-23 23:12:20 +02:00
Conor Macpherson
bd2724e07d Fix layers. 2022-12-23 16:06:15 -05:00
Conor Macpherson
64000da417 Convert due date string to millisecond format. 2022-12-23 15:37:31 -05:00
Conor Macpherson
6daa39fd62 Fix mysql migrations and db tests. 2022-12-23 11:08:41 -05:00
Doug Lauder
7a9354cd09 Expose boards APIs for MPA (#21917)
* add first batch of Boards service APIs for MPA
2022-12-23 10:47:29 -05:00
Conor Macpherson
13281a9b79 Remove translation. 2022-12-23 10:13:13 -05:00
Conor Macpherson
ec5be3c940 Hopefully fix db tests. 2022-12-23 10:06:09 -05:00