js029
9698ab2119
Mm 24857 specific logger in post go ( #24862 )
...
Co-authored-by: js029 <js029@gmail.com >
2023-10-16 12:17:04 +02:00
Michael Kochell
e9da1ee8ca
Performance metrics: Differentiate requests that are from page load ( #24327 )
...
* POC page_load_context header
* refactor to make this.pageLoadContext a private field, and relocate setTimeout code
* add pageLoadContext to `ObserveAPIEndpointDuration` method
* move to telemetry_actions
* move PageContext constant in webapp
* give server control of possible page_load_context values
* variable name change
---------
Co-authored-by: mickmister <mickmister>
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-10-13 14:59:12 -04:00
Mattermod
a4754181f9
Update minor version to 9.2.0 ( #24914 )
...
Automatic Merge
2023-10-13 16:22:23 +03:00
mattermod
22686de81d
Update latest version to 9.0.1
2023-10-13 12:28:43 +00:00
Alejandro García Montoro
2bc99398f9
MM-53023: Add origin client to ObserveAPIEndpointDuration ( #23631 )
...
* Add origin device to ObserveAPIEndpointDuration
* Fix generation of einterfaces mocks
* make einterfaces-mocks
* Use request's query and headers to get origin
* Add desktop to the origin device identification
* Test originDevice function
* Rename origin device to origin client
2023-10-12 19:09:52 +02:00
Michael Kochell
195927eb4a
Revert "jira plugin prepackage 4.0.0 ( #24609 )" ( #24901 )
...
This reverts commit 2d9e0108e8 .
2023-10-12 11:05:00 -04:00
Devin Binnie
89492a6a46
[MM-53428] Delete empty drafts on upsert ( #24046 )
...
* [MM-53428] Delete empty drafts on upsert
* Add migrations to fix existing drafts
* Fix CI
* Delete empty drafts entirely from the DB
* Fix lint
* Implement batch migration for deleting drafts
* Missing store layers
* Add updated mock
* Remove unnecessary test
* PR feedback
* Add check for cluster migration
* Fix MySQL
* Don't check for len<2
* Bit of PR feedback
* Use query builder for parameters
* PR feedback
* More PR feedback
* Merge'd
* unit test GetLastCreateAtAndUserIdValuesForEmptyDraftsMigration
* simplified builder interface
* fix DeleteEmptyDraftsByCreateAtAndUserId for MySQL
* rework as batch migration worker
* fix typo
* log ip address on version mismatches too
* simplify reset semantics
* remove trace log in favour of low spam
* document parameters for clarity
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com >
2023-10-12 10:52:10 -04:00
Ben Schumacher
e4fa6200c3
[MM-45309] Replace github.com/mattermost/gziphandler with github.com/klauspost/compress/gzhttp ( #24293 )
2023-10-12 08:27:31 +02:00
Ben Schumacher
eb35e83152
[MM-54850] Use request-specific logger in channels/app/admin_advisor.go ( #24859 )
2023-10-12 08:23:57 +02:00
Agniva De Sarker
3dd9e3715c
Goodbye, GraphQL ( #24827 )
...
```release-note
NONE
```
2023-10-12 09:47:35 +05:30
Deepayan Mukherjee
77ee4d93b7
[MM-24856] User request specific loggers in channels/api4/system.go ( #24881 )
...
* replace global mlog with local c.Logger and setInvalidParam with setInvalidParamWithErr if relevant
Signed-off-by: Deepayan Mukherjee <deepayanmukherjee1312@gmail.com >
* replace global mlog.Info with local c.Logger.Info
Signed-off-by: Deepayan Mukherjee <deepayanmukherjee1312@gmail.com >
---------
Signed-off-by: Deepayan Mukherjee <deepayanmukherjee1312@gmail.com >
2023-10-11 17:34:49 +02:00
Ben Schumacher
13c05a571f
Migrate store methods to use request.Context instead of context.Context ( #24836 )
2023-10-11 13:08:55 +02:00
Ben Schumacher
0d5a8b8841
Add whitespace linter ( #24855 )
2023-10-11 10:13:36 +02:00
linkvn
ca012fc375
Translated using Weblate (Vietnamese)
...
Currently translated at 59.4% (1479 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/vi/
2023-10-10 18:21:15 +03:00
Achmad Dinofaldi Firmansyah
b0d40fc94b
Translated using Weblate (Indonesian)
...
Currently translated at 36.7% (914 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/id/
Translated using Weblate (Indonesian)
Currently translated at 33.2% (827 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/id/
2023-10-10 18:21:15 +03:00
Alphanum404
ab953df8de
Translated using Weblate (Indonesian)
...
Currently translated at 33.2% (827 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/id/
2023-10-10 18:21:15 +03:00
Sharuru
28923e51b0
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (5706 of 5706 strings)
Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/zh_Hans/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2489 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/zh_Hans/
2023-10-10 18:21:15 +03:00
kaakaa
7304f1a0f9
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (5706 of 5706 strings)
Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/ja/
Translated using Weblate (Japanese)
Currently translated at 100.0% (2489 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/ja/
2023-10-10 18:21:15 +03:00
Peyo6565
7b95e3143d
Translated using Weblate (French)
...
Currently translated at 92.9% (2313 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/fr/
2023-10-10 18:21:15 +03:00
Matthew Williams
20d13c9ef5
Translated using Weblate (English (Australia))
...
Currently translated at 99.9% (5705 of 5706 strings)
Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/en_AU/
Translated using Weblate (English (Australia))
Currently translated at 99.9% (2488 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/en_AU/
2023-10-10 18:21:15 +03:00
jprusch
cf02207493
Translated using Weblate (German)
...
Currently translated at 100.0% (5706 of 5706 strings)
Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/de/
Translated using Weblate (German)
Currently translated at 100.0% (2489 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/de/
2023-10-10 18:21:15 +03:00
MArtin Johnson
5d4382f989
Translated using Weblate (Swedish)
...
Currently translated at 98.9% (2464 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/sv/
2023-10-10 18:21:15 +03:00
Bhautik Bavadiya
ef04acee91
Translated using Weblate (Gujarati)
...
Currently translated at 0.8% (20 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/gu/
Translated using Weblate (Gujarati)
Currently translated at 0.7% (19 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/gu/
2023-10-10 18:21:15 +03:00
MixeroTN
d5a57e3207
Translated using Weblate (Polish)
...
Currently translated at 100.0% (5702 of 5702 strings)
Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/pl/
Translated using Weblate (Polish)
Currently translated at 100.0% (2489 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/pl/
2023-10-10 18:21:15 +03:00
Tom De Moor
37de7f7d98
Translated using Weblate (Dutch)
...
Currently translated at 99.9% (2488 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/nl/
Translated using Weblate (Vietnamese)
Currently translated at 55.4% (1379 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/vi/
Translated using Weblate (Dutch)
Currently translated at 99.0% (5645 of 5702 strings)
Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/nl/
Translated using Weblate (Vietnamese)
Currently translated at 94.9% (5415 of 5702 strings)
Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/vi/
Translated using Weblate (Vietnamese)
Currently translated at 55.3% (1377 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/vi/
Added translation using Weblate (Vietnamese)
Added translation using Weblate (Vietnamese)
Translated using Weblate (Chinese (Traditional))
Currently translated at 62.8% (3585 of 5702 strings)
Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/zh_Hant/
Translated using Weblate (Chinese (Simplified))
Currently translated at 98.7% (5633 of 5702 strings)
Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/zh_Hans/
2023-10-10 18:21:15 +03:00
Kaya Zeren
80c69d5c9c
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (5702 of 5702 strings)
Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/tr/
Translated using Weblate (Turkish)
Currently translated at 100.0% (2489 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/tr/
Translated using Weblate (Turkish)
Currently translated at 98.5% (5617 of 5702 strings)
Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/tr/
Translated using Weblate (Turkish)
Currently translated at 99.7% (2483 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/tr/
2023-10-10 18:21:15 +03:00
Konstantin
ffdaf326bd
Translated using Weblate (Russian)
...
Currently translated at 98.9% (2464 of 2489 strings)
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/ru/
2023-10-10 18:21:15 +03:00
Hosted Weblate
fb4e367aa3
Update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/
Update translation files
Updated by "Remove blank strings" hook in Weblate.
Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/
2023-10-10 18:21:15 +03:00
Harshil Sharma
06765b1f44
Displayed error message for already used channel name ( #24860 )
...
* WIP
* Displayed existing channel name error
* refactoring
2023-10-10 17:41:49 +05:30
Miguel de la Cruz
f18002a8d6
Add a simple mmctl README file ( #23638 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2023-10-10 10:34:08 +02:00
Jesse Hallam
47bfa2b66b
Pass a logger instead of embedding on job ( #24650 )
...
* pass a logger instead of embedding on job
* leverage mlog.Millis
* use worker logger with HandleJobPanic
* rely on existing LogClone instead
* guard Job.LogClone against nil Job
* s/workername/worker_name
* Revert "rely on existing LogClone instead"
This reverts commit 17303cbac90d4b01815abca1309b78b97de368fb.
* Revert "guard Job.LogClone against nil Job"
This reverts commit f1ae22dee58d76f084582857830ffe8d4c546d7e.
2023-10-09 11:04:55 -03:00
Ben Schumacher
aad25be4e1
[MM-54434] Use job.Logger to capture ldap logs ( #24493 )
2023-10-06 22:43:21 +02:00
Christopher Poile
afaf41b587
update calls plugin to v0.20.0 ( #24729 )
2023-10-06 08:25:28 -06:00
Agniva De Sarker
fcf238523f
Optimize mmctl CI run ( #24732 )
...
* Optimize mmctl CI run
- Remove coverage mode. They increase run time by 3x.
- Remove -race mode in PR builds. They increase run time by 2x and memory consumption as well.
```release-note
NONE
```
* caching go.sum path
```release-note
NONE
```
2023-10-06 10:43:06 -03:00
Delaney Sylvans
d61364a24a
[MM-54024] Handle JSON nulls when unmarshalling in api4 ( #24656 )
...
* handle JSON nulls when unmarshalling in api4
* catch more cases of unhandled JSON null
* fix lint issues
* remove unnecessary checks
* add bot tests for null values
* fix bot_test lint
* add channel null tests
* add group null tests
* add notify_admin null tests
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-10-05 19:25:59 +05:30
Daniel Espino García
5f0aac70ac
[MM-54497]Fix updatePost props ( #24543 )
...
* Fix updatePost props and plugin hooks
* Add more tests
* Minor naming improvement
* Revert plugin hooks changes
* Rename post variable
* Fix app layers
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-10-05 09:40:53 +02:00
Ibrahim Serdar Acikgoz
8e7e5c8775
server/app: remove websocket_router.go ( #24680 )
2023-10-04 10:54:40 +03:00
Tom De Moor
a25aa43667
integrating WIP-languages ( #24683 )
...
* integrating WIP-languages
* handle malformed, but "correct" empty i18n files
---------
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be >
Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com >
2023-10-03 22:56:23 -03:00
Caleb Roseland
b7f1a7f262
MM-52792: Update createPost, updatePost, & patchPost ( #24195 )
2023-10-03 09:51:07 -05:00
Scott Bishel
43cb6fa6c1
update playbooks to v1.39.0 ( #24661 )
2023-10-03 08:13:51 -06:00
Amy Blais
162d284a2b
Update minimum supported Edge version ( #24621 )
...
Automatic Merge
2023-10-03 15:11:53 +03:00
Agniva De Sarker
b9c50641db
MM-54580: Fix panic in jobs/base_workers.go ( #24631 )
...
If GetJob fails, we would return a nil job and then try to log
with that. To prevent this, we keep a reference to the old job
and log with that in the error case.
https://mattermost.atlassian.net/browse/MM-54580
```release-note
Fix a panic where a simple worker would crash if if failed to get a job.
```
2023-10-03 07:55:38 +05:30
Scott Bishel
ae1decd1a7
MM-54555 - Include channel name in error ( #24614 )
...
* include channel name in error
* update multiple returns
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-10-03 06:55:21 +08:00
Scott Bishel
7e3c0dfa4c
update prepackage boards to v7.11.4 ( #24619 )
...
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-10-02 16:03:07 -06:00
Jesse Hallam
460fa05eb9
add period for consistency in help text ( #24648 )
...
Automatic Merge
2023-09-29 17:41:53 +03:00
Michael Kochell
2d9e0108e8
jira plugin prepackage 4.0.0 ( #24609 )
...
Co-authored-by: Mattermost Build <build@mattermost.com >
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2023-09-29 10:22:55 -04:00
Ibrahim Serdar Acikgoz
53a0f8da27
Add limiting ability to log fields ( #24251 )
2023-09-28 19:28:40 +03:00
Elias Nahum
cd9e0d7509
fix mobile oauth tests ( #24610 )
...
* fix mobile oauth tests
* update test description
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-09-27 12:18:56 +03:00
mattermod
d5c497d7c9
Update latest version to 9.0.0
2023-09-27 07:00:39 +00:00
Jesse Hallam
14f784a0cc
MM-54556: Integrate wip i18n languages ( #24308 )
...
* merge languages from https://github.com/mattermost/i18n-wip
* allow only supported server locales
* Revert "merge languages from https://github.com/mattermost/i18n-wip "
This reverts commit 36de545102faffe1e8ba943decdab04bc4f5a55c. We'll let
weblate populate these on start instead.
* copy fileutils to public/utils
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-09-26 13:49:27 -03:00