Commit Graph

18743 Commits

Author SHA1 Message Date
Harrison Healey
527fe4a654
Update ChannelHeaderPlug tests to not use snapshots and ensure its more accessible (#26784)
* Update ChannelHeaderPlug tests to not use snapshots

* Change HeaderIconWrapper to always set aria-label based off tooltip

* Re-add shortcut to Recent Mentions button

* Remove unneeded div
2024-06-03 11:43:25 -04:00
Doug Lauder
d40cc68b1c
MM-58349 Don't allow remote user to create sessions or reset password (#27215)
Automatic Merge
2024-06-03 17:11:30 +03:00
Devin Binnie
4ec50a7ddd
[MM-58500] Turn off PostedAck when the connection is no longer registered (#27212)
* [MM-58500] Turn off PostedAck when the connection is no longer registered

* Expose active and just check for active instead
2024-06-03 19:14:53 +05:30
Weblate (bot)
4163db4e5e
Translations update from Mattermost Weblate (#27251)
* Translated using Weblate (Dutch)

Currently translated at 99.9% (5767 of 5770 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (2503 of 2503 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/sv/

* Translated using Weblate (French)

Currently translated at 83.0% (4792 of 5770 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/

* Translated using Weblate (Swedish)

Currently translated at 99.4% (5741 of 5770 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sv/

* Translated using Weblate (German)

Currently translated at 100.0% (5770 of 5770 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/

* Translated using Weblate (French)

Currently translated at 83.2% (4805 of 5770 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/

* Translated using Weblate (Russian)

Currently translated at 100.0% (2503 of 2503 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/ru/

* Translated using Weblate (Russian)

Currently translated at 98.2% (5671 of 5770 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ru/

---------

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: Benjamin Danon <b@bndn.fr>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: Konstantin <eleferen@gmail.com>
2024-06-03 10:39:18 -03:00
ahmadJT
58b7032a8c
[MM-58406] Migrate tooltips of 'components/custom_status/custom_status_text' to WithTooltip (#27168) 2024-06-01 03:27:10 +00:00
Ashish Dhama
b7cc4cb412
[MM-58413] Migrate various components to use WithTooltip (#27163) 2024-06-01 03:25:38 +00:00
unified-ci-app[bot]
6593773959
Update latest minor version to 9.10.0 (#27224)
Automatic Merge
2024-05-31 23:41:31 +03:00
Pavel Mokeev
66a3eba2cf
Add ctx usage in Client4 methods (#26973)
* Add ctx usage in Client4 methods

* Add ctx usage to more Client4 methods

* fix missing ctx usage

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-31 13:24:00 -04:00
Harrison Healey
6166f4e7d3
MM-58459 Fix unread threads not always being loaded correctly (#27200) 2024-05-31 11:07:35 -04:00
Scott Bishel
b788760e17
MM-52638- Last admin cannot be demoted (#24087)
* don't allow last sysadmin to change roles

* cleanup, add comment

* only allow admin downgrade if more than one admin

* remove unused variable

* i18n-extract, unit test fixes

* Update user.go

* remove blank line

* update tests check all return values

* revert channel_store.go

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-31 14:13:46 +02:00
Antonis Stamatiou
72644e72f6
fix: Add missing Github Token for download artifacts from other workflows (#27202) 2024-05-31 09:46:04 +03:00
Scott Bishel
b561ac8cb2
MM-58479 - Revert text changes on channel archive. (#27195)
* revert text changes on channel archive.

* revert channel_store.go

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-30 10:37:15 -06:00
M-ZubairAhmed
f1cc96defb
[MM-58400] Migrate tooltips of 'components/rename_channel_modal' & 'components/size_aware_image' to WithTooltip (#27145) 2024-05-30 13:04:09 +00:00
Nick Misasi
34c7b76fae
[CLD-7724] Allow admin-set announcement banners to stack below system ones (#27171)
* Allow admin-set announcement banners to stack below system ones

* Fix x button in banners

* Fix lint
2024-05-29 19:18:28 -04:00
Harrison Healey
77eb7f3187
MM-58116 Increase width of profile picture setting (#27184) 2024-05-29 15:45:36 -04:00
Antonis Stamatiou
0d7a2cae6a
fix: Update download action with the official one (#27194) 2024-05-29 19:30:37 +03:00
Antonis Stamatiou
97bbc549c8
fix: Fix buildEnv Dockerfile path (#27191) 2024-05-29 19:27:12 +03:00
Scott Bishel
b0984be119
Add ServiceSettings.MaximumPayloadSize to SystemConsole (#27124)
* Add ServiceSettings.MaximumPayloadSize to SystemCnosole

* Update label
2024-05-29 09:06:34 -06:00
Antonis Stamatiou
9d30a62c94
fix: Fix missing paths for build env docker image (#27190) 2024-05-29 13:41:28 +03:00
Antonis Stamatiou
d64ce93393
feat: Introduce build env image pipeline (#27189) 2024-05-29 11:39:17 +03:00
Doug Lauder
923f6a5943
MM-57867 Don't delete existing channel on invitation error (#27143)
* Do not delete existing channels
* don't allow resharung
2024-05-29 00:46:18 -04:00
Matthew Birtch
96825e23d8
MM-58183 Post Error Style Fixes (#27015)
* fix alignment of error messages and consistent font size with typing message

* fix lint issues

* Remove unused CSS class from div

---------

Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
2024-05-28 18:03:39 -04:00
Scott Bishel
51e9092da6
add missing query parameters to GetTeamMembers API doc (#27106) 2024-05-28 10:06:47 -06:00
Weblate (bot)
54019e4013
Translations update from Mattermost Weblate (#27166)
* Translated using Weblate (German)

Currently translated at 100.0% (2503 of 2503 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/de/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (2503 of 2503 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/ja/

* Translated using Weblate (German)

Currently translated at 100.0% (5768 of 5768 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (5768 of 5768 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ja/

* Translated using Weblate (Dutch)

Currently translated at 99.9% (5765 of 5768 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/

* Translated using Weblate (Polish)

Currently translated at 100.0% (2503 of 2503 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/pl/

* Translated using Weblate (Polish)

Currently translated at 100.0% (5768 of 5768 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2503 of 2503 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/zh_Hans/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (5768 of 5768 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/

* Translated using Weblate (Hebrew)

Currently translated at 1.0% (60 of 5768 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/he/

* Translated using Weblate (French)

Currently translated at 78.7% (4545 of 5768 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/

* Translated using Weblate (French)

Currently translated at 78.7% (4545 of 5768 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/

* Translated using Weblate (French)

Currently translated at 88.2% (2210 of 2503 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/fr/

* Translated using Weblate (French)

Currently translated at 79.4% (4583 of 5768 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/

* Translated using Weblate (French)

Currently translated at 79.4% (4583 of 5768 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/

* Translated using Weblate (French)

Currently translated at 79.4% (4583 of 5768 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/

* Translated using Weblate (French)

Currently translated at 79.4% (4584 of 5768 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/

* Translated using Weblate (French)

Currently translated at 79.4% (4584 of 5768 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/

* Translated using Weblate (French)

Currently translated at 82.4% (4754 of 5768 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (2503 of 2503 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/en_AU/

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (5768 of 5768 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/en_AU/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (2503 of 2503 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/nl/

* Translated using Weblate (French)

Currently translated at 82.6% (4770 of 5768 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/

---------

Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: ThrRip <coding@thrrip.space>
Co-authored-by: Ori maimon <orimaimon2000@gmail.com>
Co-authored-by: Benjamin Danon <b@bndn.fr>
Co-authored-by: Joakim Rivera <joakim.rivera@outlook.fr>
Co-authored-by: Pierre JENICOT <pierre.jenicot@ac-lille.fr>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
2024-05-28 05:41:06 -03:00
Harrison Healey
beb8d5e8e0
MM-58367 Increase maximum bucket size for LCP metrics (#27147)
* MM-58367 Increase maximum bucket size for LCP metrics

* Don't potentially mutate DefBuckets

* Increase maximum bucket for FCP metrics too
2024-05-27 16:46:24 -04:00
Harrison Healey
2f7f00b256
Remove t from system console code (#27054)
* Remove t from components/admin_console/feature_discovery

* Remove t and localizeMessage from components/admin_console/permission_schemes_settings

* Remove t and localizeMessage from components/admin_console/system_user_detail

* Remove t from components/admin_console/team_channel_settins

* Address feedback
2024-05-27 15:49:39 -04:00
Harrison Healey
1bd7b6f4c2
MM-58359 Add page_load to Prometheus metrics (#27159)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-27 14:06:18 -04:00
Saturnino Abril
a9a2144999
fix: failed tests due to patching roles (#27165)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-27 21:43:54 +08:00
M-ZubairAhmed
273a999167
[MM-57384] Investigate app performance on repeated calls to users/status/ids and users/ids calls on posted event (#26644)
https://mattermost.atlassian.net/browse/MM-57384
https://mattermost.atlassian.net/browse/MM-58109
https://mattermost.atlassian.net/browse/MM-58110
2024-05-27 12:34:38 +00:00
Miguel de la Cruz
b00b68920d
Fix test that is not using context (#27164) 2024-05-27 11:38:07 +02:00
Harrison Healey
310261eea9
Remove t from miscellaneous components (#27058)
* Remove t and localizeMessage from components/delete_category_modal

* Remove t from components/error_page

* Remove t from components/integrations

* Remove t from components/keyboard_shortcuts

* Remove t from components/no_results_indicator

* Remove t from components/search_results

* Remove t from components/sidebar

* Remove t from components/threading

* Remove t from components/tours
2024-05-24 15:41:34 -04:00
Harrison Healey
30ef1d37d6
Remove t from from cloud-related and license-related code (#27055)
* Remove t from components/announcement_bar

* Remove t from components/cloud_usage_modal

* Remove t from components/common/hooks

* Remove t and localizeMessage from components/downgrade_modal

* Remove t from components/pricing_modal

* Remove t from components/preparing_workspace

* Remove t from components/start_trial_form_modal

* Fix test
2024-05-24 12:05:47 -04:00
Harrison Healey
38b5974410
Remove t from invite-related code (#27053)
* Remove t from actions/invite_actions

* Remove t from components/invitation_modal and related code

* Remove t from components/channel_invite_modal

* Re-add the ability for reason to be a string

* Address feedback
2024-05-24 12:04:47 -04:00
Harrison Healey
497870a565
Remove t from post and post textbox components (#27056)
* Remove t from components/post_view/combined_system_message

* Remove t from components/post_view

* Remove t from components/post_markdown

* Remove t from components/size_aware_image

* Remove t from components/advanced_text_editor

* Remove t from components/advanced_create_post

* Remove t from components/notify_confirm_modal
2024-05-24 12:00:14 -04:00
Harrison Healey
86aced1282
Remove t from user settings (#27057)
* Remove t and localizeMessage from components/custom_status

* Remove t from components/user_settings/advanced

* Remove t from components/user_settings/display
2024-05-24 12:00:05 -04:00
MeHow25
3cac94a7aa
[MM-57726] Convert AddIncomingWebhook from Class Component to Function Component (#26992)
* Convert AddIncomingWebhook from Class Component to Function Component

* Review fix

* Review fix

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-24 16:49:03 +02:00
Agniva De Sarker
6f3327ce0f
MM-58038: Use context to call master for DeletePost (#27098)
Calling app.DeletePost immediately after creating a post
is susceptible to replica lag because we were calling the
replica to check for the post.

We fix this by passing a context to always query master.

https://mattermost.atlassian.net/browse/MM-58038

```release-note
NONE
```
2024-05-24 19:35:48 +05:30
M-ZubairAhmed
09c0eb7e7a
[MM-58274] No side padding in plugins section of user profile popover (#27084) 2024-05-24 12:04:07 +00:00
Marlene Koh
3812a97956
[MM-57710] Convert katex class component to function component (#26967)
* Convert katex class component to function component

* Change formatting

* Move props to one line each

* Fix latex tests - shallow() does not work with useEffect()

* Update snapshot for src/utils/message_html_to_component.test.tsx

* Remove act() block

* Expect that length of components with matching data-testid should be 1

* Revert behaviour of katex with error to render the error
2024-05-24 11:19:02 +02:00
Andrew Zigler
50ac6fc0b5
feat(.github/holopin.yml): add holopin configuration file to manage community contributions (#26808)
The new holopin.yml file will help manage community contributions by assigning stickers to contributors. This will make it easier to recognize and appreciate the efforts of our community contributors, fostering a more engaging and rewarding open-source environment.

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-24 09:13:28 +08:00
Fasal kp
24fbf2c7b2
MM-58025 Resolved automatic tz not reflecting without refresh by listening to app visibility event (#26957)
* updated timeZone by listening to app visibility event

* eslint fixes

* linting issues

* linting issues

---------

Co-authored-by: fasal <fasal>
2024-05-23 17:21:43 -04:00
Michael Kochell
e9c5ac2ea8
Bump prepackage GitLab plugin version to 1.9.1 (#27044) 2024-05-23 14:34:52 -04:00
Scott Bishel
729bd30165
update message for archiving a team, since still accessible via api (#27125)
* update message for archiving a team, since still accessible via api

* update tests another place the message is displayed
2024-05-23 11:56:06 -06:00
Miguel de la Cruz
cd81b199b7
Cleans RemoteId when sanitizing post input from the API (#27049)
* Cleans RemoteId when sanitizing post input from the API

* Fix require check

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-23 14:29:19 +02:00
M-ZubairAhmed
f0601b67e8
[MM-58326] Remove aria-disabled for disabled tooltip in calls button following WithTooltip integration (#27094) 2024-05-23 11:24:41 +00:00
Jesús Espino
f4a3a2ec07
Adding unsupported text into the team/e0 edition menu (#27038)
* Adding unsupported text into the team/e0 edition menu

* Fixing CI

* Addressing PR review comments

* Removing start trial from the product menu

* Fixing tests

* Updating i18n
2024-05-22 21:24:38 +02:00
Devin Binnie
8f95656c8f
[MM-55485] Ensure user added to channel receives websocket event regardless of channel membership info retrieved in HA (#27013)
* [MM-55485] Ensure user added to channel receives websocket event regardless of channel membership info retrieved in HA

* Testing to see if group messages are also affected

* Use context from master approach

* Hardcode to master to test

* Revert "Hardcode to master to test"

This reverts commit 50ef2baed1.

* Revert "Use context from master approach"

This reverts commit 65d3584f83.

* Remove group message changes, add comment

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-22 14:45:10 -04:00
M-ZubairAhmed
7d7b203567
[MM-58108] Posts missing channel_id in handleThreadReadChanged, handleAllThreadsInChannelMarkedRead, getThreadItemsInChannel (#27006) 2024-05-22 14:08:41 +00:00
Nick Misasi
f0110e361e
[CLD-7742] Make location prop on ExternalLink component required (#27052)
* Make location prop on ExternalLink required, update existing references that are missing it

* Fix linter

* Fix tests
2024-05-22 08:52:21 -04:00
yasserfaraazkhan
1007f5abbb
chore(e2e): Make EnableDiagnostics optional check (#27100) 2024-05-22 16:20:47 +05:30