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

19002 Коммитов

Автор SHA1 Сообщение Дата
Rita Anene
0d8335b7f2 [MM-60067] Convert ./components/mfa/confirm.tsx from Class Component to Function Component (#27916)
* fix: convert component to function component

* update test snapshot

* fix: removed the unused props for confirm component

* fix: removed the unused props for confirm component
moved submit and onKeyPress functions outside the component

* fix: removed unused variable and fixed lint

* fix: fix prop type for 'confirm' test file
2024-08-16 11:31:17 +02:00
Tasnim Tantawi
c137c091ac [MM-57720] Convert save_button.tsx to function component (#27912)
* Convert save_button.tsx to function component

* single quote

* make saving optional

* fix header

* test suite command

* fix lint

* remove space

* Update snapshots

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Daniel Espino García <larkox@gmail.com>
2024-08-16 11:30:05 +02:00
enzowritescode
91d4bc627d Remove redundant check and fix language in comment (#27991)
* Remove redundant if statement

* Fix language in comment per IDE recommendation
2024-08-15 14:13:44 -06:00
Claudio Costa
5ca73c1fa7 Prepackage Calls v1.0.0 (#27989) 2024-08-15 18:30:20 +02:00
Mario Vitale
948f8941f0 CLD-7841 Optimize E2E testing costs (#27883)
* Utilize free runners for E2E tests, report back to PR on run completion
* Increase test stability on smaller instances
* Merge worker reports
* merge start+prepare steps
* upgrade keycloak
* increase test timeouts
* Add video recording to report artifacts

Co-authored-by: Saturnino Abril <5334504+saturninoabril@users.noreply.github.com>

---------

Co-authored-by: Saturnino Abril <5334504+saturninoabril@users.noreply.github.com>
2024-08-14 21:39:08 +02:00
Julien Tant
5f19d8513b [MM-60026] Add playbooks <v2 in the transitionaslly packaged list (#27903) 2024-08-14 10:22:18 -07:00
yasserfaraazkhan
7ba1928c29 Fix(e2e): At-mention user autocomplete should open above the textbox in RHS (#27962)
* Fix(e2e): At-mention user autocomplete should open above the textbox in RHS
2024-08-14 21:04:07 +05:30
enzowritescode
4c91ad8b61 Add SBOM generation on release (#27733)
* Add SBOM generation on release

* Fix release-note NONE in PR template
2024-08-14 09:31:18 -06:00
Claudio Costa
061ff0fad6 [MM-57418] Improvements to custom plugin config sections (#27831)
* Improve rendering of plugin custom admin sections

* Tests

* UX review

* Update translations

* Review logic
2024-08-14 16:36:25 +02:00
Harrison Healey
ee3558079a MM-59864 Add E2E test for keyboard navigation in the threads list (#27905)
* MM-59864 Add E2E test for keyboard navigation in the threads list

* chore(e2e): Add @prod tag to global_threads_spec.js

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
2024-08-14 10:13:15 +02:00
Christopher Speller
2f08a13ab5 Fix RHS scroll so AI plugin generation won't scroll off bottom (#27871)
* Fix RHS scroll so AI plugin generation won't scroll off bottom

* Fix scroll without breaking virtual list.

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-08-13 22:16:02 -07:00
Ben Schumacher
fc1a111b06 [MM-38131] Remove deprecated pageSize query parameter (#27957) 2024-08-13 22:18:22 +02:00
Ben Schumacher
6229b784eb [MM-58113] Remove deprecated AdvancedLoggingConfig (#27386) 2024-08-13 22:17:06 +02:00
Zubair Imtiaz
1c68aa2dbf [MM-60164] Migrate tooltips of 'components/post_view/post_time/post_time.tsx' to WithTooltip (#27953) 2024-08-13 14:58:11 +00:00
Zubair Imtiaz
8465f6da2b [MM-60163] Migrate tooltips of 'components/post_view/post_flag_icon' to WithTooltip (#27952)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-08-13 14:57:34 +00:00
Zubair Imtiaz
88f9f6972f [MM-60161] Migrate tooltips of 'components/global_header/right_controls/at_mentions_button/at_mentions_button.tsx' to WithTooltip (#27951)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-08-13 14:57:04 +00:00
Zubair Imtiaz
39dc6183b5 [MM-60157] Migrate tooltips of 'components/advanced_text_editor/use_emoji_picker.tsx' to WithTooltip (#27950)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-08-13 14:56:09 +00:00
Zubair Imtiaz
742d6d1e4a [MM-60154] Migrate tooltips of components/advanced_text_editor/formatting_bar/formatting_icon.tsx' to WithTooltip (#27949) 2024-08-13 14:55:13 +00:00
Matthew Straughn
8ccdca0954 [MM-21473] Review archiveTeamsCmdF function to return an error in case of a failure (#26622)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-08-13 16:49:40 +02:00
Scott Bishel
8f3a13122f MM-58793 Apply EnableUserCreation to signup.tsx (#27692)
* update text, apply EnableUserCreation to ui

* update text and add unit test

* Update webapp/channels/src/components/admin_console/admin_definition.tsx

Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com>

* Update webapp/channels/src/components/admin_console/admin_definition.tsx

Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com>

* Update webapp/channels/src/i18n/en.json

Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com>

* Update webapp/channels/src/i18n/en.json

Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com>

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com>
2024-08-13 07:53:34 -06:00
Ben Schumacher
bcf92d3f53 Fix flaky TestCreateZipFileAndAddFiles/write_one_file - 2nd round (#27923) 2024-08-13 10:49:05 +02:00
Agniva De Sarker
a1012d33eb MM-59932: Migrate remaining caches to Redis (#27880)
- We introduce 2 new APIs:
1. Scan: this allows incremental iteration
without blocking the Redis server and is the
recommended way to iterate over keys. With this,
we have entirely removed the need for Keys.
2. RemoveMulti: this allows deletion of multiple
keys in a single operation which optimizes
network round trips.

- While here, we make a small improvement to
GetStatusFromCache, where we remove the shallow
copy which wasn't necessary because we always
serialize the data from the cache.
- We do not use Redis for session cache because of
frequent requests to iterate the entire cache which leads
to a lot of `SCAN` calls.
- Avoid broadcasting status update messages for Redis case.
- Setting cache expiry for status cache
- Removing .Set method altogether to prevent
any chances of setting an item with no expiry.

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

```release-note
NONE
```
2024-08-13 14:18:25 +05:30
Claudio Costa
e5842e67a8 [MM-51514] Custom user settings (#27535)
* Custom user settings

* Implement error boundary, fix validation

* Extraction tests

* Tests

* Bring back refresh option for failed pluggable

* [MM-51514] Allow plugins to open user settings modal (#27742)

* Allow plugins to open user settings modal

* [MM-51514] Improvements to custom plugin user settings (#27754)

* Allow compass icon to be used

* Pass props to custom plugin settings

* Export react-select

* Revert "Export react-select"

This reverts commit 6b026c4eb789d298b721494a70e0e860a704d428.

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-08-13 08:49:12 +02:00
M-ZubairAhmed
5bfc8a81d1 Allow v9.x and v10.x for mm/types as peer dependency on mm/client (#27946) 2024-08-12 19:16:08 +00:00
Weblate (bot)
ff1d39029b Translations update from Mattermost Weblate (#27924)
Automatic Merge
2024-08-12 19:27:51 +03:00
boristrbrt
ea4bafebb7 Fix: Add status in group member modal (#27776)
* Fix: Add status in group member modal

* Fix: Optional values for members info and fix css for user button

* Fix: remove useless props and classname in status icon

* Fix: types eslint

* Fix: snap

---------

Co-authored-by: Boris Trombert <boris.trombert@infomaniak.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-08-12 17:55:07 +02:00
Claudio Costa
aca39fb1ef [MM-58356] Improve logic for rendering start call button in user profile popover (#27840)
* Improve logic for rendering start call button in user profile popover

* Fix typo

* Fix potential error when plugin is not enabled

* Improve selector logic
2024-08-12 16:42:18 +02:00
Jesse Hallam
7dd84f623a Pre-package MS Teams v2.0.3 (#27875) 2024-08-12 11:09:40 -03:00
unified-ci-app[bot]
8cbc2a12dc chore: Update NOTICE.txt file with updated dependencies (#27922)
Automatic Merge
2024-08-12 16:57:51 +03:00
Ben Schumacher
b5ac317e82 [MM-60152] Fix notifications log file location for Support Packet (#27921) 2024-08-12 14:40:04 +02:00
alexcekay
7232b5f002 [GH-26715] Added Pagination Support for IncomingWebHooks (#27502)
* Added Pagination Support for IncomingWebHooks

* Incorporated feedback from reviews

* Removed trailing spaces

* Restored deleted server en.json entries, fixed order in webapp en.json

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-08-09 16:44:22 -04:00
Agniva De Sarker
1cf6cf4f5c MM-59940: Pin govet version to a SHA version (#27885)
https://mattermost.atlassian.net/browse/MM-59940
```release-note
NONE
```
2024-08-09 22:24:18 +05:30
Miguel de la Cruz
cd99c4068d Removes the backslash in migrations.list (#27882)
The use of the backslash was causing issues between different versions
of make.
2024-08-09 11:17:15 +02:00
Rita Anene
c582f49739 [MM-57716] Convert ./components/setting_item.tsx from Class Component to Function Component (#27615)
* refactor: convert setting_item from class to functional component

* fix: removed type casting 'FC'

* fix: fixed failing tests

* fix: made 'max' prop nullable

* fix: revert snapshot file to master

* fix: Update the `useEffect` dependency list to trigger only on `active` prop changes

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-08-09 09:59:27 +02:00
Rita Anene
d393bbcac0 [MM-59899] Migrate tooltips of 'components/setting_picture.tsx' to WithTooltip (#27821) 2024-08-08 19:56:09 +00:00
Miguel de la Cruz
59873a2a50 Adds default team to the remote cluster entity (#27863)
* Adds default team to the remote cluster entity

A new DefaultTeamId field is added to the RemoteCluster entity and its
endpoints, and used when receiving channel invites to choose in which
team to create a new channel.

This will be later extended with the ability for the system admin to
manually accept invites, choosing which team to create the channel on
each. This use case will be triggered when the DefaultTeamId field is
empty, which now simply chooses the first team it finds in the
database as a fallback.

* Fix migrations list

* Fixes channelinvite test case

* Fix i18n

* Fix migration list
2024-08-08 16:36:27 +02:00
Rita Anene
3d8d0f5e3e [MM-58517] Migrate tooltips of "components/rhs_card_header/rhs_card_header.tsx" to WithTooltip (#27849) 2024-08-08 11:14:24 +00:00
Rita Anene
538748f90f [MM-59908] Migrate tooltips of 'components/threading/global_threads/thread_pane/thread_pane.tsx' to WithTooltip (#27850) 2024-08-08 11:13:58 +00:00
Rita Anene
b1960f9c68 [MM-59907] Migrate tooltips of 'components/threading/global_threads/thread_list/thread_list.tsx' to WithTooltip (#27851) 2024-08-08 11:13:34 +00:00
Asaad Mahmood
6316606289 MM-59944 - FIxing playbooks scroll issue (#27861) 2024-08-08 15:38:56 +05:00
Miguel de la Cruz
eec9a4742a Allows creating new remote clusters without providing a password (#27864)
* Allows creating new remote clusters without providing a password

If the endpoint receives a request with no password, it will generate
one internally and return it in the response, so the frotend can show
it to the user.

* Use a random string instead of a UUID for the generated password

* Update function name to avoid CString reference and adds assertion

* Update server/channels/utils/textgeneration.go

Co-authored-by: Eva Sarafianou <eva.sarafianou@gmail.com>

* Extends the charset

---------

Co-authored-by: Eva Sarafianou <eva.sarafianou@gmail.com>
2024-08-08 12:18:21 +02:00
Julien Tant
06d8c857ea [MM-60025][MM-59522] Add playbooks v2 to prepackaged plugins (#27862)
* add playbooks v2 to prepackaged plugins

* Update Makefile
2024-08-07 14:17:10 -07:00
Daniel Espino García
6027c850bd MM-59881 Bubble submit result and expose to plugins (#27766)
Automatic Merge
2024-08-07 22:27:50 +03:00
Rita Anene
ed2d838ac7 [MM-59902] Migrate tooltips of 'components/global_header/right_controls/settings_button/settings_button.tsx' to WithTooltip (#27823) 2024-08-07 15:48:47 +00:00
Michael
64cbdba3d7 [MM-59898] Migrate tooltips of 'components/search_results/files_filter_menu.tsx' to WithTooltip (#27848) 2024-08-07 15:47:55 +00:00
Ivy Gesare
1ad39b9da5 [MM-59895] Migrate tooltips of 'components/channel_header/channel_header.tsx' to WithTooltip (#27841) 2024-08-07 15:47:19 +00:00
Ivy Gesare
fc198bb46a [MM-59891] Migrate tooltips of 'components/file_attachment/file_attachment.tsx' to WithTooltip (#27855) 2024-08-07 15:46:52 +00:00
Michael
5238d40101 [MM-59890] Migrate tooltips of 'components/admin_console/brand_image_setting/brand_image_setting.tsx' to WithTooltip (#27854) 2024-08-07 15:46:24 +00:00
Ivy Gesare
1bb8298756 [MM-59904] Migrate tooltips of 'components/channel_invite_modal/team_warning_banner/team_warning_banner.tsx' to WithTooltip (#27852) 2024-08-07 15:44:13 +00:00
Weblate (bot)
edd45c50ce Translations update from Mattermost Weblate (#27856)
Automatic Merge
2024-08-07 17:57:50 +03:00