Bruno
1d8ce403c3
refactor(component): convert TextDismissableBar from class to function component ( #27955 )
...
* refactor(component): convert TextDismissableBar from class to function component
* perf:Code optimized
* refactor(component):props vertically formatted, getDismissed function moved outside
* Update webapp/channels/src/components/announcement_bar/text_dismissable_bar.tsx
Co-authored-by: Daniel Espino García <larkox@gmail.com >
* refactor:setDismissed formatted vertically
* test(text_dismissable_bar):snapshot test updated
* refactor: remove type from shallow rendering in TextDismissableBar test
---------
Co-authored-by: Daniel Espino García <larkox@gmail.com >
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-08-23 13:38:03 +02:00
Rita Anene
9a521e83b9
[MM-60066] Convert ./components/channel_header_dropdown/menu_items/toggle_mute_channel/toggle_mute_channel.tsx from Class Component to Function Component ( #27913 )
...
* fix: convert component to function component
* fix: use 'useIntl' to replace deprecated 'localizeMessage' and fix indendation of props value
* fix: fix lint in 'toggele_mute_channel' file
* fix: include 'isMuted', 'user.id', and 'channel.id' to 'handleClick' callback dependency
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-08-23 13:37:26 +02:00
Rita Anene
fd01e9244f
[MM-60170] Migrate tooltips of "components/user_settings/display/user_settings_theme/custom_theme_chooser/custom_theme_chooser.tsx" to WithTooltip ( #28009 )
2024-08-23 03:05:23 +00:00
Michael
d0cb389a90
[MM-60162] Migrate tooltips of "components/sidebar/sidebar_category/sidebar_category.tsx" to WithTooltip ( #27983 )
2024-08-23 03:04:43 +00:00
Michael
93a59e5cad
[MM-60160] Migrate tooltips of "components/global_header/left_controls/history_buttons/history_buttons.tsx" to WithTooltip ( #28013 )
2024-08-23 03:04:06 +00:00
Rita Anene
08e4c9f611
[MM-60168] Migrate tooltips of "components/widgets/menu/menu_items/restricted_indicator.tsx" to WithTooltip ( #27993 )
2024-08-23 03:01:41 +00:00
Rita Anene
405e4bd888
[MM-60167] Migrate tooltips of "components/sidebar/sidebar_channel/sidebar_channel_link/sidebar_channel_link.tsx" to WithTooltip ( #27979 )
2024-08-23 03:00:56 +00:00
Rita Anene
622fdda0b1
[MM-60166] Migrate tooltips of "components/channel_header/channel_header_title_favorite.tsx" to WithTooltip ( #27980 )
2024-08-23 03:00:15 +00:00
Zubair Imtiaz
f2d9b2e94b
[MM-60156] Migrate tooltips of 'components/file_upload/file_upload.tsx' to WithTooltip ( #27970 )
2024-08-23 02:58:58 +00:00
Rita Anene
8012275ca1
[MM-60155] Migrate tooltips of "components/advanced_text_editor/show_formatting/show_formatting.tsx" to WithTooltip ( #27981 )
2024-08-23 02:58:13 +00:00
Rita Anene
5a8b00e3d0
[MM-60153] Migrate tooltips of "components/advanced_text_editor/toggle_formatting_bar.tsx" to WithTooltip ( #27982 )
2024-08-23 02:57:36 +00:00
Michael
e622488bad
[MM-60075] Convert ./components/admin_console/team_channel_settings/group/group_members_modal.tsx from Class Component to Function Component ( #27907 )
...
* feat: convert group_members_modal to functional component
* fix: comment worked on and linting done
* fix: addressed comment
* fix: addressed comment
* fix: failing test
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-08-22 17:41:43 +02:00
Devin Binnie
18ffb656ab
[MM-58567] Added window.isActive check for marking threads as active when they're open, mark the threads as read when the window becomes active again ( #27988 )
...
* [MM-58567] Added `window.isActive` check for marking threads as active when they're open, mark the threads as read when the window becomes active again
* PR feedback
2024-08-22 11:35:33 -04:00
Daniel Espino García
5482792697
Fix scroll on user settings ( #28022 )
2024-08-22 17:32:04 +02:00
M-ZubairAhmed
c67a5b10e6
[MM-60213] Migrate tooltips of "components/toast" to WithTooltip ( #28001 )
2024-08-22 14:12:25 +00:00
Michael
21b923b554
[MM-60159] Migrate tooltips of "components/rhs_header_post/rhs_header_post.tsx" to WithTooltip ( #28015 )
2024-08-22 13:59:05 +00:00
M-ZubairAhmed
ad5d5f08dc
[MM-60216] Migrate tooltips of admin_consoles "admin_settings", "schema_admin_settings" & "permission_description" to WithTooltip ( #28003 )
2024-08-22 13:58:12 +00:00
Michael
5a07d9cb72
[MM-60158] Migrate tooltips of "components/search_results_header/search_results_header.tsx" to WithTooltip ( #28005 )
2024-08-22 13:57:11 +00:00
Maria A Nunez
049f954b7f
Rename Office 365 to Entra ID ( #27801 )
...
* Rename Office 365 to Entra ID
* Another text update
* More lingering texts
* More text updates
* Updated link
* Linting
* Override office365 service name in admin user details view
* linting
* Updated help text
* Fix bad merge
* Linting
* Removed one leftover occurance of Office 365
* Typo and log in link fix
* Typo fix
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com >
2024-08-22 08:27:42 -04:00
Yoo Dongryul
283f59b479
Fix Video Unavailable problem at YouTube preview ( #26980 )
...
* Fix YouTube preview shows Video Unavailable
* Fix typo on iframe property
* Remove duplicated property
* fix lint error (double-quotes, unknown property)
* renew snapshot for youtube_video.tsx
* fix double quotes and newline error on snapshot for youtube_video.tsx
* fix blank on snapshot for youtube_video.tsx
* Add YouTube Shorts Embed Preview
* Revert "Add YouTube Shorts Embed Preview"
This reverts commit b5fb7a4076ef73774a0e50157f371516b9d383b2.
* Add setting for Youtube Referrer Policy
* fix test code error about Youtube Referrer Policy
* remove mistake changes on `webpack.config.js`
* add test and snapshot about `youtubeReferrerPolicy = true`
* fix errors on ci
* update description of YouTube Referrer Policy
* remove unnecessary whitespace in default_config.ts
* remove ko.json changes to prevent conflict with translate tool
* update snapshot of `youtube_video.test.tsx`
* referrerPolicy on `youtube_video` didn't follow global policy value
https://github.com/mattermost/mattermost/pull/26980#discussion_r1672524152
* update snapshot of `youtube_video.test.tsx`
* Remove obsolete snapshot
* fix typo on index.ts @ youtube_video
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com >
2024-08-22 11:35:04 +02:00
Ben Cooke
0d6b1070a2
[MM-58549] Desktop login ( #27732 )
...
* desktop oauth and saml login
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-08-21 18:00:19 -04:00
Harrison Healey
c113cdbd9b
MM-60188 Stop rendering EmojiPickerOverlay inside of EditBox ( #28017 )
2024-08-21 14:22:42 -04:00
Arya Khochare
4999c4a9c6
Get posts for a channel has_next attribute fix ( #26901 )
...
* Get posts for a channel has_next attribute fix
* HasNext attribute test changes
* tests fix
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-08-21 11:00:42 +05:30
Weblate (bot)
468813c04f
Translations update from Mattermost Weblate ( #28007 )
...
Automatic Merge
2024-08-19 22:36:03 +03:00
Rita Anene
410da4aec1
[MM-60165] Migrate tooltips of "components/new_channel_modal/new_channel_modal.tsx" to WithTooltip ( #27967 )
2024-08-19 16:49:49 +00:00
Agniva De Sarker
3150900bd7
MM-59827: Remove user profile invalidations from channel APIs ( #27720 )
...
We were invalidating the userProfileByIds cache unnecessarily
when it wasn't really needed. It's just that the InvalidateCacheForUser
method wiped off all user related caches, when we just needed to wipe
user-channel related caches.
To fix this, we split the user cache invalidation method into two
and just call the InvalidateChannelCacheForUser method from app/channel.go.
https://mattermost.atlassian.net/browse/MM-59827
```release-note
NONE
```
2024-08-19 20:02:35 +05:30
Matheus
db626377bf
[MM-58562] View Members search matches entire string for the Position field instead of each word ( #27384 )
2024-08-19 11:19:18 +00:00
Michael
e666f7ccfc
[MM-60078] Convert ./components/select_team/components/select_team_item.tsx from Class Component to Function Component ( #27906 )
...
* feat: convert select_item_item to functional component
* fix: lint issue worked on
2024-08-16 11:33:36 +02:00
Rita Anene
8dd32006b1
[MM-60068] Convert ./components/emoji/emoji_page.tsx from Class Component to Function Component ( #27915 )
...
* fix: convert component to function component
* add test for 'emoji_page'
* fix: moved lists outside the component and updated dependencies in useEffect
* fix: fix lint for 'emoji_page' test file
2024-08-16 11:32:42 +02:00
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