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
jprusch
a838433263
Translated using Weblate (German)
...
Currently translated at 99.8% (2485 of 2489 strings)
Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/de/
2023-09-26 12:47:38 -04:00
Daniel Espino García
c42839094e
Fix flaky test introduced in #24495 ( #24603 )
2023-09-26 09:48:06 +02:00
Ben Schumacher
35c1639ee3
[MM-54291] Add goroutines profile to support package ( #24478 )
2023-09-25 20:22:25 +02:00
Elias Nahum
7cd9780399
MM-54489 restrict mobile oauth/saml redirect to native app schemes ( #24554 )
...
* MM-54489 restrict mobile oauth/saml redirect to native app schemes
* replace slices package with contains function in utils
* use the existing Contains utility function
* Fix unit tests
* more test cases
* fix cfg.NativeAppSettings.AppCustomURLSchemes assignment
* Append mmauth to cfg.NativeAppSettings.AppCustomURLSchemes in unit test
2023-09-25 20:46:45 +03:00
Mario Vitale
1e121eb7f3
CLD-6297 - E2E tests improvements ( #24541 )
...
* Improve e2etests readme, remove unused apt install
* Add testing E2E Tests MultiOS
* Get rid of deprecation warning
* Smart selection of docker network driver for different OSes
* Unify makefile invocation for windows as well
* Tune JVM for ES and Keycloak
* fix: Made required changes to run locally on arm MacOS
* fix: FIxed network command and removed dashboard node user as it is not needed
* fix: make dashboard work for Mac
* Make runs without dashboard work again, make BROWSE tunable and document it
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com >
2023-09-25 17:01:01 +02:00
Daniel Espino García
6c48cca78f
Fix MM-54027 ( #24495 )
...
* Fix MM-54027
* Add tests
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-09-25 11:08:58 +02:00
Ben Schumacher
845ea2a984
[MM-54290] Add CPU profile to support package ( #24477 )
2023-09-25 11:00:33 +02:00
Ben Schumacher
153ebc31d7
[MM-54289] Add heap profile to support package ( #24476 )
2023-09-25 09:46:15 +02:00
Daniel Espino García
88d043a971
Make GM behave as DM ( #24289 )
...
* Make GM behave as DM
* Fix lint
* Add desktop notification special behavior
* Change notification preferences menu
* Make changes to the GM channel intro
* Fix tests
* Fix i18n and style lint
* Add system notice and update style
* Fix style and fix tests
* Fix tests
* Handle push notifications as desktop notifications
* Fix tests
* Add test and default GMs to none when user level config is none
* Fix test
* Update only for mentions text
* Add tests
* Fix lint
* Fix lint
2023-09-19 15:29:57 +02:00
Harshil Sharma
39d6cb8008
MM-53125 Add feature to convert group message to private channel ( #24421 )
...
* Added convert to channel menu item
* WIP
* refactored channel name input field and created conversion modal
* style
* style
* WIP
* wip
* Created API to fetch common teams of GM members
* Added UI for all members deactivated
* Fetched common teams in client
* WIP
* Added a required attribute to DropdownInput component
* Fixed a case with dropdown input required flag
* WIP
* API first draft
* Genetayed layers and mocks
* Fixed create channel bug
* WIP
* Added cache invalidation
* Calling API from client
* Updated API to accept name and display name as well
* WIP
* Moved converted GM to correct category
* Style fixes
* Added logic to move user to new team/channel after GM conversion
* Prevented guest user from performing action
* Added loading indicator
* Added smoother height transistion when loading finishes
* UI imporvements
* WIP
* Formatted GM conversion message on client side
* lint fix
* Moved convert option from sidebar menu to channel header menu
* Some cleanup
* Updated server layers
* Fixed i18n
* Fixed types
* Fix server i18n
* Fixed channel creation bug
* Added store test for GetCommonTeamIDsForMultipleUsers
* Server tests done
* Updated snapshots
* Updated layers
* lint fix
* Update tests
* For CI
* lint
* restored debug code
* Used user ID instead of username in channel conversion post
* WIP
* Review fixes
* LInt fixes
* Test fix
* WIP
* WIP
* WIP
* wip
* Review fixes, lots of them
* Review fix
* Disabled WIP test
* test
* Cleanup
* Test fix
* removed testing line
* Fixed incorrect default message
* Review fixes
* Fixes
* lint and i18n fix
* Setting category on server side
* updated i18n
* Updated tests
* Added tests
* Refs cleanup
* added test
---------
Co-authored-by: Harshil Sharma <harshilsharma@Harshils-MacBook-Pro.local >
2023-09-19 14:41:34 +02:00