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

15835 Коммитов

Автор SHA1 Сообщение Дата
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
Conor Macpherson
e4fe76d01f Only pull active plugins from the mattermost marketplace. 2023-01-03 11:47:05 -05: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
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
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
Conor Macpherson
5dcb359b96 Fix translations. 2022-12-23 09:34:38 -05:00
Agniva De Sarker
1e02b99bf1 MM-49354: Make compliance export query cancellable (#21943)
We accept a context that can cancel the query.
This allows us to exit a job faster.

```release-note
Compliance export job can now cancel the SQL query
execution during server shutdown which will allow
the job to exit faster.
```

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-23 19:56:49 +05:30
Conor Macpherson
40fbb00acc Remove auto create if no records present, add new error message. 2022-12-23 09:18:14 -05:00
Ibrahim Serdar Acikgoz
40cd6b1656 sqlstore/store: make SetupConnection public to be used by products (#21948) 2022-12-23 14:34:48 +03:00
Ibrahim Serdar Acikgoz
06745d9b61 [MM-48878] cmd/mattermost/export: start export command without metrics (#21857) 2022-12-23 09:45:42 +03: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
emmyni
7a8b09c242 Add comments for the subscriptionHistoryEvent call (#21946) 2022-12-22 15:33:04 -05:00
Conor Macpherson
be1608972d Fix migrations list. 2022-12-22 15:06:07 -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
Nathaniel Allred
f8b6b6b0ed always set CWSURL in client config (#21940) 2022-12-22 11:32:23 -06:00