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

18394 Коммитов

Автор SHA1 Сообщение Дата
Syed Ali Abbas Zaidi
bca4535150 [MM-57712] Convert ./components/post_deleted_modal.tsx from Class Component to Function Component (#26731)
* [MM-57712] Convert `./components/post_deleted_modal.tsx` from Class Component to Function Component

* 🎨 Improve code quality

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-15 09:46:32 +02:00
Agniva De Sarker
870cee30c6 MM-57759: Added mockery support for 1.22 (#26774)
* Revert "Revert "MM-57759: Bump mockery to version 2.42.2 to support go  1.22^" (#26772)"

This reverts commit cd3b5b46e1.

* Added the hooks.go file changes as well

```release-note
NONE
```
2024-04-13 08:15:59 +05:30
Karim Aljandali
96ab35ba34 [MM-55283] Add channel name to aria label for sidebar options (#26652)
* Add channel name to aria label for sidebar options

* Revert text message for menuButtonTooltip

* Update formatMessage

* Follow linting

* Add aria label definition for sidebar button

* cleanup

* Fix linting

* Update snapshot sidebar_channel_menu
2024-04-12 16:45:57 -04:00
Ben Schumacher
df75277a0c [MM-55323] Allow end users to fetch the group members list of groups which allow @-mentions (#26551)
* Allow end users to fetch the group members list of groups which allow @-mentions

* Update server/channels/api4/group_test.go

Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>

* Fix test name

* Move into subtest

---------

Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
2024-04-12 19:41:50 +02:00
Asaad Mahmood
460b228837 Fixing modal styles for some modals (#26635)
* Updating modal styles

* Updating modal header for notices

* Updating dispatch

* Updating padding

* Fixing css

* Updating modal

* Updating css

* Updating modal scss
2024-04-12 22:23:25 +05:00
Ben Schumacher
b336fb9a45 Fix MM-57090 (#26589) 2024-04-12 17:15:01 +02:00
Agniva De Sarker
cd3b5b46e1 Revert "MM-57759: Bump mockery to version 2.42.2 to support go 1.22^" (#26772) 2024-04-12 15:31:24 +02:00
Karim Aljandali
c76a58b4b8 MM-55280: When closing/dismissing the find channels modal via keyboard, set focus on originating button (#26641)
* Restore focus to sidebar button when channel navigator closes

* Add new onHide function to use on exit of modal

* Move import back to original spot

* Remove duplicate blank line

* Fix spacing and semicolon

* Address PR feedback

* Add test id for targeting in unit test

* Add unit test for accessibility

* Fix linting

* Fix imports
2024-04-12 13:15:30 +02:00
Tanmay Thole
bb26e8685f [MM-55497] Add tooltips with enlarged emojis when hovering over emojis within message content (#26709)
* feat: add tooltip to emojis in post messages

* ci: eslint fix
2024-04-12 13:10:03 +02:00
MeHow25
1dd7046eff [MM-57727] Convert SearchDateSuggestion to functional component (#26708)
* Convert SearchDateSuggestion to functional component

* Review fixes

* Review fix

Co-authored-by: Daniel Espino García <larkox@gmail.com>

* Another review fix

---------

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2024-04-12 13:09:12 +02:00
Ezekiel
98712737e6 MM-57759: Bump mockery to version 2.42.2 to support go 1.22^ (#26761) 2024-04-12 10:38:34 +02:00
Ibrahim Serdar Acikgoz
92f11f8971 Make support packet composable with plugins (#26403)
---------

Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-04-12 10:05:58 +02:00
Syed Ali Abbas Zaidi
165b5ea821 [MM-57709] Convert ./components/channel_select/channel_select.tsx from Class Component to Function Component (#26718) 2024-04-11 17:54:35 -04:00
Devin Binnie
8589476229 [MM-57067][MM-57006][MM-57328] Acknowledge websocket POSTED events that may result in a notification on the web client (#26604)
* Acknowledge POSTED events that may result in a notification

* Remove temporary metrics

* Add Desktop App support

* Merge'd

* Add some tests

* PR feedback

* Rework window is focused check

* Oops

* Move mentions/followers ACK to posted ACK broadcast hook

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-11 20:18:14 +00:00
Christopher Poile
b397f9ed92 [MM-57286] Prepackage calls v0.26.2 (#26754)
* prepackage calls v0.26.2
2024-04-11 15:40:16 -04:00
Christopher Speller
00b80b06e9 Update playbooks to v1.39.3 (#26762) 2024-04-11 09:21:23 -07:00
Jesse Hallam
2230fb6f5f MM-57018: support reattaching plugins (#26421)
* ProfileImageBytes for EnsureBotOptions

* leverage plugintest.NewAPI

* fix linting

* add UpdateUserRoles to plugin api

* MM-57018: support reattaching plugins

Expose a local-only API for reattaching plugins: instead of the server starting and managing the process itself, allow the plugin to be launched externally (eg within a unit test) and reattach to an existing server instance to provide the unit test with a fully functional RPC API, sidestepping the need for mocking the plugin API in most cases.

In the future, this may become the basis for running plugins in a sidecar container.

Fixes: https://mattermost.atlassian.net/browse/MM-57018

* drop unused supervisor.pid

* factor out checkMinServerVersion

* factor out startPluginServer

* restore missing setPluginState on successful reattach

* avoid passing around a stale registeredPlugin

* inline initializePluginImplementation

* have IsValid return an error

* explicitly close rpcClient

In the case of reattached plugins, the Unix socket won't necessarily disappear leaving the muxBrokers blocked indefinitely. And `Kill()` doesn't do anything if there's no process being managed.

* explicitly detachPlugin

* emphasize gRPC not being supported

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-11 11:10:25 -04:00
Rohan Sharma
f5ea554c96 Updated e2e-tests README.md (#26732) 2024-04-11 12:39:38 +08:00
Mario Vitale
1b69f2d79f CLD-7473 Limit parallelism for full E2E tests (#26741)
* Limit parallelism for full E2E tests

* Add temporary changes for testing

* Better concurrency spec

* Do not consider github.ref for concurrency grouping

* Further improve the concurrency grouping

* Remove testing lines
2024-04-11 12:29:45 +08:00
ThrRip
27b2c4858b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (5941 of 5941 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/
2024-04-10 18:30:34 +03:00
MArtin Johnson
1dd3600461 Translated using Weblate (Swedish)
Currently translated at 100.0% (5941 of 5941 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sv/
2024-04-10 18:30:34 +03:00
Martin Popp Fredslund (SektorCERT)
14f8dd3dd1 Translated using Weblate (Danish)
Currently translated at 6.0% (155 of 2583 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/da/
2024-04-10 18:30:34 +03:00
Martin Popp Fredslund (SektorCERT)
1561716b74 Translated using Weblate (Danish)
Currently translated at 5.7% (149 of 2583 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/da/
2024-04-10 18:30:34 +03:00
master7
a19534a7e9 Translated using Weblate (Polish)
Currently translated at 100.0% (5941 of 5941 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/
2024-04-10 18:30:34 +03:00
master7
1639d99e91 Translated using Weblate (Polish)
Currently translated at 100.0% (5941 of 5941 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/
2024-04-10 18:30:34 +03:00
R Oyanagi
c201f8b53c Translated using Weblate (Japanese)
Currently translated at 100.0% (5941 of 5941 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ja/
2024-04-10 18:30:34 +03:00
Thomas Marny
3cb9b571d7 Translated using Weblate (Czech)
Currently translated at 93.9% (5580 of 5941 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/cs/
2024-04-10 18:30:34 +03:00
master7
b8dd02baf9 Translated using Weblate (Polish)
Currently translated at 100.0% (5941 of 5941 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/
2024-04-10 18:30:34 +03:00
R Oyanagi
4b91b6ced0 Translated using Weblate (Japanese)
Currently translated at 100.0% (5941 of 5941 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ja/
2024-04-10 18:30:34 +03:00
jprusch
632cffaff4 Translated using Weblate (German)
Currently translated at 100.0% (5941 of 5941 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/
2024-04-10 18:30:34 +03:00
master7
2a788589e3 Translated using Weblate (Polish)
Currently translated at 100.0% (2583 of 2583 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/pl/
2024-04-10 18:30:34 +03:00
Devin Binnie
39bb8a1121 [MM-57517] Add exact user ID lookup to the search query for Users (#26661)
* [MM-57517] Add exact user ID lookup to the search query for Users

* Fix lint

* Add test for ID search
2024-04-10 07:54:02 -04:00
Ben Schumacher
0ffbc75cfd Fix MM-55314 (#26595) 2024-04-10 13:38:56 +02:00
Ben Schumacher
b56c65ec2d Simplify page size in mmctl (#26664) 2024-04-10 12:47:06 +02:00
Ezekiel
9fee0393c3 Gh 24291 api meesage unclear when parameters are incorrect (#26457)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-10 11:04:41 +02:00
Anna Os
1806ba2cc7 [GH-22254] check if bot user exists (#26545)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-10 10:06:08 +02:00
Ezekiel
db2cfe953b updated modifyTeamsCmdF to return error instead of nil when encounting error (#26606) 2024-04-10 11:02:41 +05:30
Devin Binnie
65c6717e6b Add login/logout signal to Desktop App API (#26701) 2024-04-09 09:16:07 -04:00
M-ZubairAhmed
9698cfcc19 [MM-56695] Consolidate desktop and mobile Notifications to one and a new desktop notification sound settings (#26198) 2024-04-08 18:59:05 +00:00
Devin Binnie
a81ee87832 [MM-57519] Fill the {time} parameter with a blank string in places where it isn't used (#26666)
* [MM-57519] Fill the {time} parameter with a blank string in places where it isn't used

* Add placeholder in default message

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-08 08:56:06 -04:00
Amir Helali
733fe8b902 [MM-56008] Convert ./components/widgets/settings/bool_setting.tsx to functional component (#25614)
* Updated bool_setting

Converted bool_setting.tsx to a function component. and Updated the test file.

* Delete package-lock.json

* Update bool_setting.tsx

Updated the code to reflect the requested changes

* Fix lint and types

---------

Co-authored-by: Daniel Espino García <larkox@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-08 13:54:32 +02:00
Sundaran Kumar
f8fc02791b [MM-47953] Outgoing webhook does not trigger when using multiple callback URLs (#22394)
Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>
2024-04-08 11:25:03 +02:00
Ben Schumacher
5dbf874d1e [MM-57189] Ignore MaxUsersForStatistics when generating Support Packet (#26514) 2024-04-08 11:09:00 +02:00
Ben Schumacher
765593e89a [MM-57147] Obfuscate ReplicaLagSettings in Support Packet (#26426) 2024-04-08 11:01:13 +02:00
Daniel Espino García
4783950e72 Fix default text setting on admin console not getting cleared (#26653) 2024-04-08 09:54:33 +02:00
Arya Khochare
a040618485 Added log to show which URL is blocked by CORS. (#26347)
---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-06 08:25:50 +05:30
Ben Schumacher
71e26b8df2 [MM-56653] Improve license loading errors (#26050) 2024-04-05 16:59:19 +02:00
Ben Schumacher
1a9355b2eb [MM-57379] Still generate support_packet.yaml even if an error occurs (#26542) 2024-04-05 16:57:30 +02:00
sazzad hossain
5f6ef75fe7 Send ephemeral message when a mentioned user is not a member of the team (#26153)
Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com>
Co-authored-by: Sazzad Hossain <sazzad.hossain@marginedge.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-05 09:56:22 -05:00
Ben Schumacher
c5cf4101da [MM-57085] Remove UseNewSAMLLibrary experimental setting (#26392)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-05 16:56:01 +02:00