Jesús Espino
280bc7f97e
Adding the debug bar logic in the server ( #22410 )
...
* Adding debugbar layer
* Adding sql debugbar info
* Make duration consistent across the debugbar lines
* Adding the debugbar/systeminfo endpoint
* Adding logs to the debugbar
* Improve the debugbar logger fields info
* Improving the debug bar architecture
* Allow to enable/disable debugbar in the backend
* Exposing the Debug Bar enable in the client config
* Adding more system information to the debugbar
* Adding params info to the store layer
* Organizing a bit the debugbar code in the server and adding some extra data to the system info api
* Adding debugbar email traces
* Changing the socket event name to 'debugbar'
* Adding explain support for the debugbar
* Adding missed file
* Omitting data related to the debugbar itself
* Removing unneeded functions
* Avoid arbitrary execution in explain api
* Moving debugbar inside the platform directory
* Replacing debugbar logger with a new logger Target
* Removed uneeded changes
* Fixing some linter errors
* Adding a debugbar log level to use it later for log events strictly related to the debug bar
* Fixing linter errors
* Fixing tests
* Adding i18n strings
2023-03-09 17:55:36 +01:00
Christopher Poile
ebb160b081
MM-50566 - Prepackage Calls v0.14.0 ( #22464 )
2023-03-09 09:19:39 -05:00
Ibrahim Serdar Acikgoz
5025fd7561
remove unsused/unnecessary gitlab ci steps ( #22458 )
2023-03-08 18:43:31 +03:00
Nathaniel Allred
de63ddfd9b
configure public key and related license variables at build time ( #22202 )
...
Instead of being completely hardcoded, public key is now set at build time according to build tag (test key if `testlicensekey` tag is passed to go build, production key otherwise). A `isProdLicensePublicKey` is also available for determining if the prod license key is being used. It is needed for choosing whether to point to production or test environment CWS.
The test license key and CWS url values in this value are set to production values in this PR, but will be updated to the test values once we are ready to do the necessary updates to test environment spinwicks.
2023-03-08 09:14:14 -06:00
Agniva De Sarker
346fab1620
MM-50393: Revamp email batching performance ( #22358 )
...
This ticket does a number of improvements to the email
batching code in general.
- Fix unbounded goroutines: We now send mails using a single
goroutine only. Since anyways the processing is asynchronous,
performance should not matter.
- Move the exit condition earlier: We have moved up the check
for the per-user email interval preference. This prevents
unnecessary DB calls from happening.
- Break from the loop properly: The objective was to not
send notifications if a user has viewed any channel since
a notification was queued. But there were 2 nested for loops
and we were breaking from just one and not the other. That is
correctly fixed now to prevent unnecessary DB calls.
- Gracefully shutdown the job: The batching task wasn't
properly shut down and could have notifications in-flight
which would have not got sent. We fix that now by cancelling
the task and waiting for it to finish.
https://mattermost.atlassian.net/browse/MM-50393
2023-03-08 08:42:21 +05:30
Agniva De Sarker
24427b81be
MM-48627: Fix flaky testGetUptoNSizeFileTime ( #22348 )
...
* MM-48627: Fix flaky testGetUptoNSizeFileTime
There was an issue with data clean up before
and after the tests.
https://mattermost.atlassian.net/browse/MM-48627
```release-note
NONE
```
* Lint fix and improvements
```release-note
NONE
```
2023-03-07 19:22:29 +05:30
Tom De Moor
791bf3e3ba
Deleted translation using Weblate (Arabic)
2023-03-07 14:13:34 +02:00
Weblate
028d724e2f
Added translation using Weblate (Arabic)
2023-03-07 14:13:34 +02:00
Tom De Moor
e6b1bfc5c6
Deleted translation using Weblate (Arabic)
2023-03-07 14:13:34 +02:00
Weblate
46ee245de6
Added translation using Weblate (Arabic)
2023-03-07 14:13:34 +02:00
master7
03e90aaaf7
Translated using Weblate (Polish)
...
Currently translated at 100.0% (2499 of 2499 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2023-03-07 14:13:34 +02:00
jprusch
9ed4d53c7b
Translated using Weblate (German)
...
Currently translated at 100.0% (2499 of 2499 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2023-03-07 14:13:34 +02:00
Felipe Nogueira
543240a790
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 85.9% (2148 of 2498 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pt_BR/
2023-03-07 14:13:34 +02:00
Konstantin
d055afa598
Translated using Weblate (Russian)
...
Currently translated at 100.0% (2499 of 2499 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
Translated using Weblate (Russian)
Currently translated at 100.0% (2498 of 2498 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
2023-03-07 14:13:34 +02:00
Scott Bishel
c300c4600c
prepackage boards v7.9.0 ( #22423 )
...
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-03-06 12:29:34 -07:00
Amy Blais
b0064d9099
Revert "[MM-50996] Set WorkTemplate FF to true by default ( #22427 )" ( #22442 )
...
Automatic Merge
2023-03-06 18:29:09 +02:00
Amy Blais
c56585dbab
Revert "[MM-51054] Allow enabling/disabling plugins through env override ( #22426 )" ( #22439 )
...
Automatic Merge
2023-03-06 17:59:09 +02:00
Agniva De Sarker
02a378be8c
Revert "Revert "Revert "Set BoardsProduct FF to on by default" ( #22177 )" ( #22213 )" ( #22437 )
...
This reverts commit 9f7e361621 .
2023-03-06 21:20:15 +05:30
mattermod
9fe18074e0
Update latest version to 7.8.1
2023-03-06 14:01:09 +00:00
Ibrahim Serdar Acikgoz
274b932c4b
remove test-schema from the CI pipeline ( #22378 )
2023-03-06 10:38:09 +03:00
Julien Tant
fc85f49e01
[MM-50996] Set WorkTemplate FF to true by default ( #22427 )
...
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-03-03 12:32:40 -07:00
Claudio Costa
cb96d30fc7
[MM-51054] Allow enabling/disabling plugins through env override ( #22426 )
...
* Allow enabling/disabling plugins through env override
* Improve map value setting
2023-03-03 11:54:02 -06:00
Conor Macpherson
a9d9f95b24
Merge pull request #22421 from mattermost/MM-51019-add-feature-flag-for-in-product-expansion
...
* Add SelfHostedExpansion config/ff.
2023-03-03 11:05:40 -05:00
Allan Guwatudde
1f5a6e439e
[MM-50534] - Renew email adds portal link when not eligible for self-serve renewal ( #22350 )
...
* [MM-50534] - Renew email adds portal link when not eligible for self-serve renewal
* fix translations
* make more checks
* improve endpoint to make checks
* use new checks
* fix translations
* fix lint
* add meaningful names
* rename struct
* rename endpoint
2023-03-03 18:33:18 +03:00
Mattermost Build
f45ba2e593
Merge branch 'master' into MM-51019-add-feature-flag-for-in-product-expansion
2023-03-02 22:40:26 +02:00
Conor Macpherson
871f35326c
change config name to self hosted expansion to follow suit with self hosted purchase.
2023-03-02 15:07:56 -05:00
Ibrahim Serdar Acikgoz
9c7aab24f5
Use getsentry/action-release@v1 for sentry release ( #22418 )
2023-03-02 19:59:55 +03:00
Ibrahim Serdar Acikgoz
87755d6994
add sentry org to the env vars ( #22416 )
2023-03-02 18:07:08 +03:00
Conor Macpherson
27b49983fd
use in product expansion setting in telemetry
2023-03-02 10:02:14 -05:00
Ibrahim Serdar Acikgoz
931142b640
Migrate to CI pipeline to GitHub actions ( #22392 )
...
* migrate to CI pipeline to github actions
* simplfy workflow
---------
Co-authored-by: Akis Maziotis <36594156+phoinixgrr@users.noreply.github.com >
2023-03-02 16:12:24 +03:00
Conor Macpherson
46a693e421
Add in-product expansion config.
2023-03-01 17:17:23 -05:00
Shivashis Padhi
8c34e6c80c
MM-49547: Handle Top DM case for deleted second user ( #22049 )
...
* Ignore archived DM channels with deleted second user
* Add tests
* Add store test
* Add error check for post delete in test
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-03-01 14:38:23 +03:00
Nathaniel Allred
7a8c1f587b
Mm 49495 Show past invoices for prior self-hosted purchases ( #22397 )
...
* future proof license queries
* add client method for fetching self-hosted invoices
2023-02-28 15:39:23 -06:00
Elpunical
552ca6fb0b
Translated using Weblate (French)
...
Currently translated at 91.7% (2291 of 2498 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/fr/
2023-02-28 11:35:26 +02:00
Tom De Moor
cddda07de2
Translated using Weblate (Dutch)
...
Currently translated at 100.0% (2498 of 2498 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
2023-02-28 11:35:26 +02:00
Matthew Williams
ed69aa1cfe
Translated using Weblate (English (Australia))
...
Currently translated at 99.9% (2497 of 2498 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2023-02-28 11:35:26 +02:00
kaakaa
2032b4109d
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (2498 of 2498 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
2023-02-28 11:35:26 +02:00
Sharuru
e2388b514c
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 98.5% (2463 of 2498 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/zh_Hans/
2023-02-28 11:35:26 +02:00
Sajjad Jazini
d2a4b0eb49
Translated using Weblate (Persian)
...
Currently translated at 88.6% (2215 of 2498 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/fa/
Translated using Weblate (Persian)
Currently translated at 88.6% (2215 of 2498 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/fa/
2023-02-28 11:35:26 +02:00
MArtin Johnson
42fd605ccc
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (2498 of 2498 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2023-02-28 11:35:26 +02:00
master7
77c8456c1e
Translated using Weblate (Polish)
...
Currently translated at 100.0% (2498 of 2498 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2023-02-28 11:35:26 +02:00
jprusch
f4b171f98b
Translated using Weblate (German)
...
Currently translated at 100.0% (2498 of 2498 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
Translated using Weblate (German)
Currently translated at 100.0% (2497 of 2497 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2023-02-28 11:35:26 +02:00
Antonis Stamatiou
91c979e7cf
update libcurl3-gnutls to 7.64.0-4+deb10u5 ( #22390 )
2023-02-24 13:56:25 +02:00
davidboto
a7186b9c97
fix plugin help example - method arguments order ( #19662 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-02-23 23:07:33 +01:00
Doug Lauder
d9d75afa97
MM-47489 Assume Remote Cluster Service enabled if Shared Channels enabled. ( #22376 )
...
* Assume Remote Cluster Service enabled if Shared Channels enabled.
* enable remote cluster service config if shared channels config is enabled
* Update app/server.go
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-02-23 12:03:48 -05:00
Konstantinos Pittas
e0bc2d44a4
[MM-50516] Support multiple embed ( #22337 )
2023-02-23 17:50:23 +02:00
Allan Guwatudde
d44065d4b3
[MM-49455] - Self-serve workspace deletion ( #22200 )
...
* [MM-49455] - Self-serve workspace deletion
* add subscription id to deletion request
* add server telemetry
* fix mocks
* feedback impl
2023-02-21 17:36:44 +03:00
Tom De Moor
12ea6db4c9
Deleted translation using Weblate (Vietnamese)
2023-02-21 12:11:06 +02:00
Hosted Weblate
e1afeae471
Update translation files
...
Updated by "Remove blank strings" 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 "Remove blank strings" 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 "Remove blank strings" 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 "Remove blank strings" 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 "Remove blank strings" 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 "Remove blank strings" 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 "Remove blank strings" 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 "Remove blank strings" 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 "Remove blank strings" 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 "Remove blank strings" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
2023-02-21 12:11:06 +02:00
晓晓
78adf7cb6c
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 94.9% (2371 of 2497 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/zh_Hans/
2023-02-21 12:11:06 +02:00