-
Notifications
You must be signed in to change notification settings - Fork 2.7k
migrate string-refs in user_list.jsx #6704
migrate string-refs in user_list.jsx #6704
Conversation
Hello @VolatianaYuliana, Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/update-branch |
/check-cla |
/update-branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @VolatianaYuliana Thanks for your contribution !! Please add unit tests for user_list
. Here's the guide to writing unit tests: https://developers.mattermost.com/contribute/webapp/unit-testing/
Hey @josephbaylon! |
@VolatianaYuliana let us know if we can help you somehow. |
Hey @Willyfrog! Sure! |
Hi @Willyfrog! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, just two minor request:
- change the name to add a Ref suffix, we have this in almost all other requests
- remove the eslint-enable/disable comments as they are not needed anymore with your change
components/user_list.jsx
Outdated
@@ -32,9 +32,14 @@ export default class UserList extends React.PureComponent { | |||
rowComponentType: UserListRow, | |||
} | |||
|
|||
constructor(props) { | |||
super(props); | |||
this.container = React.createRef(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we rename this to match what we are doing in other PRs
this.container = React.createRef(); | |
this.containerRef = React.createRef(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay @Willyfrog
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! thanks for working in this issue!
/update-branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Verified unit test added and verified user list still loads in app
* migrate string-refs in user_list.jsx * add unit test for user_list.jsx * remove the eslint-enable/disable comments + rename this.container Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* [MM-30193] change file attachment info to show fractions below 10 (#6935) * change fileinfo to show fractions below 10M * fix formatting * add linting fixes and clean up code * fix incorrect brackets Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Revert "Mm 29111 search bar and search results as fc (#6796)" (#6999) This reverts commit 9fba9a9789e3e1e6194daa36aabe343859e8511b. * [MM-20196] Use UTC timezone for formattedDate so it doesn't change the date (#7000) * Use UTC timezone for formattedDate so it doesn't change the date * Add toUTCString * Remove it because it isn't needed * Add to last invoice summary * Make invoice.tax a boolean so a rogue 0 isn't rendered (#7001) * Translations update from Weblate (#7006) * Translated using Weblate (Dutch) Currently translated at 99.9% (4294 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.5% (4275 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.6% (4270 of 4285 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Spanish) Currently translated at 99.2% (4264 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4295 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 96.0% (4126 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * [MM-30066] Allow sidebar category button width to grow and shrink as needed (#6955) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate team_list and team_row to typescript (#6914) Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> * [MM-20482] Migrate 'components/post_view/channel_intro_message' module … (#6729) * MM-28843 Adding feature flags to system console for easy diagnosis. (#6905) * Adding feature flags to system console for easy diagnosis. * Use AdminConfig type. * Redux update. * [MM-29850] Migrate string-refs to functional ones: this.refs.errorMessage (#6881) * Update string ref to functional ref * Make ref load before use Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30190] Show spinner when loading invoices instead of 'no invoices found' (#7012) * [MM-T560] Add test for notifications (#6884) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-20492 Migrate 'components/post_view/post_message_view' module and … (#6738) * Cypress/E2E: Fix custom categories spec (#7011) * [MM-30216] - Add check for undefined fileInfos (#7019) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-20465] migrate single_image_view to typescript (#6774) * migrate single_image_view to typescript * fix unit test * resolove review comment * Update components/single_image_view/single_image_view.tsx * Guard clause fileinfo` Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Nev Angelova <nevyana.angelova@mattermost.com> Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-29903] - Check if current user is on last post when scrolling in rhs (#6920) * Scroll user to bottom when they are on the latest post in rhs * fix tests * Fix type check * Implement using getSnapshotBeforeUpdate * Remove comment box and set refs * Update scroll logic * resize rhs container correctly * Calculate with header height * fix type error * please linter * update snapshot Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Nevyana Angelova <nevyangelova@nevyanas-mbp-2.mynet> * MM-T614 Search on Outgoing Webhooks page (#6873) * wip * cleanup, optimize * remove file Co-authored-by: Mattermost <mattermost@Michaels-MacBook-Pro.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: Move cluster spec to enterprise (#7010) * Cypress/E2E: Move cluster spec to enterprise * Add @enterprise tag * MM-20578 Migrate 'components/admin_console/system_user_detail' module… (#6801) * [MM-20568] Migrate 'components/admin_console/system_users' module to ts (#6829) * Fixing title text in select team icon. (#7023) * MM-30090 Open managed resource links in a new tab (#7024) * MM-30090 Open managed resource links in a new tab * MM-30090 Add ManagedResourcePaths setting * Update test case to reflect new case * Fix types * Revert unnecessary type changes * Switch mattermost-redux back to master * MM-27903, MM-27899: Folded Reply Threads: ThreadItem and ThreadFooter (#6585) * wip: checkpoint * wip: fix tooltip * wip: checkpoint * move connected profile_picture back out of widgets * timestamp improvements * wip: threading components * wip: thread footer * timestamp story improvments * wip: threading components * wip: threading components * wip: threading comps * wip: thread menu * update testing * wip: testing updates * unit tests, storybook cleanup * tweak timestamp knob arrangement * i18n * stray apostrophe; snapshots-i18n * profile_picture index * misc cleanup * put prop-types rule back in * simple_tooltip remove FC * sync relative time spec * update snapshots * Update index.stories.js * Update story_box.tsx * remove trailing space * update url * remove frag * sb container width * review fixes * review fixes/improvements * review/other changes * simplify * actually add nowrap * fix new messages tooltip style * cleanup * improvements, clarity * clearer conditionals * remove unused css/simplify * use text-clamp mixin, fix knob typo * remove unused css props * remove empty file * fix bad role attr * sync css; test appended button * review changes * badge as button if it has a click handler * update snapshot Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate string-refs in user_list.jsx (#6704) * migrate string-refs in user_list.jsx * add unit test for user_list.jsx * remove the eslint-enable/disable comments + rename this.container Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T556] Add e2e test for MM-T556 (#7016) * Add e2e test for MM-T556 Add e2e test for Browser tab and team sidebar notification - no unreads/mentions Github Issues: Fixes https://github.com/mattermost/mattermost-server/issues/15705 Jira Ticket: MM-T556 * Fix finicky test * Move Remove mention notification to before() * Fix broken test * Linting Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-24505-Update-help-text-leave-team-modal (#6572) * message update for leave team modal and updated in i18en.json * implemented dynamic channl values and changed tests * update failing snapshot * added new strings for public and priivate cases * updated desc * update plurals in string * removed console log statement * modal description based on the counts * i18n order changed * i18n corrected * resolved suggestions * updated failing snapshot * corrected messages in modals * updated snapshot * rewordings to modal texts * guest modal message * guest modal condition added along with modal message * updated failing snapshot * added currentuser prop to the test file * Fixed type error in test file * Fixes condition * conditions for zero public & zero private for guest * modified conditions * Fixed modal messages * snapshot updated * Fixes * MM-29929 Fix for unread messages toast on marking channel as unread (#7028) * The initOffset we use for displaying toast should be only used mount as that is not a relative scroll position and is only set on mount * Changing this to show unread toast on all occasions of marking channel as unread other than channel at bottom * [MM-26386] - Respect user locale when searching for channels (#6904) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-25186] Bot username validation i8n support (#6629) * Migrate String Refs to Functional ones - MM 16039 (#6865) * MM-29849/MM-29942/MM-29982 Fix code theme not being applied (#7008) * Convert 'components/post_view/post_info' module and associated tests to TypeScript (#6619) * Convert 'components/post_view/post_info' module and associated tests to TypeScript. Based on conversations with @devin and @abdu - marking certain props as non-mandatory. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some issues from rebasing from latest master branch * Handling null checks for 'getCurrentChannel' calls. * Fixing issue with white page. * Fixing issue with check types. Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30183] - No more text decoration on hover and focus (#7020) * Fix no text decoration on hover and focus * revert extra space Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20470] Migrate emoji page and any team permission gate to typescript #15470 (#6645) * Migrate emoji page and any team permission gate to typescript * Convert delete_emoji_modal to typescript Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30226][MM-39255] Allow a post to be sent when you do CMD + ENTER on Mac with 'Allow all messages' to be sent via CMD + ENTER (#7031) * make a post be able to send when you do command enter when editing post * fix linting * Edit task to take into control mac command key * fix linting * [MM-30340] Update post height when comment box height change occurs (#7039) * [MM-30340] Update post height when comment box height change occurs * Update snaps * Add scroll to bottom to the resize function * Remove redundant check Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Translations update from Weblate (#7046) * Translated using Weblate (Japanese) Currently translated at 98.1% (4219 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4302 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4298 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 96.3% (4147 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Dutch) Currently translated at 99.6% (4310 of 4323 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.9% (4301 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Korean) Currently translated at 79.4% (3418 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Japanese) Currently translated at 97.5% (4220 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Korean) Currently translated at 79.7% (3453 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4214 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4215 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> * [MM-28181] e2e: add system_console/unsaved_changes_spec (#7009) * e2e: add system_console/unsaved_changes_spec * reflect revivew comments * 15474 convert team selector modal to ts (#6824) * Convert 'components/team_selector_modal' module and associated tests to TypeScript. * Fixing review comments. * Fixing review comments. * Fixing review comments. * Fixing bad merge Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-19509 Prioritize autocomplete results based on interactions and threads (#7002) * MM-19509 Prioritize autocomplete results based on interactions and threads * Add sort method of auto complete results to be based on last_viewed_at as well * Add new prop priorityResults to auto complete so we can add profiles like thread interactions on top * Fix sorting for remote results * Add E2E test for desktop notifications for empty strings (#6799) * Add E2E test for desktop notifications for empty strings * Update comments based on feedback * Typo Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20433 - convert view_pinned_posts to typescript (#7034) * MM-20433 - convert view_pinned_posts to typescript * fix linter errors Co-authored-by: Pablo Velez <pvelez@bp-3.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: fix test (#7052) * fix e2e test * make trial user configurable via env * fix order * [MM-29855] Migrate string-refs to functional ones: this.refs.content (#6867) * Update string refs to functional component based refs * Update string refs to functional component based refs * [MM-27231]: e2e for T1880 - deleted token cannot be used to post (#6901) * update api method to return more data, and add method to revoke token * test for T1880 - deletd token can't be used to post * fix comment * move methods to better place Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Fix menu rendering behind input box in RHS. (#7061) * [MM-27708] Disable Plugin on Removal (#6518) * [MM-30104][MM-30105] Fix up banners in payment_info and billing_subscription pages (#7063) * Fix up banners in payment_info and billing_subscription pages * Reset package-lock * Remove comment * [MM-27556] UI For new system roles (#6529) * Add translations * Basic skeleton without subsections visible * Allow roles to be saved and fix up styling * Dont allow sysadmins to be edited and dont allow self to be removed * Cleanup * Add translations * Save state properly * Update redux * Minor styling changes * Update redux * Bug fixes * Rename datagrid search to onSearch * Cleanup * UX fixes * Fix snaps * Forgot to check this in * Fix console error * Fix snaps * Expand by default if mixed access * update package json files * address PR comments * update redux hash * update redux hash * make disabled * add set navgiation blocked * Fix hash * make necessary changes * make read only admin editable * update function name * fix type check * fix lint issue * udpate redux hash * update search * update snap test * fix set navigation blocked after save * make conditional rendering for system manager * fix linting * go back after saving successfully * updat redux hash * Add Beta Tag Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * [MM-20428] Migrate terms of service to Typescript (#6965) * First pass * Added types everywhere * Fixed ESLint warnings and errors * Fix incorrect import * Updated snapshot * PR review feedback Co-authored-by: Christophe Carpentier <christophe.carpentier@imascap.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29621] Only load the stripe library when cloud components are actually rendered (#7067) * Only load the stripe library when cloud components are actually rendered * Use proper return type * Remove async * MM-20412: Migrate 'components/channel_header_mobile/show_search_button' module to TypeScript (#6969) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM 20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript (#6976) * MM-20404 * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix lint * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix linter Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27229 - Cypress/E2E: Automate backlogs - BOT Accounts - Part 06 (10 test cases) (#6772) Co-authored-by: Prapti <praptishrestha@gmail.com> Co-authored-by: Caleb Roseland <caleb@calebroseland.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate refs icon_url. #15801 (#6754) Automatic Merge * [GH-16035] Migrating refs plugin_management.tsx (#6866) Automatic Merge * [MM-29515] Hide imports tab when in cloud installation (#7069) * Hide imports tab when in cloud installation * fix types and linter * Revert package-lock to master * Make isCloud optional * MM-T446 DM More... searching from page 2 of user list (#7054) * wip * wip * revision * selector fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * DOPS-243 (#7075) DOPS-243 (#7075) * [GH-13483] Migrate 'components/channel_invite_modal' module and associated tests to TypeScript (#6968) * [WIP] migration to typescript * [WIP] further typescript changes * finalized move of component to typescript * [WIP] move index file to typescript * updated test to typescript * fix for types in index file * removed failing class import * [No Ticket] Update to latest redux hash and fixing test cases with missing types (#7084) Automatic Merge * [MM-27154] Cypress tests: Incoming Webhooks (#6977) * Incoming webhooks cypress tests * Remove unused variable * PR feedback * add license * PR feedback and lint * fix import path Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * fix failing tests due to announcement bar (#7077) * MM-27315 Cypress tests for Integrations > Slash command auto-complete (7 test cases) (#6909) * MM-30359: Cypress/E2E: Account Settings > Email (#7051) * MM-30359: Cypress/E2E: Account Settings > Email This PR automates the following test cases: MM-T2066 MM-T2067 MM-T2068 MM-T2069 MM-T2070 MM-T2071 MM-T2072 MM-T2073 https://mattermost.atlassian.net/browse/MM-30359 ```release-note NONE ``` * fix lint * add the other tests * Address review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T561] Add e2e test for MM-T561 (#7015) * Add e2e test Add test for: Browser tab and team sidebar - direct messages don't add indicator on team icon in team sidebar (but do in browser tab) Github Issues: Fix https://github.com/mattermost/mattermost-server/issues/15700 Jira Ticket: MM-T561 * Apply suggested review * Add cleanup for MM-T560_2 * Linting * Separate test file * Linting * Add prerequisite * Rename file * Remove old test Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28255] Add tests for OAuth Apps (#6558) * Add tests for OAuth Apps * Add remaining tests * Update test names, fix typos and add explicit status codes * Add group and license check * Move tests to enterprise folder Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-29858: Migrate string refs to functional ones in autosize textarea component (#6885) * MM-29858: Migrate string refs to functional ones in autosize textarea component * MM-29858: Rename reference instance variable with suffix Ref * MM-29858: Use camel casing for textarea reference variable * MM-29858: Allow empty value for textarea Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate errorMessage string ref (#6882) Automatic Merge * MM-T329 Image link preview (#7005) * wip * wip * finished * revision * remove log Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28150] e2e: add MM-T924, MM-T928, MM-T929, MM-T930 (#7045) * e2e: add MM-T924, MM-T928, MM-T929, MM-T930 * reflect review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30363: Cypress/E2E: Automate backlogs - Edit Bot Username (1 test case) (#7073) * MM-30373 - first iteration * MM-30377 - first iteration * remove spurious file * MM-30377 - further iteration * MM-30363 - first iteration * remove extra file * some cleanup * remoe extra space Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * promote and demote tests to/from prod (#7080) * Cypress/E2E: Fix toast appears unread spec (#7081) * change super to system (#7076) * MM-20418: Migrate 'components/channel_selector_modal' module and associated tests to TypeScript (#6975) * DOPS-243: Fix images (#7089) DOPS-243: Fix images (#7089) * MM-T439 Town Square is not marked as unread for existing users when a new user is added to the team (#7053) Automatic Merge * [MM-20582] Migrate 'components/admin_console/team_channel_settings/ch… (#6840) * MM-20465 Fix for collapse/expand of image preview (#7085) * The toggle function requires id and not post * This was most likely changed to fix a ts error * MM-20465 Revert usage of getCurrentChannel to getCurrentChannelId where possible (#7064) * [MM-29821] Prefer TypeScript files over JavaScript in webpack (#7090) * [MM-30317] add MANAGE_REMOTE_CLUSTERS permission (#7060) * add MANAGE_REMOTE_CLUSTERS permission * Update i18n/en.json Co-authored-by: Doug Lauder <wiggin77@warpmail.net> Co-authored-by: Doug Lauder <wiggin77@warpmail.net> * MM-20416: Migrate 'components/channel_header_mobile/collapse_lhs_button' module to TypeScript (#6971) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove Cloud billing flag from System Console (#7096) (cherry picked from commit 6c35b79ac663756b5e31f0b878531aabec68efd3) Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com> * Translations update from Weblate (#7100) * Translated using Weblate (Turkish) Currently translated at 100.0% (4390 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4329 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (German) Currently translated at 90.4% (3915 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/de/ * Translated using Weblate (Korean) Currently translated at 80.1% (3468 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4328 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Russian) Currently translated at 95.0% (4113 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4328 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 98.4% (4322 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 96.7% (4246 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4119 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 92.7% (4072 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4325 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Alexey Napalkov <flynbit@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> * Migrate 'components/announcement_bar/default_announcement_bar' module and associated tests to TypeScript (#6963) * rename file * working except for test file * restore unincluded test file to jsx * pass npm make check * update snapshot * respond to review comments * checkout package-lock.json * revert package-lock.json changes * fix linting errors Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate this.ref.dotMenu to functional (#6957) * Migrate this.ref.dotMenu to functional * Fixed formatting * Fix reference * rename dotMenu to dotMenuRef for consistency with other PRs, remove comments * Removed blanked line to pass lint check Co-authored-by: root <root@DESKTOP-4IBHFV5.localdomain> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20897 Add category muting (#7033) * MM-20897 Add ability to mute categories * Increase timeout to ensure test passes * Add E2E test for moving channels into muted categories * Update mattermost-redux to branch * Fix unit tests * Fix types * Update snapshot * asdf * Add additional E2E test and API client infrastructure * MM-24293 Fix to have group channels return in quick switcher with space (#7059) * MM-24293 Fix to have group channels return in quick siwchter with space * Split the search term by spaces and match with users in group channels * Update components/suggestion/switch_channel_provider.jsx Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * If card year is 0 return false for isExpired (#7101) * Converted 'dot_menu' to typescript. (#6825) * Migrate string refs of reset password modal (#7038) Automatic Merge * MM-20415 Migrate 'components/channel_header_mobile/unmute_channel_button' module and associated tests to TypeScript (#6972) * MM-30477 Fix for autocomplete not closing (#7093) Automatic Merge * MM-20897 Cleanup a couple missed issues (#7106) * MM-T638 Webhook posts when webhook creator is not a member of the channel (#7091) * wip * wip * wip * wip * added check * small fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript (#6668) * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript Fixes https://github.com/mattermost/mattermost-server/issues/15460 JIRA: https://mattermost.atlassian.net/browse/MM-20481 * Make actions attribute non nullable * Require YoutubeVideo's postId property since it really is * Fix tests * Add stages for onprem * Add build-vars stage * set isDisabled prop for site > notices (#7103) Automatic Merge * [MM-27931][MM-30158] Multi-selection and dragging of channels (#6979) * [MM-27931] Multiselection of channels * Test fix * Lint fix * Change opacity of selected state to 0.24 * Added hover state for selected channels * Tests for multiSelect * Drag and drop working (without visuals, missing redux commit) * Multi drag and drop styles (fade the selected channels, might change) * Don't allow multisellected channels to be dropped where they shouldn't be * Lint, type, test, translation fixes * Allow dragging of non matching channel groups by rejecting the channels that don't match * Redux update * Another test fix * Fixed selected count style to work off of center channel exclusively * Added really obvious styling * Style change/PR feedback * Style change * Include active channel in all initial selections * PR feedback * Add constant for shifted index Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20572] Migrate 'components/admin_console/compliance_reports' to TypeScript (#13500) (#7036) Automatic Merge * MM-30087 Remove direct dependency between Client4 and Rudder (#7056) * MM-30087 Remove direct dependency between Client4 and Rudder * Update tests * Switch mattermost-redux to master * Fix missing types * Change how we mock and import rudder * Remove test that checks if events are sent to Rudder * [MM_20423]'external_image'module to ts (#16151) (#7025) - migrate ts index.js file - migrate ts for external_image.tsx - migrate ts for external_images.test.jsx Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * Fix issue 16144: migrate components/claim module and tests to TypeScript (#7043) Automatic Merge * MM-T2056 e2e to test, Username change reflecting for other users (#7074) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-26334] Fixes direct messages loading screen misalignment (#6813) Summary: Reduces the height of the loading screen so it is more centered and/or unintrusive(small screens) enough to remove the scroll bar during loading. Ticket Link: Fixes https://github.com/mattermost/mattermost-server/issues/15926 * Translations update from Weblate (#7122) * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4121 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 98.9% (4345 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4392 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Spanish) Currently translated at 97.7% (4292 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4341 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> * MM-28153: Cypress/E2E: Automate backlogs - System Console > Environment (8 test cases) (#7049) * MM-30377: Cypress/E2E: Automate backlogs - Messaging > Channel and Post Links (6 test cases) (#7072) * MM-30355: Cypress/E2E: Automate backlogs - Account Settings > Username (6 test cases) (#7062) * MM-27208 Add tests for MM-T1684, MM-T1687, and MM-T1688 (#7124) * MM-27208 MM-T1684 Add test number to existing test case * Fix makeClient for requests without a body * MM-27208 MM-T1687 Add test for another user archiving a channel * MM-27208 MM-T1688 Add test for searching in archived channels * Translations update from Weblate (#7139) * Translated using Weblate (Spanish) Currently translated at 99.1% (4357 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4344 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Dutch) Currently translated at 98.9% (4349 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.4% (4327 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> * [MM-20498] components/post_view/combined_system_message' to TypeScript (#7109) * Added Initial Ts conversion to last_users and last_user_test * Converted combined system message * Completed all files conversion * Updated Snapshots * Minor fix * Minor Fixes * Minor Fixes * Migrate 'components/sidebar_right_menu' module to TypeScript (#6962) * Converted 'leave_channel' to typescript. (#7115) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20581] Migrate index to TS in 'components/admin_console/team_channel_settings/channel/details' module (#6924) * mark browser.focused as false if starting in the background (#7050) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27989 Remove experimental setting for data prefetch (#7094) Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com> * [MM-27207] e2e leave archived channels I - last (#7117) Automatic Merge * MM-30370: Cypress/E2E: Automate backlogs - Keyboard Shortcuts (10 test cases) (#7113) Automatic Merge * MM-30371: Cypress/E2E: Automate backlogs - Keyboard Shortcuts part 2 (10 test cases) (#7112) * temporary work * further iteration * further work * Address CR comments Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29853] Migrate string-refs to functional ones: this.refs.fileInput (#7153) * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function Co-authored-by: lestgabo <lestgabo@gmail.com> * Fix display of boolean feature flags in system console. (#7156) * MM-30992 Add the capability to run part by part for Cypress parallel testing (part 1) (#7140) * add the capability to run part by part for Cypress parallel testing * update per comment and add default values * throw an error if --part is greater than --of * Cypress/E2E: Fix email verification that works both with current, Cloud and parallel testing (part 2) (#7142) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * update per comment * Cypress/E2E: Fix for several flaky tests (part 3) (#7143) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * Cypress/E2E: Fix tests for cloud (part 4) (#7147) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * fix tests for cloud * clean up label and flag * simplify log of license status and add log of server details * update per comment * fix return of Cypress custom commands (#7159) * [MM-30354] e2e fullname (#7126) Automatic Merge * Migrate to typescript Apps related files (#7021) * Migrate to typescript Apps related files * Use correct react-overlays types version * PR feedback * fix types * fix types * temporarily use any * remove unused import * Remove unneeded comments * Extract stringToNumber to utils * Fix minor warning on the console * Fix lint Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * MM-30972 Add proper padding to code preview line numbers (#7155) Automatic Merge * MM-28412: Add tm4j key (#7171) * [MM-26593] Disable pointer events on LHS scrollbar when scrolling isn't required (#7120) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Update NOTICE.txt (#7102) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30376 Cypress/E2E: Automate backlogs - Messaging (8 test cases) (#7141) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30969] Drop aria-label from Marketplace item description (#7133) * Drop aria-label from Marketplace item description * Add general aria-label * Translations update from Weblate (#7182) * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.8% (4383 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4344 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4346 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4393 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.2% (4356 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.1% (4356 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.2% (4359 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Japanese) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Russian) Currently translated at 93.9% (4125 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Lev <blendamedkiba94@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * MM-31115 - Fixed "how billing works" cloud link (#7183) * [MM-30372] Cypress/E2E: Automate backlogs - Messaging > Reply (#7149) * Implement Cypress test * Fix comments * Update e2e/cypress/integration/messaging/message_reply_part2_spec.js Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-30374: Cypress/E2E: Messaging > Markdown (#7146) * MM-30374: Cypress/E2E: Messaging > Markdown This PR automates MM-T1734 MM-T2241 MM-T2242 MM-T2244 MM-T2246 https://mattermost.atlassian.net/browse/MM-30374 ```release-note NONE ``` * incorporate review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30810 Remove special props from /me post (#7163) * [MM-30449] - Hide create category option when unread filter is enabled (#7151) * [MM-30449] - Hide create category option when unread filter is enabled * Fix lint * Update snaps Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Add Billing Permissions (#7127) * Add billing permissions * add it to any * address comments * fix linting * address COMMENts! Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove usage of center-channel-color-## CSS variables from header components (#7118) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27688: OpenId Connect (#7027) * open id initial commit * fix for tests, remove force error * PR cleanup * fix upgrade gitlab * update redux * add cypress test, make fixes * add cypress, fix for cypress * add feature flag * fix linter errors * update redux * add feature flag to unit tests * fix linting * making configContains a one liner * fix test case and snapshot and linting * updates from code review * revert changes * update redux * uncomment feature flags check * remove unnecessary span * fix lint * clean up some code * update cypress tests * lint fixes * revert package-lock * revert package-lock * fix capitalization * update redux * update cypress tests to use findByRole * fix text differences from figma * remove feature flag * update cypress test * fix lint * updates from review * fix lint * Revert "fix lint" This reverts commit 3271dc7c2811d6e66bc1263cddd44906a5c73e52. * fix lint * fix lint * fix snapshots * fix bad merge * update redux Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Mm 30380/cypress dms and gms coverage (#7181) * Add DMs and GMs coverage as per MM-30380 * Fix linter * Apply PR suggestions * Fix linter complains * [MM-30390] - Add specs for team settings (#7105) * [MM-30390] - Add specs for team settings * Update e2e/cypress/integration/team_settings/teams_spec.js Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * Update e2e/cypress/integration/team_settings/teams_spec.js Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * Update e2e/cypress/integration/team_settings/teams_spec.js Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * Update e2e/cypress/integration/team_settings/teams_spec.js Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * Update e2e/cypress/integration/team_settings/teams_spec.js Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * Resolve PR comments * resolve PR comments * Update e2e/cypress/integration/team_settings/teams_spec.js Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * Update e2e/cypress/integration/team_settings/teams_spec.js Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * Update e2e/cypress/integration/team_settings/teams_spec.js Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * Update e2e/cypress/integration/team_settings/teams_spec.js Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * Resolve PR comments * resolve linter * Fix lint Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * [MM-30358] - Add account position spec (#7108) * [MM-30358] - Add account position spec * Resolve PR comments * Resolve PR comments * Resolve failing test * fix linte Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * [MM-20487] Migrate 'components/post_view/post_time' module and associated tests to TypeScript (#6625) * [MM-29418] Apply the same sorting function (#15920) (#7128) * [MM-20432] Migrate components/channel_view module and associated tests to TypeScript (#6989) * [MM-27927] - Revert mattermost-redux (#7196) * [MM-30364] - Add spec for channel settings (#7111) Automatic Merge * Bump highlight.js from 10.1.2 to 10.4.1 (#7168) * Bump highlight.js from 10.1.2 to 10.4.1 Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 10.1.2 to 10.4.1. - [Release notes](https://github.com/highlightjs/highlight.js/releases) - [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md) - [Commits](https://github.com/highlightjs/highlight.js/compare/10.1.2...10.4.1) Signed-off-by: dependabot[bot] <support@github.com> * Rename references from tex to latex Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com> * [MM-29949] Add extra space for team name and user name on new sidebar (#6949) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-27213] Cypress/E2E: Automate backlogs - Auth - Part 01 (10 test cases) (#6860) * continue working on tests * cover more TESTSSSS * FINITO!!!! * fix linting * fix linting * update test * Address comments * use getRandomId * fix linting * authentication file in enterprise * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Update e2e/cypress/integration/system_console/authentication/authentication_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Fix linting * Address comments * some small fixes * Change to standard as much as possible Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30447] - Add create direct message option to category menu (#7152) * [MM-30447] - Add create direct message option to category menu * Update snaps * capitalise message * fix linter Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [GH-16162] Migrate 'components/quick_switch_modal' module and associated tests to TypeScript (#7107) * [WIP] moved component to typescript * moved index & test to typescript * minor type update * minor type fixes Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28150] add remaining test cases (#7078) * e2e: add MM-T924, MM-T928, MM-T929, MM-T930 * reflect review comments * add remaining test cases * reflect reveiew comments * add timeouts * fix utility function * Update e2e/cypress/support/api/user.d.ts Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * fix help text in tooltip (#6996) * small fix to typescript migration (#7170) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30373 - Cypress/E2E: Automate backlogs - Messaging > @ autocomplete (9 test cases) (#7066) * Bump ini from 1.3.5 to 1.3.7 (#7206) Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * MM-30381/cypress notifications teammate name MM-T488 (#7154) * Add MM-T488 Teammate name display set to user name on at mentions * Revert additional space between curly braces * Make linter happy * MM-30381/cypress notifications teammate name MM-T490 (#7158) * Add MM-T490 test case for MM-30381 desktop notifications * Update e2e/cypress/integration/notifications/desktop_notifications_spec.js * Add MM-T489 test case for MM-30381 desktop notifications (#7157) * Fix linter Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30367] Automate E2E admin roles tests (#7162) Automatic Merge * Cypress/E2E: Automate backlogs - System Console > Compliance Export Downloads (#7187) * Covers MM-T3435, MM-T3438, MM-T3439 * Fixed lint errors * Requires license check Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Wait until file storage page is visible Committed from suggestion Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Wait until compliance export page is visible Committed from suggestion Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Image upload wait code simplified Committed from suggestion Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Remove images from post message Committed from suggestion Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Comment formatted Committed from suggestion Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Comment formatted Committed from suggestion Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Comment formatted Committed from suggestion Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Comment formatted Committed from suggestion Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Comment formatted Committed from suggestion Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Comment formatted Committed from suggestion Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Wait until post message block is visible Committed from suggestion Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Formatted comments * Replaced image upload wait check with initial code * Image upload code refactored, added timeout of 5 minutes * Moved to compliance dir * Uncommented tests which were commented by mistake * Update e2e/cypress/integration/enterprise/system_console/compliance/download_compliance_export_file_spec.js Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * Replaced .get with .findByTestId * Uncommented test cases Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com> * [MM-31209] Take into account the OFF setting for OPEN ID (#7192) * account for off setting in open id * fix linting * [MM-16139] Migrate 'components/channel_header_dropdown/menu_items/toggle_favorite_channel' module and associated tests to TypeScript (#7110) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-31275 New sidebar performance improvements (#7207) Automatic Merge * Update eslint-plugin-mattermost (#7214) * Fix linter issues found by @typscript-eslint/member-delimiter-style * Fix linter issues found by @typscript-eslint/type-annotation-spacing * Update eslint-plugin-mattermost * Translations update from Weblate (#7220) * Translated using Weblate (French) Currently translated at 93.2% (4096 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/fr/ * Translated using Weblate (Dutch) Currently translated at 99.9% (4424 of 4425 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.7% (4413 of 4425 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.4% (4401 of 4425 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.2% (4393 of 4425 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.2% (4389 of 4424 strings) Translation: …
Squashed commit of the following: commit ab0b9e88a14f2a3e49b3a87eabe31421ed72522e Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Tue Mar 30 16:36:33 2021 -0400 make appBindings an optional prop commit 264e8b05671b92a34bf0620fecea60bd14d0c47d Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Mon Mar 29 03:21:25 2021 -0400 add selectors for apps bindings commit d7f792eab390256180e131f5d902cd52535fdd61 Merge: 3fd6e9325 e53a8358f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:36:44 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 3fd6e9325c79beae42d0ebd041fc93b1e1009a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:22:54 2021 +0100 Remove Enable/Disable and Remove from System Console for cloud apps (#7651) * Remove Enable/Disable and Remove from System Console for cloud apps * Set buttons as null * Allow change the status when the feature flag is on * Fix test * Update snapshots Co-authored-by: Mattermod <mattermod@users.noreply.github.com> commit 7b4be8ebf51f251451f4900d1e5a363884306c93 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:11:01 2021 +0100 Case independency fixes (#7722) commit af6ba8797cd5c5387f2ed77fddcad82ddde81932 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:08:19 2021 +0100 Use Feature flag (#7643) * Use Feature flag * Fix test and minor improvement * Simplify return commit de7bca6c0782b47e2af101b2555894e0d80bf129 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 17 10:29:36 2021 -0400 Synchronize app command parser with mobile app (#7706) * Use type on call path, and minor refactoring * Add missing i18n * move files into app_command_parser folder * Fix navigation and small fix on error handling * include mobile app changes to command parser * i18n * types and lint * use intl * change i18n ids * tests * test fixes * add more tests for button_binding and select_binding * lint * fix merege issue * incorporate changes from #7703 * add translation * fix and i18n * remove unused translation Co-authored-by: Daniel Espino García <larkox@gmail.com> commit b54d6c52cda1c48adeb83e24f43901e3fdca7dc6 Merge: 05a669c46 ee77df3f0 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 12:15:35 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 05a669c46cfb85adc8e02f3ab2ea97a5a9ffe7e3 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 04:45:19 2021 +0100 Use type on call path, and minor refactoring (#7679) * Use type on call path, and minor refactoring * Add missing i18n * Fix navigation and small fix on error handling * Update redux reference * Fix types * Fix test * Fix test * Address PR Feedback commit 9b1cbbff02a092ef9a7d3a26fe0e016c257c4545 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:32:16 2021 +0100 Remove autocomplete of ~ and @ for user and channel suggestions (#7667) commit 00685fc935148b00ab6049ffb68e63a0a7a3399f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:29:52 2021 +0100 Fix command errors (#7664) commit 83a24ddc0d313c492410e644232720cee4f4dc94 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:27:04 2021 +0100 Command send options (user, channel, dynamic and static) as options and not only values. (#7650) * Command send options (user, channel, dynamic and static) as options and not only values. * Fetch users from server or generate error * Fix i18 and fix minor typo commit 6c1fea615501be4924d3fb9eaf8a987fdbe2552c Merge: d06cdffb8 507991558 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 9 11:14:07 2021 +0100 Merge branch 'master' into feature/cloud-apps commit d06cdffb86def63d4fa67f145775d6b6ce3deb3d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 8 15:08:35 2021 +0100 Fix multiword select options and keep quotes on complete values (#7644) * Fix multiword select options and keep quotes on complete values * Fix test commit e1d67a169ae88d43c9f76f0dc11d94db7e9722df Author: Daniel Espino García <larkox@gmail.com> Date: Sat Mar 6 11:55:43 2021 +0100 Fix channel header dropdown icon size and count (#7642) commit c5c86ca148002ac11a97035fbba6d50f55630fde Author: Daniel Espino García <larkox@gmail.com> Date: Thu Mar 4 11:47:21 2021 +0100 All select use AppSelectOption (#7612) * All select use AppSelectOption * Fix test commit 2f0ab8f9e9fd602fad5cf4d6cf258dbda5b95c8c Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Mar 4 11:13:45 2021 +0100 Use App id to install App from Marketplace (#7631) * Use App id to install App from Marketplace * Fix tests commit 94a86bec10017df9f22bc78ad04aa0d2596c3e24 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 09:24:35 2021 +0100 Add refresh websocket event (#7599) * Add refresh websocket event * Make more obvious the App framework events * Fix typo and separate handler into a function commit bde2a3488503b60cd5deb273f29ad035f93c0dfb Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 06:25:03 2021 +0100 Handle errors on binding locations (#7556) * Handle errors on binding locations * Fix types * Fix lint * Translate and handle all messages directly in the binding * Fix various errors * Fix snapshot commit 8868f33acc0a1fa089354ce7fa9e99dcfd404eec Merge: 2e3c92e28 db27a519d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 1 12:02:52 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 2e3c92e2827fc37890796768e157c16042b4e4e4 Author: Daniel Espino García <larkox@gmail.com> Date: Fri Feb 26 23:00:48 2021 +0100 Fix App parser (#7555) * Fix parser * Fix lint * Fix test commit c9dc94fd80bf6fbb1e18c2e3e1d88b4f5d3eff47 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Feb 26 19:17:30 2021 +0100 [MM-31508] Rename URL to Path in Call (#7566) commit 6b0675fcadee8ee24df6bdf7c4ff713e27a732c9 Merge: 5790e6316 82790213b Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 24 10:03:00 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 5790e6316b5110b8828a768a4ee37d92d107c91c Author: Daniel Espino García <larkox@gmail.com> Date: Tue Feb 16 12:48:49 2021 +0100 Rework embedded forms (#7423) * Rework embedded forms * Improve naming * Improve naming, improve binding filling and trimming and use binding as the base element of a EmbeddedBinding * Move appsEnabled to utils/apps.ts * Add a create request function, add logging, and check for undefined bindings. commit 5f2660f6adefcf1668f71f905622f4a150d5f95d Merge: faaebe611 f7ea0ec34 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 15 14:22:55 2021 +0100 Merge branch 'master' into feature/cloud-apps commit faaebe6115684c7cae5abd748d963980f9626a9e Author: Lev <1187448+levb@users.noreply.github.com> Date: Sat Feb 13 15:53:56 2021 -0800 Refactored apps command parser (#7426) * Fixed command autocomplete for no fields * make test * small fix: restore * wip * wip wip * wip appears to compile * first tests * Consolidated TC type and checks * ParseForm tests work, again * ParseForm tests work, again * unit tests work * nit * PR feedback, some debugging * PR feedback * PR feedback: moved methods into ParsedCommand * merging... * more merging * more more merging commit 50babb5bcef3dbc044e2cb69ef40cee69fefa820 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 19:00:55 2021 +0100 [MM-31088] Set submit buttons to the bottom of the form (#7473) * Set submit buttons to the bottom of the form * Fix typescript * Fix test * Fix lint commit e5619c9a1cc49f246c43ddd116b8b62946907bf5 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 15:31:50 2021 +0100 Isolate Apps to disable them whenever needed (#7376) * Isolate Apps to disable them whenever needed * Use feature flags * Isolate command_provider * Change shouldProcessApps by a more meaningful name appsEnabled * Fix test commit 1f866cdfd6972607decdbe64014ebb7d7566ad3f Merge: e65f8e066 3a24c6a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 13:23:13 2021 +0100 Merge branch 'master' into feature/cloud-apps commit e65f8e06613fc5a5d31573071c42d407dc799462 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Tue Feb 9 09:59:38 2021 +0100 [MM-32476] Apps in the Marketplace (#7474) commit 93e7c3421fef3f7f7a50bbc095512116f7976553 Merge: b2ef64e41 00b9e12d0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Feb 4 13:20:10 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit b2ef64e4132f500dd4d3c7226b87da8c58bd3a25 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:58:03 2021 +0100 Update redux reference commit 63f211746e975e5509d7d749c9c26d2cfcd39963 Merge: 837694a9b 0de03d607 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:54:11 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 837694a9b3a61911cd3c3e9cf21b678b3182b6fa Merge: c1cd297e9 b819372f0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Jan 29 13:53:47 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit c1cd297e94a9dcaea00508ad11c696d512365fdd Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 27 11:58:32 2021 +0100 Add Navigate to AppCallResonses handling (#7377) commit 44d85a493644efff7bd6363d95f888b681ada21d Author: Jason Frerich <jason.frerich@mattermost.com> Date: Wed Jan 27 04:58:12 2021 -0600 use label tag, not paragraph (#7378) commit 0411421a0af3d014c1adbf15c16f431d835e88bc Author: Daniel Espino García <larkox@gmail.com> Date: Tue Jan 26 17:44:12 2021 +0100 Fix Embedded forms after refactor (#7331) * Fix Embedded forms after refactor * Fix lint commit 9eba5ecc26885cc0e252c4d7ac2fbbff8510a078 Merge: 4f5f04144 b252c8a44 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 12:31:46 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4f5f04144375d6a2ce591265e8c78d3eab40919e Merge: 4716206ff 97e741e1d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 11:30:51 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4716206ffa48b174a8a8aa7882158c43c0f2ab3a Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:16:56 2021 +0100 Point to latest redux commit 0122d36712de26a51440ced499d77fdd956fe7aa Merge: f27d6e1cf 19b189c04 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:02:26 2021 +0100 Merge branch 'master' into feature/cloud-apps commit f27d6e1cf898eb71f5424c9520ef81c76a8ae28b Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Thu Jan 14 17:09:42 2021 -0500 Dynamic Apps Modals (#7166) * First approach on embedded forms * Fix lint * Render form in the RHS * Send needed information along the form * Address feedback * Use proper redux version * Add embedded buttons * Handle embedded forms as new modals * Improve state handling * Remove unneeded changes * Fix lint * Migrate button_selector to typescript and make buttons disabled * Fix lint * Make errors work on Embedded and Modal forms * Handle button field type from app forms * Consider button fields also select fields and handle submit_buttons field * dynamic select works. modal can refresh on submit * updates for refreshing on select * fix types * mm-redux * types * snapshot * change react-select import * fix react-select type * submit buttons * error handling * import lint * fix embedded form props * lint * updates for call structure * lint * mm-redux * move presentation field from call to binding * update tests * update prop for test * modal maintains its own state until it unmounts/closes * fix test * mm-redux and fix * fixes for using form call * remove dispatch * fix post id * fix command lookups. allow commands to open modals through binding's presentation * mm-redux * remove interactive dialog field references * fix test * test updates * use global store for command_provider, which is mocked in test * call.type == 'form' && response.type == 'form' opens a modal * lint * remove makeLookupCallPayload * lint * fix imports * fix import Co-authored-by: Daniel Espino García <larkox@gmail.com> commit 6f9f30379191db3f9988113ffdc950a2b2fbff86 Author: Daniel Espino García <larkox@gmail.com> Date: Thu Jan 14 14:59:49 2021 +0100 Fix missing channel header buttons (#7322) commit be9f4ff9bc770dff1723a8938010537486de7812 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 13 09:48:41 2021 +0100 Merge master to feature branch (#7250) * [MM-30193] change file attachment info to show fractions below 10 (#6935) * change fileinfo to show fractions below 10M * fix formatting * add linting fixes and clean up code * fix incorrect brackets Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Revert "Mm 29111 search bar and search results as fc (#6796)" (#6999) This reverts commit 9fba9a9789e3e1e6194daa36aabe343859e8511b. * [MM-20196] Use UTC timezone for formattedDate so it doesn't change the date (#7000) * Use UTC timezone for formattedDate so it doesn't change the date * Add toUTCString * Remove it because it isn't needed * Add to last invoice summary * Make invoice.tax a boolean so a rogue 0 isn't rendered (#7001) * Translations update from Weblate (#7006) * Translated using Weblate (Dutch) Currently translated at 99.9% (4294 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.5% (4275 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.6% (4270 of 4285 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Spanish) Currently translated at 99.2% (4264 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4295 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 96.0% (4126 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * [MM-30066] Allow sidebar category button width to grow and shrink as needed (#6955) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate team_list and team_row to typescript (#6914) Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> * [MM-20482] Migrate 'components/post_view/channel_intro_message' module … (#6729) * MM-28843 Adding feature flags to system console for easy diagnosis. (#6905) * Adding feature flags to system console for easy diagnosis. * Use AdminConfig type. * Redux update. * [MM-29850] Migrate string-refs to functional ones: this.refs.errorMessage (#6881) * Update string ref to functional ref * Make ref load before use Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30190] Show spinner when loading invoices instead of 'no invoices found' (#7012) * [MM-T560] Add test for notifications (#6884) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-20492 Migrate 'components/post_view/post_message_view' module and … (#6738) * Cypress/E2E: Fix custom categories spec (#7011) * [MM-30216] - Add check for undefined fileInfos (#7019) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-20465] migrate single_image_view to typescript (#6774) * migrate single_image_view to typescript * fix unit test * resolove review comment * Update components/single_image_view/single_image_view.tsx * Guard clause fileinfo` Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Nev Angelova <nevyana.angelova@mattermost.com> Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-29903] - Check if current user is on last post when scrolling in rhs (#6920) * Scroll user to bottom when they are on the latest post in rhs * fix tests * Fix type check * Implement using getSnapshotBeforeUpdate * Remove comment box and set refs * Update scroll logic * resize rhs container correctly * Calculate with header height * fix type error * please linter * update snapshot Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Nevyana Angelova <nevyangelova@nevyanas-mbp-2.mynet> * MM-T614 Search on Outgoing Webhooks page (#6873) * wip * cleanup, optimize * remove file Co-authored-by: Mattermost <mattermost@Michaels-MacBook-Pro.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: Move cluster spec to enterprise (#7010) * Cypress/E2E: Move cluster spec to enterprise * Add @enterprise tag * MM-20578 Migrate 'components/admin_console/system_user_detail' module… (#6801) * [MM-20568] Migrate 'components/admin_console/system_users' module to ts (#6829) * Fixing title text in select team icon. (#7023) * MM-30090 Open managed resource links in a new tab (#7024) * MM-30090 Open managed resource links in a new tab * MM-30090 Add ManagedResourcePaths setting * Update test case to reflect new case * Fix types * Revert unnecessary type changes * Switch mattermost-redux back to master * MM-27903, MM-27899: Folded Reply Threads: ThreadItem and ThreadFooter (#6585) * wip: checkpoint * wip: fix tooltip * wip: checkpoint * move connected profile_picture back out of widgets * timestamp improvements * wip: threading components * wip: thread footer * timestamp story improvments * wip: threading components * wip: threading components * wip: threading comps * wip: thread menu * update testing * wip: testing updates * unit tests, storybook cleanup * tweak timestamp knob arrangement * i18n * stray apostrophe; snapshots-i18n * profile_picture index * misc cleanup * put prop-types rule back in * simple_tooltip remove FC * sync relative time spec * update snapshots * Update index.stories.js * Update story_box.tsx * remove trailing space * update url * remove frag * sb container width * review fixes * review fixes/improvements * review/other changes * simplify * actually add nowrap * fix new messages tooltip style * cleanup * improvements, clarity * clearer conditionals * remove unused css/simplify * use text-clamp mixin, fix knob typo * remove unused css props * remove empty file * fix bad role attr * sync css; test appended button * review changes * badge as button if it has a click handler * update snapshot Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate string-refs in user_list.jsx (#6704) * migrate string-refs in user_list.jsx * add unit test for user_list.jsx * remove the eslint-enable/disable comments + rename this.container Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T556] Add e2e test for MM-T556 (#7016) * Add e2e test for MM-T556 Add e2e test for Browser tab and team sidebar notification - no unreads/mentions Github Issues: Fixes https://github.com/mattermost/mattermost-server/issues/15705 Jira Ticket: MM-T556 * Fix finicky test * Move Remove mention notification to before() * Fix broken test * Linting Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-24505-Update-help-text-leave-team-modal (#6572) * message update for leave team modal and updated in i18en.json * implemented dynamic channl values and changed tests * update failing snapshot * added new strings for public and priivate cases * updated desc * update plurals in string * removed console log statement * modal description based on the counts * i18n order changed * i18n corrected * resolved suggestions * updated failing snapshot * corrected messages in modals * updated snapshot * rewordings to modal texts * guest modal message * guest modal condition added along with modal message * updated failing snapshot * added currentuser prop to the test file * Fixed type error in test file * Fixes condition * conditions for zero public & zero private for guest * modified conditions * Fixed modal messages * snapshot updated * Fixes * MM-29929 Fix for unread messages toast on marking channel as unread (#7028) * The initOffset we use for displaying toast should be only used mount as that is not a relative scroll position and is only set on mount * Changing this to show unread toast on all occasions of marking channel as unread other than channel at bottom * [MM-26386] - Respect user locale when searching for channels (#6904) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-25186] Bot username validation i8n support (#6629) * Migrate String Refs to Functional ones - MM 16039 (#6865) * MM-29849/MM-29942/MM-29982 Fix code theme not being applied (#7008) * Convert 'components/post_view/post_info' module and associated tests to TypeScript (#6619) * Convert 'components/post_view/post_info' module and associated tests to TypeScript. Based on conversations with @devin and @abdu - marking certain props as non-mandatory. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some issues from rebasing from latest master branch * Handling null checks for 'getCurrentChannel' calls. * Fixing issue with white page. * Fixing issue with check types. Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30183] - No more text decoration on hover and focus (#7020) * Fix no text decoration on hover and focus * revert extra space Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20470] Migrate emoji page and any team permission gate to typescript #15470 (#6645) * Migrate emoji page and any team permission gate to typescript * Convert delete_emoji_modal to typescript Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30226][MM-39255] Allow a post to be sent when you do CMD + ENTER on Mac with 'Allow all messages' to be sent via CMD + ENTER (#7031) * make a post be able to send when you do command enter when editing post * fix linting * Edit task to take into control mac command key * fix linting * [MM-30340] Update post height when comment box height change occurs (#7039) * [MM-30340] Update post height when comment box height change occurs * Update snaps * Add scroll to bottom to the resize function * Remove redundant check Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Translations update from Weblate (#7046) * Translated using Weblate (Japanese) Currently translated at 98.1% (4219 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4302 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4298 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 96.3% (4147 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Dutch) Currently translated at 99.6% (4310 of 4323 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.9% (4301 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Korean) Currently translated at 79.4% (3418 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Japanese) Currently translated at 97.5% (4220 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Korean) Currently translated at 79.7% (3453 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4214 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4215 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> * [MM-28181] e2e: add system_console/unsaved_changes_spec (#7009) * e2e: add system_console/unsaved_changes_spec * reflect revivew comments * 15474 convert team selector modal to ts (#6824) * Convert 'components/team_selector_modal' module and associated tests to TypeScript. * Fixing review comments. * Fixing review comments. * Fixing review comments. * Fixing bad merge Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-19509 Prioritize autocomplete results based on interactions and threads (#7002) * MM-19509 Prioritize autocomplete results based on interactions and threads * Add sort method of auto complete results to be based on last_viewed_at as well * Add new prop priorityResults to auto complete so we can add profiles like thread interactions on top * Fix sorting for remote results * Add E2E test for desktop notifications for empty strings (#6799) * Add E2E test for desktop notifications for empty strings * Update comments based on feedback * Typo Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20433 - convert view_pinned_posts to typescript (#7034) * MM-20433 - convert view_pinned_posts to typescript * fix linter errors Co-authored-by: Pablo Velez <pvelez@bp-3.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: fix test (#7052) * fix e2e test * make trial user configurable via env * fix order * [MM-29855] Migrate string-refs to functional ones: this.refs.content (#6867) * Update string refs to functional component based refs * Update string refs to functional component based refs * [MM-27231]: e2e for T1880 - deleted token cannot be used to post (#6901) * update api method to return more data, and add method to revoke token * test for T1880 - deletd token can't be used to post * fix comment * move methods to better place Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Fix menu rendering behind input box in RHS. (#7061) * [MM-27708] Disable Plugin on Removal (#6518) * [MM-30104][MM-30105] Fix up banners in payment_info and billing_subscription pages (#7063) * Fix up banners in payment_info and billing_subscription pages * Reset package-lock * Remove comment * [MM-27556] UI For new system roles (#6529) * Add translations * Basic skeleton without subsections visible * Allow roles to be saved and fix up styling * Dont allow sysadmins to be edited and dont allow self to be removed * Cleanup * Add translations * Save state properly * Update redux * Minor styling changes * Update redux * Bug fixes * Rename datagrid search to onSearch * Cleanup * UX fixes * Fix snaps * Forgot to check this in * Fix console error * Fix snaps * Expand by default if mixed access * update package json files * address PR comments * update redux hash * update redux hash * make disabled * add set navgiation blocked * Fix hash * make necessary changes * make read only admin editable * update function name * fix type check * fix lint issue * udpate redux hash * update search * update snap test * fix set navigation blocked after save * make conditional rendering for system manager * fix linting * go back after saving successfully * updat redux hash * Add Beta Tag Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * [MM-20428] Migrate terms of service to Typescript (#6965) * First pass * Added types everywhere * Fixed ESLint warnings and errors * Fix incorrect import * Updated snapshot * PR review feedback Co-authored-by: Christophe Carpentier <christophe.carpentier@imascap.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29621] Only load the stripe library when cloud components are actually rendered (#7067) * Only load the stripe library when cloud components are actually rendered * Use proper return type * Remove async * MM-20412: Migrate 'components/channel_header_mobile/show_search_button' module to TypeScript (#6969) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM 20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript (#6976) * MM-20404 * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix lint * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix linter Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27229 - Cypress/E2E: Automate backlogs - BOT Accounts - Part 06 (10 test cases) (#6772) Co-authored-by: Prapti <praptishrestha@gmail.com> Co-authored-by: Caleb Roseland <caleb@calebroseland.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate refs icon_url. #15801 (#6754) Automatic Merge * [GH-16035] Migrating refs plugin_management.tsx (#6866) Automatic Merge * [MM-29515] Hide imports tab when in cloud installation (#7069) * Hide imports tab when in cloud installation * fix types and linter * Revert package-lock to master * Make isCloud optional * MM-T446 DM More... searching from page 2 of user list (#7054) * wip * wip * revision * selector fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * DOPS-243 (#7075) DOPS-243 (#7075) * [GH-13483] Migrate 'components/channel_invite_modal' module and associated tests to TypeScript (#6968) * [WIP] migration to typescript * [WIP] further typescript changes * finalized move of component to typescript * [WIP] move index file to typescript * updated test to typescript * fix for types in index file * removed failing class import * [No Ticket] Update to latest redux hash and fixing test cases with missing types (#7084) Automatic Merge * [MM-27154] Cypress tests: Incoming Webhooks (#6977) * Incoming webhooks cypress tests * Remove unused variable * PR feedback * add license * PR feedback and lint * fix import path Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * fix failing tests due to announcement bar (#7077) * MM-27315 Cypress tests for Integrations > Slash command auto-complete (7 test cases) (#6909) * MM-30359: Cypress/E2E: Account Settings > Email (#7051) * MM-30359: Cypress/E2E: Account Settings > Email This PR automates the following test cases: MM-T2066 MM-T2067 MM-T2068 MM-T2069 MM-T2070 MM-T2071 MM-T2072 MM-T2073 https://mattermost.atlassian.net/browse/MM-30359 ```release-note NONE ``` * fix lint * add the other tests * Address review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T561] Add e2e test for MM-T561 (#7015) * Add e2e test Add test for: Browser tab and team sidebar - direct messages don't add indicator on team icon in team sidebar (but do in browser tab) Github Issues: Fix https://github.com/mattermost/mattermost-server/issues/15700 Jira Ticket: MM-T561 * Apply suggested review * Add cleanup for MM-T560_2 * Linting * Separate test file * Linting * Add prerequisite * Rename file * Remove old test Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28255] Add tests for OAuth Apps (#6558) * Add tests for OAuth Apps * Add remaining tests * Update test names, fix typos and add explicit status codes * Add group and license check * Move tests to enterprise folder Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-29858: Migrate string refs to functional ones in autosize textarea component (#6885) * MM-29858: Migrate string refs to functional ones in autosize textarea component * MM-29858: Rename reference instance variable with suffix Ref * MM-29858: Use camel casing for textarea reference variable * MM-29858: Allow empty value for textarea Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate errorMessage string ref (#6882) Automatic Merge * MM-T329 Image link preview (#7005) * wip * wip * finished * revision * remove log Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28150] e2e: add MM-T924, MM-T928, MM-T929, MM-T930 (#7045) * e2e: add MM-T924, MM-T928, MM-T929, MM-T930 * reflect review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30363: Cypress/E2E: Automate backlogs - Edit Bot Username (1 test case) (#7073) * MM-30373 - first iteration * MM-30377 - first iteration * remove spurious file * MM-30377 - further iteration * MM-30363 - first iteration * remove extra file * some cleanup * remoe extra space Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * promote and demote tests to/from prod (#7080) * Cypress/E2E: Fix toast appears unread spec (#7081) * change super to system (#7076) * MM-20418: Migrate 'components/channel_selector_modal' module and associated tests to TypeScript (#6975) * DOPS-243: Fix images (#7089) DOPS-243: Fix images (#7089) * MM-T439 Town Square is not marked as unread for existing users when a new user is added to the team (#7053) Automatic Merge * [MM-20582] Migrate 'components/admin_console/team_channel_settings/ch… (#6840) * MM-20465 Fix for collapse/expand of image preview (#7085) * The toggle function requires id and not post * This was most likely changed to fix a ts error * MM-20465 Revert usage of getCurrentChannel to getCurrentChannelId where possible (#7064) * [MM-29821] Prefer TypeScript files over JavaScript in webpack (#7090) * [MM-30317] add MANAGE_REMOTE_CLUSTERS permission (#7060) * add MANAGE_REMOTE_CLUSTERS permission * Update i18n/en.json Co-authored-by: Doug Lauder <wiggin77@warpmail.net> Co-authored-by: Doug Lauder <wiggin77@warpmail.net> * MM-20416: Migrate 'components/channel_header_mobile/collapse_lhs_button' module to TypeScript (#6971) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove Cloud billing flag from System Console (#7096) (cherry picked from commit 6c35b79ac663756b5e31f0b878531aabec68efd3) Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com> * Translations update from Weblate (#7100) * Translated using Weblate (Turkish) Currently translated at 100.0% (4390 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4329 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (German) Currently translated at 90.4% (3915 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/de/ * Translated using Weblate (Korean) Currently translated at 80.1% (3468 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4328 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Russian) Currently translated at 95.0% (4113 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4328 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 98.4% (4322 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 96.7% (4246 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4119 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 92.7% (4072 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4325 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Alexey Napalkov <flynbit@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> * Migrate 'components/announcement_bar/default_announcement_bar' module and associated tests to TypeScript (#6963) * rename file * working except for test file * restore unincluded test file to jsx * pass npm make check * update snapshot * respond to review comments * checkout package-lock.json * revert package-lock.json changes * fix linting errors Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate this.ref.dotMenu to functional (#6957) * Migrate this.ref.dotMenu to functional * Fixed formatting * Fix reference * rename dotMenu to dotMenuRef for consistency with other PRs, remove comments * Removed blanked line to pass lint check Co-authored-by: root <root@DESKTOP-4IBHFV5.localdomain> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20897 Add category muting (#7033) * MM-20897 Add ability to mute categories * Increase timeout to ensure test passes * Add E2E test for moving channels into muted categories * Update mattermost-redux to branch * Fix unit tests * Fix types * Update snapshot * asdf * Add additional E2E test and API client infrastructure * MM-24293 Fix to have group channels return in quick switcher with space (#7059) * MM-24293 Fix to have group channels return in quick siwchter with space * Split the search term by spaces and match with users in group channels * Update components/suggestion/switch_channel_provider.jsx Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * If card year is 0 return false for isExpired (#7101) * Converted 'dot_menu' to typescript. (#6825) * Migrate string refs of reset password modal (#7038) Automatic Merge * MM-20415 Migrate 'components/channel_header_mobile/unmute_channel_button' module and associated tests to TypeScript (#6972) * MM-30477 Fix for autocomplete not closing (#7093) Automatic Merge * MM-20897 Cleanup a couple missed issues (#7106) * MM-T638 Webhook posts when webhook creator is not a member of the channel (#7091) * wip * wip * wip * wip * added check * small fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript (#6668) * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript Fixes https://github.com/mattermost/mattermost-server/issues/15460 JIRA: https://mattermost.atlassian.net/browse/MM-20481 * Make actions attribute non nullable * Require YoutubeVideo's postId property since it really is * Fix tests * Add stages for onprem * Add build-vars stage * set isDisabled prop for site > notices (#7103) Automatic Merge * [MM-27931][MM-30158] Multi-selection and dragging of channels (#6979) * [MM-27931] Multiselection of channels * Test fix * Lint fix * Change opacity of selected state to 0.24 * Added hover state for selected channels * Tests for multiSelect * Drag and drop working (without visuals, missing redux commit) * Multi drag and drop styles (fade the selected channels, might change) * Don't allow multisellected channels to be dropped where they shouldn't be * Lint, type, test, translation fixes * Allow dragging of non matching channel groups by rejecting the channels that don't match * Redux update * Another test fix * Fixed selected count style to work off of center channel exclusively * Added really obvious styling * Style change/PR feedback * Style change * Include active channel in all initial selections * PR feedback * Add constant for shifted index Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20572] Migrate 'components/admin_console/compliance_reports' to TypeScript (#13500) (#7036) Automatic Merge * MM-30087 Remove direct dependency between Client4 and Rudder (#7056) * MM-30087 Remove direct dependency between Client4 and Rudder * Update tests * Switch mattermost-redux to master * Fix missing types * Change how we mock and import rudder * Remove test that checks if events are sent to Rudder * [MM_20423]'external_image'module to ts (#16151) (#7025) - migrate ts index.js file - migrate ts for external_image.tsx - migrate ts for external_images.test.jsx Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * Fix issue 16144: migrate components/claim module and tests to TypeScript (#7043) Automatic Merge * MM-T2056 e2e to test, Username change reflecting for other users (#7074) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-26334] Fixes direct messages loading screen misalignment (#6813) Summary: Reduces the height of the loading screen so it is more centered and/or unintrusive(small screens) enough to remove the scroll bar during loading. Ticket Link: Fixes https://github.com/mattermost/mattermost-server/issues/15926 * Translations update from Weblate (#7122) * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4121 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 98.9% (4345 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4392 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Spanish) Currently translated at 97.7% (4292 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4341 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> * MM-28153: Cypress/E2E: Automate backlogs - System Console > Environment (8 test cases) (#7049) * MM-30377: Cypress/E2E: Automate backlogs - Messaging > Channel and Post Links (6 test cases) (#7072) * MM-30355: Cypress/E2E: Automate backlogs - Account Settings > Username (6 test cases) (#7062) * MM-27208 Add tests for MM-T1684, MM-T1687, and MM-T1688 (#7124) * MM-27208 MM-T1684 Add test number to existing test case * Fix makeClient for requests without a body * MM-27208 MM-T1687 Add test for another user archiving a channel * MM-27208 MM-T1688 Add test for searching in archived channels * Translations update from Weblate (#7139) * Translated using Weblate (Spanish) Currently translated at 99.1% (4357 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4344 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Dutch) Currently translated at 98.9% (4349 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.4% (4327 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> * [MM-20498] components/post_view/combined_system_message' to TypeScript (#7109) * Added Initial Ts conversion to last_users and last_user_test * Converted combined system message * Completed all files conversion * Updated Snapshots * Minor fix * Minor Fixes * Minor Fixes * Migrate 'components/sidebar_right_menu' module to TypeScript (#6962) * Converted 'leave_channel' to typescript. (#7115) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20581] Migrate index to TS in 'components/admin_console/team_channel_settings/channel/details' module (#6924) * mark browser.focused as false if starting in the background (#7050) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27989 Remove experimental setting for data prefetch (#7094) Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com> * [MM-27207] e2e leave archived channels I - last (#7117) Automatic Merge * MM-30370: Cypress/E2E: Automate backlogs - Keyboard Shortcuts (10 test cases) (#7113) Automatic Merge * MM-30371: Cypress/E2E: Automate backlogs - Keyboard Shortcuts part 2 (10 test cases) (#7112) * temporary work * further iteration * further work * Address CR comments Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29853] Migrate string-refs to functional ones: this.refs.fileInput (#7153) * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function Co-authored-by: lestgabo <lestgabo@gmail.com> * Fix display of boolean feature flags in system console. (#7156) * MM-30992 Add the capability to run part by part for Cypress parallel testing (part 1) (#7140) * add the capability to run part by part for Cypress parallel testing * update per comment and add default values * throw an error if --part is greater than --of * Cypress/E2E: Fix email verification that works both with current, Cloud and parallel testing (part 2) (#7142) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * update per comment * Cypress/E2E: Fix for several flaky tests (part 3) (#7143) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * Cypress/E2E: Fix tests for cloud (part 4) (#7147) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * fix tests for cloud * clean up label and flag * simplify log of license status and add log of server details * update per comment * fix return of Cypress custom commands (#7159) * [MM-30354] e2e fullname (#7126) Automatic Merge * Migrate to typescript Apps related files (#7021) * Migrate to typescript Apps related files * Use correct react-overlays types version * PR feedback * fix types * fix types * temporarily use any * remove unused import * Remove unneeded comments * Extract stringToNumber to utils * Fix minor warning on the console * Fix lint Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * MM-30972 Add proper padding to code preview line numbers (#7155) Automatic Merge * MM-28412: Add tm4j key (#7171) * [MM-26593] Disable pointer events on LHS scrollbar when scrolling isn't required (#7120) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Update NOTICE.txt (#7102) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30376 Cypress/E2E: Automate backlogs - Messaging (8 test cases) (#7141) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30969] Drop aria-label from Marketplace item description (#7133) * Drop aria-label from Marketplace item description * Add general aria-label * Translations update from Weblate (#7182) * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.8% (4383 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4344 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4346 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4393 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.2% (4356 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.1% (4356 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.2% (4359 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Japanese) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Russian) Currently translated at 93.9% (4125 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Lev <blendamedkiba94@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * MM-31115 - Fixed "how billing works" cloud link (#7183) * [MM-30372] Cypress/E2E: Automate backlogs - Messaging > Reply (#7149) * Implement Cypress test * Fix comments * Update e2e/cypress/integration/messaging/message_reply_part2_spec.js Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-30374: Cypress/E2E: Messaging > Markdown (#7146) * MM-30374: Cypress/E2E: Messaging > Markdown This PR automates MM-T1734 MM-T2241 MM-T2242 MM-T2244 MM-T2246 https://mattermost.atlassian.net/browse/MM-30374 ```release-note NONE ``` * incorporate review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30810 Remove special props from /me post (#7163) * [MM-30449] - Hide create category option when unread filter is enabled (#7151) * [MM-30449] - Hide create category option when unread filter is enabled * Fix lint * Update snaps Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Add Billing Permissions (#7127) * Add billing permissions * add it to any * address comments * fix linting * address COMMENts! Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove usage of center…
Squashed commit of the following: commit bf9a919ef395ea266e78b28669f11c1294cfc0cb Merge: 51fa36ebb d7f792eab Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Tue Mar 30 17:03:40 2021 -0400 Merge branch 'feature/cloud-apps' into select-visibility commit d7f792eab390256180e131f5d902cd52535fdd61 Merge: 3fd6e9325 e53a8358f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:36:44 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 3fd6e9325c79beae42d0ebd041fc93b1e1009a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:22:54 2021 +0100 Remove Enable/Disable and Remove from System Console for cloud apps (#7651) * Remove Enable/Disable and Remove from System Console for cloud apps * Set buttons as null * Allow change the status when the feature flag is on * Fix test * Update snapshots Co-authored-by: Mattermod <mattermod@users.noreply.github.com> commit 7b4be8ebf51f251451f4900d1e5a363884306c93 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:11:01 2021 +0100 Case independency fixes (#7722) commit af6ba8797cd5c5387f2ed77fddcad82ddde81932 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:08:19 2021 +0100 Use Feature flag (#7643) * Use Feature flag * Fix test and minor improvement * Simplify return commit 51fa36ebb5c98e36c4bf16f5fec7ddd945b943ec Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 24 03:44:42 2021 -0400 fix error message placement by moving form-group class to parent commit 49b1158f1f216d343e16da41158b94b3bbbec6f0 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 24 03:31:24 2021 -0400 fix select overlap commit de7bca6c0782b47e2af101b2555894e0d80bf129 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 17 10:29:36 2021 -0400 Synchronize app command parser with mobile app (#7706) * Use type on call path, and minor refactoring * Add missing i18n * move files into app_command_parser folder * Fix navigation and small fix on error handling * include mobile app changes to command parser * i18n * types and lint * use intl * change i18n ids * tests * test fixes * add more tests for button_binding and select_binding * lint * fix merege issue * incorporate changes from #7703 * add translation * fix and i18n * remove unused translation Co-authored-by: Daniel Espino García <larkox@gmail.com> commit b54d6c52cda1c48adeb83e24f43901e3fdca7dc6 Merge: 05a669c46 ee77df3f0 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 12:15:35 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 05a669c46cfb85adc8e02f3ab2ea97a5a9ffe7e3 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 04:45:19 2021 +0100 Use type on call path, and minor refactoring (#7679) * Use type on call path, and minor refactoring * Add missing i18n * Fix navigation and small fix on error handling * Update redux reference * Fix types * Fix test * Fix test * Address PR Feedback commit 9b1cbbff02a092ef9a7d3a26fe0e016c257c4545 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:32:16 2021 +0100 Remove autocomplete of ~ and @ for user and channel suggestions (#7667) commit 00685fc935148b00ab6049ffb68e63a0a7a3399f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:29:52 2021 +0100 Fix command errors (#7664) commit 83a24ddc0d313c492410e644232720cee4f4dc94 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:27:04 2021 +0100 Command send options (user, channel, dynamic and static) as options and not only values. (#7650) * Command send options (user, channel, dynamic and static) as options and not only values. * Fetch users from server or generate error * Fix i18 and fix minor typo commit 6c1fea615501be4924d3fb9eaf8a987fdbe2552c Merge: d06cdffb8 507991558 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 9 11:14:07 2021 +0100 Merge branch 'master' into feature/cloud-apps commit d06cdffb86def63d4fa67f145775d6b6ce3deb3d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 8 15:08:35 2021 +0100 Fix multiword select options and keep quotes on complete values (#7644) * Fix multiword select options and keep quotes on complete values * Fix test commit e1d67a169ae88d43c9f76f0dc11d94db7e9722df Author: Daniel Espino García <larkox@gmail.com> Date: Sat Mar 6 11:55:43 2021 +0100 Fix channel header dropdown icon size and count (#7642) commit c5c86ca148002ac11a97035fbba6d50f55630fde Author: Daniel Espino García <larkox@gmail.com> Date: Thu Mar 4 11:47:21 2021 +0100 All select use AppSelectOption (#7612) * All select use AppSelectOption * Fix test commit 2f0ab8f9e9fd602fad5cf4d6cf258dbda5b95c8c Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Mar 4 11:13:45 2021 +0100 Use App id to install App from Marketplace (#7631) * Use App id to install App from Marketplace * Fix tests commit 94a86bec10017df9f22bc78ad04aa0d2596c3e24 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 09:24:35 2021 +0100 Add refresh websocket event (#7599) * Add refresh websocket event * Make more obvious the App framework events * Fix typo and separate handler into a function commit bde2a3488503b60cd5deb273f29ad035f93c0dfb Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 06:25:03 2021 +0100 Handle errors on binding locations (#7556) * Handle errors on binding locations * Fix types * Fix lint * Translate and handle all messages directly in the binding * Fix various errors * Fix snapshot commit 8868f33acc0a1fa089354ce7fa9e99dcfd404eec Merge: 2e3c92e28 db27a519d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 1 12:02:52 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 2e3c92e2827fc37890796768e157c16042b4e4e4 Author: Daniel Espino García <larkox@gmail.com> Date: Fri Feb 26 23:00:48 2021 +0100 Fix App parser (#7555) * Fix parser * Fix lint * Fix test commit c9dc94fd80bf6fbb1e18c2e3e1d88b4f5d3eff47 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Feb 26 19:17:30 2021 +0100 [MM-31508] Rename URL to Path in Call (#7566) commit 6b0675fcadee8ee24df6bdf7c4ff713e27a732c9 Merge: 5790e6316 82790213b Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 24 10:03:00 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 5790e6316b5110b8828a768a4ee37d92d107c91c Author: Daniel Espino García <larkox@gmail.com> Date: Tue Feb 16 12:48:49 2021 +0100 Rework embedded forms (#7423) * Rework embedded forms * Improve naming * Improve naming, improve binding filling and trimming and use binding as the base element of a EmbeddedBinding * Move appsEnabled to utils/apps.ts * Add a create request function, add logging, and check for undefined bindings. commit 5f2660f6adefcf1668f71f905622f4a150d5f95d Merge: faaebe611 f7ea0ec34 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 15 14:22:55 2021 +0100 Merge branch 'master' into feature/cloud-apps commit faaebe6115684c7cae5abd748d963980f9626a9e Author: Lev <1187448+levb@users.noreply.github.com> Date: Sat Feb 13 15:53:56 2021 -0800 Refactored apps command parser (#7426) * Fixed command autocomplete for no fields * make test * small fix: restore * wip * wip wip * wip appears to compile * first tests * Consolidated TC type and checks * ParseForm tests work, again * ParseForm tests work, again * unit tests work * nit * PR feedback, some debugging * PR feedback * PR feedback: moved methods into ParsedCommand * merging... * more merging * more more merging commit 50babb5bcef3dbc044e2cb69ef40cee69fefa820 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 19:00:55 2021 +0100 [MM-31088] Set submit buttons to the bottom of the form (#7473) * Set submit buttons to the bottom of the form * Fix typescript * Fix test * Fix lint commit e5619c9a1cc49f246c43ddd116b8b62946907bf5 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 15:31:50 2021 +0100 Isolate Apps to disable them whenever needed (#7376) * Isolate Apps to disable them whenever needed * Use feature flags * Isolate command_provider * Change shouldProcessApps by a more meaningful name appsEnabled * Fix test commit 1f866cdfd6972607decdbe64014ebb7d7566ad3f Merge: e65f8e066 3a24c6a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 13:23:13 2021 +0100 Merge branch 'master' into feature/cloud-apps commit e65f8e06613fc5a5d31573071c42d407dc799462 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Tue Feb 9 09:59:38 2021 +0100 [MM-32476] Apps in the Marketplace (#7474) commit 93e7c3421fef3f7f7a50bbc095512116f7976553 Merge: b2ef64e41 00b9e12d0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Feb 4 13:20:10 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit b2ef64e4132f500dd4d3c7226b87da8c58bd3a25 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:58:03 2021 +0100 Update redux reference commit 63f211746e975e5509d7d749c9c26d2cfcd39963 Merge: 837694a9b 0de03d607 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:54:11 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 837694a9b3a61911cd3c3e9cf21b678b3182b6fa Merge: c1cd297e9 b819372f0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Jan 29 13:53:47 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit c1cd297e94a9dcaea00508ad11c696d512365fdd Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 27 11:58:32 2021 +0100 Add Navigate to AppCallResonses handling (#7377) commit 44d85a493644efff7bd6363d95f888b681ada21d Author: Jason Frerich <jason.frerich@mattermost.com> Date: Wed Jan 27 04:58:12 2021 -0600 use label tag, not paragraph (#7378) commit 0411421a0af3d014c1adbf15c16f431d835e88bc Author: Daniel Espino García <larkox@gmail.com> Date: Tue Jan 26 17:44:12 2021 +0100 Fix Embedded forms after refactor (#7331) * Fix Embedded forms after refactor * Fix lint commit 9eba5ecc26885cc0e252c4d7ac2fbbff8510a078 Merge: 4f5f04144 b252c8a44 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 12:31:46 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4f5f04144375d6a2ce591265e8c78d3eab40919e Merge: 4716206ff 97e741e1d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 11:30:51 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4716206ffa48b174a8a8aa7882158c43c0f2ab3a Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:16:56 2021 +0100 Point to latest redux commit 0122d36712de26a51440ced499d77fdd956fe7aa Merge: f27d6e1cf 19b189c04 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:02:26 2021 +0100 Merge branch 'master' into feature/cloud-apps commit f27d6e1cf898eb71f5424c9520ef81c76a8ae28b Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Thu Jan 14 17:09:42 2021 -0500 Dynamic Apps Modals (#7166) * First approach on embedded forms * Fix lint * Render form in the RHS * Send needed information along the form * Address feedback * Use proper redux version * Add embedded buttons * Handle embedded forms as new modals * Improve state handling * Remove unneeded changes * Fix lint * Migrate button_selector to typescript and make buttons disabled * Fix lint * Make errors work on Embedded and Modal forms * Handle button field type from app forms * Consider button fields also select fields and handle submit_buttons field * dynamic select works. modal can refresh on submit * updates for refreshing on select * fix types * mm-redux * types * snapshot * change react-select import * fix react-select type * submit buttons * error handling * import lint * fix embedded form props * lint * updates for call structure * lint * mm-redux * move presentation field from call to binding * update tests * update prop for test * modal maintains its own state until it unmounts/closes * fix test * mm-redux and fix * fixes for using form call * remove dispatch * fix post id * fix command lookups. allow commands to open modals through binding's presentation * mm-redux * remove interactive dialog field references * fix test * test updates * use global store for command_provider, which is mocked in test * call.type == 'form' && response.type == 'form' opens a modal * lint * remove makeLookupCallPayload * lint * fix imports * fix import Co-authored-by: Daniel Espino García <larkox@gmail.com> commit 6f9f30379191db3f9988113ffdc950a2b2fbff86 Author: Daniel Espino García <larkox@gmail.com> Date: Thu Jan 14 14:59:49 2021 +0100 Fix missing channel header buttons (#7322) commit be9f4ff9bc770dff1723a8938010537486de7812 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 13 09:48:41 2021 +0100 Merge master to feature branch (#7250) * [MM-30193] change file attachment info to show fractions below 10 (#6935) * change fileinfo to show fractions below 10M * fix formatting * add linting fixes and clean up code * fix incorrect brackets Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Revert "Mm 29111 search bar and search results as fc (#6796)" (#6999) This reverts commit 9fba9a9789e3e1e6194daa36aabe343859e8511b. * [MM-20196] Use UTC timezone for formattedDate so it doesn't change the date (#7000) * Use UTC timezone for formattedDate so it doesn't change the date * Add toUTCString * Remove it because it isn't needed * Add to last invoice summary * Make invoice.tax a boolean so a rogue 0 isn't rendered (#7001) * Translations update from Weblate (#7006) * Translated using Weblate (Dutch) Currently translated at 99.9% (4294 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.5% (4275 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.6% (4270 of 4285 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Spanish) Currently translated at 99.2% (4264 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4295 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 96.0% (4126 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * [MM-30066] Allow sidebar category button width to grow and shrink as needed (#6955) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate team_list and team_row to typescript (#6914) Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> * [MM-20482] Migrate 'components/post_view/channel_intro_message' module … (#6729) * MM-28843 Adding feature flags to system console for easy diagnosis. (#6905) * Adding feature flags to system console for easy diagnosis. * Use AdminConfig type. * Redux update. * [MM-29850] Migrate string-refs to functional ones: this.refs.errorMessage (#6881) * Update string ref to functional ref * Make ref load before use Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30190] Show spinner when loading invoices instead of 'no invoices found' (#7012) * [MM-T560] Add test for notifications (#6884) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-20492 Migrate 'components/post_view/post_message_view' module and … (#6738) * Cypress/E2E: Fix custom categories spec (#7011) * [MM-30216] - Add check for undefined fileInfos (#7019) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-20465] migrate single_image_view to typescript (#6774) * migrate single_image_view to typescript * fix unit test * resolove review comment * Update components/single_image_view/single_image_view.tsx * Guard clause fileinfo` Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Nev Angelova <nevyana.angelova@mattermost.com> Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-29903] - Check if current user is on last post when scrolling in rhs (#6920) * Scroll user to bottom when they are on the latest post in rhs * fix tests * Fix type check * Implement using getSnapshotBeforeUpdate * Remove comment box and set refs * Update scroll logic * resize rhs container correctly * Calculate with header height * fix type error * please linter * update snapshot Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Nevyana Angelova <nevyangelova@nevyanas-mbp-2.mynet> * MM-T614 Search on Outgoing Webhooks page (#6873) * wip * cleanup, optimize * remove file Co-authored-by: Mattermost <mattermost@Michaels-MacBook-Pro.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: Move cluster spec to enterprise (#7010) * Cypress/E2E: Move cluster spec to enterprise * Add @enterprise tag * MM-20578 Migrate 'components/admin_console/system_user_detail' module… (#6801) * [MM-20568] Migrate 'components/admin_console/system_users' module to ts (#6829) * Fixing title text in select team icon. (#7023) * MM-30090 Open managed resource links in a new tab (#7024) * MM-30090 Open managed resource links in a new tab * MM-30090 Add ManagedResourcePaths setting * Update test case to reflect new case * Fix types * Revert unnecessary type changes * Switch mattermost-redux back to master * MM-27903, MM-27899: Folded Reply Threads: ThreadItem and ThreadFooter (#6585) * wip: checkpoint * wip: fix tooltip * wip: checkpoint * move connected profile_picture back out of widgets * timestamp improvements * wip: threading components * wip: thread footer * timestamp story improvments * wip: threading components * wip: threading components * wip: threading comps * wip: thread menu * update testing * wip: testing updates * unit tests, storybook cleanup * tweak timestamp knob arrangement * i18n * stray apostrophe; snapshots-i18n * profile_picture index * misc cleanup * put prop-types rule back in * simple_tooltip remove FC * sync relative time spec * update snapshots * Update index.stories.js * Update story_box.tsx * remove trailing space * update url * remove frag * sb container width * review fixes * review fixes/improvements * review/other changes * simplify * actually add nowrap * fix new messages tooltip style * cleanup * improvements, clarity * clearer conditionals * remove unused css/simplify * use text-clamp mixin, fix knob typo * remove unused css props * remove empty file * fix bad role attr * sync css; test appended button * review changes * badge as button if it has a click handler * update snapshot Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate string-refs in user_list.jsx (#6704) * migrate string-refs in user_list.jsx * add unit test for user_list.jsx * remove the eslint-enable/disable comments + rename this.container Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T556] Add e2e test for MM-T556 (#7016) * Add e2e test for MM-T556 Add e2e test for Browser tab and team sidebar notification - no unreads/mentions Github Issues: Fixes https://github.com/mattermost/mattermost-server/issues/15705 Jira Ticket: MM-T556 * Fix finicky test * Move Remove mention notification to before() * Fix broken test * Linting Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-24505-Update-help-text-leave-team-modal (#6572) * message update for leave team modal and updated in i18en.json * implemented dynamic channl values and changed tests * update failing snapshot * added new strings for public and priivate cases * updated desc * update plurals in string * removed console log statement * modal description based on the counts * i18n order changed * i18n corrected * resolved suggestions * updated failing snapshot * corrected messages in modals * updated snapshot * rewordings to modal texts * guest modal message * guest modal condition added along with modal message * updated failing snapshot * added currentuser prop to the test file * Fixed type error in test file * Fixes condition * conditions for zero public & zero private for guest * modified conditions * Fixed modal messages * snapshot updated * Fixes * MM-29929 Fix for unread messages toast on marking channel as unread (#7028) * The initOffset we use for displaying toast should be only used mount as that is not a relative scroll position and is only set on mount * Changing this to show unread toast on all occasions of marking channel as unread other than channel at bottom * [MM-26386] - Respect user locale when searching for channels (#6904) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-25186] Bot username validation i8n support (#6629) * Migrate String Refs to Functional ones - MM 16039 (#6865) * MM-29849/MM-29942/MM-29982 Fix code theme not being applied (#7008) * Convert 'components/post_view/post_info' module and associated tests to TypeScript (#6619) * Convert 'components/post_view/post_info' module and associated tests to TypeScript. Based on conversations with @devin and @abdu - marking certain props as non-mandatory. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some issues from rebasing from latest master branch * Handling null checks for 'getCurrentChannel' calls. * Fixing issue with white page. * Fixing issue with check types. Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30183] - No more text decoration on hover and focus (#7020) * Fix no text decoration on hover and focus * revert extra space Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20470] Migrate emoji page and any team permission gate to typescript #15470 (#6645) * Migrate emoji page and any team permission gate to typescript * Convert delete_emoji_modal to typescript Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30226][MM-39255] Allow a post to be sent when you do CMD + ENTER on Mac with 'Allow all messages' to be sent via CMD + ENTER (#7031) * make a post be able to send when you do command enter when editing post * fix linting * Edit task to take into control mac command key * fix linting * [MM-30340] Update post height when comment box height change occurs (#7039) * [MM-30340] Update post height when comment box height change occurs * Update snaps * Add scroll to bottom to the resize function * Remove redundant check Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Translations update from Weblate (#7046) * Translated using Weblate (Japanese) Currently translated at 98.1% (4219 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4302 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4298 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 96.3% (4147 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Dutch) Currently translated at 99.6% (4310 of 4323 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.9% (4301 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Korean) Currently translated at 79.4% (3418 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Japanese) Currently translated at 97.5% (4220 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Korean) Currently translated at 79.7% (3453 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4214 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4215 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> * [MM-28181] e2e: add system_console/unsaved_changes_spec (#7009) * e2e: add system_console/unsaved_changes_spec * reflect revivew comments * 15474 convert team selector modal to ts (#6824) * Convert 'components/team_selector_modal' module and associated tests to TypeScript. * Fixing review comments. * Fixing review comments. * Fixing review comments. * Fixing bad merge Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-19509 Prioritize autocomplete results based on interactions and threads (#7002) * MM-19509 Prioritize autocomplete results based on interactions and threads * Add sort method of auto complete results to be based on last_viewed_at as well * Add new prop priorityResults to auto complete so we can add profiles like thread interactions on top * Fix sorting for remote results * Add E2E test for desktop notifications for empty strings (#6799) * Add E2E test for desktop notifications for empty strings * Update comments based on feedback * Typo Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20433 - convert view_pinned_posts to typescript (#7034) * MM-20433 - convert view_pinned_posts to typescript * fix linter errors Co-authored-by: Pablo Velez <pvelez@bp-3.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: fix test (#7052) * fix e2e test * make trial user configurable via env * fix order * [MM-29855] Migrate string-refs to functional ones: this.refs.content (#6867) * Update string refs to functional component based refs * Update string refs to functional component based refs * [MM-27231]: e2e for T1880 - deleted token cannot be used to post (#6901) * update api method to return more data, and add method to revoke token * test for T1880 - deletd token can't be used to post * fix comment * move methods to better place Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Fix menu rendering behind input box in RHS. (#7061) * [MM-27708] Disable Plugin on Removal (#6518) * [MM-30104][MM-30105] Fix up banners in payment_info and billing_subscription pages (#7063) * Fix up banners in payment_info and billing_subscription pages * Reset package-lock * Remove comment * [MM-27556] UI For new system roles (#6529) * Add translations * Basic skeleton without subsections visible * Allow roles to be saved and fix up styling * Dont allow sysadmins to be edited and dont allow self to be removed * Cleanup * Add translations * Save state properly * Update redux * Minor styling changes * Update redux * Bug fixes * Rename datagrid search to onSearch * Cleanup * UX fixes * Fix snaps * Forgot to check this in * Fix console error * Fix snaps * Expand by default if mixed access * update package json files * address PR comments * update redux hash * update redux hash * make disabled * add set navgiation blocked * Fix hash * make necessary changes * make read only admin editable * update function name * fix type check * fix lint issue * udpate redux hash * update search * update snap test * fix set navigation blocked after save * make conditional rendering for system manager * fix linting * go back after saving successfully * updat redux hash * Add Beta Tag Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * [MM-20428] Migrate terms of service to Typescript (#6965) * First pass * Added types everywhere * Fixed ESLint warnings and errors * Fix incorrect import * Updated snapshot * PR review feedback Co-authored-by: Christophe Carpentier <christophe.carpentier@imascap.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29621] Only load the stripe library when cloud components are actually rendered (#7067) * Only load the stripe library when cloud components are actually rendered * Use proper return type * Remove async * MM-20412: Migrate 'components/channel_header_mobile/show_search_button' module to TypeScript (#6969) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM 20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript (#6976) * MM-20404 * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix lint * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix linter Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27229 - Cypress/E2E: Automate backlogs - BOT Accounts - Part 06 (10 test cases) (#6772) Co-authored-by: Prapti <praptishrestha@gmail.com> Co-authored-by: Caleb Roseland <caleb@calebroseland.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate refs icon_url. #15801 (#6754) Automatic Merge * [GH-16035] Migrating refs plugin_management.tsx (#6866) Automatic Merge * [MM-29515] Hide imports tab when in cloud installation (#7069) * Hide imports tab when in cloud installation * fix types and linter * Revert package-lock to master * Make isCloud optional * MM-T446 DM More... searching from page 2 of user list (#7054) * wip * wip * revision * selector fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * DOPS-243 (#7075) DOPS-243 (#7075) * [GH-13483] Migrate 'components/channel_invite_modal' module and associated tests to TypeScript (#6968) * [WIP] migration to typescript * [WIP] further typescript changes * finalized move of component to typescript * [WIP] move index file to typescript * updated test to typescript * fix for types in index file * removed failing class import * [No Ticket] Update to latest redux hash and fixing test cases with missing types (#7084) Automatic Merge * [MM-27154] Cypress tests: Incoming Webhooks (#6977) * Incoming webhooks cypress tests * Remove unused variable * PR feedback * add license * PR feedback and lint * fix import path Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * fix failing tests due to announcement bar (#7077) * MM-27315 Cypress tests for Integrations > Slash command auto-complete (7 test cases) (#6909) * MM-30359: Cypress/E2E: Account Settings > Email (#7051) * MM-30359: Cypress/E2E: Account Settings > Email This PR automates the following test cases: MM-T2066 MM-T2067 MM-T2068 MM-T2069 MM-T2070 MM-T2071 MM-T2072 MM-T2073 https://mattermost.atlassian.net/browse/MM-30359 ```release-note NONE ``` * fix lint * add the other tests * Address review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T561] Add e2e test for MM-T561 (#7015) * Add e2e test Add test for: Browser tab and team sidebar - direct messages don't add indicator on team icon in team sidebar (but do in browser tab) Github Issues: Fix https://github.com/mattermost/mattermost-server/issues/15700 Jira Ticket: MM-T561 * Apply suggested review * Add cleanup for MM-T560_2 * Linting * Separate test file * Linting * Add prerequisite * Rename file * Remove old test Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28255] Add tests for OAuth Apps (#6558) * Add tests for OAuth Apps * Add remaining tests * Update test names, fix typos and add explicit status codes * Add group and license check * Move tests to enterprise folder Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-29858: Migrate string refs to functional ones in autosize textarea component (#6885) * MM-29858: Migrate string refs to functional ones in autosize textarea component * MM-29858: Rename reference instance variable with suffix Ref * MM-29858: Use camel casing for textarea reference variable * MM-29858: Allow empty value for textarea Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate errorMessage string ref (#6882) Automatic Merge * MM-T329 Image link preview (#7005) * wip * wip * finished * revision * remove log Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28150] e2e: add MM-T924, MM-T928, MM-T929, MM-T930 (#7045) * e2e: add MM-T924, MM-T928, MM-T929, MM-T930 * reflect review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30363: Cypress/E2E: Automate backlogs - Edit Bot Username (1 test case) (#7073) * MM-30373 - first iteration * MM-30377 - first iteration * remove spurious file * MM-30377 - further iteration * MM-30363 - first iteration * remove extra file * some cleanup * remoe extra space Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * promote and demote tests to/from prod (#7080) * Cypress/E2E: Fix toast appears unread spec (#7081) * change super to system (#7076) * MM-20418: Migrate 'components/channel_selector_modal' module and associated tests to TypeScript (#6975) * DOPS-243: Fix images (#7089) DOPS-243: Fix images (#7089) * MM-T439 Town Square is not marked as unread for existing users when a new user is added to the team (#7053) Automatic Merge * [MM-20582] Migrate 'components/admin_console/team_channel_settings/ch… (#6840) * MM-20465 Fix for collapse/expand of image preview (#7085) * The toggle function requires id and not post * This was most likely changed to fix a ts error * MM-20465 Revert usage of getCurrentChannel to getCurrentChannelId where possible (#7064) * [MM-29821] Prefer TypeScript files over JavaScript in webpack (#7090) * [MM-30317] add MANAGE_REMOTE_CLUSTERS permission (#7060) * add MANAGE_REMOTE_CLUSTERS permission * Update i18n/en.json Co-authored-by: Doug Lauder <wiggin77@warpmail.net> Co-authored-by: Doug Lauder <wiggin77@warpmail.net> * MM-20416: Migrate 'components/channel_header_mobile/collapse_lhs_button' module to TypeScript (#6971) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove Cloud billing flag from System Console (#7096) (cherry picked from commit 6c35b79ac663756b5e31f0b878531aabec68efd3) Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com> * Translations update from Weblate (#7100) * Translated using Weblate (Turkish) Currently translated at 100.0% (4390 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4329 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (German) Currently translated at 90.4% (3915 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/de/ * Translated using Weblate (Korean) Currently translated at 80.1% (3468 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4328 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Russian) Currently translated at 95.0% (4113 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4328 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 98.4% (4322 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 96.7% (4246 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4119 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 92.7% (4072 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4325 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Alexey Napalkov <flynbit@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> * Migrate 'components/announcement_bar/default_announcement_bar' module and associated tests to TypeScript (#6963) * rename file * working except for test file * restore unincluded test file to jsx * pass npm make check * update snapshot * respond to review comments * checkout package-lock.json * revert package-lock.json changes * fix linting errors Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate this.ref.dotMenu to functional (#6957) * Migrate this.ref.dotMenu to functional * Fixed formatting * Fix reference * rename dotMenu to dotMenuRef for consistency with other PRs, remove comments * Removed blanked line to pass lint check Co-authored-by: root <root@DESKTOP-4IBHFV5.localdomain> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20897 Add category muting (#7033) * MM-20897 Add ability to mute categories * Increase timeout to ensure test passes * Add E2E test for moving channels into muted categories * Update mattermost-redux to branch * Fix unit tests * Fix types * Update snapshot * asdf * Add additional E2E test and API client infrastructure * MM-24293 Fix to have group channels return in quick switcher with space (#7059) * MM-24293 Fix to have group channels return in quick siwchter with space * Split the search term by spaces and match with users in group channels * Update components/suggestion/switch_channel_provider.jsx Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * If card year is 0 return false for isExpired (#7101) * Converted 'dot_menu' to typescript. (#6825) * Migrate string refs of reset password modal (#7038) Automatic Merge * MM-20415 Migrate 'components/channel_header_mobile/unmute_channel_button' module and associated tests to TypeScript (#6972) * MM-30477 Fix for autocomplete not closing (#7093) Automatic Merge * MM-20897 Cleanup a couple missed issues (#7106) * MM-T638 Webhook posts when webhook creator is not a member of the channel (#7091) * wip * wip * wip * wip * added check * small fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript (#6668) * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript Fixes https://github.com/mattermost/mattermost-server/issues/15460 JIRA: https://mattermost.atlassian.net/browse/MM-20481 * Make actions attribute non nullable * Require YoutubeVideo's postId property since it really is * Fix tests * Add stages for onprem * Add build-vars stage * set isDisabled prop for site > notices (#7103) Automatic Merge * [MM-27931][MM-30158] Multi-selection and dragging of channels (#6979) * [MM-27931] Multiselection of channels * Test fix * Lint fix * Change opacity of selected state to 0.24 * Added hover state for selected channels * Tests for multiSelect * Drag and drop working (without visuals, missing redux commit) * Multi drag and drop styles (fade the selected channels, might change) * Don't allow multisellected channels to be dropped where they shouldn't be * Lint, type, test, translation fixes * Allow dragging of non matching channel groups by rejecting the channels that don't match * Redux update * Another test fix * Fixed selected count style to work off of center channel exclusively * Added really obvious styling * Style change/PR feedback * Style change * Include active channel in all initial selections * PR feedback * Add constant for shifted index Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20572] Migrate 'components/admin_console/compliance_reports' to TypeScript (#13500) (#7036) Automatic Merge * MM-30087 Remove direct dependency between Client4 and Rudder (#7056) * MM-30087 Remove direct dependency between Client4 and Rudder * Update tests * Switch mattermost-redux to master * Fix missing types * Change how we mock and import rudder * Remove test that checks if events are sent to Rudder * [MM_20423]'external_image'module to ts (#16151) (#7025) - migrate ts index.js file - migrate ts for external_image.tsx - migrate ts for external_images.test.jsx Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * Fix issue 16144: migrate components/claim module and tests to TypeScript (#7043) Automatic Merge * MM-T2056 e2e to test, Username change reflecting for other users (#7074) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-26334] Fixes direct messages loading screen misalignment (#6813) Summary: Reduces the height of the loading screen so it is more centered and/or unintrusive(small screens) enough to remove the scroll bar during loading. Ticket Link: Fixes https://github.com/mattermost/mattermost-server/issues/15926 * Translations update from Weblate (#7122) * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4121 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 98.9% (4345 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4392 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Spanish) Currently translated at 97.7% (4292 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4341 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> * MM-28153: Cypress/E2E: Automate backlogs - System Console > Environment (8 test cases) (#7049) * MM-30377: Cypress/E2E: Automate backlogs - Messaging > Channel and Post Links (6 test cases) (#7072) * MM-30355: Cypress/E2E: Automate backlogs - Account Settings > Username (6 test cases) (#7062) * MM-27208 Add tests for MM-T1684, MM-T1687, and MM-T1688 (#7124) * MM-27208 MM-T1684 Add test number to existing test case * Fix makeClient for requests without a body * MM-27208 MM-T1687 Add test for another user archiving a channel * MM-27208 MM-T1688 Add test for searching in archived channels * Translations update from Weblate (#7139) * Translated using Weblate (Spanish) Currently translated at 99.1% (4357 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4344 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Dutch) Currently translated at 98.9% (4349 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.4% (4327 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> * [MM-20498] components/post_view/combined_system_message' to TypeScript (#7109) * Added Initial Ts conversion to last_users and last_user_test * Converted combined system message * Completed all files conversion * Updated Snapshots * Minor fix * Minor Fixes * Minor Fixes * Migrate 'components/sidebar_right_menu' module to TypeScript (#6962) * Converted 'leave_channel' to typescript. (#7115) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20581] Migrate index to TS in 'components/admin_console/team_channel_settings/channel/details' module (#6924) * mark browser.focused as false if starting in the background (#7050) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27989 Remove experimental setting for data prefetch (#7094) Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com> * [MM-27207] e2e leave archived channels I - last (#7117) Automatic Merge * MM-30370: Cypress/E2E: Automate backlogs - Keyboard Shortcuts (10 test cases) (#7113) Automatic Merge * MM-30371: Cypress/E2E: Automate backlogs - Keyboard Shortcuts part 2 (10 test cases) (#7112) * temporary work * further iteration * further work * Address CR comments Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29853] Migrate string-refs to functional ones: this.refs.fileInput (#7153) * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function Co-authored-by: lestgabo <lestgabo@gmail.com> * Fix display of boolean feature flags in system console. (#7156) * MM-30992 Add the capability to run part by part for Cypress parallel testing (part 1) (#7140) * add the capability to run part by part for Cypress parallel testing * update per comment and add default values * throw an error if --part is greater than --of * Cypress/E2E: Fix email verification that works both with current, Cloud and parallel testing (part 2) (#7142) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * update per comment * Cypress/E2E: Fix for several flaky tests (part 3) (#7143) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * Cypress/E2E: Fix tests for cloud (part 4) (#7147) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * fix tests for cloud * clean up label and flag * simplify log of license status and add log of server details * update per comment * fix return of Cypress custom commands (#7159) * [MM-30354] e2e fullname (#7126) Automatic Merge * Migrate to typescript Apps related files (#7021) * Migrate to typescript Apps related files * Use correct react-overlays types version * PR feedback * fix types * fix types * temporarily use any * remove unused import * Remove unneeded comments * Extract stringToNumber to utils * Fix minor warning on the console * Fix lint Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * MM-30972 Add proper padding to code preview line numbers (#7155) Automatic Merge * MM-28412: Add tm4j key (#7171) * [MM-26593] Disable pointer events on LHS scrollbar when scrolling isn't required (#7120) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Update NOTICE.txt (#7102) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30376 Cypress/E2E: Automate backlogs - Messaging (8 test cases) (#7141) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30969] Drop aria-label from Marketplace item description (#7133) * Drop aria-label from Marketplace item description * Add general aria-label * Translations update from Weblate (#7182) * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.8% (4383 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4344 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4346 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4393 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.2% (4356 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.1% (4356 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.2% (4359 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Japanese) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Russian) Currently translated at 93.9% (4125 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Lev <blendamedkiba94@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * MM-31115 - Fixed "how billing works" cloud link (#7183) * [MM-30372] Cypress/E2E: Automate backlogs - Messaging > Reply (#7149) * Implement Cypress test * Fix comments * Update e2e/cypress/integration/messaging/message_reply_part2_spec.js Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-30374: Cypress/E2E: Messaging > Markdown (#7146) * MM-30374: Cypress/E2E: Messaging > Markdown This PR automates MM-T1734 MM-T2241 MM-T2242 MM-T2244 MM-T2246 https://mattermost.atlassian.net/browse/MM-30374 ```release-note NONE ``` * incorporate review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30810 Remove special props from /me post (#7163) * [MM-30449] - Hide create category option when unread filter is enabled (#7151) * [MM-30449] - Hide create category option when unread filter is enabled * Fix lint * Update snaps Co-authored-by: Nevyana Angelova <nevyangelova@Nevyan…
Squashed commit of the following: commit 45682c25642f00fe2d967a396ab75527cba93a31 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 30 10:46:30 2021 +0200 Handle modal double submit commit d7f792eab390256180e131f5d902cd52535fdd61 Merge: 3fd6e9325 e53a8358f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:36:44 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 3fd6e9325c79beae42d0ebd041fc93b1e1009a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:22:54 2021 +0100 Remove Enable/Disable and Remove from System Console for cloud apps (#7651) * Remove Enable/Disable and Remove from System Console for cloud apps * Set buttons as null * Allow change the status when the feature flag is on * Fix test * Update snapshots Co-authored-by: Mattermod <mattermod@users.noreply.github.com> commit 7b4be8ebf51f251451f4900d1e5a363884306c93 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:11:01 2021 +0100 Case independency fixes (#7722) commit af6ba8797cd5c5387f2ed77fddcad82ddde81932 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:08:19 2021 +0100 Use Feature flag (#7643) * Use Feature flag * Fix test and minor improvement * Simplify return commit de7bca6c0782b47e2af101b2555894e0d80bf129 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 17 10:29:36 2021 -0400 Synchronize app command parser with mobile app (#7706) * Use type on call path, and minor refactoring * Add missing i18n * move files into app_command_parser folder * Fix navigation and small fix on error handling * include mobile app changes to command parser * i18n * types and lint * use intl * change i18n ids * tests * test fixes * add more tests for button_binding and select_binding * lint * fix merege issue * incorporate changes from #7703 * add translation * fix and i18n * remove unused translation Co-authored-by: Daniel Espino García <larkox@gmail.com> commit b54d6c52cda1c48adeb83e24f43901e3fdca7dc6 Merge: 05a669c46 ee77df3f0 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 12:15:35 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 05a669c46cfb85adc8e02f3ab2ea97a5a9ffe7e3 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 04:45:19 2021 +0100 Use type on call path, and minor refactoring (#7679) * Use type on call path, and minor refactoring * Add missing i18n * Fix navigation and small fix on error handling * Update redux reference * Fix types * Fix test * Fix test * Address PR Feedback commit 9b1cbbff02a092ef9a7d3a26fe0e016c257c4545 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:32:16 2021 +0100 Remove autocomplete of ~ and @ for user and channel suggestions (#7667) commit 00685fc935148b00ab6049ffb68e63a0a7a3399f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:29:52 2021 +0100 Fix command errors (#7664) commit 83a24ddc0d313c492410e644232720cee4f4dc94 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:27:04 2021 +0100 Command send options (user, channel, dynamic and static) as options and not only values. (#7650) * Command send options (user, channel, dynamic and static) as options and not only values. * Fetch users from server or generate error * Fix i18 and fix minor typo commit 6c1fea615501be4924d3fb9eaf8a987fdbe2552c Merge: d06cdffb8 507991558 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 9 11:14:07 2021 +0100 Merge branch 'master' into feature/cloud-apps commit d06cdffb86def63d4fa67f145775d6b6ce3deb3d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 8 15:08:35 2021 +0100 Fix multiword select options and keep quotes on complete values (#7644) * Fix multiword select options and keep quotes on complete values * Fix test commit e1d67a169ae88d43c9f76f0dc11d94db7e9722df Author: Daniel Espino García <larkox@gmail.com> Date: Sat Mar 6 11:55:43 2021 +0100 Fix channel header dropdown icon size and count (#7642) commit c5c86ca148002ac11a97035fbba6d50f55630fde Author: Daniel Espino García <larkox@gmail.com> Date: Thu Mar 4 11:47:21 2021 +0100 All select use AppSelectOption (#7612) * All select use AppSelectOption * Fix test commit 2f0ab8f9e9fd602fad5cf4d6cf258dbda5b95c8c Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Mar 4 11:13:45 2021 +0100 Use App id to install App from Marketplace (#7631) * Use App id to install App from Marketplace * Fix tests commit 94a86bec10017df9f22bc78ad04aa0d2596c3e24 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 09:24:35 2021 +0100 Add refresh websocket event (#7599) * Add refresh websocket event * Make more obvious the App framework events * Fix typo and separate handler into a function commit bde2a3488503b60cd5deb273f29ad035f93c0dfb Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 06:25:03 2021 +0100 Handle errors on binding locations (#7556) * Handle errors on binding locations * Fix types * Fix lint * Translate and handle all messages directly in the binding * Fix various errors * Fix snapshot commit 8868f33acc0a1fa089354ce7fa9e99dcfd404eec Merge: 2e3c92e28 db27a519d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 1 12:02:52 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 2e3c92e2827fc37890796768e157c16042b4e4e4 Author: Daniel Espino García <larkox@gmail.com> Date: Fri Feb 26 23:00:48 2021 +0100 Fix App parser (#7555) * Fix parser * Fix lint * Fix test commit c9dc94fd80bf6fbb1e18c2e3e1d88b4f5d3eff47 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Feb 26 19:17:30 2021 +0100 [MM-31508] Rename URL to Path in Call (#7566) commit 6b0675fcadee8ee24df6bdf7c4ff713e27a732c9 Merge: 5790e6316 82790213b Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 24 10:03:00 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 5790e6316b5110b8828a768a4ee37d92d107c91c Author: Daniel Espino García <larkox@gmail.com> Date: Tue Feb 16 12:48:49 2021 +0100 Rework embedded forms (#7423) * Rework embedded forms * Improve naming * Improve naming, improve binding filling and trimming and use binding as the base element of a EmbeddedBinding * Move appsEnabled to utils/apps.ts * Add a create request function, add logging, and check for undefined bindings. commit 5f2660f6adefcf1668f71f905622f4a150d5f95d Merge: faaebe611 f7ea0ec34 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 15 14:22:55 2021 +0100 Merge branch 'master' into feature/cloud-apps commit faaebe6115684c7cae5abd748d963980f9626a9e Author: Lev <1187448+levb@users.noreply.github.com> Date: Sat Feb 13 15:53:56 2021 -0800 Refactored apps command parser (#7426) * Fixed command autocomplete for no fields * make test * small fix: restore * wip * wip wip * wip appears to compile * first tests * Consolidated TC type and checks * ParseForm tests work, again * ParseForm tests work, again * unit tests work * nit * PR feedback, some debugging * PR feedback * PR feedback: moved methods into ParsedCommand * merging... * more merging * more more merging commit 50babb5bcef3dbc044e2cb69ef40cee69fefa820 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 19:00:55 2021 +0100 [MM-31088] Set submit buttons to the bottom of the form (#7473) * Set submit buttons to the bottom of the form * Fix typescript * Fix test * Fix lint commit e5619c9a1cc49f246c43ddd116b8b62946907bf5 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 15:31:50 2021 +0100 Isolate Apps to disable them whenever needed (#7376) * Isolate Apps to disable them whenever needed * Use feature flags * Isolate command_provider * Change shouldProcessApps by a more meaningful name appsEnabled * Fix test commit 1f866cdfd6972607decdbe64014ebb7d7566ad3f Merge: e65f8e066 3a24c6a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 13:23:13 2021 +0100 Merge branch 'master' into feature/cloud-apps commit e65f8e06613fc5a5d31573071c42d407dc799462 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Tue Feb 9 09:59:38 2021 +0100 [MM-32476] Apps in the Marketplace (#7474) commit 93e7c3421fef3f7f7a50bbc095512116f7976553 Merge: b2ef64e41 00b9e12d0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Feb 4 13:20:10 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit b2ef64e4132f500dd4d3c7226b87da8c58bd3a25 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:58:03 2021 +0100 Update redux reference commit 63f211746e975e5509d7d749c9c26d2cfcd39963 Merge: 837694a9b 0de03d607 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:54:11 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 837694a9b3a61911cd3c3e9cf21b678b3182b6fa Merge: c1cd297e9 b819372f0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Jan 29 13:53:47 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit c1cd297e94a9dcaea00508ad11c696d512365fdd Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 27 11:58:32 2021 +0100 Add Navigate to AppCallResonses handling (#7377) commit 44d85a493644efff7bd6363d95f888b681ada21d Author: Jason Frerich <jason.frerich@mattermost.com> Date: Wed Jan 27 04:58:12 2021 -0600 use label tag, not paragraph (#7378) commit 0411421a0af3d014c1adbf15c16f431d835e88bc Author: Daniel Espino García <larkox@gmail.com> Date: Tue Jan 26 17:44:12 2021 +0100 Fix Embedded forms after refactor (#7331) * Fix Embedded forms after refactor * Fix lint commit 9eba5ecc26885cc0e252c4d7ac2fbbff8510a078 Merge: 4f5f04144 b252c8a44 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 12:31:46 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4f5f04144375d6a2ce591265e8c78d3eab40919e Merge: 4716206ff 97e741e1d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 11:30:51 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4716206ffa48b174a8a8aa7882158c43c0f2ab3a Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:16:56 2021 +0100 Point to latest redux commit 0122d36712de26a51440ced499d77fdd956fe7aa Merge: f27d6e1cf 19b189c04 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:02:26 2021 +0100 Merge branch 'master' into feature/cloud-apps commit f27d6e1cf898eb71f5424c9520ef81c76a8ae28b Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Thu Jan 14 17:09:42 2021 -0500 Dynamic Apps Modals (#7166) * First approach on embedded forms * Fix lint * Render form in the RHS * Send needed information along the form * Address feedback * Use proper redux version * Add embedded buttons * Handle embedded forms as new modals * Improve state handling * Remove unneeded changes * Fix lint * Migrate button_selector to typescript and make buttons disabled * Fix lint * Make errors work on Embedded and Modal forms * Handle button field type from app forms * Consider button fields also select fields and handle submit_buttons field * dynamic select works. modal can refresh on submit * updates for refreshing on select * fix types * mm-redux * types * snapshot * change react-select import * fix react-select type * submit buttons * error handling * import lint * fix embedded form props * lint * updates for call structure * lint * mm-redux * move presentation field from call to binding * update tests * update prop for test * modal maintains its own state until it unmounts/closes * fix test * mm-redux and fix * fixes for using form call * remove dispatch * fix post id * fix command lookups. allow commands to open modals through binding's presentation * mm-redux * remove interactive dialog field references * fix test * test updates * use global store for command_provider, which is mocked in test * call.type == 'form' && response.type == 'form' opens a modal * lint * remove makeLookupCallPayload * lint * fix imports * fix import Co-authored-by: Daniel Espino García <larkox@gmail.com> commit 6f9f30379191db3f9988113ffdc950a2b2fbff86 Author: Daniel Espino García <larkox@gmail.com> Date: Thu Jan 14 14:59:49 2021 +0100 Fix missing channel header buttons (#7322) commit be9f4ff9bc770dff1723a8938010537486de7812 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 13 09:48:41 2021 +0100 Merge master to feature branch (#7250) * [MM-30193] change file attachment info to show fractions below 10 (#6935) * change fileinfo to show fractions below 10M * fix formatting * add linting fixes and clean up code * fix incorrect brackets Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Revert "Mm 29111 search bar and search results as fc (#6796)" (#6999) This reverts commit 9fba9a9789e3e1e6194daa36aabe343859e8511b. * [MM-20196] Use UTC timezone for formattedDate so it doesn't change the date (#7000) * Use UTC timezone for formattedDate so it doesn't change the date * Add toUTCString * Remove it because it isn't needed * Add to last invoice summary * Make invoice.tax a boolean so a rogue 0 isn't rendered (#7001) * Translations update from Weblate (#7006) * Translated using Weblate (Dutch) Currently translated at 99.9% (4294 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.5% (4275 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.6% (4270 of 4285 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Spanish) Currently translated at 99.2% (4264 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4295 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 96.0% (4126 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * [MM-30066] Allow sidebar category button width to grow and shrink as needed (#6955) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate team_list and team_row to typescript (#6914) Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> * [MM-20482] Migrate 'components/post_view/channel_intro_message' module … (#6729) * MM-28843 Adding feature flags to system console for easy diagnosis. (#6905) * Adding feature flags to system console for easy diagnosis. * Use AdminConfig type. * Redux update. * [MM-29850] Migrate string-refs to functional ones: this.refs.errorMessage (#6881) * Update string ref to functional ref * Make ref load before use Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30190] Show spinner when loading invoices instead of 'no invoices found' (#7012) * [MM-T560] Add test for notifications (#6884) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-20492 Migrate 'components/post_view/post_message_view' module and … (#6738) * Cypress/E2E: Fix custom categories spec (#7011) * [MM-30216] - Add check for undefined fileInfos (#7019) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-20465] migrate single_image_view to typescript (#6774) * migrate single_image_view to typescript * fix unit test * resolove review comment * Update components/single_image_view/single_image_view.tsx * Guard clause fileinfo` Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Nev Angelova <nevyana.angelova@mattermost.com> Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-29903] - Check if current user is on last post when scrolling in rhs (#6920) * Scroll user to bottom when they are on the latest post in rhs * fix tests * Fix type check * Implement using getSnapshotBeforeUpdate * Remove comment box and set refs * Update scroll logic * resize rhs container correctly * Calculate with header height * fix type error * please linter * update snapshot Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Nevyana Angelova <nevyangelova@nevyanas-mbp-2.mynet> * MM-T614 Search on Outgoing Webhooks page (#6873) * wip * cleanup, optimize * remove file Co-authored-by: Mattermost <mattermost@Michaels-MacBook-Pro.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: Move cluster spec to enterprise (#7010) * Cypress/E2E: Move cluster spec to enterprise * Add @enterprise tag * MM-20578 Migrate 'components/admin_console/system_user_detail' module… (#6801) * [MM-20568] Migrate 'components/admin_console/system_users' module to ts (#6829) * Fixing title text in select team icon. (#7023) * MM-30090 Open managed resource links in a new tab (#7024) * MM-30090 Open managed resource links in a new tab * MM-30090 Add ManagedResourcePaths setting * Update test case to reflect new case * Fix types * Revert unnecessary type changes * Switch mattermost-redux back to master * MM-27903, MM-27899: Folded Reply Threads: ThreadItem and ThreadFooter (#6585) * wip: checkpoint * wip: fix tooltip * wip: checkpoint * move connected profile_picture back out of widgets * timestamp improvements * wip: threading components * wip: thread footer * timestamp story improvments * wip: threading components * wip: threading components * wip: threading comps * wip: thread menu * update testing * wip: testing updates * unit tests, storybook cleanup * tweak timestamp knob arrangement * i18n * stray apostrophe; snapshots-i18n * profile_picture index * misc cleanup * put prop-types rule back in * simple_tooltip remove FC * sync relative time spec * update snapshots * Update index.stories.js * Update story_box.tsx * remove trailing space * update url * remove frag * sb container width * review fixes * review fixes/improvements * review/other changes * simplify * actually add nowrap * fix new messages tooltip style * cleanup * improvements, clarity * clearer conditionals * remove unused css/simplify * use text-clamp mixin, fix knob typo * remove unused css props * remove empty file * fix bad role attr * sync css; test appended button * review changes * badge as button if it has a click handler * update snapshot Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate string-refs in user_list.jsx (#6704) * migrate string-refs in user_list.jsx * add unit test for user_list.jsx * remove the eslint-enable/disable comments + rename this.container Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T556] Add e2e test for MM-T556 (#7016) * Add e2e test for MM-T556 Add e2e test for Browser tab and team sidebar notification - no unreads/mentions Github Issues: Fixes https://github.com/mattermost/mattermost-server/issues/15705 Jira Ticket: MM-T556 * Fix finicky test * Move Remove mention notification to before() * Fix broken test * Linting Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-24505-Update-help-text-leave-team-modal (#6572) * message update for leave team modal and updated in i18en.json * implemented dynamic channl values and changed tests * update failing snapshot * added new strings for public and priivate cases * updated desc * update plurals in string * removed console log statement * modal description based on the counts * i18n order changed * i18n corrected * resolved suggestions * updated failing snapshot * corrected messages in modals * updated snapshot * rewordings to modal texts * guest modal message * guest modal condition added along with modal message * updated failing snapshot * added currentuser prop to the test file * Fixed type error in test file * Fixes condition * conditions for zero public & zero private for guest * modified conditions * Fixed modal messages * snapshot updated * Fixes * MM-29929 Fix for unread messages toast on marking channel as unread (#7028) * The initOffset we use for displaying toast should be only used mount as that is not a relative scroll position and is only set on mount * Changing this to show unread toast on all occasions of marking channel as unread other than channel at bottom * [MM-26386] - Respect user locale when searching for channels (#6904) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-25186] Bot username validation i8n support (#6629) * Migrate String Refs to Functional ones - MM 16039 (#6865) * MM-29849/MM-29942/MM-29982 Fix code theme not being applied (#7008) * Convert 'components/post_view/post_info' module and associated tests to TypeScript (#6619) * Convert 'components/post_view/post_info' module and associated tests to TypeScript. Based on conversations with @devin and @abdu - marking certain props as non-mandatory. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some issues from rebasing from latest master branch * Handling null checks for 'getCurrentChannel' calls. * Fixing issue with white page. * Fixing issue with check types. Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30183] - No more text decoration on hover and focus (#7020) * Fix no text decoration on hover and focus * revert extra space Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20470] Migrate emoji page and any team permission gate to typescript #15470 (#6645) * Migrate emoji page and any team permission gate to typescript * Convert delete_emoji_modal to typescript Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30226][MM-39255] Allow a post to be sent when you do CMD + ENTER on Mac with 'Allow all messages' to be sent via CMD + ENTER (#7031) * make a post be able to send when you do command enter when editing post * fix linting * Edit task to take into control mac command key * fix linting * [MM-30340] Update post height when comment box height change occurs (#7039) * [MM-30340] Update post height when comment box height change occurs * Update snaps * Add scroll to bottom to the resize function * Remove redundant check Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Translations update from Weblate (#7046) * Translated using Weblate (Japanese) Currently translated at 98.1% (4219 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4302 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4298 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 96.3% (4147 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Dutch) Currently translated at 99.6% (4310 of 4323 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.9% (4301 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Korean) Currently translated at 79.4% (3418 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Japanese) Currently translated at 97.5% (4220 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Korean) Currently translated at 79.7% (3453 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4214 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4215 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> * [MM-28181] e2e: add system_console/unsaved_changes_spec (#7009) * e2e: add system_console/unsaved_changes_spec * reflect revivew comments * 15474 convert team selector modal to ts (#6824) * Convert 'components/team_selector_modal' module and associated tests to TypeScript. * Fixing review comments. * Fixing review comments. * Fixing review comments. * Fixing bad merge Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-19509 Prioritize autocomplete results based on interactions and threads (#7002) * MM-19509 Prioritize autocomplete results based on interactions and threads * Add sort method of auto complete results to be based on last_viewed_at as well * Add new prop priorityResults to auto complete so we can add profiles like thread interactions on top * Fix sorting for remote results * Add E2E test for desktop notifications for empty strings (#6799) * Add E2E test for desktop notifications for empty strings * Update comments based on feedback * Typo Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20433 - convert view_pinned_posts to typescript (#7034) * MM-20433 - convert view_pinned_posts to typescript * fix linter errors Co-authored-by: Pablo Velez <pvelez@bp-3.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: fix test (#7052) * fix e2e test * make trial user configurable via env * fix order * [MM-29855] Migrate string-refs to functional ones: this.refs.content (#6867) * Update string refs to functional component based refs * Update string refs to functional component based refs * [MM-27231]: e2e for T1880 - deleted token cannot be used to post (#6901) * update api method to return more data, and add method to revoke token * test for T1880 - deletd token can't be used to post * fix comment * move methods to better place Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Fix menu rendering behind input box in RHS. (#7061) * [MM-27708] Disable Plugin on Removal (#6518) * [MM-30104][MM-30105] Fix up banners in payment_info and billing_subscription pages (#7063) * Fix up banners in payment_info and billing_subscription pages * Reset package-lock * Remove comment * [MM-27556] UI For new system roles (#6529) * Add translations * Basic skeleton without subsections visible * Allow roles to be saved and fix up styling * Dont allow sysadmins to be edited and dont allow self to be removed * Cleanup * Add translations * Save state properly * Update redux * Minor styling changes * Update redux * Bug fixes * Rename datagrid search to onSearch * Cleanup * UX fixes * Fix snaps * Forgot to check this in * Fix console error * Fix snaps * Expand by default if mixed access * update package json files * address PR comments * update redux hash * update redux hash * make disabled * add set navgiation blocked * Fix hash * make necessary changes * make read only admin editable * update function name * fix type check * fix lint issue * udpate redux hash * update search * update snap test * fix set navigation blocked after save * make conditional rendering for system manager * fix linting * go back after saving successfully * updat redux hash * Add Beta Tag Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * [MM-20428] Migrate terms of service to Typescript (#6965) * First pass * Added types everywhere * Fixed ESLint warnings and errors * Fix incorrect import * Updated snapshot * PR review feedback Co-authored-by: Christophe Carpentier <christophe.carpentier@imascap.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29621] Only load the stripe library when cloud components are actually rendered (#7067) * Only load the stripe library when cloud components are actually rendered * Use proper return type * Remove async * MM-20412: Migrate 'components/channel_header_mobile/show_search_button' module to TypeScript (#6969) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM 20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript (#6976) * MM-20404 * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix lint * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix linter Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27229 - Cypress/E2E: Automate backlogs - BOT Accounts - Part 06 (10 test cases) (#6772) Co-authored-by: Prapti <praptishrestha@gmail.com> Co-authored-by: Caleb Roseland <caleb@calebroseland.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate refs icon_url. #15801 (#6754) Automatic Merge * [GH-16035] Migrating refs plugin_management.tsx (#6866) Automatic Merge * [MM-29515] Hide imports tab when in cloud installation (#7069) * Hide imports tab when in cloud installation * fix types and linter * Revert package-lock to master * Make isCloud optional * MM-T446 DM More... searching from page 2 of user list (#7054) * wip * wip * revision * selector fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * DOPS-243 (#7075) DOPS-243 (#7075) * [GH-13483] Migrate 'components/channel_invite_modal' module and associated tests to TypeScript (#6968) * [WIP] migration to typescript * [WIP] further typescript changes * finalized move of component to typescript * [WIP] move index file to typescript * updated test to typescript * fix for types in index file * removed failing class import * [No Ticket] Update to latest redux hash and fixing test cases with missing types (#7084) Automatic Merge * [MM-27154] Cypress tests: Incoming Webhooks (#6977) * Incoming webhooks cypress tests * Remove unused variable * PR feedback * add license * PR feedback and lint * fix import path Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * fix failing tests due to announcement bar (#7077) * MM-27315 Cypress tests for Integrations > Slash command auto-complete (7 test cases) (#6909) * MM-30359: Cypress/E2E: Account Settings > Email (#7051) * MM-30359: Cypress/E2E: Account Settings > Email This PR automates the following test cases: MM-T2066 MM-T2067 MM-T2068 MM-T2069 MM-T2070 MM-T2071 MM-T2072 MM-T2073 https://mattermost.atlassian.net/browse/MM-30359 ```release-note NONE ``` * fix lint * add the other tests * Address review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T561] Add e2e test for MM-T561 (#7015) * Add e2e test Add test for: Browser tab and team sidebar - direct messages don't add indicator on team icon in team sidebar (but do in browser tab) Github Issues: Fix https://github.com/mattermost/mattermost-server/issues/15700 Jira Ticket: MM-T561 * Apply suggested review * Add cleanup for MM-T560_2 * Linting * Separate test file * Linting * Add prerequisite * Rename file * Remove old test Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28255] Add tests for OAuth Apps (#6558) * Add tests for OAuth Apps * Add remaining tests * Update test names, fix typos and add explicit status codes * Add group and license check * Move tests to enterprise folder Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-29858: Migrate string refs to functional ones in autosize textarea component (#6885) * MM-29858: Migrate string refs to functional ones in autosize textarea component * MM-29858: Rename reference instance variable with suffix Ref * MM-29858: Use camel casing for textarea reference variable * MM-29858: Allow empty value for textarea Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate errorMessage string ref (#6882) Automatic Merge * MM-T329 Image link preview (#7005) * wip * wip * finished * revision * remove log Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28150] e2e: add MM-T924, MM-T928, MM-T929, MM-T930 (#7045) * e2e: add MM-T924, MM-T928, MM-T929, MM-T930 * reflect review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30363: Cypress/E2E: Automate backlogs - Edit Bot Username (1 test case) (#7073) * MM-30373 - first iteration * MM-30377 - first iteration * remove spurious file * MM-30377 - further iteration * MM-30363 - first iteration * remove extra file * some cleanup * remoe extra space Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * promote and demote tests to/from prod (#7080) * Cypress/E2E: Fix toast appears unread spec (#7081) * change super to system (#7076) * MM-20418: Migrate 'components/channel_selector_modal' module and associated tests to TypeScript (#6975) * DOPS-243: Fix images (#7089) DOPS-243: Fix images (#7089) * MM-T439 Town Square is not marked as unread for existing users when a new user is added to the team (#7053) Automatic Merge * [MM-20582] Migrate 'components/admin_console/team_channel_settings/ch… (#6840) * MM-20465 Fix for collapse/expand of image preview (#7085) * The toggle function requires id and not post * This was most likely changed to fix a ts error * MM-20465 Revert usage of getCurrentChannel to getCurrentChannelId where possible (#7064) * [MM-29821] Prefer TypeScript files over JavaScript in webpack (#7090) * [MM-30317] add MANAGE_REMOTE_CLUSTERS permission (#7060) * add MANAGE_REMOTE_CLUSTERS permission * Update i18n/en.json Co-authored-by: Doug Lauder <wiggin77@warpmail.net> Co-authored-by: Doug Lauder <wiggin77@warpmail.net> * MM-20416: Migrate 'components/channel_header_mobile/collapse_lhs_button' module to TypeScript (#6971) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove Cloud billing flag from System Console (#7096) (cherry picked from commit 6c35b79ac663756b5e31f0b878531aabec68efd3) Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com> * Translations update from Weblate (#7100) * Translated using Weblate (Turkish) Currently translated at 100.0% (4390 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4329 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (German) Currently translated at 90.4% (3915 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/de/ * Translated using Weblate (Korean) Currently translated at 80.1% (3468 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4328 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Russian) Currently translated at 95.0% (4113 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4328 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 98.4% (4322 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 96.7% (4246 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4119 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 92.7% (4072 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4325 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Alexey Napalkov <flynbit@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> * Migrate 'components/announcement_bar/default_announcement_bar' module and associated tests to TypeScript (#6963) * rename file * working except for test file * restore unincluded test file to jsx * pass npm make check * update snapshot * respond to review comments * checkout package-lock.json * revert package-lock.json changes * fix linting errors Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate this.ref.dotMenu to functional (#6957) * Migrate this.ref.dotMenu to functional * Fixed formatting * Fix reference * rename dotMenu to dotMenuRef for consistency with other PRs, remove comments * Removed blanked line to pass lint check Co-authored-by: root <root@DESKTOP-4IBHFV5.localdomain> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20897 Add category muting (#7033) * MM-20897 Add ability to mute categories * Increase timeout to ensure test passes * Add E2E test for moving channels into muted categories * Update mattermost-redux to branch * Fix unit tests * Fix types * Update snapshot * asdf * Add additional E2E test and API client infrastructure * MM-24293 Fix to have group channels return in quick switcher with space (#7059) * MM-24293 Fix to have group channels return in quick siwchter with space * Split the search term by spaces and match with users in group channels * Update components/suggestion/switch_channel_provider.jsx Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * If card year is 0 return false for isExpired (#7101) * Converted 'dot_menu' to typescript. (#6825) * Migrate string refs of reset password modal (#7038) Automatic Merge * MM-20415 Migrate 'components/channel_header_mobile/unmute_channel_button' module and associated tests to TypeScript (#6972) * MM-30477 Fix for autocomplete not closing (#7093) Automatic Merge * MM-20897 Cleanup a couple missed issues (#7106) * MM-T638 Webhook posts when webhook creator is not a member of the channel (#7091) * wip * wip * wip * wip * added check * small fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript (#6668) * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript Fixes https://github.com/mattermost/mattermost-server/issues/15460 JIRA: https://mattermost.atlassian.net/browse/MM-20481 * Make actions attribute non nullable * Require YoutubeVideo's postId property since it really is * Fix tests * Add stages for onprem * Add build-vars stage * set isDisabled prop for site > notices (#7103) Automatic Merge * [MM-27931][MM-30158] Multi-selection and dragging of channels (#6979) * [MM-27931] Multiselection of channels * Test fix * Lint fix * Change opacity of selected state to 0.24 * Added hover state for selected channels * Tests for multiSelect * Drag and drop working (without visuals, missing redux commit) * Multi drag and drop styles (fade the selected channels, might change) * Don't allow multisellected channels to be dropped where they shouldn't be * Lint, type, test, translation fixes * Allow dragging of non matching channel groups by rejecting the channels that don't match * Redux update * Another test fix * Fixed selected count style to work off of center channel exclusively * Added really obvious styling * Style change/PR feedback * Style change * Include active channel in all initial selections * PR feedback * Add constant for shifted index Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20572] Migrate 'components/admin_console/compliance_reports' to TypeScript (#13500) (#7036) Automatic Merge * MM-30087 Remove direct dependency between Client4 and Rudder (#7056) * MM-30087 Remove direct dependency between Client4 and Rudder * Update tests * Switch mattermost-redux to master * Fix missing types * Change how we mock and import rudder * Remove test that checks if events are sent to Rudder * [MM_20423]'external_image'module to ts (#16151) (#7025) - migrate ts index.js file - migrate ts for external_image.tsx - migrate ts for external_images.test.jsx Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * Fix issue 16144: migrate components/claim module and tests to TypeScript (#7043) Automatic Merge * MM-T2056 e2e to test, Username change reflecting for other users (#7074) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-26334] Fixes direct messages loading screen misalignment (#6813) Summary: Reduces the height of the loading screen so it is more centered and/or unintrusive(small screens) enough to remove the scroll bar during loading. Ticket Link: Fixes https://github.com/mattermost/mattermost-server/issues/15926 * Translations update from Weblate (#7122) * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4121 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 98.9% (4345 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4392 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Spanish) Currently translated at 97.7% (4292 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4341 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> * MM-28153: Cypress/E2E: Automate backlogs - System Console > Environment (8 test cases) (#7049) * MM-30377: Cypress/E2E: Automate backlogs - Messaging > Channel and Post Links (6 test cases) (#7072) * MM-30355: Cypress/E2E: Automate backlogs - Account Settings > Username (6 test cases) (#7062) * MM-27208 Add tests for MM-T1684, MM-T1687, and MM-T1688 (#7124) * MM-27208 MM-T1684 Add test number to existing test case * Fix makeClient for requests without a body * MM-27208 MM-T1687 Add test for another user archiving a channel * MM-27208 MM-T1688 Add test for searching in archived channels * Translations update from Weblate (#7139) * Translated using Weblate (Spanish) Currently translated at 99.1% (4357 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4344 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Dutch) Currently translated at 98.9% (4349 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.4% (4327 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> * [MM-20498] components/post_view/combined_system_message' to TypeScript (#7109) * Added Initial Ts conversion to last_users and last_user_test * Converted combined system message * Completed all files conversion * Updated Snapshots * Minor fix * Minor Fixes * Minor Fixes * Migrate 'components/sidebar_right_menu' module to TypeScript (#6962) * Converted 'leave_channel' to typescript. (#7115) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20581] Migrate index to TS in 'components/admin_console/team_channel_settings/channel/details' module (#6924) * mark browser.focused as false if starting in the background (#7050) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27989 Remove experimental setting for data prefetch (#7094) Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com> * [MM-27207] e2e leave archived channels I - last (#7117) Automatic Merge * MM-30370: Cypress/E2E: Automate backlogs - Keyboard Shortcuts (10 test cases) (#7113) Automatic Merge * MM-30371: Cypress/E2E: Automate backlogs - Keyboard Shortcuts part 2 (10 test cases) (#7112) * temporary work * further iteration * further work * Address CR comments Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29853] Migrate string-refs to functional ones: this.refs.fileInput (#7153) * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function Co-authored-by: lestgabo <lestgabo@gmail.com> * Fix display of boolean feature flags in system console. (#7156) * MM-30992 Add the capability to run part by part for Cypress parallel testing (part 1) (#7140) * add the capability to run part by part for Cypress parallel testing * update per comment and add default values * throw an error if --part is greater than --of * Cypress/E2E: Fix email verification that works both with current, Cloud and parallel testing (part 2) (#7142) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * update per comment * Cypress/E2E: Fix for several flaky tests (part 3) (#7143) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * Cypress/E2E: Fix tests for cloud (part 4) (#7147) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * fix tests for cloud * clean up label and flag * simplify log of license status and add log of server details * update per comment * fix return of Cypress custom commands (#7159) * [MM-30354] e2e fullname (#7126) Automatic Merge * Migrate to typescript Apps related files (#7021) * Migrate to typescript Apps related files * Use correct react-overlays types version * PR feedback * fix types * fix types * temporarily use any * remove unused import * Remove unneeded comments * Extract stringToNumber to utils * Fix minor warning on the console * Fix lint Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * MM-30972 Add proper padding to code preview line numbers (#7155) Automatic Merge * MM-28412: Add tm4j key (#7171) * [MM-26593] Disable pointer events on LHS scrollbar when scrolling isn't required (#7120) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Update NOTICE.txt (#7102) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30376 Cypress/E2E: Automate backlogs - Messaging (8 test cases) (#7141) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30969] Drop aria-label from Marketplace item description (#7133) * Drop aria-label from Marketplace item description * Add general aria-label * Translations update from Weblate (#7182) * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.8% (4383 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4344 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4346 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4393 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.2% (4356 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.1% (4356 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.2% (4359 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Japanese) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Russian) Currently translated at 93.9% (4125 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Lev <blendamedkiba94@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * MM-31115 - Fixed "how billing works" cloud link (#7183) * [MM-30372] Cypress/E2E: Automate backlogs - Messaging > Reply (#7149) * Implement Cypress test * Fix comments * Update e2e/cypress/integration/messaging/message_reply_part2_spec.js Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-30374: Cypress/E2E: Messaging > Markdown (#7146) * MM-30374: Cypress/E2E: Messaging > Markdown This PR automates MM-T1734 MM-T2241 MM-T2242 MM-T2244 MM-T2246 https://mattermost.atlassian.net/browse/MM-30374 ```release-note NONE ``` * incorporate review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30810 Remove special props from /me post (#7163) * [MM-30449] - Hide create category option when unread filter is enabled (#7151) * [MM-30449] - Hide create category option when unread filter is enabled * Fix lint * Update snaps Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Add Billing Permissions (#7127) * Add billing permissions * add it to any * address comments * fix linting * address COMMENts! Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove usage of center-channel-color-## CSS variables from header components (#7118) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27688: OpenId Connect (#7027) * open id initial commit * fix for tests, remov…
* modify url utils for internal/external navigation * Apps framework plumbing * fetch app bindings on channel navigation and websocket message * migrate channel header to use app bindings * migrate post actions * migrate Marketplace * migrate admin console * implement apps modal form * implement embedded forms * implement apps commands * i18n * add selectors for app bindings Squashed commit of the following: commit ab0b9e88a14f2a3e49b3a87eabe31421ed72522e Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Tue Mar 30 16:36:33 2021 -0400 make appBindings an optional prop commit 264e8b05671b92a34bf0620fecea60bd14d0c47d Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Mon Mar 29 03:21:25 2021 -0400 add selectors for apps bindings commit d7f792eab390256180e131f5d902cd52535fdd61 Merge: 3fd6e9325 e53a8358f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:36:44 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 3fd6e9325c79beae42d0ebd041fc93b1e1009a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:22:54 2021 +0100 Remove Enable/Disable and Remove from System Console for cloud apps (#7651) * Remove Enable/Disable and Remove from System Console for cloud apps * Set buttons as null * Allow change the status when the feature flag is on * Fix test * Update snapshots Co-authored-by: Mattermod <mattermod@users.noreply.github.com> commit 7b4be8ebf51f251451f4900d1e5a363884306c93 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:11:01 2021 +0100 Case independency fixes (#7722) commit af6ba8797cd5c5387f2ed77fddcad82ddde81932 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:08:19 2021 +0100 Use Feature flag (#7643) * Use Feature flag * Fix test and minor improvement * Simplify return commit de7bca6c0782b47e2af101b2555894e0d80bf129 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 17 10:29:36 2021 -0400 Synchronize app command parser with mobile app (#7706) * Use type on call path, and minor refactoring * Add missing i18n * move files into app_command_parser folder * Fix navigation and small fix on error handling * include mobile app changes to command parser * i18n * types and lint * use intl * change i18n ids * tests * test fixes * add more tests for button_binding and select_binding * lint * fix merege issue * incorporate changes from #7703 * add translation * fix and i18n * remove unused translation Co-authored-by: Daniel Espino García <larkox@gmail.com> commit b54d6c52cda1c48adeb83e24f43901e3fdca7dc6 Merge: 05a669c46 ee77df3f0 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 12:15:35 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 05a669c46cfb85adc8e02f3ab2ea97a5a9ffe7e3 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 04:45:19 2021 +0100 Use type on call path, and minor refactoring (#7679) * Use type on call path, and minor refactoring * Add missing i18n * Fix navigation and small fix on error handling * Update redux reference * Fix types * Fix test * Fix test * Address PR Feedback commit 9b1cbbff02a092ef9a7d3a26fe0e016c257c4545 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:32:16 2021 +0100 Remove autocomplete of ~ and @ for user and channel suggestions (#7667) commit 00685fc935148b00ab6049ffb68e63a0a7a3399f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:29:52 2021 +0100 Fix command errors (#7664) commit 83a24ddc0d313c492410e644232720cee4f4dc94 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:27:04 2021 +0100 Command send options (user, channel, dynamic and static) as options and not only values. (#7650) * Command send options (user, channel, dynamic and static) as options and not only values. * Fetch users from server or generate error * Fix i18 and fix minor typo commit 6c1fea615501be4924d3fb9eaf8a987fdbe2552c Merge: d06cdffb8 507991558 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 9 11:14:07 2021 +0100 Merge branch 'master' into feature/cloud-apps commit d06cdffb86def63d4fa67f145775d6b6ce3deb3d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 8 15:08:35 2021 +0100 Fix multiword select options and keep quotes on complete values (#7644) * Fix multiword select options and keep quotes on complete values * Fix test commit e1d67a169ae88d43c9f76f0dc11d94db7e9722df Author: Daniel Espino García <larkox@gmail.com> Date: Sat Mar 6 11:55:43 2021 +0100 Fix channel header dropdown icon size and count (#7642) commit c5c86ca148002ac11a97035fbba6d50f55630fde Author: Daniel Espino García <larkox@gmail.com> Date: Thu Mar 4 11:47:21 2021 +0100 All select use AppSelectOption (#7612) * All select use AppSelectOption * Fix test commit 2f0ab8f9e9fd602fad5cf4d6cf258dbda5b95c8c Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Mar 4 11:13:45 2021 +0100 Use App id to install App from Marketplace (#7631) * Use App id to install App from Marketplace * Fix tests commit 94a86bec10017df9f22bc78ad04aa0d2596c3e24 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 09:24:35 2021 +0100 Add refresh websocket event (#7599) * Add refresh websocket event * Make more obvious the App framework events * Fix typo and separate handler into a function commit bde2a3488503b60cd5deb273f29ad035f93c0dfb Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 06:25:03 2021 +0100 Handle errors on binding locations (#7556) * Handle errors on binding locations * Fix types * Fix lint * Translate and handle all messages directly in the binding * Fix various errors * Fix snapshot commit 8868f33acc0a1fa089354ce7fa9e99dcfd404eec Merge: 2e3c92e28 db27a519d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 1 12:02:52 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 2e3c92e2827fc37890796768e157c16042b4e4e4 Author: Daniel Espino García <larkox@gmail.com> Date: Fri Feb 26 23:00:48 2021 +0100 Fix App parser (#7555) * Fix parser * Fix lint * Fix test commit c9dc94fd80bf6fbb1e18c2e3e1d88b4f5d3eff47 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Feb 26 19:17:30 2021 +0100 [MM-31508] Rename URL to Path in Call (#7566) commit 6b0675fcadee8ee24df6bdf7c4ff713e27a732c9 Merge: 5790e6316 82790213b Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 24 10:03:00 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 5790e6316b5110b8828a768a4ee37d92d107c91c Author: Daniel Espino García <larkox@gmail.com> Date: Tue Feb 16 12:48:49 2021 +0100 Rework embedded forms (#7423) * Rework embedded forms * Improve naming * Improve naming, improve binding filling and trimming and use binding as the base element of a EmbeddedBinding * Move appsEnabled to utils/apps.ts * Add a create request function, add logging, and check for undefined bindings. commit 5f2660f6adefcf1668f71f905622f4a150d5f95d Merge: faaebe611 f7ea0ec34 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 15 14:22:55 2021 +0100 Merge branch 'master' into feature/cloud-apps commit faaebe6115684c7cae5abd748d963980f9626a9e Author: Lev <1187448+levb@users.noreply.github.com> Date: Sat Feb 13 15:53:56 2021 -0800 Refactored apps command parser (#7426) * Fixed command autocomplete for no fields * make test * small fix: restore * wip * wip wip * wip appears to compile * first tests * Consolidated TC type and checks * ParseForm tests work, again * ParseForm tests work, again * unit tests work * nit * PR feedback, some debugging * PR feedback * PR feedback: moved methods into ParsedCommand * merging... * more merging * more more merging commit 50babb5bcef3dbc044e2cb69ef40cee69fefa820 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 19:00:55 2021 +0100 [MM-31088] Set submit buttons to the bottom of the form (#7473) * Set submit buttons to the bottom of the form * Fix typescript * Fix test * Fix lint commit e5619c9a1cc49f246c43ddd116b8b62946907bf5 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 15:31:50 2021 +0100 Isolate Apps to disable them whenever needed (#7376) * Isolate Apps to disable them whenever needed * Use feature flags * Isolate command_provider * Change shouldProcessApps by a more meaningful name appsEnabled * Fix test commit 1f866cdfd6972607decdbe64014ebb7d7566ad3f Merge: e65f8e066 3a24c6a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 13:23:13 2021 +0100 Merge branch 'master' into feature/cloud-apps commit e65f8e06613fc5a5d31573071c42d407dc799462 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Tue Feb 9 09:59:38 2021 +0100 [MM-32476] Apps in the Marketplace (#7474) commit 93e7c3421fef3f7f7a50bbc095512116f7976553 Merge: b2ef64e41 00b9e12d0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Feb 4 13:20:10 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit b2ef64e4132f500dd4d3c7226b87da8c58bd3a25 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:58:03 2021 +0100 Update redux reference commit 63f211746e975e5509d7d749c9c26d2cfcd39963 Merge: 837694a9b 0de03d607 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:54:11 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 837694a9b3a61911cd3c3e9cf21b678b3182b6fa Merge: c1cd297e9 b819372f0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Jan 29 13:53:47 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit c1cd297e94a9dcaea00508ad11c696d512365fdd Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 27 11:58:32 2021 +0100 Add Navigate to AppCallResonses handling (#7377) commit 44d85a493644efff7bd6363d95f888b681ada21d Author: Jason Frerich <jason.frerich@mattermost.com> Date: Wed Jan 27 04:58:12 2021 -0600 use label tag, not paragraph (#7378) commit 0411421a0af3d014c1adbf15c16f431d835e88bc Author: Daniel Espino García <larkox@gmail.com> Date: Tue Jan 26 17:44:12 2021 +0100 Fix Embedded forms after refactor (#7331) * Fix Embedded forms after refactor * Fix lint commit 9eba5ecc26885cc0e252c4d7ac2fbbff8510a078 Merge: 4f5f04144 b252c8a44 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 12:31:46 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4f5f04144375d6a2ce591265e8c78d3eab40919e Merge: 4716206ff 97e741e1d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 11:30:51 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4716206ffa48b174a8a8aa7882158c43c0f2ab3a Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:16:56 2021 +0100 Point to latest redux commit 0122d36712de26a51440ced499d77fdd956fe7aa Merge: f27d6e1cf 19b189c04 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:02:26 2021 +0100 Merge branch 'master' into feature/cloud-apps commit f27d6e1cf898eb71f5424c9520ef81c76a8ae28b Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Thu Jan 14 17:09:42 2021 -0500 Dynamic Apps Modals (#7166) * First approach on embedded forms * Fix lint * Render form in the RHS * Send needed information along the form * Address feedback * Use proper redux version * Add embedded buttons * Handle embedded forms as new modals * Improve state handling * Remove unneeded changes * Fix lint * Migrate button_selector to typescript and make buttons disabled * Fix lint * Make errors work on Embedded and Modal forms * Handle button field type from app forms * Consider button fields also select fields and handle submit_buttons field * dynamic select works. modal can refresh on submit * updates for refreshing on select * fix types * mm-redux * types * snapshot * change react-select import * fix react-select type * submit buttons * error handling * import lint * fix embedded form props * lint * updates for call structure * lint * mm-redux * move presentation field from call to binding * update tests * update prop for test * modal maintains its own state until it unmounts/closes * fix test * mm-redux and fix * fixes for using form call * remove dispatch * fix post id * fix command lookups. allow commands to open modals through binding's presentation * mm-redux * remove interactive dialog field references * fix test * test updates * use global store for command_provider, which is mocked in test * call.type == 'form' && response.type == 'form' opens a modal * lint * remove makeLookupCallPayload * lint * fix imports * fix import Co-authored-by: Daniel Espino García <larkox@gmail.com> commit 6f9f30379191db3f9988113ffdc950a2b2fbff86 Author: Daniel Espino García <larkox@gmail.com> Date: Thu Jan 14 14:59:49 2021 +0100 Fix missing channel header buttons (#7322) commit be9f4ff9bc770dff1723a8938010537486de7812 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 13 09:48:41 2021 +0100 Merge master to feature branch (#7250) * [MM-30193] change file attachment info to show fractions below 10 (#6935) * change fileinfo to show fractions below 10M * fix formatting * add linting fixes and clean up code * fix incorrect brackets Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Revert "Mm 29111 search bar and search results as fc (#6796)" (#6999) This reverts commit 9fba9a9789e3e1e6194daa36aabe343859e8511b. * [MM-20196] Use UTC timezone for formattedDate so it doesn't change the date (#7000) * Use UTC timezone for formattedDate so it doesn't change the date * Add toUTCString * Remove it because it isn't needed * Add to last invoice summary * Make invoice.tax a boolean so a rogue 0 isn't rendered (#7001) * Translations update from Weblate (#7006) * Translated using Weblate (Dutch) Currently translated at 99.9% (4294 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.5% (4275 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.6% (4270 of 4285 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Spanish) Currently translated at 99.2% (4264 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4295 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 96.0% (4126 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * [MM-30066] Allow sidebar category button width to grow and shrink as needed (#6955) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate team_list and team_row to typescript (#6914) Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> * [MM-20482] Migrate 'components/post_view/channel_intro_message' module … (#6729) * MM-28843 Adding feature flags to system console for easy diagnosis. (#6905) * Adding feature flags to system console for easy diagnosis. * Use AdminConfig type. * Redux update. * [MM-29850] Migrate string-refs to functional ones: this.refs.errorMessage (#6881) * Update string ref to functional ref * Make ref load before use Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30190] Show spinner when loading invoices instead of 'no invoices found' (#7012) * [MM-T560] Add test for notifications (#6884) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-20492 Migrate 'components/post_view/post_message_view' module and … (#6738) * Cypress/E2E: Fix custom categories spec (#7011) * [MM-30216] - Add check for undefined fileInfos (#7019) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-20465] migrate single_image_view to typescript (#6774) * migrate single_image_view to typescript * fix unit test * resolove review comment * Update components/single_image_view/single_image_view.tsx * Guard clause fileinfo` Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Nev Angelova <nevyana.angelova@mattermost.com> Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-29903] - Check if current user is on last post when scrolling in rhs (#6920) * Scroll user to bottom when they are on the latest post in rhs * fix tests * Fix type check * Implement using getSnapshotBeforeUpdate * Remove comment box and set refs * Update scroll logic * resize rhs container correctly * Calculate with header height * fix type error * please linter * update snapshot Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Nevyana Angelova <nevyangelova@nevyanas-mbp-2.mynet> * MM-T614 Search on Outgoing Webhooks page (#6873) * wip * cleanup, optimize * remove file Co-authored-by: Mattermost <mattermost@Michaels-MacBook-Pro.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: Move cluster spec to enterprise (#7010) * Cypress/E2E: Move cluster spec to enterprise * Add @enterprise tag * MM-20578 Migrate 'components/admin_console/system_user_detail' module… (#6801) * [MM-20568] Migrate 'components/admin_console/system_users' module to ts (#6829) * Fixing title text in select team icon. (#7023) * MM-30090 Open managed resource links in a new tab (#7024) * MM-30090 Open managed resource links in a new tab * MM-30090 Add ManagedResourcePaths setting * Update test case to reflect new case * Fix types * Revert unnecessary type changes * Switch mattermost-redux back to master * MM-27903, MM-27899: Folded Reply Threads: ThreadItem and ThreadFooter (#6585) * wip: checkpoint * wip: fix tooltip * wip: checkpoint * move connected profile_picture back out of widgets * timestamp improvements * wip: threading components * wip: thread footer * timestamp story improvments * wip: threading components * wip: threading components * wip: threading comps * wip: thread menu * update testing * wip: testing updates * unit tests, storybook cleanup * tweak timestamp knob arrangement * i18n * stray apostrophe; snapshots-i18n * profile_picture index * misc cleanup * put prop-types rule back in * simple_tooltip remove FC * sync relative time spec * update snapshots * Update index.stories.js * Update story_box.tsx * remove trailing space * update url * remove frag * sb container width * review fixes * review fixes/improvements * review/other changes * simplify * actually add nowrap * fix new messages tooltip style * cleanup * improvements, clarity * clearer conditionals * remove unused css/simplify * use text-clamp mixin, fix knob typo * remove unused css props * remove empty file * fix bad role attr * sync css; test appended button * review changes * badge as button if it has a click handler * update snapshot Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate string-refs in user_list.jsx (#6704) * migrate string-refs in user_list.jsx * add unit test for user_list.jsx * remove the eslint-enable/disable comments + rename this.container Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T556] Add e2e test for MM-T556 (#7016) * Add e2e test for MM-T556 Add e2e test for Browser tab and team sidebar notification - no unreads/mentions Github Issues: Fixes https://github.com/mattermost/mattermost-server/issues/15705 Jira Ticket: MM-T556 * Fix finicky test * Move Remove mention notification to before() * Fix broken test * Linting Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-24505-Update-help-text-leave-team-modal (#6572) * message update for leave team modal and updated in i18en.json * implemented dynamic channl values and changed tests * update failing snapshot * added new strings for public and priivate cases * updated desc * update plurals in string * removed console log statement * modal description based on the counts * i18n order changed * i18n corrected * resolved suggestions * updated failing snapshot * corrected messages in modals * updated snapshot * rewordings to modal texts * guest modal message * guest modal condition added along with modal message * updated failing snapshot * added currentuser prop to the test file * Fixed type error in test file * Fixes condition * conditions for zero public & zero private for guest * modified conditions * Fixed modal messages * snapshot updated * Fixes * MM-29929 Fix for unread messages toast on marking channel as unread (#7028) * The initOffset we use for displaying toast should be only used mount as that is not a relative scroll position and is only set on mount * Changing this to show unread toast on all occasions of marking channel as unread other than channel at bottom * [MM-26386] - Respect user locale when searching for channels (#6904) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-25186] Bot username validation i8n support (#6629) * Migrate String Refs to Functional ones - MM 16039 (#6865) * MM-29849/MM-29942/MM-29982 Fix code theme not being applied (#7008) * Convert 'components/post_view/post_info' module and associated tests to TypeScript (#6619) * Convert 'components/post_view/post_info' module and associated tests to TypeScript. Based on conversations with @devin and @abdu - marking certain props as non-mandatory. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some issues from rebasing from latest master branch * Handling null checks for 'getCurrentChannel' calls. * Fixing issue with white page. * Fixing issue with check types. Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30183] - No more text decoration on hover and focus (#7020) * Fix no text decoration on hover and focus * revert extra space Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20470] Migrate emoji page and any team permission gate to typescript #15470 (#6645) * Migrate emoji page and any team permission gate to typescript * Convert delete_emoji_modal to typescript Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30226][MM-39255] Allow a post to be sent when you do CMD + ENTER on Mac with 'Allow all messages' to be sent via CMD + ENTER (#7031) * make a post be able to send when you do command enter when editing post * fix linting * Edit task to take into control mac command key * fix linting * [MM-30340] Update post height when comment box height change occurs (#7039) * [MM-30340] Update post height when comment box height change occurs * Update snaps * Add scroll to bottom to the resize function * Remove redundant check Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Translations update from Weblate (#7046) * Translated using Weblate (Japanese) Currently translated at 98.1% (4219 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4302 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4298 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 96.3% (4147 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Dutch) Currently translated at 99.6% (4310 of 4323 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.9% (4301 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Korean) Currently translated at 79.4% (3418 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Japanese) Currently translated at 97.5% (4220 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Korean) Currently translated at 79.7% (3453 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4214 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4215 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> * [MM-28181] e2e: add system_console/unsaved_changes_spec (#7009) * e2e: add system_console/unsaved_changes_spec * reflect revivew comments * 15474 convert team selector modal to ts (#6824) * Convert 'components/team_selector_modal' module and associated tests to TypeScript. * Fixing review comments. * Fixing review comments. * Fixing review comments. * Fixing bad merge Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-19509 Prioritize autocomplete results based on interactions and threads (#7002) * MM-19509 Prioritize autocomplete results based on interactions and threads * Add sort method of auto complete results to be based on last_viewed_at as well * Add new prop priorityResults to auto complete so we can add profiles like thread interactions on top * Fix sorting for remote results * Add E2E test for desktop notifications for empty strings (#6799) * Add E2E test for desktop notifications for empty strings * Update comments based on feedback * Typo Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20433 - convert view_pinned_posts to typescript (#7034) * MM-20433 - convert view_pinned_posts to typescript * fix linter errors Co-authored-by: Pablo Velez <pvelez@bp-3.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: fix test (#7052) * fix e2e test * make trial user configurable via env * fix order * [MM-29855] Migrate string-refs to functional ones: this.refs.content (#6867) * Update string refs to functional component based refs * Update string refs to functional component based refs * [MM-27231]: e2e for T1880 - deleted token cannot be used to post (#6901) * update api method to return more data, and add method to revoke token * test for T1880 - deletd token can't be used to post * fix comment * move methods to better place Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Fix menu rendering behind input box in RHS. (#7061) * [MM-27708] Disable Plugin on Removal (#6518) * [MM-30104][MM-30105] Fix up banners in payment_info and billing_subscription pages (#7063) * Fix up banners in payment_info and billing_subscription pages * Reset package-lock * Remove comment * [MM-27556] UI For new system roles (#6529) * Add translations * Basic skeleton without subsections visible * Allow roles to be saved and fix up styling * Dont allow sysadmins to be edited and dont allow self to be removed * Cleanup * Add translations * Save state properly * Update redux * Minor styling changes * Update redux * Bug fixes * Rename datagrid search to onSearch * Cleanup * UX fixes * Fix snaps * Forgot to check this in * Fix console error * Fix snaps * Expand by default if mixed access * update package json files * address PR comments * update redux hash * update redux hash * make disabled * add set navgiation blocked * Fix hash * make necessary changes * make read only admin editable * update function name * fix type check * fix lint issue * udpate redux hash * update search * update snap test * fix set navigation blocked after save * make conditional rendering for system manager * fix linting * go back after saving successfully * updat redux hash * Add Beta Tag Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * [MM-20428] Migrate terms of service to Typescript (#6965) * First pass * Added types everywhere * Fixed ESLint warnings and errors * Fix incorrect import * Updated snapshot * PR review feedback Co-authored-by: Christophe Carpentier <christophe.carpentier@imascap.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29621] Only load the stripe library when cloud components are actually rendered (#7067) * Only load the stripe library when cloud components are actually rendered * Use proper return type * Remove async * MM-20412: Migrate 'components/channel_header_mobile/show_search_button' module to TypeScript (#6969) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM 20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript (#6976) * MM-20404 * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix lint * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix linter Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27229 - Cypress/E2E: Automate backlogs - BOT Accounts - Part 06 (10 test cases) (#6772) Co-authored-by: Prapti <praptishrestha@gmail.com> Co-authored-by: Caleb Roseland <caleb@calebroseland.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate refs icon_url. #15801 (#6754) Automatic Merge * [GH-16035] Migrating refs plugin_management.tsx (#6866) Automatic Merge * [MM-29515] Hide imports tab when in cloud installation (#7069) * Hide imports tab when in cloud installation * fix types and linter * Revert package-lock to master * Make isCloud optional * MM-T446 DM More... searching from page 2 of user list (#7054) * wip * wip * revision * selector fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * DOPS-243 (#7075) DOPS-243 (#7075) * [GH-13483] Migrate 'components/channel_invite_modal' module and associated tests to TypeScript (#6968) * [WIP] migration to typescript * [WIP] further typescript changes * finalized move of component to typescript * [WIP] move index file to typescript * updated test to typescript * fix for types in index file * removed failing class import * [No Ticket] Update to latest redux hash and fixing test cases with missing types (#7084) Automatic Merge * [MM-27154] Cypress tests: Incoming Webhooks (#6977) * Incoming webhooks cypress tests * Remove unused variable * PR feedback * add license * PR feedback and lint * fix import path Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * fix failing tests due to announcement bar (#7077) * MM-27315 Cypress tests for Integrations > Slash command auto-complete (7 test cases) (#6909) * MM-30359: Cypress/E2E: Account Settings > Email (#7051) * MM-30359: Cypress/E2E: Account Settings > Email This PR automates the following test cases: MM-T2066 MM-T2067 MM-T2068 MM-T2069 MM-T2070 MM-T2071 MM-T2072 MM-T2073 https://mattermost.atlassian.net/browse/MM-30359 ```release-note NONE ``` * fix lint * add the other tests * Address review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T561] Add e2e test for MM-T561 (#7015) * Add e2e test Add test for: Browser tab and team sidebar - direct messages don't add indicator on team icon in team sidebar (but do in browser tab) Github Issues: Fix https://github.com/mattermost/mattermost-server/issues/15700 Jira Ticket: MM-T561 * Apply suggested review * Add cleanup for MM-T560_2 * Linting * Separate test file * Linting * Add prerequisite * Rename file * Remove old test Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28255] Add tests for OAuth Apps (#6558) * Add tests for OAuth Apps * Add remaining tests * Update test names, fix typos and add explicit status codes * Add group and license check * Move tests to enterprise folder Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-29858: Migrate string refs to functional ones in autosize textarea component (#6885) * MM-29858: Migrate string refs to functional ones in autosize textarea component * MM-29858: Rename reference instance variable with suffix Ref * MM-29858: Use camel casing for textarea reference variable * MM-29858: Allow empty value for textarea Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate errorMessage string ref (#6882) Automatic Merge * MM-T329 Image link preview (#7005) * wip * wip * finished * revision * remove log Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28150] e2e: add MM-T924, MM-T928, MM-T929, MM-T930 (#7045) * e2e: add MM-T924, MM-T928, MM-T929, MM-T930 * reflect review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30363: Cypress/E2E: Automate backlogs - Edit Bot Username (1 test case) (#7073) * MM-30373 - first iteration * MM-30377 - first iteration * remove spurious file * MM-30377 - further iteration * MM-30363 - first iteration * remove extra file * some cleanup * remoe extra space Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * promote and demote tests to/from prod (#7080) * Cypress/E2E: Fix toast appears unread spec (#7081) * change super to system (#7076) * MM-20418: Migrate 'components/channel_selector_modal' module and associated tests to TypeScript (#6975) * DOPS-243: Fix images (#7089) DOPS-243: Fix images (#7089) * MM-T439 Town Square is not marked as unread for existing users when a new user is added to the team (#7053) Automatic Merge * [MM-20582] Migrate 'components/admin_console/team_channel_settings/ch… (#6840) * MM-20465 Fix for collapse/expand of image preview (#7085) * The toggle function requires id and not post * This was most likely changed to fix a ts error * MM-20465 Revert usage of getCurrentChannel to getCurrentChannelId where possible (#7064) * [MM-29821] Prefer TypeScript files over JavaScript in webpack (#7090) * [MM-30317] add MANAGE_REMOTE_CLUSTERS permission (#7060) * add MANAGE_REMOTE_CLUSTERS permission * Update i18n/en.json Co-authored-by: Doug Lauder <wiggin77@warpmail.net> Co-authored-by: Doug Lauder <wiggin77@warpmail.net> * MM-20416: Migrate 'components/channel_header_mobile/collapse_lhs_button' module to TypeScript (#6971) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove Cloud billing flag from System Console (#7096) (cherry picked from commit 6c35b79ac663756b5e31f0b878531aabec68efd3) Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com> * Translations update from Weblate (#7100) * Translated using Weblate (Turkish) Currently translated at 100.0% (4390 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4329 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (German) Currently translated at 90.4% (3915 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/de/ * Translated using Weblate (Korean) Currently translated at 80.1% (3468 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4328 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Russian) Currently translated at 95.0% (4113 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4328 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 98.4% (4322 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 96.7% (4246 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4119 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 92.7% (4072 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4325 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Alexey Napalkov <flynbit@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> * Migrate 'components/announcement_bar/default_announcement_bar' module and associated tests to TypeScript (#6963) * rename file * working except for test file * restore unincluded test file to jsx * pass npm make check * update snapshot * respond to review comments * checkout package-lock.json * revert package-lock.json changes * fix linting errors Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate this.ref.dotMenu to functional (#6957) * Migrate this.ref.dotMenu to functional * Fixed formatting * Fix reference * rename dotMenu to dotMenuRef for consistency with other PRs, remove comments * Removed blanked line to pass lint check Co-authored-by: root <root@DESKTOP-4IBHFV5.localdomain> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20897 Add category muting (#7033) * MM-20897 Add ability to mute categories * Increase timeout to ensure test passes * Add E2E test for moving channels into muted categories * Update mattermost-redux to branch * Fix unit tests * Fix types * Update snapshot * asdf * Add additional E2E test and API client infrastructure * MM-24293 Fix to have group channels return in quick switcher with space (#7059) * MM-24293 Fix to have group channels return in quick siwchter with space * Split the search term by spaces and match with users in group channels * Update components/suggestion/switch_channel_provider.jsx Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * If card year is 0 return false for isExpired (#7101) * Converted 'dot_menu' to typescript. (#6825) * Migrate string refs of reset password modal (#7038) Automatic Merge * MM-20415 Migrate 'components/channel_header_mobile/unmute_channel_button' module and associated tests to TypeScript (#6972) * MM-30477 Fix for autocomplete not closing (#7093) Automatic Merge * MM-20897 Cleanup a couple missed issues (#7106) * MM-T638 Webhook posts when webhook creator is not a member of the channel (#7091) * wip * wip * wip * wip * added check * small fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript (#6668) * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript Fixes https://github.com/mattermost/mattermost-server/issues/15460 JIRA: https://mattermost.atlassian.net/browse/MM-20481 * Make actions attribute non nullable * Require YoutubeVideo's postId property since it really is * Fix tests * Add stages for onprem * Add build-vars stage * set isDisabled prop for site > notices (#7103) Automatic Merge * [MM-27931][MM-30158] Multi-selection and dragging of channels (#6979) * [MM-27931] Multiselection of channels * Test fix * Lint fix * Change opacity of selected state to 0.24 * Added hover state for selected channels * Tests for multiSelect * Drag and drop working (without visuals, missing redux commit) * Multi drag and drop styles (fade the selected channels, might change) * Don't allow multisellected channels to be dropped where they shouldn't be * Lint, type, test, translation fixes * Allow dragging of non matching channel groups by rejecting the channels that don't match * Redux update * Another test fix * Fixed selected count style to work off of center channel exclusively * Added really obvious styling * Style change/PR feedback * Style change * Include active channel in all initial selections * PR feedback * Add constant for shifted index Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20572] Migrate 'components/admin_console/compliance_reports' to TypeScript (#13500) (#7036) Automatic Merge * MM-30087 Remove direct dependency between Client4 and Rudder (#7056) * MM-30087 Remove direct dependency between Client4 and Rudder * Update tests * Switch mattermost-redux to master * Fix missing types * Change how we mock and import rudder * Remove test that checks if events are sent to Rudder * [MM_20423]'external_image'module to ts (#16151) (#7025) - migrate ts index.js file - migrate ts for external_image.tsx - migrate ts for external_images.test.jsx Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * Fix issue 16144: migrate components/claim module and tests to TypeScript (#7043) Automatic Merge * MM-T2056 e2e to test, Username change reflecting for other users (#7074) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-26334] Fixes direct messages loading screen misalignment (#6813) Summary: Reduces the height of the loading screen so it is more centered and/or unintrusive(small screens) enough to remove the scroll bar during loading. Ticket Link: Fixes https://github.com/mattermost/mattermost-server/issues/15926 * Translations update from Weblate (#7122) * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4121 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 98.9% (4345 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4392 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Spanish) Currently translated at 97.7% (4292 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4341 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> * MM-28153: Cypress/E2E: Automate backlogs - System Console > Environment (8 test cases) (#7049) * MM-30377: Cypress/E2E: Automate backlogs - Messaging > Channel and Post Links (6 test cases) (#7072) * MM-30355: Cypress/E2E: Automate backlogs - Account Settings > Username (6 test cases) (#7062) * MM-27208 Add tests for MM-T1684, MM-T1687, and MM-T1688 (#7124) * MM-27208 MM-T1684 Add test number to existing test case * Fix makeClient for requests without a body * MM-27208 MM-T1687 Add test for another user archiving a channel * MM-27208 MM-T1688 Add test for searching in archived channels * Translations update from Weblate (#7139) * Translated using Weblate (Spanish) Currently translated at 99.1% (4357 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4344 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Dutch) Currently translated at 98.9% (4349 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.4% (4327 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> * [MM-20498] components/post_view/combined_system_message' to TypeScript (#7109) * Added Initial Ts conversion to last_users and last_user_test * Converted combined system message * Completed all files conversion * Updated Snapshots * Minor fix * Minor Fixes * Minor Fixes * Migrate 'components/sidebar_right_menu' module to TypeScript (#6962) * Converted 'leave_channel' to typescript. (#7115) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20581] Migrate index to TS in 'components/admin_console/team_channel_settings/channel/details' module (#6924) * mark browser.focused as false if starting in the background (#7050) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27989 Remove experimental setting for data prefetch (#7094) Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com> * [MM-27207] e2e leave archived channels I - last (#7117) Automatic Merge * MM-30370: Cypress/E2E: Automate backlogs - Keyboard Shortcuts (10 test cases) (#7113) Automatic Merge * MM-30371: Cypress/E2E: Automate backlogs - Keyboard Shortcuts part 2 (10 test cases) (#7112) * temporary work * further iteration * further work * Address CR comments Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29853] Migrate string-refs to functional ones: this.refs.fileInput (#7153) * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function Co-authored-by: lestgabo <lestgabo@gmail.com> * Fix display of boolean feature flags in system console. (#7156) * MM-30992 Add the capability to run part by part for Cypress parallel testing (part 1) (#7140) * add the capability to run part by part for Cypress parallel testing * update per comment and add default values * throw an error if --part is greater than --of * Cypress/E2E: Fix email verification that works both with current, Cloud and parallel testing (part 2) (#7142) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * update per comment * Cypress/E2E: Fix for several flaky tests (part 3) (#7143) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * Cypress/E2E: Fix tests for cloud (part 4) (#7147) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * fix tests for cloud * clean up label and flag * simplify log of license status and add log of server details * update per comment * fix return of Cypress custom commands (#7159) * [MM-30354] e2e fullname (#7126) Automatic Merge * Migrate to typescript Apps related files (#7021) * Migrate to typescript Apps related files * Use correct react-overlays types version * PR feedback * fix types * fix types * temporarily use any * remove unused import * Remove unneeded comments * Extract stringToNumber to utils * Fix minor warning on the console * Fix lint Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * MM-30972 Add proper padding to code preview line numbers (#7155) Automatic Merge * MM-28412: Add tm4j key (#7171) * [MM-26593] Disable pointer events on LHS scrollbar when scrolling isn't required (#7120) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Update NOTICE.txt (#7102) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30376 Cypress/E2E: Automate backlogs - Messaging (8 test cases) (#7141) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30969] Drop aria-label from Marketplace item description (#7133) * Drop aria-label from Marketplace item description * Add general aria-label * Translations update from Weblate (#7182) * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.8% (4383 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4344 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4346 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4393 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.2% (4356 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.1% (4356 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.2% (4359 of 4391 strings) Trans…
Squashed commit of the following: commit bf9a919ef395ea266e78b28669f11c1294cfc0cb Merge: 51fa36ebb d7f792eab Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Tue Mar 30 17:03:40 2021 -0400 Merge branch 'feature/cloud-apps' into select-visibility commit d7f792eab390256180e131f5d902cd52535fdd61 Merge: 3fd6e9325 e53a8358f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:36:44 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 3fd6e9325c79beae42d0ebd041fc93b1e1009a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:22:54 2021 +0100 Remove Enable/Disable and Remove from System Console for cloud apps (#7651) * Remove Enable/Disable and Remove from System Console for cloud apps * Set buttons as null * Allow change the status when the feature flag is on * Fix test * Update snapshots Co-authored-by: Mattermod <mattermod@users.noreply.github.com> commit 7b4be8ebf51f251451f4900d1e5a363884306c93 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:11:01 2021 +0100 Case independency fixes (#7722) commit af6ba8797cd5c5387f2ed77fddcad82ddde81932 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:08:19 2021 +0100 Use Feature flag (#7643) * Use Feature flag * Fix test and minor improvement * Simplify return commit 51fa36ebb5c98e36c4bf16f5fec7ddd945b943ec Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 24 03:44:42 2021 -0400 fix error message placement by moving form-group class to parent commit 49b1158f1f216d343e16da41158b94b3bbbec6f0 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 24 03:31:24 2021 -0400 fix select overlap commit de7bca6c0782b47e2af101b2555894e0d80bf129 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 17 10:29:36 2021 -0400 Synchronize app command parser with mobile app (#7706) * Use type on call path, and minor refactoring * Add missing i18n * move files into app_command_parser folder * Fix navigation and small fix on error handling * include mobile app changes to command parser * i18n * types and lint * use intl * change i18n ids * tests * test fixes * add more tests for button_binding and select_binding * lint * fix merege issue * incorporate changes from #7703 * add translation * fix and i18n * remove unused translation Co-authored-by: Daniel Espino García <larkox@gmail.com> commit b54d6c52cda1c48adeb83e24f43901e3fdca7dc6 Merge: 05a669c46 ee77df3f0 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 12:15:35 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 05a669c46cfb85adc8e02f3ab2ea97a5a9ffe7e3 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 04:45:19 2021 +0100 Use type on call path, and minor refactoring (#7679) * Use type on call path, and minor refactoring * Add missing i18n * Fix navigation and small fix on error handling * Update redux reference * Fix types * Fix test * Fix test * Address PR Feedback commit 9b1cbbff02a092ef9a7d3a26fe0e016c257c4545 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:32:16 2021 +0100 Remove autocomplete of ~ and @ for user and channel suggestions (#7667) commit 00685fc935148b00ab6049ffb68e63a0a7a3399f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:29:52 2021 +0100 Fix command errors (#7664) commit 83a24ddc0d313c492410e644232720cee4f4dc94 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:27:04 2021 +0100 Command send options (user, channel, dynamic and static) as options and not only values. (#7650) * Command send options (user, channel, dynamic and static) as options and not only values. * Fetch users from server or generate error * Fix i18 and fix minor typo commit 6c1fea615501be4924d3fb9eaf8a987fdbe2552c Merge: d06cdffb8 507991558 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 9 11:14:07 2021 +0100 Merge branch 'master' into feature/cloud-apps commit d06cdffb86def63d4fa67f145775d6b6ce3deb3d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 8 15:08:35 2021 +0100 Fix multiword select options and keep quotes on complete values (#7644) * Fix multiword select options and keep quotes on complete values * Fix test commit e1d67a169ae88d43c9f76f0dc11d94db7e9722df Author: Daniel Espino García <larkox@gmail.com> Date: Sat Mar 6 11:55:43 2021 +0100 Fix channel header dropdown icon size and count (#7642) commit c5c86ca148002ac11a97035fbba6d50f55630fde Author: Daniel Espino García <larkox@gmail.com> Date: Thu Mar 4 11:47:21 2021 +0100 All select use AppSelectOption (#7612) * All select use AppSelectOption * Fix test commit 2f0ab8f9e9fd602fad5cf4d6cf258dbda5b95c8c Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Mar 4 11:13:45 2021 +0100 Use App id to install App from Marketplace (#7631) * Use App id to install App from Marketplace * Fix tests commit 94a86bec10017df9f22bc78ad04aa0d2596c3e24 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 09:24:35 2021 +0100 Add refresh websocket event (#7599) * Add refresh websocket event * Make more obvious the App framework events * Fix typo and separate handler into a function commit bde2a3488503b60cd5deb273f29ad035f93c0dfb Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 06:25:03 2021 +0100 Handle errors on binding locations (#7556) * Handle errors on binding locations * Fix types * Fix lint * Translate and handle all messages directly in the binding * Fix various errors * Fix snapshot commit 8868f33acc0a1fa089354ce7fa9e99dcfd404eec Merge: 2e3c92e28 db27a519d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 1 12:02:52 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 2e3c92e2827fc37890796768e157c16042b4e4e4 Author: Daniel Espino García <larkox@gmail.com> Date: Fri Feb 26 23:00:48 2021 +0100 Fix App parser (#7555) * Fix parser * Fix lint * Fix test commit c9dc94fd80bf6fbb1e18c2e3e1d88b4f5d3eff47 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Feb 26 19:17:30 2021 +0100 [MM-31508] Rename URL to Path in Call (#7566) commit 6b0675fcadee8ee24df6bdf7c4ff713e27a732c9 Merge: 5790e6316 82790213b Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 24 10:03:00 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 5790e6316b5110b8828a768a4ee37d92d107c91c Author: Daniel Espino García <larkox@gmail.com> Date: Tue Feb 16 12:48:49 2021 +0100 Rework embedded forms (#7423) * Rework embedded forms * Improve naming * Improve naming, improve binding filling and trimming and use binding as the base element of a EmbeddedBinding * Move appsEnabled to utils/apps.ts * Add a create request function, add logging, and check for undefined bindings. commit 5f2660f6adefcf1668f71f905622f4a150d5f95d Merge: faaebe611 f7ea0ec34 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 15 14:22:55 2021 +0100 Merge branch 'master' into feature/cloud-apps commit faaebe6115684c7cae5abd748d963980f9626a9e Author: Lev <1187448+levb@users.noreply.github.com> Date: Sat Feb 13 15:53:56 2021 -0800 Refactored apps command parser (#7426) * Fixed command autocomplete for no fields * make test * small fix: restore * wip * wip wip * wip appears to compile * first tests * Consolidated TC type and checks * ParseForm tests work, again * ParseForm tests work, again * unit tests work * nit * PR feedback, some debugging * PR feedback * PR feedback: moved methods into ParsedCommand * merging... * more merging * more more merging commit 50babb5bcef3dbc044e2cb69ef40cee69fefa820 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 19:00:55 2021 +0100 [MM-31088] Set submit buttons to the bottom of the form (#7473) * Set submit buttons to the bottom of the form * Fix typescript * Fix test * Fix lint commit e5619c9a1cc49f246c43ddd116b8b62946907bf5 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 15:31:50 2021 +0100 Isolate Apps to disable them whenever needed (#7376) * Isolate Apps to disable them whenever needed * Use feature flags * Isolate command_provider * Change shouldProcessApps by a more meaningful name appsEnabled * Fix test commit 1f866cdfd6972607decdbe64014ebb7d7566ad3f Merge: e65f8e066 3a24c6a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 13:23:13 2021 +0100 Merge branch 'master' into feature/cloud-apps commit e65f8e06613fc5a5d31573071c42d407dc799462 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Tue Feb 9 09:59:38 2021 +0100 [MM-32476] Apps in the Marketplace (#7474) commit 93e7c3421fef3f7f7a50bbc095512116f7976553 Merge: b2ef64e41 00b9e12d0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Feb 4 13:20:10 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit b2ef64e4132f500dd4d3c7226b87da8c58bd3a25 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:58:03 2021 +0100 Update redux reference commit 63f211746e975e5509d7d749c9c26d2cfcd39963 Merge: 837694a9b 0de03d607 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:54:11 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 837694a9b3a61911cd3c3e9cf21b678b3182b6fa Merge: c1cd297e9 b819372f0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Jan 29 13:53:47 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit c1cd297e94a9dcaea00508ad11c696d512365fdd Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 27 11:58:32 2021 +0100 Add Navigate to AppCallResonses handling (#7377) commit 44d85a493644efff7bd6363d95f888b681ada21d Author: Jason Frerich <jason.frerich@mattermost.com> Date: Wed Jan 27 04:58:12 2021 -0600 use label tag, not paragraph (#7378) commit 0411421a0af3d014c1adbf15c16f431d835e88bc Author: Daniel Espino García <larkox@gmail.com> Date: Tue Jan 26 17:44:12 2021 +0100 Fix Embedded forms after refactor (#7331) * Fix Embedded forms after refactor * Fix lint commit 9eba5ecc26885cc0e252c4d7ac2fbbff8510a078 Merge: 4f5f04144 b252c8a44 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 12:31:46 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4f5f04144375d6a2ce591265e8c78d3eab40919e Merge: 4716206ff 97e741e1d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 11:30:51 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4716206ffa48b174a8a8aa7882158c43c0f2ab3a Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:16:56 2021 +0100 Point to latest redux commit 0122d36712de26a51440ced499d77fdd956fe7aa Merge: f27d6e1cf 19b189c04 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:02:26 2021 +0100 Merge branch 'master' into feature/cloud-apps commit f27d6e1cf898eb71f5424c9520ef81c76a8ae28b Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Thu Jan 14 17:09:42 2021 -0500 Dynamic Apps Modals (#7166) * First approach on embedded forms * Fix lint * Render form in the RHS * Send needed information along the form * Address feedback * Use proper redux version * Add embedded buttons * Handle embedded forms as new modals * Improve state handling * Remove unneeded changes * Fix lint * Migrate button_selector to typescript and make buttons disabled * Fix lint * Make errors work on Embedded and Modal forms * Handle button field type from app forms * Consider button fields also select fields and handle submit_buttons field * dynamic select works. modal can refresh on submit * updates for refreshing on select * fix types * mm-redux * types * snapshot * change react-select import * fix react-select type * submit buttons * error handling * import lint * fix embedded form props * lint * updates for call structure * lint * mm-redux * move presentation field from call to binding * update tests * update prop for test * modal maintains its own state until it unmounts/closes * fix test * mm-redux and fix * fixes for using form call * remove dispatch * fix post id * fix command lookups. allow commands to open modals through binding's presentation * mm-redux * remove interactive dialog field references * fix test * test updates * use global store for command_provider, which is mocked in test * call.type == 'form' && response.type == 'form' opens a modal * lint * remove makeLookupCallPayload * lint * fix imports * fix import Co-authored-by: Daniel Espino García <larkox@gmail.com> commit 6f9f30379191db3f9988113ffdc950a2b2fbff86 Author: Daniel Espino García <larkox@gmail.com> Date: Thu Jan 14 14:59:49 2021 +0100 Fix missing channel header buttons (#7322) commit be9f4ff9bc770dff1723a8938010537486de7812 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 13 09:48:41 2021 +0100 Merge master to feature branch (#7250) * [MM-30193] change file attachment info to show fractions below 10 (#6935) * change fileinfo to show fractions below 10M * fix formatting * add linting fixes and clean up code * fix incorrect brackets Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Revert "Mm 29111 search bar and search results as fc (#6796)" (#6999) This reverts commit 9fba9a9789e3e1e6194daa36aabe343859e8511b. * [MM-20196] Use UTC timezone for formattedDate so it doesn't change the date (#7000) * Use UTC timezone for formattedDate so it doesn't change the date * Add toUTCString * Remove it because it isn't needed * Add to last invoice summary * Make invoice.tax a boolean so a rogue 0 isn't rendered (#7001) * Translations update from Weblate (#7006) * Translated using Weblate (Dutch) Currently translated at 99.9% (4294 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.5% (4275 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.6% (4270 of 4285 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Spanish) Currently translated at 99.2% (4264 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4295 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 96.0% (4126 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * [MM-30066] Allow sidebar category button width to grow and shrink as needed (#6955) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate team_list and team_row to typescript (#6914) Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> * [MM-20482] Migrate 'components/post_view/channel_intro_message' module … (#6729) * MM-28843 Adding feature flags to system console for easy diagnosis. (#6905) * Adding feature flags to system console for easy diagnosis. * Use AdminConfig type. * Redux update. * [MM-29850] Migrate string-refs to functional ones: this.refs.errorMessage (#6881) * Update string ref to functional ref * Make ref load before use Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30190] Show spinner when loading invoices instead of 'no invoices found' (#7012) * [MM-T560] Add test for notifications (#6884) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-20492 Migrate 'components/post_view/post_message_view' module and … (#6738) * Cypress/E2E: Fix custom categories spec (#7011) * [MM-30216] - Add check for undefined fileInfos (#7019) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-20465] migrate single_image_view to typescript (#6774) * migrate single_image_view to typescript * fix unit test * resolove review comment * Update components/single_image_view/single_image_view.tsx * Guard clause fileinfo` Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Nev Angelova <nevyana.angelova@mattermost.com> Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-29903] - Check if current user is on last post when scrolling in rhs (#6920) * Scroll user to bottom when they are on the latest post in rhs * fix tests * Fix type check * Implement using getSnapshotBeforeUpdate * Remove comment box and set refs * Update scroll logic * resize rhs container correctly * Calculate with header height * fix type error * please linter * update snapshot Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Nevyana Angelova <nevyangelova@nevyanas-mbp-2.mynet> * MM-T614 Search on Outgoing Webhooks page (#6873) * wip * cleanup, optimize * remove file Co-authored-by: Mattermost <mattermost@Michaels-MacBook-Pro.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: Move cluster spec to enterprise (#7010) * Cypress/E2E: Move cluster spec to enterprise * Add @enterprise tag * MM-20578 Migrate 'components/admin_console/system_user_detail' module… (#6801) * [MM-20568] Migrate 'components/admin_console/system_users' module to ts (#6829) * Fixing title text in select team icon. (#7023) * MM-30090 Open managed resource links in a new tab (#7024) * MM-30090 Open managed resource links in a new tab * MM-30090 Add ManagedResourcePaths setting * Update test case to reflect new case * Fix types * Revert unnecessary type changes * Switch mattermost-redux back to master * MM-27903, MM-27899: Folded Reply Threads: ThreadItem and ThreadFooter (#6585) * wip: checkpoint * wip: fix tooltip * wip: checkpoint * move connected profile_picture back out of widgets * timestamp improvements * wip: threading components * wip: thread footer * timestamp story improvments * wip: threading components * wip: threading components * wip: threading comps * wip: thread menu * update testing * wip: testing updates * unit tests, storybook cleanup * tweak timestamp knob arrangement * i18n * stray apostrophe; snapshots-i18n * profile_picture index * misc cleanup * put prop-types rule back in * simple_tooltip remove FC * sync relative time spec * update snapshots * Update index.stories.js * Update story_box.tsx * remove trailing space * update url * remove frag * sb container width * review fixes * review fixes/improvements * review/other changes * simplify * actually add nowrap * fix new messages tooltip style * cleanup * improvements, clarity * clearer conditionals * remove unused css/simplify * use text-clamp mixin, fix knob typo * remove unused css props * remove empty file * fix bad role attr * sync css; test appended button * review changes * badge as button if it has a click handler * update snapshot Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate string-refs in user_list.jsx (#6704) * migrate string-refs in user_list.jsx * add unit test for user_list.jsx * remove the eslint-enable/disable comments + rename this.container Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T556] Add e2e test for MM-T556 (#7016) * Add e2e test for MM-T556 Add e2e test for Browser tab and team sidebar notification - no unreads/mentions Github Issues: Fixes https://github.com/mattermost/mattermost-server/issues/15705 Jira Ticket: MM-T556 * Fix finicky test * Move Remove mention notification to before() * Fix broken test * Linting Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-24505-Update-help-text-leave-team-modal (#6572) * message update for leave team modal and updated in i18en.json * implemented dynamic channl values and changed tests * update failing snapshot * added new strings for public and priivate cases * updated desc * update plurals in string * removed console log statement * modal description based on the counts * i18n order changed * i18n corrected * resolved suggestions * updated failing snapshot * corrected messages in modals * updated snapshot * rewordings to modal texts * guest modal message * guest modal condition added along with modal message * updated failing snapshot * added currentuser prop to the test file * Fixed type error in test file * Fixes condition * conditions for zero public & zero private for guest * modified conditions * Fixed modal messages * snapshot updated * Fixes * MM-29929 Fix for unread messages toast on marking channel as unread (#7028) * The initOffset we use for displaying toast should be only used mount as that is not a relative scroll position and is only set on mount * Changing this to show unread toast on all occasions of marking channel as unread other than channel at bottom * [MM-26386] - Respect user locale when searching for channels (#6904) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-25186] Bot username validation i8n support (#6629) * Migrate String Refs to Functional ones - MM 16039 (#6865) * MM-29849/MM-29942/MM-29982 Fix code theme not being applied (#7008) * Convert 'components/post_view/post_info' module and associated tests to TypeScript (#6619) * Convert 'components/post_view/post_info' module and associated tests to TypeScript. Based on conversations with @devin and @abdu - marking certain props as non-mandatory. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some issues from rebasing from latest master branch * Handling null checks for 'getCurrentChannel' calls. * Fixing issue with white page. * Fixing issue with check types. Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30183] - No more text decoration on hover and focus (#7020) * Fix no text decoration on hover and focus * revert extra space Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20470] Migrate emoji page and any team permission gate to typescript #15470 (#6645) * Migrate emoji page and any team permission gate to typescript * Convert delete_emoji_modal to typescript Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30226][MM-39255] Allow a post to be sent when you do CMD + ENTER on Mac with 'Allow all messages' to be sent via CMD + ENTER (#7031) * make a post be able to send when you do command enter when editing post * fix linting * Edit task to take into control mac command key * fix linting * [MM-30340] Update post height when comment box height change occurs (#7039) * [MM-30340] Update post height when comment box height change occurs * Update snaps * Add scroll to bottom to the resize function * Remove redundant check Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Translations update from Weblate (#7046) * Translated using Weblate (Japanese) Currently translated at 98.1% (4219 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4302 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4298 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 96.3% (4147 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Dutch) Currently translated at 99.6% (4310 of 4323 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.9% (4301 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Korean) Currently translated at 79.4% (3418 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Japanese) Currently translated at 97.5% (4220 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Korean) Currently translated at 79.7% (3453 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4214 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4215 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> * [MM-28181] e2e: add system_console/unsaved_changes_spec (#7009) * e2e: add system_console/unsaved_changes_spec * reflect revivew comments * 15474 convert team selector modal to ts (#6824) * Convert 'components/team_selector_modal' module and associated tests to TypeScript. * Fixing review comments. * Fixing review comments. * Fixing review comments. * Fixing bad merge Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-19509 Prioritize autocomplete results based on interactions and threads (#7002) * MM-19509 Prioritize autocomplete results based on interactions and threads * Add sort method of auto complete results to be based on last_viewed_at as well * Add new prop priorityResults to auto complete so we can add profiles like thread interactions on top * Fix sorting for remote results * Add E2E test for desktop notifications for empty strings (#6799) * Add E2E test for desktop notifications for empty strings * Update comments based on feedback * Typo Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20433 - convert view_pinned_posts to typescript (#7034) * MM-20433 - convert view_pinned_posts to typescript * fix linter errors Co-authored-by: Pablo Velez <pvelez@bp-3.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: fix test (#7052) * fix e2e test * make trial user configurable via env * fix order * [MM-29855] Migrate string-refs to functional ones: this.refs.content (#6867) * Update string refs to functional component based refs * Update string refs to functional component based refs * [MM-27231]: e2e for T1880 - deleted token cannot be used to post (#6901) * update api method to return more data, and add method to revoke token * test for T1880 - deletd token can't be used to post * fix comment * move methods to better place Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Fix menu rendering behind input box in RHS. (#7061) * [MM-27708] Disable Plugin on Removal (#6518) * [MM-30104][MM-30105] Fix up banners in payment_info and billing_subscription pages (#7063) * Fix up banners in payment_info and billing_subscription pages * Reset package-lock * Remove comment * [MM-27556] UI For new system roles (#6529) * Add translations * Basic skeleton without subsections visible * Allow roles to be saved and fix up styling * Dont allow sysadmins to be edited and dont allow self to be removed * Cleanup * Add translations * Save state properly * Update redux * Minor styling changes * Update redux * Bug fixes * Rename datagrid search to onSearch * Cleanup * UX fixes * Fix snaps * Forgot to check this in * Fix console error * Fix snaps * Expand by default if mixed access * update package json files * address PR comments * update redux hash * update redux hash * make disabled * add set navgiation blocked * Fix hash * make necessary changes * make read only admin editable * update function name * fix type check * fix lint issue * udpate redux hash * update search * update snap test * fix set navigation blocked after save * make conditional rendering for system manager * fix linting * go back after saving successfully * updat redux hash * Add Beta Tag Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * [MM-20428] Migrate terms of service to Typescript (#6965) * First pass * Added types everywhere * Fixed ESLint warnings and errors * Fix incorrect import * Updated snapshot * PR review feedback Co-authored-by: Christophe Carpentier <christophe.carpentier@imascap.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29621] Only load the stripe library when cloud components are actually rendered (#7067) * Only load the stripe library when cloud components are actually rendered * Use proper return type * Remove async * MM-20412: Migrate 'components/channel_header_mobile/show_search_button' module to TypeScript (#6969) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM 20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript (#6976) * MM-20404 * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix lint * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix linter Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27229 - Cypress/E2E: Automate backlogs - BOT Accounts - Part 06 (10 test cases) (#6772) Co-authored-by: Prapti <praptishrestha@gmail.com> Co-authored-by: Caleb Roseland <caleb@calebroseland.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate refs icon_url. #15801 (#6754) Automatic Merge * [GH-16035] Migrating refs plugin_management.tsx (#6866) Automatic Merge * [MM-29515] Hide imports tab when in cloud installation (#7069) * Hide imports tab when in cloud installation * fix types and linter * Revert package-lock to master * Make isCloud optional * MM-T446 DM More... searching from page 2 of user list (#7054) * wip * wip * revision * selector fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * DOPS-243 (#7075) DOPS-243 (#7075) * [GH-13483] Migrate 'components/channel_invite_modal' module and associated tests to TypeScript (#6968) * [WIP] migration to typescript * [WIP] further typescript changes * finalized move of component to typescript * [WIP] move index file to typescript * updated test to typescript * fix for types in index file * removed failing class import * [No Ticket] Update to latest redux hash and fixing test cases with missing types (#7084) Automatic Merge * [MM-27154] Cypress tests: Incoming Webhooks (#6977) * Incoming webhooks cypress tests * Remove unused variable * PR feedback * add license * PR feedback and lint * fix import path Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * fix failing tests due to announcement bar (#7077) * MM-27315 Cypress tests for Integrations > Slash command auto-complete (7 test cases) (#6909) * MM-30359: Cypress/E2E: Account Settings > Email (#7051) * MM-30359: Cypress/E2E: Account Settings > Email This PR automates the following test cases: MM-T2066 MM-T2067 MM-T2068 MM-T2069 MM-T2070 MM-T2071 MM-T2072 MM-T2073 https://mattermost.atlassian.net/browse/MM-30359 ```release-note NONE ``` * fix lint * add the other tests * Address review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T561] Add e2e test for MM-T561 (#7015) * Add e2e test Add test for: Browser tab and team sidebar - direct messages don't add indicator on team icon in team sidebar (but do in browser tab) Github Issues: Fix https://github.com/mattermost/mattermost-server/issues/15700 Jira Ticket: MM-T561 * Apply suggested review * Add cleanup for MM-T560_2 * Linting * Separate test file * Linting * Add prerequisite * Rename file * Remove old test Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28255] Add tests for OAuth Apps (#6558) * Add tests for OAuth Apps * Add remaining tests * Update test names, fix typos and add explicit status codes * Add group and license check * Move tests to enterprise folder Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-29858: Migrate string refs to functional ones in autosize textarea component (#6885) * MM-29858: Migrate string refs to functional ones in autosize textarea component * MM-29858: Rename reference instance variable with suffix Ref * MM-29858: Use camel casing for textarea reference variable * MM-29858: Allow empty value for textarea Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate errorMessage string ref (#6882) Automatic Merge * MM-T329 Image link preview (#7005) * wip * wip * finished * revision * remove log Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28150] e2e: add MM-T924, MM-T928, MM-T929, MM-T930 (#7045) * e2e: add MM-T924, MM-T928, MM-T929, MM-T930 * reflect review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30363: Cypress/E2E: Automate backlogs - Edit Bot Username (1 test case) (#7073) * MM-30373 - first iteration * MM-30377 - first iteration * remove spurious file * MM-30377 - further iteration * MM-30363 - first iteration * remove extra file * some cleanup * remoe extra space Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * promote and demote tests to/from prod (#7080) * Cypress/E2E: Fix toast appears unread spec (#7081) * change super to system (#7076) * MM-20418: Migrate 'components/channel_selector_modal' module and associated tests to TypeScript (#6975) * DOPS-243: Fix images (#7089) DOPS-243: Fix images (#7089) * MM-T439 Town Square is not marked as unread for existing users when a new user is added to the team (#7053) Automatic Merge * [MM-20582] Migrate 'components/admin_console/team_channel_settings/ch… (#6840) * MM-20465 Fix for collapse/expand of image preview (#7085) * The toggle function requires id and not post * This was most likely changed to fix a ts error * MM-20465 Revert usage of getCurrentChannel to getCurrentChannelId where possible (#7064) * [MM-29821] Prefer TypeScript files over JavaScript in webpack (#7090) * [MM-30317] add MANAGE_REMOTE_CLUSTERS permission (#7060) * add MANAGE_REMOTE_CLUSTERS permission * Update i18n/en.json Co-authored-by: Doug Lauder <wiggin77@warpmail.net> Co-authored-by: Doug Lauder <wiggin77@warpmail.net> * MM-20416: Migrate 'components/channel_header_mobile/collapse_lhs_button' module to TypeScript (#6971) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove Cloud billing flag from System Console (#7096) (cherry picked from commit 6c35b79ac663756b5e31f0b878531aabec68efd3) Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com> * Translations update from Weblate (#7100) * Translated using Weblate (Turkish) Currently translated at 100.0% (4390 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4329 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (German) Currently translated at 90.4% (3915 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/de/ * Translated using Weblate (Korean) Currently translated at 80.1% (3468 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4328 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Russian) Currently translated at 95.0% (4113 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4328 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 98.4% (4322 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 96.7% (4246 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4119 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 92.7% (4072 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4325 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Alexey Napalkov <flynbit@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> * Migrate 'components/announcement_bar/default_announcement_bar' module and associated tests to TypeScript (#6963) * rename file * working except for test file * restore unincluded test file to jsx * pass npm make check * update snapshot * respond to review comments * checkout package-lock.json * revert package-lock.json changes * fix linting errors Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate this.ref.dotMenu to functional (#6957) * Migrate this.ref.dotMenu to functional * Fixed formatting * Fix reference * rename dotMenu to dotMenuRef for consistency with other PRs, remove comments * Removed blanked line to pass lint check Co-authored-by: root <root@DESKTOP-4IBHFV5.localdomain> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20897 Add category muting (#7033) * MM-20897 Add ability to mute categories * Increase timeout to ensure test passes * Add E2E test for moving channels into muted categories * Update mattermost-redux to branch * Fix unit tests * Fix types * Update snapshot * asdf * Add additional E2E test and API client infrastructure * MM-24293 Fix to have group channels return in quick switcher with space (#7059) * MM-24293 Fix to have group channels return in quick siwchter with space * Split the search term by spaces and match with users in group channels * Update components/suggestion/switch_channel_provider.jsx Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * If card year is 0 return false for isExpired (#7101) * Converted 'dot_menu' to typescript. (#6825) * Migrate string refs of reset password modal (#7038) Automatic Merge * MM-20415 Migrate 'components/channel_header_mobile/unmute_channel_button' module and associated tests to TypeScript (#6972) * MM-30477 Fix for autocomplete not closing (#7093) Automatic Merge * MM-20897 Cleanup a couple missed issues (#7106) * MM-T638 Webhook posts when webhook creator is not a member of the channel (#7091) * wip * wip * wip * wip * added check * small fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript (#6668) * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript Fixes https://github.com/mattermost/mattermost-server/issues/15460 JIRA: https://mattermost.atlassian.net/browse/MM-20481 * Make actions attribute non nullable * Require YoutubeVideo's postId property since it really is * Fix tests * Add stages for onprem * Add build-vars stage * set isDisabled prop for site > notices (#7103) Automatic Merge * [MM-27931][MM-30158] Multi-selection and dragging of channels (#6979) * [MM-27931] Multiselection of channels * Test fix * Lint fix * Change opacity of selected state to 0.24 * Added hover state for selected channels * Tests for multiSelect * Drag and drop working (without visuals, missing redux commit) * Multi drag and drop styles (fade the selected channels, might change) * Don't allow multisellected channels to be dropped where they shouldn't be * Lint, type, test, translation fixes * Allow dragging of non matching channel groups by rejecting the channels that don't match * Redux update * Another test fix * Fixed selected count style to work off of center channel exclusively * Added really obvious styling * Style change/PR feedback * Style change * Include active channel in all initial selections * PR feedback * Add constant for shifted index Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20572] Migrate 'components/admin_console/compliance_reports' to TypeScript (#13500) (#7036) Automatic Merge * MM-30087 Remove direct dependency between Client4 and Rudder (#7056) * MM-30087 Remove direct dependency between Client4 and Rudder * Update tests * Switch mattermost-redux to master * Fix missing types * Change how we mock and import rudder * Remove test that checks if events are sent to Rudder * [MM_20423]'external_image'module to ts (#16151) (#7025) - migrate ts index.js file - migrate ts for external_image.tsx - migrate ts for external_images.test.jsx Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * Fix issue 16144: migrate components/claim module and tests to TypeScript (#7043) Automatic Merge * MM-T2056 e2e to test, Username change reflecting for other users (#7074) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-26334] Fixes direct messages loading screen misalignment (#6813) Summary: Reduces the height of the loading screen so it is more centered and/or unintrusive(small screens) enough to remove the scroll bar during loading. Ticket Link: Fixes https://github.com/mattermost/mattermost-server/issues/15926 * Translations update from Weblate (#7122) * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4121 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 98.9% (4345 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4392 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Spanish) Currently translated at 97.7% (4292 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4341 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> * MM-28153: Cypress/E2E: Automate backlogs - System Console > Environment (8 test cases) (#7049) * MM-30377: Cypress/E2E: Automate backlogs - Messaging > Channel and Post Links (6 test cases) (#7072) * MM-30355: Cypress/E2E: Automate backlogs - Account Settings > Username (6 test cases) (#7062) * MM-27208 Add tests for MM-T1684, MM-T1687, and MM-T1688 (#7124) * MM-27208 MM-T1684 Add test number to existing test case * Fix makeClient for requests without a body * MM-27208 MM-T1687 Add test for another user archiving a channel * MM-27208 MM-T1688 Add test for searching in archived channels * Translations update from Weblate (#7139) * Translated using Weblate (Spanish) Currently translated at 99.1% (4357 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4344 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Dutch) Currently translated at 98.9% (4349 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.4% (4327 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> * [MM-20498] components/post_view/combined_system_message' to TypeScript (#7109) * Added Initial Ts conversion to last_users and last_user_test * Converted combined system message * Completed all files conversion * Updated Snapshots * Minor fix * Minor Fixes * Minor Fixes * Migrate 'components/sidebar_right_menu' module to TypeScript (#6962) * Converted 'leave_channel' to typescript. (#7115) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20581] Migrate index to TS in 'components/admin_console/team_channel_settings/channel/details' module (#6924) * mark browser.focused as false if starting in the background (#7050) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27989 Remove experimental setting for data prefetch (#7094) Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com> * [MM-27207] e2e leave archived channels I - last (#7117) Automatic Merge * MM-30370: Cypress/E2E: Automate backlogs - Keyboard Shortcuts (10 test cases) (#7113) Automatic Merge * MM-30371: Cypress/E2E: Automate backlogs - Keyboard Shortcuts part 2 (10 test cases) (#7112) * temporary work * further iteration * further work * Address CR comments Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29853] Migrate string-refs to functional ones: this.refs.fileInput (#7153) * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function Co-authored-by: lestgabo <lestgabo@gmail.com> * Fix display of boolean feature flags in system console. (#7156) * MM-30992 Add the capability to run part by part for Cypress parallel testing (part 1) (#7140) * add the capability to run part by part for Cypress parallel testing * update per comment and add default values * throw an error if --part is greater than --of * Cypress/E2E: Fix email verification that works both with current, Cloud and parallel testing (part 2) (#7142) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * update per comment * Cypress/E2E: Fix for several flaky tests (part 3) (#7143) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * Cypress/E2E: Fix tests for cloud (part 4) (#7147) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * fix tests for cloud * clean up label and flag * simplify log of license status and add log of server details * update per comment * fix return of Cypress custom commands (#7159) * [MM-30354] e2e fullname (#7126) Automatic Merge * Migrate to typescript Apps related files (#7021) * Migrate to typescript Apps related files * Use correct react-overlays types version * PR feedback * fix types * fix types * temporarily use any * remove unused import * Remove unneeded comments * Extract stringToNumber to utils * Fix minor warning on the console * Fix lint Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * MM-30972 Add proper padding to code preview line numbers (#7155) Automatic Merge * MM-28412: Add tm4j key (#7171) * [MM-26593] Disable pointer events on LHS scrollbar when scrolling isn't required (#7120) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Update NOTICE.txt (#7102) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30376 Cypress/E2E: Automate backlogs - Messaging (8 test cases) (#7141) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30969] Drop aria-label from Marketplace item description (#7133) * Drop aria-label from Marketplace item description * Add general aria-label * Translations update from Weblate (#7182) * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.8% (4383 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4344 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4346 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4393 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.2% (4356 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.1% (4356 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.2% (4359 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Japanese) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Russian) Currently translated at 93.9% (4125 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Lev <blendamedkiba94@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * MM-31115 - Fixed "how billing works" cloud link (#7183) * [MM-30372] Cypress/E2E: Automate backlogs - Messaging > Reply (#7149) * Implement Cypress test * Fix comments * Update e2e/cypress/integration/messaging/message_reply_part2_spec.js Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-30374: Cypress/E2E: Messaging > Markdown (#7146) * MM-30374: Cypress/E2E: Messaging > Markdown This PR automates MM-T1734 MM-T2241 MM-T2242 MM-T2244 MM-T2246 https://mattermost.atlassian.net/browse/MM-30374 ```release-note NONE ``` * incorporate review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30810 Remove special props from /me post (#7163) * [MM-30449] - Hide create category option when unread filter is enabled (#7151) * [MM-30449] - Hide create category option when unread filter is enabled * Fix lint * Update snaps Co-authored-by: Nevyana Angelova <nevyangelova@Nevyan…
Squashed commit of the following: commit 45682c25642f00fe2d967a396ab75527cba93a31 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 30 10:46:30 2021 +0200 Handle modal double submit commit d7f792eab390256180e131f5d902cd52535fdd61 Merge: 3fd6e9325 e53a8358f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:36:44 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 3fd6e9325c79beae42d0ebd041fc93b1e1009a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:22:54 2021 +0100 Remove Enable/Disable and Remove from System Console for cloud apps (#7651) * Remove Enable/Disable and Remove from System Console for cloud apps * Set buttons as null * Allow change the status when the feature flag is on * Fix test * Update snapshots Co-authored-by: Mattermod <mattermod@users.noreply.github.com> commit 7b4be8ebf51f251451f4900d1e5a363884306c93 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:11:01 2021 +0100 Case independency fixes (#7722) commit af6ba8797cd5c5387f2ed77fddcad82ddde81932 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:08:19 2021 +0100 Use Feature flag (#7643) * Use Feature flag * Fix test and minor improvement * Simplify return commit de7bca6c0782b47e2af101b2555894e0d80bf129 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 17 10:29:36 2021 -0400 Synchronize app command parser with mobile app (#7706) * Use type on call path, and minor refactoring * Add missing i18n * move files into app_command_parser folder * Fix navigation and small fix on error handling * include mobile app changes to command parser * i18n * types and lint * use intl * change i18n ids * tests * test fixes * add more tests for button_binding and select_binding * lint * fix merege issue * incorporate changes from #7703 * add translation * fix and i18n * remove unused translation Co-authored-by: Daniel Espino García <larkox@gmail.com> commit b54d6c52cda1c48adeb83e24f43901e3fdca7dc6 Merge: 05a669c46 ee77df3f0 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 12:15:35 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 05a669c46cfb85adc8e02f3ab2ea97a5a9ffe7e3 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 04:45:19 2021 +0100 Use type on call path, and minor refactoring (#7679) * Use type on call path, and minor refactoring * Add missing i18n * Fix navigation and small fix on error handling * Update redux reference * Fix types * Fix test * Fix test * Address PR Feedback commit 9b1cbbff02a092ef9a7d3a26fe0e016c257c4545 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:32:16 2021 +0100 Remove autocomplete of ~ and @ for user and channel suggestions (#7667) commit 00685fc935148b00ab6049ffb68e63a0a7a3399f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:29:52 2021 +0100 Fix command errors (#7664) commit 83a24ddc0d313c492410e644232720cee4f4dc94 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:27:04 2021 +0100 Command send options (user, channel, dynamic and static) as options and not only values. (#7650) * Command send options (user, channel, dynamic and static) as options and not only values. * Fetch users from server or generate error * Fix i18 and fix minor typo commit 6c1fea615501be4924d3fb9eaf8a987fdbe2552c Merge: d06cdffb8 507991558 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 9 11:14:07 2021 +0100 Merge branch 'master' into feature/cloud-apps commit d06cdffb86def63d4fa67f145775d6b6ce3deb3d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 8 15:08:35 2021 +0100 Fix multiword select options and keep quotes on complete values (#7644) * Fix multiword select options and keep quotes on complete values * Fix test commit e1d67a169ae88d43c9f76f0dc11d94db7e9722df Author: Daniel Espino García <larkox@gmail.com> Date: Sat Mar 6 11:55:43 2021 +0100 Fix channel header dropdown icon size and count (#7642) commit c5c86ca148002ac11a97035fbba6d50f55630fde Author: Daniel Espino García <larkox@gmail.com> Date: Thu Mar 4 11:47:21 2021 +0100 All select use AppSelectOption (#7612) * All select use AppSelectOption * Fix test commit 2f0ab8f9e9fd602fad5cf4d6cf258dbda5b95c8c Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Mar 4 11:13:45 2021 +0100 Use App id to install App from Marketplace (#7631) * Use App id to install App from Marketplace * Fix tests commit 94a86bec10017df9f22bc78ad04aa0d2596c3e24 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 09:24:35 2021 +0100 Add refresh websocket event (#7599) * Add refresh websocket event * Make more obvious the App framework events * Fix typo and separate handler into a function commit bde2a3488503b60cd5deb273f29ad035f93c0dfb Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 06:25:03 2021 +0100 Handle errors on binding locations (#7556) * Handle errors on binding locations * Fix types * Fix lint * Translate and handle all messages directly in the binding * Fix various errors * Fix snapshot commit 8868f33acc0a1fa089354ce7fa9e99dcfd404eec Merge: 2e3c92e28 db27a519d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 1 12:02:52 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 2e3c92e2827fc37890796768e157c16042b4e4e4 Author: Daniel Espino García <larkox@gmail.com> Date: Fri Feb 26 23:00:48 2021 +0100 Fix App parser (#7555) * Fix parser * Fix lint * Fix test commit c9dc94fd80bf6fbb1e18c2e3e1d88b4f5d3eff47 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Feb 26 19:17:30 2021 +0100 [MM-31508] Rename URL to Path in Call (#7566) commit 6b0675fcadee8ee24df6bdf7c4ff713e27a732c9 Merge: 5790e6316 82790213b Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 24 10:03:00 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 5790e6316b5110b8828a768a4ee37d92d107c91c Author: Daniel Espino García <larkox@gmail.com> Date: Tue Feb 16 12:48:49 2021 +0100 Rework embedded forms (#7423) * Rework embedded forms * Improve naming * Improve naming, improve binding filling and trimming and use binding as the base element of a EmbeddedBinding * Move appsEnabled to utils/apps.ts * Add a create request function, add logging, and check for undefined bindings. commit 5f2660f6adefcf1668f71f905622f4a150d5f95d Merge: faaebe611 f7ea0ec34 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 15 14:22:55 2021 +0100 Merge branch 'master' into feature/cloud-apps commit faaebe6115684c7cae5abd748d963980f9626a9e Author: Lev <1187448+levb@users.noreply.github.com> Date: Sat Feb 13 15:53:56 2021 -0800 Refactored apps command parser (#7426) * Fixed command autocomplete for no fields * make test * small fix: restore * wip * wip wip * wip appears to compile * first tests * Consolidated TC type and checks * ParseForm tests work, again * ParseForm tests work, again * unit tests work * nit * PR feedback, some debugging * PR feedback * PR feedback: moved methods into ParsedCommand * merging... * more merging * more more merging commit 50babb5bcef3dbc044e2cb69ef40cee69fefa820 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 19:00:55 2021 +0100 [MM-31088] Set submit buttons to the bottom of the form (#7473) * Set submit buttons to the bottom of the form * Fix typescript * Fix test * Fix lint commit e5619c9a1cc49f246c43ddd116b8b62946907bf5 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 15:31:50 2021 +0100 Isolate Apps to disable them whenever needed (#7376) * Isolate Apps to disable them whenever needed * Use feature flags * Isolate command_provider * Change shouldProcessApps by a more meaningful name appsEnabled * Fix test commit 1f866cdfd6972607decdbe64014ebb7d7566ad3f Merge: e65f8e066 3a24c6a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 13:23:13 2021 +0100 Merge branch 'master' into feature/cloud-apps commit e65f8e06613fc5a5d31573071c42d407dc799462 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Tue Feb 9 09:59:38 2021 +0100 [MM-32476] Apps in the Marketplace (#7474) commit 93e7c3421fef3f7f7a50bbc095512116f7976553 Merge: b2ef64e41 00b9e12d0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Feb 4 13:20:10 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit b2ef64e4132f500dd4d3c7226b87da8c58bd3a25 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:58:03 2021 +0100 Update redux reference commit 63f211746e975e5509d7d749c9c26d2cfcd39963 Merge: 837694a9b 0de03d607 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:54:11 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 837694a9b3a61911cd3c3e9cf21b678b3182b6fa Merge: c1cd297e9 b819372f0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Jan 29 13:53:47 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit c1cd297e94a9dcaea00508ad11c696d512365fdd Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 27 11:58:32 2021 +0100 Add Navigate to AppCallResonses handling (#7377) commit 44d85a493644efff7bd6363d95f888b681ada21d Author: Jason Frerich <jason.frerich@mattermost.com> Date: Wed Jan 27 04:58:12 2021 -0600 use label tag, not paragraph (#7378) commit 0411421a0af3d014c1adbf15c16f431d835e88bc Author: Daniel Espino García <larkox@gmail.com> Date: Tue Jan 26 17:44:12 2021 +0100 Fix Embedded forms after refactor (#7331) * Fix Embedded forms after refactor * Fix lint commit 9eba5ecc26885cc0e252c4d7ac2fbbff8510a078 Merge: 4f5f04144 b252c8a44 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 12:31:46 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4f5f04144375d6a2ce591265e8c78d3eab40919e Merge: 4716206ff 97e741e1d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 11:30:51 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4716206ffa48b174a8a8aa7882158c43c0f2ab3a Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:16:56 2021 +0100 Point to latest redux commit 0122d36712de26a51440ced499d77fdd956fe7aa Merge: f27d6e1cf 19b189c04 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:02:26 2021 +0100 Merge branch 'master' into feature/cloud-apps commit f27d6e1cf898eb71f5424c9520ef81c76a8ae28b Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Thu Jan 14 17:09:42 2021 -0500 Dynamic Apps Modals (#7166) * First approach on embedded forms * Fix lint * Render form in the RHS * Send needed information along the form * Address feedback * Use proper redux version * Add embedded buttons * Handle embedded forms as new modals * Improve state handling * Remove unneeded changes * Fix lint * Migrate button_selector to typescript and make buttons disabled * Fix lint * Make errors work on Embedded and Modal forms * Handle button field type from app forms * Consider button fields also select fields and handle submit_buttons field * dynamic select works. modal can refresh on submit * updates for refreshing on select * fix types * mm-redux * types * snapshot * change react-select import * fix react-select type * submit buttons * error handling * import lint * fix embedded form props * lint * updates for call structure * lint * mm-redux * move presentation field from call to binding * update tests * update prop for test * modal maintains its own state until it unmounts/closes * fix test * mm-redux and fix * fixes for using form call * remove dispatch * fix post id * fix command lookups. allow commands to open modals through binding's presentation * mm-redux * remove interactive dialog field references * fix test * test updates * use global store for command_provider, which is mocked in test * call.type == 'form' && response.type == 'form' opens a modal * lint * remove makeLookupCallPayload * lint * fix imports * fix import Co-authored-by: Daniel Espino García <larkox@gmail.com> commit 6f9f30379191db3f9988113ffdc950a2b2fbff86 Author: Daniel Espino García <larkox@gmail.com> Date: Thu Jan 14 14:59:49 2021 +0100 Fix missing channel header buttons (#7322) commit be9f4ff9bc770dff1723a8938010537486de7812 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 13 09:48:41 2021 +0100 Merge master to feature branch (#7250) * [MM-30193] change file attachment info to show fractions below 10 (#6935) * change fileinfo to show fractions below 10M * fix formatting * add linting fixes and clean up code * fix incorrect brackets Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Revert "Mm 29111 search bar and search results as fc (#6796)" (#6999) This reverts commit 9fba9a9789e3e1e6194daa36aabe343859e8511b. * [MM-20196] Use UTC timezone for formattedDate so it doesn't change the date (#7000) * Use UTC timezone for formattedDate so it doesn't change the date * Add toUTCString * Remove it because it isn't needed * Add to last invoice summary * Make invoice.tax a boolean so a rogue 0 isn't rendered (#7001) * Translations update from Weblate (#7006) * Translated using Weblate (Dutch) Currently translated at 99.9% (4294 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.5% (4275 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.6% (4270 of 4285 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Spanish) Currently translated at 99.2% (4264 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4295 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 96.0% (4126 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * [MM-30066] Allow sidebar category button width to grow and shrink as needed (#6955) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate team_list and team_row to typescript (#6914) Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> * [MM-20482] Migrate 'components/post_view/channel_intro_message' module … (#6729) * MM-28843 Adding feature flags to system console for easy diagnosis. (#6905) * Adding feature flags to system console for easy diagnosis. * Use AdminConfig type. * Redux update. * [MM-29850] Migrate string-refs to functional ones: this.refs.errorMessage (#6881) * Update string ref to functional ref * Make ref load before use Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30190] Show spinner when loading invoices instead of 'no invoices found' (#7012) * [MM-T560] Add test for notifications (#6884) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-20492 Migrate 'components/post_view/post_message_view' module and … (#6738) * Cypress/E2E: Fix custom categories spec (#7011) * [MM-30216] - Add check for undefined fileInfos (#7019) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-20465] migrate single_image_view to typescript (#6774) * migrate single_image_view to typescript * fix unit test * resolove review comment * Update components/single_image_view/single_image_view.tsx * Guard clause fileinfo` Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Nev Angelova <nevyana.angelova@mattermost.com> Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-29903] - Check if current user is on last post when scrolling in rhs (#6920) * Scroll user to bottom when they are on the latest post in rhs * fix tests * Fix type check * Implement using getSnapshotBeforeUpdate * Remove comment box and set refs * Update scroll logic * resize rhs container correctly * Calculate with header height * fix type error * please linter * update snapshot Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Nevyana Angelova <nevyangelova@nevyanas-mbp-2.mynet> * MM-T614 Search on Outgoing Webhooks page (#6873) * wip * cleanup, optimize * remove file Co-authored-by: Mattermost <mattermost@Michaels-MacBook-Pro.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: Move cluster spec to enterprise (#7010) * Cypress/E2E: Move cluster spec to enterprise * Add @enterprise tag * MM-20578 Migrate 'components/admin_console/system_user_detail' module… (#6801) * [MM-20568] Migrate 'components/admin_console/system_users' module to ts (#6829) * Fixing title text in select team icon. (#7023) * MM-30090 Open managed resource links in a new tab (#7024) * MM-30090 Open managed resource links in a new tab * MM-30090 Add ManagedResourcePaths setting * Update test case to reflect new case * Fix types * Revert unnecessary type changes * Switch mattermost-redux back to master * MM-27903, MM-27899: Folded Reply Threads: ThreadItem and ThreadFooter (#6585) * wip: checkpoint * wip: fix tooltip * wip: checkpoint * move connected profile_picture back out of widgets * timestamp improvements * wip: threading components * wip: thread footer * timestamp story improvments * wip: threading components * wip: threading components * wip: threading comps * wip: thread menu * update testing * wip: testing updates * unit tests, storybook cleanup * tweak timestamp knob arrangement * i18n * stray apostrophe; snapshots-i18n * profile_picture index * misc cleanup * put prop-types rule back in * simple_tooltip remove FC * sync relative time spec * update snapshots * Update index.stories.js * Update story_box.tsx * remove trailing space * update url * remove frag * sb container width * review fixes * review fixes/improvements * review/other changes * simplify * actually add nowrap * fix new messages tooltip style * cleanup * improvements, clarity * clearer conditionals * remove unused css/simplify * use text-clamp mixin, fix knob typo * remove unused css props * remove empty file * fix bad role attr * sync css; test appended button * review changes * badge as button if it has a click handler * update snapshot Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate string-refs in user_list.jsx (#6704) * migrate string-refs in user_list.jsx * add unit test for user_list.jsx * remove the eslint-enable/disable comments + rename this.container Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T556] Add e2e test for MM-T556 (#7016) * Add e2e test for MM-T556 Add e2e test for Browser tab and team sidebar notification - no unreads/mentions Github Issues: Fixes https://github.com/mattermost/mattermost-server/issues/15705 Jira Ticket: MM-T556 * Fix finicky test * Move Remove mention notification to before() * Fix broken test * Linting Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-24505-Update-help-text-leave-team-modal (#6572) * message update for leave team modal and updated in i18en.json * implemented dynamic channl values and changed tests * update failing snapshot * added new strings for public and priivate cases * updated desc * update plurals in string * removed console log statement * modal description based on the counts * i18n order changed * i18n corrected * resolved suggestions * updated failing snapshot * corrected messages in modals * updated snapshot * rewordings to modal texts * guest modal message * guest modal condition added along with modal message * updated failing snapshot * added currentuser prop to the test file * Fixed type error in test file * Fixes condition * conditions for zero public & zero private for guest * modified conditions * Fixed modal messages * snapshot updated * Fixes * MM-29929 Fix for unread messages toast on marking channel as unread (#7028) * The initOffset we use for displaying toast should be only used mount as that is not a relative scroll position and is only set on mount * Changing this to show unread toast on all occasions of marking channel as unread other than channel at bottom * [MM-26386] - Respect user locale when searching for channels (#6904) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-25186] Bot username validation i8n support (#6629) * Migrate String Refs to Functional ones - MM 16039 (#6865) * MM-29849/MM-29942/MM-29982 Fix code theme not being applied (#7008) * Convert 'components/post_view/post_info' module and associated tests to TypeScript (#6619) * Convert 'components/post_view/post_info' module and associated tests to TypeScript. Based on conversations with @devin and @abdu - marking certain props as non-mandatory. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some issues from rebasing from latest master branch * Handling null checks for 'getCurrentChannel' calls. * Fixing issue with white page. * Fixing issue with check types. Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30183] - No more text decoration on hover and focus (#7020) * Fix no text decoration on hover and focus * revert extra space Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20470] Migrate emoji page and any team permission gate to typescript #15470 (#6645) * Migrate emoji page and any team permission gate to typescript * Convert delete_emoji_modal to typescript Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30226][MM-39255] Allow a post to be sent when you do CMD + ENTER on Mac with 'Allow all messages' to be sent via CMD + ENTER (#7031) * make a post be able to send when you do command enter when editing post * fix linting * Edit task to take into control mac command key * fix linting * [MM-30340] Update post height when comment box height change occurs (#7039) * [MM-30340] Update post height when comment box height change occurs * Update snaps * Add scroll to bottom to the resize function * Remove redundant check Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Translations update from Weblate (#7046) * Translated using Weblate (Japanese) Currently translated at 98.1% (4219 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4302 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4298 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 96.3% (4147 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Dutch) Currently translated at 99.6% (4310 of 4323 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.9% (4301 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Korean) Currently translated at 79.4% (3418 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Japanese) Currently translated at 97.5% (4220 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Korean) Currently translated at 79.7% (3453 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4214 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4215 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> * [MM-28181] e2e: add system_console/unsaved_changes_spec (#7009) * e2e: add system_console/unsaved_changes_spec * reflect revivew comments * 15474 convert team selector modal to ts (#6824) * Convert 'components/team_selector_modal' module and associated tests to TypeScript. * Fixing review comments. * Fixing review comments. * Fixing review comments. * Fixing bad merge Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-19509 Prioritize autocomplete results based on interactions and threads (#7002) * MM-19509 Prioritize autocomplete results based on interactions and threads * Add sort method of auto complete results to be based on last_viewed_at as well * Add new prop priorityResults to auto complete so we can add profiles like thread interactions on top * Fix sorting for remote results * Add E2E test for desktop notifications for empty strings (#6799) * Add E2E test for desktop notifications for empty strings * Update comments based on feedback * Typo Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20433 - convert view_pinned_posts to typescript (#7034) * MM-20433 - convert view_pinned_posts to typescript * fix linter errors Co-authored-by: Pablo Velez <pvelez@bp-3.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: fix test (#7052) * fix e2e test * make trial user configurable via env * fix order * [MM-29855] Migrate string-refs to functional ones: this.refs.content (#6867) * Update string refs to functional component based refs * Update string refs to functional component based refs * [MM-27231]: e2e for T1880 - deleted token cannot be used to post (#6901) * update api method to return more data, and add method to revoke token * test for T1880 - deletd token can't be used to post * fix comment * move methods to better place Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Fix menu rendering behind input box in RHS. (#7061) * [MM-27708] Disable Plugin on Removal (#6518) * [MM-30104][MM-30105] Fix up banners in payment_info and billing_subscription pages (#7063) * Fix up banners in payment_info and billing_subscription pages * Reset package-lock * Remove comment * [MM-27556] UI For new system roles (#6529) * Add translations * Basic skeleton without subsections visible * Allow roles to be saved and fix up styling * Dont allow sysadmins to be edited and dont allow self to be removed * Cleanup * Add translations * Save state properly * Update redux * Minor styling changes * Update redux * Bug fixes * Rename datagrid search to onSearch * Cleanup * UX fixes * Fix snaps * Forgot to check this in * Fix console error * Fix snaps * Expand by default if mixed access * update package json files * address PR comments * update redux hash * update redux hash * make disabled * add set navgiation blocked * Fix hash * make necessary changes * make read only admin editable * update function name * fix type check * fix lint issue * udpate redux hash * update search * update snap test * fix set navigation blocked after save * make conditional rendering for system manager * fix linting * go back after saving successfully * updat redux hash * Add Beta Tag Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * [MM-20428] Migrate terms of service to Typescript (#6965) * First pass * Added types everywhere * Fixed ESLint warnings and errors * Fix incorrect import * Updated snapshot * PR review feedback Co-authored-by: Christophe Carpentier <christophe.carpentier@imascap.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29621] Only load the stripe library when cloud components are actually rendered (#7067) * Only load the stripe library when cloud components are actually rendered * Use proper return type * Remove async * MM-20412: Migrate 'components/channel_header_mobile/show_search_button' module to TypeScript (#6969) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM 20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript (#6976) * MM-20404 * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix lint * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix linter Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27229 - Cypress/E2E: Automate backlogs - BOT Accounts - Part 06 (10 test cases) (#6772) Co-authored-by: Prapti <praptishrestha@gmail.com> Co-authored-by: Caleb Roseland <caleb@calebroseland.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate refs icon_url. #15801 (#6754) Automatic Merge * [GH-16035] Migrating refs plugin_management.tsx (#6866) Automatic Merge * [MM-29515] Hide imports tab when in cloud installation (#7069) * Hide imports tab when in cloud installation * fix types and linter * Revert package-lock to master * Make isCloud optional * MM-T446 DM More... searching from page 2 of user list (#7054) * wip * wip * revision * selector fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * DOPS-243 (#7075) DOPS-243 (#7075) * [GH-13483] Migrate 'components/channel_invite_modal' module and associated tests to TypeScript (#6968) * [WIP] migration to typescript * [WIP] further typescript changes * finalized move of component to typescript * [WIP] move index file to typescript * updated test to typescript * fix for types in index file * removed failing class import * [No Ticket] Update to latest redux hash and fixing test cases with missing types (#7084) Automatic Merge * [MM-27154] Cypress tests: Incoming Webhooks (#6977) * Incoming webhooks cypress tests * Remove unused variable * PR feedback * add license * PR feedback and lint * fix import path Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * fix failing tests due to announcement bar (#7077) * MM-27315 Cypress tests for Integrations > Slash command auto-complete (7 test cases) (#6909) * MM-30359: Cypress/E2E: Account Settings > Email (#7051) * MM-30359: Cypress/E2E: Account Settings > Email This PR automates the following test cases: MM-T2066 MM-T2067 MM-T2068 MM-T2069 MM-T2070 MM-T2071 MM-T2072 MM-T2073 https://mattermost.atlassian.net/browse/MM-30359 ```release-note NONE ``` * fix lint * add the other tests * Address review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T561] Add e2e test for MM-T561 (#7015) * Add e2e test Add test for: Browser tab and team sidebar - direct messages don't add indicator on team icon in team sidebar (but do in browser tab) Github Issues: Fix https://github.com/mattermost/mattermost-server/issues/15700 Jira Ticket: MM-T561 * Apply suggested review * Add cleanup for MM-T560_2 * Linting * Separate test file * Linting * Add prerequisite * Rename file * Remove old test Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28255] Add tests for OAuth Apps (#6558) * Add tests for OAuth Apps * Add remaining tests * Update test names, fix typos and add explicit status codes * Add group and license check * Move tests to enterprise folder Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-29858: Migrate string refs to functional ones in autosize textarea component (#6885) * MM-29858: Migrate string refs to functional ones in autosize textarea component * MM-29858: Rename reference instance variable with suffix Ref * MM-29858: Use camel casing for textarea reference variable * MM-29858: Allow empty value for textarea Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate errorMessage string ref (#6882) Automatic Merge * MM-T329 Image link preview (#7005) * wip * wip * finished * revision * remove log Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28150] e2e: add MM-T924, MM-T928, MM-T929, MM-T930 (#7045) * e2e: add MM-T924, MM-T928, MM-T929, MM-T930 * reflect review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30363: Cypress/E2E: Automate backlogs - Edit Bot Username (1 test case) (#7073) * MM-30373 - first iteration * MM-30377 - first iteration * remove spurious file * MM-30377 - further iteration * MM-30363 - first iteration * remove extra file * some cleanup * remoe extra space Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * promote and demote tests to/from prod (#7080) * Cypress/E2E: Fix toast appears unread spec (#7081) * change super to system (#7076) * MM-20418: Migrate 'components/channel_selector_modal' module and associated tests to TypeScript (#6975) * DOPS-243: Fix images (#7089) DOPS-243: Fix images (#7089) * MM-T439 Town Square is not marked as unread for existing users when a new user is added to the team (#7053) Automatic Merge * [MM-20582] Migrate 'components/admin_console/team_channel_settings/ch… (#6840) * MM-20465 Fix for collapse/expand of image preview (#7085) * The toggle function requires id and not post * This was most likely changed to fix a ts error * MM-20465 Revert usage of getCurrentChannel to getCurrentChannelId where possible (#7064) * [MM-29821] Prefer TypeScript files over JavaScript in webpack (#7090) * [MM-30317] add MANAGE_REMOTE_CLUSTERS permission (#7060) * add MANAGE_REMOTE_CLUSTERS permission * Update i18n/en.json Co-authored-by: Doug Lauder <wiggin77@warpmail.net> Co-authored-by: Doug Lauder <wiggin77@warpmail.net> * MM-20416: Migrate 'components/channel_header_mobile/collapse_lhs_button' module to TypeScript (#6971) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove Cloud billing flag from System Console (#7096) (cherry picked from commit 6c35b79ac663756b5e31f0b878531aabec68efd3) Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com> * Translations update from Weblate (#7100) * Translated using Weblate (Turkish) Currently translated at 100.0% (4390 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4329 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (German) Currently translated at 90.4% (3915 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/de/ * Translated using Weblate (Korean) Currently translated at 80.1% (3468 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4328 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Russian) Currently translated at 95.0% (4113 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4328 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 98.4% (4322 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 96.7% (4246 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4119 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 92.7% (4072 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4325 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Alexey Napalkov <flynbit@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> * Migrate 'components/announcement_bar/default_announcement_bar' module and associated tests to TypeScript (#6963) * rename file * working except for test file * restore unincluded test file to jsx * pass npm make check * update snapshot * respond to review comments * checkout package-lock.json * revert package-lock.json changes * fix linting errors Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate this.ref.dotMenu to functional (#6957) * Migrate this.ref.dotMenu to functional * Fixed formatting * Fix reference * rename dotMenu to dotMenuRef for consistency with other PRs, remove comments * Removed blanked line to pass lint check Co-authored-by: root <root@DESKTOP-4IBHFV5.localdomain> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20897 Add category muting (#7033) * MM-20897 Add ability to mute categories * Increase timeout to ensure test passes * Add E2E test for moving channels into muted categories * Update mattermost-redux to branch * Fix unit tests * Fix types * Update snapshot * asdf * Add additional E2E test and API client infrastructure * MM-24293 Fix to have group channels return in quick switcher with space (#7059) * MM-24293 Fix to have group channels return in quick siwchter with space * Split the search term by spaces and match with users in group channels * Update components/suggestion/switch_channel_provider.jsx Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * If card year is 0 return false for isExpired (#7101) * Converted 'dot_menu' to typescript. (#6825) * Migrate string refs of reset password modal (#7038) Automatic Merge * MM-20415 Migrate 'components/channel_header_mobile/unmute_channel_button' module and associated tests to TypeScript (#6972) * MM-30477 Fix for autocomplete not closing (#7093) Automatic Merge * MM-20897 Cleanup a couple missed issues (#7106) * MM-T638 Webhook posts when webhook creator is not a member of the channel (#7091) * wip * wip * wip * wip * added check * small fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript (#6668) * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript Fixes https://github.com/mattermost/mattermost-server/issues/15460 JIRA: https://mattermost.atlassian.net/browse/MM-20481 * Make actions attribute non nullable * Require YoutubeVideo's postId property since it really is * Fix tests * Add stages for onprem * Add build-vars stage * set isDisabled prop for site > notices (#7103) Automatic Merge * [MM-27931][MM-30158] Multi-selection and dragging of channels (#6979) * [MM-27931] Multiselection of channels * Test fix * Lint fix * Change opacity of selected state to 0.24 * Added hover state for selected channels * Tests for multiSelect * Drag and drop working (without visuals, missing redux commit) * Multi drag and drop styles (fade the selected channels, might change) * Don't allow multisellected channels to be dropped where they shouldn't be * Lint, type, test, translation fixes * Allow dragging of non matching channel groups by rejecting the channels that don't match * Redux update * Another test fix * Fixed selected count style to work off of center channel exclusively * Added really obvious styling * Style change/PR feedback * Style change * Include active channel in all initial selections * PR feedback * Add constant for shifted index Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20572] Migrate 'components/admin_console/compliance_reports' to TypeScript (#13500) (#7036) Automatic Merge * MM-30087 Remove direct dependency between Client4 and Rudder (#7056) * MM-30087 Remove direct dependency between Client4 and Rudder * Update tests * Switch mattermost-redux to master * Fix missing types * Change how we mock and import rudder * Remove test that checks if events are sent to Rudder * [MM_20423]'external_image'module to ts (#16151) (#7025) - migrate ts index.js file - migrate ts for external_image.tsx - migrate ts for external_images.test.jsx Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * Fix issue 16144: migrate components/claim module and tests to TypeScript (#7043) Automatic Merge * MM-T2056 e2e to test, Username change reflecting for other users (#7074) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-26334] Fixes direct messages loading screen misalignment (#6813) Summary: Reduces the height of the loading screen so it is more centered and/or unintrusive(small screens) enough to remove the scroll bar during loading. Ticket Link: Fixes https://github.com/mattermost/mattermost-server/issues/15926 * Translations update from Weblate (#7122) * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4121 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 98.9% (4345 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4392 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Spanish) Currently translated at 97.7% (4292 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4341 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> * MM-28153: Cypress/E2E: Automate backlogs - System Console > Environment (8 test cases) (#7049) * MM-30377: Cypress/E2E: Automate backlogs - Messaging > Channel and Post Links (6 test cases) (#7072) * MM-30355: Cypress/E2E: Automate backlogs - Account Settings > Username (6 test cases) (#7062) * MM-27208 Add tests for MM-T1684, MM-T1687, and MM-T1688 (#7124) * MM-27208 MM-T1684 Add test number to existing test case * Fix makeClient for requests without a body * MM-27208 MM-T1687 Add test for another user archiving a channel * MM-27208 MM-T1688 Add test for searching in archived channels * Translations update from Weblate (#7139) * Translated using Weblate (Spanish) Currently translated at 99.1% (4357 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4344 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Dutch) Currently translated at 98.9% (4349 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.4% (4327 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> * [MM-20498] components/post_view/combined_system_message' to TypeScript (#7109) * Added Initial Ts conversion to last_users and last_user_test * Converted combined system message * Completed all files conversion * Updated Snapshots * Minor fix * Minor Fixes * Minor Fixes * Migrate 'components/sidebar_right_menu' module to TypeScript (#6962) * Converted 'leave_channel' to typescript. (#7115) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20581] Migrate index to TS in 'components/admin_console/team_channel_settings/channel/details' module (#6924) * mark browser.focused as false if starting in the background (#7050) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27989 Remove experimental setting for data prefetch (#7094) Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com> * [MM-27207] e2e leave archived channels I - last (#7117) Automatic Merge * MM-30370: Cypress/E2E: Automate backlogs - Keyboard Shortcuts (10 test cases) (#7113) Automatic Merge * MM-30371: Cypress/E2E: Automate backlogs - Keyboard Shortcuts part 2 (10 test cases) (#7112) * temporary work * further iteration * further work * Address CR comments Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29853] Migrate string-refs to functional ones: this.refs.fileInput (#7153) * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function Co-authored-by: lestgabo <lestgabo@gmail.com> * Fix display of boolean feature flags in system console. (#7156) * MM-30992 Add the capability to run part by part for Cypress parallel testing (part 1) (#7140) * add the capability to run part by part for Cypress parallel testing * update per comment and add default values * throw an error if --part is greater than --of * Cypress/E2E: Fix email verification that works both with current, Cloud and parallel testing (part 2) (#7142) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * update per comment * Cypress/E2E: Fix for several flaky tests (part 3) (#7143) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * Cypress/E2E: Fix tests for cloud (part 4) (#7147) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * fix tests for cloud * clean up label and flag * simplify log of license status and add log of server details * update per comment * fix return of Cypress custom commands (#7159) * [MM-30354] e2e fullname (#7126) Automatic Merge * Migrate to typescript Apps related files (#7021) * Migrate to typescript Apps related files * Use correct react-overlays types version * PR feedback * fix types * fix types * temporarily use any * remove unused import * Remove unneeded comments * Extract stringToNumber to utils * Fix minor warning on the console * Fix lint Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * MM-30972 Add proper padding to code preview line numbers (#7155) Automatic Merge * MM-28412: Add tm4j key (#7171) * [MM-26593] Disable pointer events on LHS scrollbar when scrolling isn't required (#7120) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Update NOTICE.txt (#7102) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30376 Cypress/E2E: Automate backlogs - Messaging (8 test cases) (#7141) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30969] Drop aria-label from Marketplace item description (#7133) * Drop aria-label from Marketplace item description * Add general aria-label * Translations update from Weblate (#7182) * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.8% (4383 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4344 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4346 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4393 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.2% (4356 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.1% (4356 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.2% (4359 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Japanese) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Russian) Currently translated at 93.9% (4125 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Lev <blendamedkiba94@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * MM-31115 - Fixed "how billing works" cloud link (#7183) * [MM-30372] Cypress/E2E: Automate backlogs - Messaging > Reply (#7149) * Implement Cypress test * Fix comments * Update e2e/cypress/integration/messaging/message_reply_part2_spec.js Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-30374: Cypress/E2E: Messaging > Markdown (#7146) * MM-30374: Cypress/E2E: Messaging > Markdown This PR automates MM-T1734 MM-T2241 MM-T2242 MM-T2244 MM-T2246 https://mattermost.atlassian.net/browse/MM-30374 ```release-note NONE ``` * incorporate review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30810 Remove special props from /me post (#7163) * [MM-30449] - Hide create category option when unread filter is enabled (#7151) * [MM-30449] - Hide create category option when unread filter is enabled * Fix lint * Update snaps Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Add Billing Permissions (#7127) * Add billing permissions * add it to any * address comments * fix linting * address COMMENts! Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove usage of center-channel-color-## CSS variables from header components (#7118) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27688: OpenId Connect (#7027) * open id initial commit * fix for tests, remov…
Squashed commit of the following: commit 45682c25642f00fe2d967a396ab75527cba93a31 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 30 10:46:30 2021 +0200 Handle modal double submit commit d7f792eab390256180e131f5d902cd52535fdd61 Merge: 3fd6e9325 e53a8358f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:36:44 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 3fd6e9325c79beae42d0ebd041fc93b1e1009a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:22:54 2021 +0100 Remove Enable/Disable and Remove from System Console for cloud apps (#7651) * Remove Enable/Disable and Remove from System Console for cloud apps * Set buttons as null * Allow change the status when the feature flag is on * Fix test * Update snapshots Co-authored-by: Mattermod <mattermod@users.noreply.github.com> commit 7b4be8ebf51f251451f4900d1e5a363884306c93 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:11:01 2021 +0100 Case independency fixes (#7722) commit af6ba8797cd5c5387f2ed77fddcad82ddde81932 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:08:19 2021 +0100 Use Feature flag (#7643) * Use Feature flag * Fix test and minor improvement * Simplify return commit de7bca6c0782b47e2af101b2555894e0d80bf129 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 17 10:29:36 2021 -0400 Synchronize app command parser with mobile app (#7706) * Use type on call path, and minor refactoring * Add missing i18n * move files into app_command_parser folder * Fix navigation and small fix on error handling * include mobile app changes to command parser * i18n * types and lint * use intl * change i18n ids * tests * test fixes * add more tests for button_binding and select_binding * lint * fix merege issue * incorporate changes from #7703 * add translation * fix and i18n * remove unused translation Co-authored-by: Daniel Espino García <larkox@gmail.com> commit b54d6c52cda1c48adeb83e24f43901e3fdca7dc6 Merge: 05a669c46 ee77df3f0 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 12:15:35 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 05a669c46cfb85adc8e02f3ab2ea97a5a9ffe7e3 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 04:45:19 2021 +0100 Use type on call path, and minor refactoring (#7679) * Use type on call path, and minor refactoring * Add missing i18n * Fix navigation and small fix on error handling * Update redux reference * Fix types * Fix test * Fix test * Address PR Feedback commit 9b1cbbff02a092ef9a7d3a26fe0e016c257c4545 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:32:16 2021 +0100 Remove autocomplete of ~ and @ for user and channel suggestions (#7667) commit 00685fc935148b00ab6049ffb68e63a0a7a3399f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:29:52 2021 +0100 Fix command errors (#7664) commit 83a24ddc0d313c492410e644232720cee4f4dc94 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:27:04 2021 +0100 Command send options (user, channel, dynamic and static) as options and not only values. (#7650) * Command send options (user, channel, dynamic and static) as options and not only values. * Fetch users from server or generate error * Fix i18 and fix minor typo commit 6c1fea615501be4924d3fb9eaf8a987fdbe2552c Merge: d06cdffb8 507991558 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 9 11:14:07 2021 +0100 Merge branch 'master' into feature/cloud-apps commit d06cdffb86def63d4fa67f145775d6b6ce3deb3d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 8 15:08:35 2021 +0100 Fix multiword select options and keep quotes on complete values (#7644) * Fix multiword select options and keep quotes on complete values * Fix test commit e1d67a169ae88d43c9f76f0dc11d94db7e9722df Author: Daniel Espino García <larkox@gmail.com> Date: Sat Mar 6 11:55:43 2021 +0100 Fix channel header dropdown icon size and count (#7642) commit c5c86ca148002ac11a97035fbba6d50f55630fde Author: Daniel Espino García <larkox@gmail.com> Date: Thu Mar 4 11:47:21 2021 +0100 All select use AppSelectOption (#7612) * All select use AppSelectOption * Fix test commit 2f0ab8f9e9fd602fad5cf4d6cf258dbda5b95c8c Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Mar 4 11:13:45 2021 +0100 Use App id to install App from Marketplace (#7631) * Use App id to install App from Marketplace * Fix tests commit 94a86bec10017df9f22bc78ad04aa0d2596c3e24 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 09:24:35 2021 +0100 Add refresh websocket event (#7599) * Add refresh websocket event * Make more obvious the App framework events * Fix typo and separate handler into a function commit bde2a3488503b60cd5deb273f29ad035f93c0dfb Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 06:25:03 2021 +0100 Handle errors on binding locations (#7556) * Handle errors on binding locations * Fix types * Fix lint * Translate and handle all messages directly in the binding * Fix various errors * Fix snapshot commit 8868f33acc0a1fa089354ce7fa9e99dcfd404eec Merge: 2e3c92e28 db27a519d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 1 12:02:52 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 2e3c92e2827fc37890796768e157c16042b4e4e4 Author: Daniel Espino García <larkox@gmail.com> Date: Fri Feb 26 23:00:48 2021 +0100 Fix App parser (#7555) * Fix parser * Fix lint * Fix test commit c9dc94fd80bf6fbb1e18c2e3e1d88b4f5d3eff47 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Feb 26 19:17:30 2021 +0100 [MM-31508] Rename URL to Path in Call (#7566) commit 6b0675fcadee8ee24df6bdf7c4ff713e27a732c9 Merge: 5790e6316 82790213b Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 24 10:03:00 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 5790e6316b5110b8828a768a4ee37d92d107c91c Author: Daniel Espino García <larkox@gmail.com> Date: Tue Feb 16 12:48:49 2021 +0100 Rework embedded forms (#7423) * Rework embedded forms * Improve naming * Improve naming, improve binding filling and trimming and use binding as the base element of a EmbeddedBinding * Move appsEnabled to utils/apps.ts * Add a create request function, add logging, and check for undefined bindings. commit 5f2660f6adefcf1668f71f905622f4a150d5f95d Merge: faaebe611 f7ea0ec34 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 15 14:22:55 2021 +0100 Merge branch 'master' into feature/cloud-apps commit faaebe6115684c7cae5abd748d963980f9626a9e Author: Lev <1187448+levb@users.noreply.github.com> Date: Sat Feb 13 15:53:56 2021 -0800 Refactored apps command parser (#7426) * Fixed command autocomplete for no fields * make test * small fix: restore * wip * wip wip * wip appears to compile * first tests * Consolidated TC type and checks * ParseForm tests work, again * ParseForm tests work, again * unit tests work * nit * PR feedback, some debugging * PR feedback * PR feedback: moved methods into ParsedCommand * merging... * more merging * more more merging commit 50babb5bcef3dbc044e2cb69ef40cee69fefa820 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 19:00:55 2021 +0100 [MM-31088] Set submit buttons to the bottom of the form (#7473) * Set submit buttons to the bottom of the form * Fix typescript * Fix test * Fix lint commit e5619c9a1cc49f246c43ddd116b8b62946907bf5 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 15:31:50 2021 +0100 Isolate Apps to disable them whenever needed (#7376) * Isolate Apps to disable them whenever needed * Use feature flags * Isolate command_provider * Change shouldProcessApps by a more meaningful name appsEnabled * Fix test commit 1f866cdfd6972607decdbe64014ebb7d7566ad3f Merge: e65f8e066 3a24c6a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 13:23:13 2021 +0100 Merge branch 'master' into feature/cloud-apps commit e65f8e06613fc5a5d31573071c42d407dc799462 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Tue Feb 9 09:59:38 2021 +0100 [MM-32476] Apps in the Marketplace (#7474) commit 93e7c3421fef3f7f7a50bbc095512116f7976553 Merge: b2ef64e41 00b9e12d0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Feb 4 13:20:10 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit b2ef64e4132f500dd4d3c7226b87da8c58bd3a25 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:58:03 2021 +0100 Update redux reference commit 63f211746e975e5509d7d749c9c26d2cfcd39963 Merge: 837694a9b 0de03d607 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:54:11 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 837694a9b3a61911cd3c3e9cf21b678b3182b6fa Merge: c1cd297e9 b819372f0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Jan 29 13:53:47 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit c1cd297e94a9dcaea00508ad11c696d512365fdd Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 27 11:58:32 2021 +0100 Add Navigate to AppCallResonses handling (#7377) commit 44d85a493644efff7bd6363d95f888b681ada21d Author: Jason Frerich <jason.frerich@mattermost.com> Date: Wed Jan 27 04:58:12 2021 -0600 use label tag, not paragraph (#7378) commit 0411421a0af3d014c1adbf15c16f431d835e88bc Author: Daniel Espino García <larkox@gmail.com> Date: Tue Jan 26 17:44:12 2021 +0100 Fix Embedded forms after refactor (#7331) * Fix Embedded forms after refactor * Fix lint commit 9eba5ecc26885cc0e252c4d7ac2fbbff8510a078 Merge: 4f5f04144 b252c8a44 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 12:31:46 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4f5f04144375d6a2ce591265e8c78d3eab40919e Merge: 4716206ff 97e741e1d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 11:30:51 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4716206ffa48b174a8a8aa7882158c43c0f2ab3a Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:16:56 2021 +0100 Point to latest redux commit 0122d36712de26a51440ced499d77fdd956fe7aa Merge: f27d6e1cf 19b189c04 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:02:26 2021 +0100 Merge branch 'master' into feature/cloud-apps commit f27d6e1cf898eb71f5424c9520ef81c76a8ae28b Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Thu Jan 14 17:09:42 2021 -0500 Dynamic Apps Modals (#7166) * First approach on embedded forms * Fix lint * Render form in the RHS * Send needed information along the form * Address feedback * Use proper redux version * Add embedded buttons * Handle embedded forms as new modals * Improve state handling * Remove unneeded changes * Fix lint * Migrate button_selector to typescript and make buttons disabled * Fix lint * Make errors work on Embedded and Modal forms * Handle button field type from app forms * Consider button fields also select fields and handle submit_buttons field * dynamic select works. modal can refresh on submit * updates for refreshing on select * fix types * mm-redux * types * snapshot * change react-select import * fix react-select type * submit buttons * error handling * import lint * fix embedded form props * lint * updates for call structure * lint * mm-redux * move presentation field from call to binding * update tests * update prop for test * modal maintains its own state until it unmounts/closes * fix test * mm-redux and fix * fixes for using form call * remove dispatch * fix post id * fix command lookups. allow commands to open modals through binding's presentation * mm-redux * remove interactive dialog field references * fix test * test updates * use global store for command_provider, which is mocked in test * call.type == 'form' && response.type == 'form' opens a modal * lint * remove makeLookupCallPayload * lint * fix imports * fix import Co-authored-by: Daniel Espino García <larkox@gmail.com> commit 6f9f30379191db3f9988113ffdc950a2b2fbff86 Author: Daniel Espino García <larkox@gmail.com> Date: Thu Jan 14 14:59:49 2021 +0100 Fix missing channel header buttons (#7322) commit be9f4ff9bc770dff1723a8938010537486de7812 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 13 09:48:41 2021 +0100 Merge master to feature branch (#7250) * [MM-30193] change file attachment info to show fractions below 10 (#6935) * change fileinfo to show fractions below 10M * fix formatting * add linting fixes and clean up code * fix incorrect brackets Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Revert "Mm 29111 search bar and search results as fc (#6796)" (#6999) This reverts commit 9fba9a9789e3e1e6194daa36aabe343859e8511b. * [MM-20196] Use UTC timezone for formattedDate so it doesn't change the date (#7000) * Use UTC timezone for formattedDate so it doesn't change the date * Add toUTCString * Remove it because it isn't needed * Add to last invoice summary * Make invoice.tax a boolean so a rogue 0 isn't rendered (#7001) * Translations update from Weblate (#7006) * Translated using Weblate (Dutch) Currently translated at 99.9% (4294 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.5% (4275 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.6% (4270 of 4285 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Spanish) Currently translated at 99.2% (4264 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4295 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 96.0% (4126 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * [MM-30066] Allow sidebar category button width to grow and shrink as needed (#6955) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate team_list and team_row to typescript (#6914) Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> * [MM-20482] Migrate 'components/post_view/channel_intro_message' module … (#6729) * MM-28843 Adding feature flags to system console for easy diagnosis. (#6905) * Adding feature flags to system console for easy diagnosis. * Use AdminConfig type. * Redux update. * [MM-29850] Migrate string-refs to functional ones: this.refs.errorMessage (#6881) * Update string ref to functional ref * Make ref load before use Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30190] Show spinner when loading invoices instead of 'no invoices found' (#7012) * [MM-T560] Add test for notifications (#6884) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-20492 Migrate 'components/post_view/post_message_view' module and … (#6738) * Cypress/E2E: Fix custom categories spec (#7011) * [MM-30216] - Add check for undefined fileInfos (#7019) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-20465] migrate single_image_view to typescript (#6774) * migrate single_image_view to typescript * fix unit test * resolove review comment * Update components/single_image_view/single_image_view.tsx * Guard clause fileinfo` Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Nev Angelova <nevyana.angelova@mattermost.com> Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-29903] - Check if current user is on last post when scrolling in rhs (#6920) * Scroll user to bottom when they are on the latest post in rhs * fix tests * Fix type check * Implement using getSnapshotBeforeUpdate * Remove comment box and set refs * Update scroll logic * resize rhs container correctly * Calculate with header height * fix type error * please linter * update snapshot Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Nevyana Angelova <nevyangelova@nevyanas-mbp-2.mynet> * MM-T614 Search on Outgoing Webhooks page (#6873) * wip * cleanup, optimize * remove file Co-authored-by: Mattermost <mattermost@Michaels-MacBook-Pro.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: Move cluster spec to enterprise (#7010) * Cypress/E2E: Move cluster spec to enterprise * Add @enterprise tag * MM-20578 Migrate 'components/admin_console/system_user_detail' module… (#6801) * [MM-20568] Migrate 'components/admin_console/system_users' module to ts (#6829) * Fixing title text in select team icon. (#7023) * MM-30090 Open managed resource links in a new tab (#7024) * MM-30090 Open managed resource links in a new tab * MM-30090 Add ManagedResourcePaths setting * Update test case to reflect new case * Fix types * Revert unnecessary type changes * Switch mattermost-redux back to master * MM-27903, MM-27899: Folded Reply Threads: ThreadItem and ThreadFooter (#6585) * wip: checkpoint * wip: fix tooltip * wip: checkpoint * move connected profile_picture back out of widgets * timestamp improvements * wip: threading components * wip: thread footer * timestamp story improvments * wip: threading components * wip: threading components * wip: threading comps * wip: thread menu * update testing * wip: testing updates * unit tests, storybook cleanup * tweak timestamp knob arrangement * i18n * stray apostrophe; snapshots-i18n * profile_picture index * misc cleanup * put prop-types rule back in * simple_tooltip remove FC * sync relative time spec * update snapshots * Update index.stories.js * Update story_box.tsx * remove trailing space * update url * remove frag * sb container width * review fixes * review fixes/improvements * review/other changes * simplify * actually add nowrap * fix new messages tooltip style * cleanup * improvements, clarity * clearer conditionals * remove unused css/simplify * use text-clamp mixin, fix knob typo * remove unused css props * remove empty file * fix bad role attr * sync css; test appended button * review changes * badge as button if it has a click handler * update snapshot Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate string-refs in user_list.jsx (#6704) * migrate string-refs in user_list.jsx * add unit test for user_list.jsx * remove the eslint-enable/disable comments + rename this.container Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T556] Add e2e test for MM-T556 (#7016) * Add e2e test for MM-T556 Add e2e test for Browser tab and team sidebar notification - no unreads/mentions Github Issues: Fixes https://github.com/mattermost/mattermost-server/issues/15705 Jira Ticket: MM-T556 * Fix finicky test * Move Remove mention notification to before() * Fix broken test * Linting Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-24505-Update-help-text-leave-team-modal (#6572) * message update for leave team modal and updated in i18en.json * implemented dynamic channl values and changed tests * update failing snapshot * added new strings for public and priivate cases * updated desc * update plurals in string * removed console log statement * modal description based on the counts * i18n order changed * i18n corrected * resolved suggestions * updated failing snapshot * corrected messages in modals * updated snapshot * rewordings to modal texts * guest modal message * guest modal condition added along with modal message * updated failing snapshot * added currentuser prop to the test file * Fixed type error in test file * Fixes condition * conditions for zero public & zero private for guest * modified conditions * Fixed modal messages * snapshot updated * Fixes * MM-29929 Fix for unread messages toast on marking channel as unread (#7028) * The initOffset we use for displaying toast should be only used mount as that is not a relative scroll position and is only set on mount * Changing this to show unread toast on all occasions of marking channel as unread other than channel at bottom * [MM-26386] - Respect user locale when searching for channels (#6904) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-25186] Bot username validation i8n support (#6629) * Migrate String Refs to Functional ones - MM 16039 (#6865) * MM-29849/MM-29942/MM-29982 Fix code theme not being applied (#7008) * Convert 'components/post_view/post_info' module and associated tests to TypeScript (#6619) * Convert 'components/post_view/post_info' module and associated tests to TypeScript. Based on conversations with @devin and @abdu - marking certain props as non-mandatory. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some issues from rebasing from latest master branch * Handling null checks for 'getCurrentChannel' calls. * Fixing issue with white page. * Fixing issue with check types. Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30183] - No more text decoration on hover and focus (#7020) * Fix no text decoration on hover and focus * revert extra space Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20470] Migrate emoji page and any team permission gate to typescript #15470 (#6645) * Migrate emoji page and any team permission gate to typescript * Convert delete_emoji_modal to typescript Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30226][MM-39255] Allow a post to be sent when you do CMD + ENTER on Mac with 'Allow all messages' to be sent via CMD + ENTER (#7031) * make a post be able to send when you do command enter when editing post * fix linting * Edit task to take into control mac command key * fix linting * [MM-30340] Update post height when comment box height change occurs (#7039) * [MM-30340] Update post height when comment box height change occurs * Update snaps * Add scroll to bottom to the resize function * Remove redundant check Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Translations update from Weblate (#7046) * Translated using Weblate (Japanese) Currently translated at 98.1% (4219 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4302 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4298 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 96.3% (4147 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Dutch) Currently translated at 99.6% (4310 of 4323 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.9% (4301 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Korean) Currently translated at 79.4% (3418 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Japanese) Currently translated at 97.5% (4220 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Korean) Currently translated at 79.7% (3453 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4214 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4215 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> * [MM-28181] e2e: add system_console/unsaved_changes_spec (#7009) * e2e: add system_console/unsaved_changes_spec * reflect revivew comments * 15474 convert team selector modal to ts (#6824) * Convert 'components/team_selector_modal' module and associated tests to TypeScript. * Fixing review comments. * Fixing review comments. * Fixing review comments. * Fixing bad merge Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-19509 Prioritize autocomplete results based on interactions and threads (#7002) * MM-19509 Prioritize autocomplete results based on interactions and threads * Add sort method of auto complete results to be based on last_viewed_at as well * Add new prop priorityResults to auto complete so we can add profiles like thread interactions on top * Fix sorting for remote results * Add E2E test for desktop notifications for empty strings (#6799) * Add E2E test for desktop notifications for empty strings * Update comments based on feedback * Typo Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20433 - convert view_pinned_posts to typescript (#7034) * MM-20433 - convert view_pinned_posts to typescript * fix linter errors Co-authored-by: Pablo Velez <pvelez@bp-3.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: fix test (#7052) * fix e2e test * make trial user configurable via env * fix order * [MM-29855] Migrate string-refs to functional ones: this.refs.content (#6867) * Update string refs to functional component based refs * Update string refs to functional component based refs * [MM-27231]: e2e for T1880 - deleted token cannot be used to post (#6901) * update api method to return more data, and add method to revoke token * test for T1880 - deletd token can't be used to post * fix comment * move methods to better place Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Fix menu rendering behind input box in RHS. (#7061) * [MM-27708] Disable Plugin on Removal (#6518) * [MM-30104][MM-30105] Fix up banners in payment_info and billing_subscription pages (#7063) * Fix up banners in payment_info and billing_subscription pages * Reset package-lock * Remove comment * [MM-27556] UI For new system roles (#6529) * Add translations * Basic skeleton without subsections visible * Allow roles to be saved and fix up styling * Dont allow sysadmins to be edited and dont allow self to be removed * Cleanup * Add translations * Save state properly * Update redux * Minor styling changes * Update redux * Bug fixes * Rename datagrid search to onSearch * Cleanup * UX fixes * Fix snaps * Forgot to check this in * Fix console error * Fix snaps * Expand by default if mixed access * update package json files * address PR comments * update redux hash * update redux hash * make disabled * add set navgiation blocked * Fix hash * make necessary changes * make read only admin editable * update function name * fix type check * fix lint issue * udpate redux hash * update search * update snap test * fix set navigation blocked after save * make conditional rendering for system manager * fix linting * go back after saving successfully * updat redux hash * Add Beta Tag Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * [MM-20428] Migrate terms of service to Typescript (#6965) * First pass * Added types everywhere * Fixed ESLint warnings and errors * Fix incorrect import * Updated snapshot * PR review feedback Co-authored-by: Christophe Carpentier <christophe.carpentier@imascap.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29621] Only load the stripe library when cloud components are actually rendered (#7067) * Only load the stripe library when cloud components are actually rendered * Use proper return type * Remove async * MM-20412: Migrate 'components/channel_header_mobile/show_search_button' module to TypeScript (#6969) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM 20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript (#6976) * MM-20404 * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix lint * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix linter Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27229 - Cypress/E2E: Automate backlogs - BOT Accounts - Part 06 (10 test cases) (#6772) Co-authored-by: Prapti <praptishrestha@gmail.com> Co-authored-by: Caleb Roseland <caleb@calebroseland.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate refs icon_url. #15801 (#6754) Automatic Merge * [GH-16035] Migrating refs plugin_management.tsx (#6866) Automatic Merge * [MM-29515] Hide imports tab when in cloud installation (#7069) * Hide imports tab when in cloud installation * fix types and linter * Revert package-lock to master * Make isCloud optional * MM-T446 DM More... searching from page 2 of user list (#7054) * wip * wip * revision * selector fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * DOPS-243 (#7075) DOPS-243 (#7075) * [GH-13483] Migrate 'components/channel_invite_modal' module and associated tests to TypeScript (#6968) * [WIP] migration to typescript * [WIP] further typescript changes * finalized move of component to typescript * [WIP] move index file to typescript * updated test to typescript * fix for types in index file * removed failing class import * [No Ticket] Update to latest redux hash and fixing test cases with missing types (#7084) Automatic Merge * [MM-27154] Cypress tests: Incoming Webhooks (#6977) * Incoming webhooks cypress tests * Remove unused variable * PR feedback * add license * PR feedback and lint * fix import path Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * fix failing tests due to announcement bar (#7077) * MM-27315 Cypress tests for Integrations > Slash command auto-complete (7 test cases) (#6909) * MM-30359: Cypress/E2E: Account Settings > Email (#7051) * MM-30359: Cypress/E2E: Account Settings > Email This PR automates the following test cases: MM-T2066 MM-T2067 MM-T2068 MM-T2069 MM-T2070 MM-T2071 MM-T2072 MM-T2073 https://mattermost.atlassian.net/browse/MM-30359 ```release-note NONE ``` * fix lint * add the other tests * Address review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T561] Add e2e test for MM-T561 (#7015) * Add e2e test Add test for: Browser tab and team sidebar - direct messages don't add indicator on team icon in team sidebar (but do in browser tab) Github Issues: Fix https://github.com/mattermost/mattermost-server/issues/15700 Jira Ticket: MM-T561 * Apply suggested review * Add cleanup for MM-T560_2 * Linting * Separate test file * Linting * Add prerequisite * Rename file * Remove old test Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28255] Add tests for OAuth Apps (#6558) * Add tests for OAuth Apps * Add remaining tests * Update test names, fix typos and add explicit status codes * Add group and license check * Move tests to enterprise folder Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-29858: Migrate string refs to functional ones in autosize textarea component (#6885) * MM-29858: Migrate string refs to functional ones in autosize textarea component * MM-29858: Rename reference instance variable with suffix Ref * MM-29858: Use camel casing for textarea reference variable * MM-29858: Allow empty value for textarea Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate errorMessage string ref (#6882) Automatic Merge * MM-T329 Image link preview (#7005) * wip * wip * finished * revision * remove log Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28150] e2e: add MM-T924, MM-T928, MM-T929, MM-T930 (#7045) * e2e: add MM-T924, MM-T928, MM-T929, MM-T930 * reflect review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30363: Cypress/E2E: Automate backlogs - Edit Bot Username (1 test case) (#7073) * MM-30373 - first iteration * MM-30377 - first iteration * remove spurious file * MM-30377 - further iteration * MM-30363 - first iteration * remove extra file * some cleanup * remoe extra space Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * promote and demote tests to/from prod (#7080) * Cypress/E2E: Fix toast appears unread spec (#7081) * change super to system (#7076) * MM-20418: Migrate 'components/channel_selector_modal' module and associated tests to TypeScript (#6975) * DOPS-243: Fix images (#7089) DOPS-243: Fix images (#7089) * MM-T439 Town Square is not marked as unread for existing users when a new user is added to the team (#7053) Automatic Merge * [MM-20582] Migrate 'components/admin_console/team_channel_settings/ch… (#6840) * MM-20465 Fix for collapse/expand of image preview (#7085) * The toggle function requires id and not post * This was most likely changed to fix a ts error * MM-20465 Revert usage of getCurrentChannel to getCurrentChannelId where possible (#7064) * [MM-29821] Prefer TypeScript files over JavaScript in webpack (#7090) * [MM-30317] add MANAGE_REMOTE_CLUSTERS permission (#7060) * add MANAGE_REMOTE_CLUSTERS permission * Update i18n/en.json Co-authored-by: Doug Lauder <wiggin77@warpmail.net> Co-authored-by: Doug Lauder <wiggin77@warpmail.net> * MM-20416: Migrate 'components/channel_header_mobile/collapse_lhs_button' module to TypeScript (#6971) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove Cloud billing flag from System Console (#7096) (cherry picked from commit 6c35b79ac663756b5e31f0b878531aabec68efd3) Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com> * Translations update from Weblate (#7100) * Translated using Weblate (Turkish) Currently translated at 100.0% (4390 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4329 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (German) Currently translated at 90.4% (3915 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/de/ * Translated using Weblate (Korean) Currently translated at 80.1% (3468 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4328 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Russian) Currently translated at 95.0% (4113 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4328 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 98.4% (4322 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 96.7% (4246 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4119 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 92.7% (4072 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4325 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Alexey Napalkov <flynbit@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> * Migrate 'components/announcement_bar/default_announcement_bar' module and associated tests to TypeScript (#6963) * rename file * working except for test file * restore unincluded test file to jsx * pass npm make check * update snapshot * respond to review comments * checkout package-lock.json * revert package-lock.json changes * fix linting errors Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate this.ref.dotMenu to functional (#6957) * Migrate this.ref.dotMenu to functional * Fixed formatting * Fix reference * rename dotMenu to dotMenuRef for consistency with other PRs, remove comments * Removed blanked line to pass lint check Co-authored-by: root <root@DESKTOP-4IBHFV5.localdomain> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20897 Add category muting (#7033) * MM-20897 Add ability to mute categories * Increase timeout to ensure test passes * Add E2E test for moving channels into muted categories * Update mattermost-redux to branch * Fix unit tests * Fix types * Update snapshot * asdf * Add additional E2E test and API client infrastructure * MM-24293 Fix to have group channels return in quick switcher with space (#7059) * MM-24293 Fix to have group channels return in quick siwchter with space * Split the search term by spaces and match with users in group channels * Update components/suggestion/switch_channel_provider.jsx Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * If card year is 0 return false for isExpired (#7101) * Converted 'dot_menu' to typescript. (#6825) * Migrate string refs of reset password modal (#7038) Automatic Merge * MM-20415 Migrate 'components/channel_header_mobile/unmute_channel_button' module and associated tests to TypeScript (#6972) * MM-30477 Fix for autocomplete not closing (#7093) Automatic Merge * MM-20897 Cleanup a couple missed issues (#7106) * MM-T638 Webhook posts when webhook creator is not a member of the channel (#7091) * wip * wip * wip * wip * added check * small fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript (#6668) * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript Fixes https://github.com/mattermost/mattermost-server/issues/15460 JIRA: https://mattermost.atlassian.net/browse/MM-20481 * Make actions attribute non nullable * Require YoutubeVideo's postId property since it really is * Fix tests * Add stages for onprem * Add build-vars stage * set isDisabled prop for site > notices (#7103) Automatic Merge * [MM-27931][MM-30158] Multi-selection and dragging of channels (#6979) * [MM-27931] Multiselection of channels * Test fix * Lint fix * Change opacity of selected state to 0.24 * Added hover state for selected channels * Tests for multiSelect * Drag and drop working (without visuals, missing redux commit) * Multi drag and drop styles (fade the selected channels, might change) * Don't allow multisellected channels to be dropped where they shouldn't be * Lint, type, test, translation fixes * Allow dragging of non matching channel groups by rejecting the channels that don't match * Redux update * Another test fix * Fixed selected count style to work off of center channel exclusively * Added really obvious styling * Style change/PR feedback * Style change * Include active channel in all initial selections * PR feedback * Add constant for shifted index Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20572] Migrate 'components/admin_console/compliance_reports' to TypeScript (#13500) (#7036) Automatic Merge * MM-30087 Remove direct dependency between Client4 and Rudder (#7056) * MM-30087 Remove direct dependency between Client4 and Rudder * Update tests * Switch mattermost-redux to master * Fix missing types * Change how we mock and import rudder * Remove test that checks if events are sent to Rudder * [MM_20423]'external_image'module to ts (#16151) (#7025) - migrate ts index.js file - migrate ts for external_image.tsx - migrate ts for external_images.test.jsx Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * Fix issue 16144: migrate components/claim module and tests to TypeScript (#7043) Automatic Merge * MM-T2056 e2e to test, Username change reflecting for other users (#7074) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-26334] Fixes direct messages loading screen misalignment (#6813) Summary: Reduces the height of the loading screen so it is more centered and/or unintrusive(small screens) enough to remove the scroll bar during loading. Ticket Link: Fixes https://github.com/mattermost/mattermost-server/issues/15926 * Translations update from Weblate (#7122) * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4121 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 98.9% (4345 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4392 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Spanish) Currently translated at 97.7% (4292 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4341 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> * MM-28153: Cypress/E2E: Automate backlogs - System Console > Environment (8 test cases) (#7049) * MM-30377: Cypress/E2E: Automate backlogs - Messaging > Channel and Post Links (6 test cases) (#7072) * MM-30355: Cypress/E2E: Automate backlogs - Account Settings > Username (6 test cases) (#7062) * MM-27208 Add tests for MM-T1684, MM-T1687, and MM-T1688 (#7124) * MM-27208 MM-T1684 Add test number to existing test case * Fix makeClient for requests without a body * MM-27208 MM-T1687 Add test for another user archiving a channel * MM-27208 MM-T1688 Add test for searching in archived channels * Translations update from Weblate (#7139) * Translated using Weblate (Spanish) Currently translated at 99.1% (4357 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4344 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Dutch) Currently translated at 98.9% (4349 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.4% (4327 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> * [MM-20498] components/post_view/combined_system_message' to TypeScript (#7109) * Added Initial Ts conversion to last_users and last_user_test * Converted combined system message * Completed all files conversion * Updated Snapshots * Minor fix * Minor Fixes * Minor Fixes * Migrate 'components/sidebar_right_menu' module to TypeScript (#6962) * Converted 'leave_channel' to typescript. (#7115) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20581] Migrate index to TS in 'components/admin_console/team_channel_settings/channel/details' module (#6924) * mark browser.focused as false if starting in the background (#7050) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27989 Remove experimental setting for data prefetch (#7094) Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com> * [MM-27207] e2e leave archived channels I - last (#7117) Automatic Merge * MM-30370: Cypress/E2E: Automate backlogs - Keyboard Shortcuts (10 test cases) (#7113) Automatic Merge * MM-30371: Cypress/E2E: Automate backlogs - Keyboard Shortcuts part 2 (10 test cases) (#7112) * temporary work * further iteration * further work * Address CR comments Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29853] Migrate string-refs to functional ones: this.refs.fileInput (#7153) * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function Co-authored-by: lestgabo <lestgabo@gmail.com> * Fix display of boolean feature flags in system console. (#7156) * MM-30992 Add the capability to run part by part for Cypress parallel testing (part 1) (#7140) * add the capability to run part by part for Cypress parallel testing * update per comment and add default values * throw an error if --part is greater than --of * Cypress/E2E: Fix email verification that works both with current, Cloud and parallel testing (part 2) (#7142) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * update per comment * Cypress/E2E: Fix for several flaky tests (part 3) (#7143) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * Cypress/E2E: Fix tests for cloud (part 4) (#7147) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * fix tests for cloud * clean up label and flag * simplify log of license status and add log of server details * update per comment * fix return of Cypress custom commands (#7159) * [MM-30354] e2e fullname (#7126) Automatic Merge * Migrate to typescript Apps related files (#7021) * Migrate to typescript Apps related files * Use correct react-overlays types version * PR feedback * fix types * fix types * temporarily use any * remove unused import * Remove unneeded comments * Extract stringToNumber to utils * Fix minor warning on the console * Fix lint Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * MM-30972 Add proper padding to code preview line numbers (#7155) Automatic Merge * MM-28412: Add tm4j key (#7171) * [MM-26593] Disable pointer events on LHS scrollbar when scrolling isn't required (#7120) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Update NOTICE.txt (#7102) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30376 Cypress/E2E: Automate backlogs - Messaging (8 test cases) (#7141) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30969] Drop aria-label from Marketplace item description (#7133) * Drop aria-label from Marketplace item description * Add general aria-label * Translations update from Weblate (#7182) * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.8% (4383 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4344 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4346 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4393 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.2% (4356 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.1% (4356 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.2% (4359 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Japanese) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Russian) Currently translated at 93.9% (4125 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.matte…
* fix styling of react select in apps modal Squashed commit of the following: commit bf9a919ef395ea266e78b28669f11c1294cfc0cb Merge: 51fa36ebb d7f792eab Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Tue Mar 30 17:03:40 2021 -0400 Merge branch 'feature/cloud-apps' into select-visibility commit d7f792eab390256180e131f5d902cd52535fdd61 Merge: 3fd6e9325 e53a8358f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:36:44 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 3fd6e9325c79beae42d0ebd041fc93b1e1009a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:22:54 2021 +0100 Remove Enable/Disable and Remove from System Console for cloud apps (#7651) * Remove Enable/Disable and Remove from System Console for cloud apps * Set buttons as null * Allow change the status when the feature flag is on * Fix test * Update snapshots Co-authored-by: Mattermod <mattermod@users.noreply.github.com> commit 7b4be8ebf51f251451f4900d1e5a363884306c93 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:11:01 2021 +0100 Case independency fixes (#7722) commit af6ba8797cd5c5387f2ed77fddcad82ddde81932 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:08:19 2021 +0100 Use Feature flag (#7643) * Use Feature flag * Fix test and minor improvement * Simplify return commit 51fa36ebb5c98e36c4bf16f5fec7ddd945b943ec Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 24 03:44:42 2021 -0400 fix error message placement by moving form-group class to parent commit 49b1158f1f216d343e16da41158b94b3bbbec6f0 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 24 03:31:24 2021 -0400 fix select overlap commit de7bca6c0782b47e2af101b2555894e0d80bf129 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 17 10:29:36 2021 -0400 Synchronize app command parser with mobile app (#7706) * Use type on call path, and minor refactoring * Add missing i18n * move files into app_command_parser folder * Fix navigation and small fix on error handling * include mobile app changes to command parser * i18n * types and lint * use intl * change i18n ids * tests * test fixes * add more tests for button_binding and select_binding * lint * fix merege issue * incorporate changes from #7703 * add translation * fix and i18n * remove unused translation Co-authored-by: Daniel Espino García <larkox@gmail.com> commit b54d6c52cda1c48adeb83e24f43901e3fdca7dc6 Merge: 05a669c46 ee77df3f0 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 12:15:35 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 05a669c46cfb85adc8e02f3ab2ea97a5a9ffe7e3 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 04:45:19 2021 +0100 Use type on call path, and minor refactoring (#7679) * Use type on call path, and minor refactoring * Add missing i18n * Fix navigation and small fix on error handling * Update redux reference * Fix types * Fix test * Fix test * Address PR Feedback commit 9b1cbbff02a092ef9a7d3a26fe0e016c257c4545 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:32:16 2021 +0100 Remove autocomplete of ~ and @ for user and channel suggestions (#7667) commit 00685fc935148b00ab6049ffb68e63a0a7a3399f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:29:52 2021 +0100 Fix command errors (#7664) commit 83a24ddc0d313c492410e644232720cee4f4dc94 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:27:04 2021 +0100 Command send options (user, channel, dynamic and static) as options and not only values. (#7650) * Command send options (user, channel, dynamic and static) as options and not only values. * Fetch users from server or generate error * Fix i18 and fix minor typo commit 6c1fea615501be4924d3fb9eaf8a987fdbe2552c Merge: d06cdffb8 507991558 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 9 11:14:07 2021 +0100 Merge branch 'master' into feature/cloud-apps commit d06cdffb86def63d4fa67f145775d6b6ce3deb3d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 8 15:08:35 2021 +0100 Fix multiword select options and keep quotes on complete values (#7644) * Fix multiword select options and keep quotes on complete values * Fix test commit e1d67a169ae88d43c9f76f0dc11d94db7e9722df Author: Daniel Espino García <larkox@gmail.com> Date: Sat Mar 6 11:55:43 2021 +0100 Fix channel header dropdown icon size and count (#7642) commit c5c86ca148002ac11a97035fbba6d50f55630fde Author: Daniel Espino García <larkox@gmail.com> Date: Thu Mar 4 11:47:21 2021 +0100 All select use AppSelectOption (#7612) * All select use AppSelectOption * Fix test commit 2f0ab8f9e9fd602fad5cf4d6cf258dbda5b95c8c Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Mar 4 11:13:45 2021 +0100 Use App id to install App from Marketplace (#7631) * Use App id to install App from Marketplace * Fix tests commit 94a86bec10017df9f22bc78ad04aa0d2596c3e24 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 09:24:35 2021 +0100 Add refresh websocket event (#7599) * Add refresh websocket event * Make more obvious the App framework events * Fix typo and separate handler into a function commit bde2a3488503b60cd5deb273f29ad035f93c0dfb Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 06:25:03 2021 +0100 Handle errors on binding locations (#7556) * Handle errors on binding locations * Fix types * Fix lint * Translate and handle all messages directly in the binding * Fix various errors * Fix snapshot commit 8868f33acc0a1fa089354ce7fa9e99dcfd404eec Merge: 2e3c92e28 db27a519d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 1 12:02:52 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 2e3c92e2827fc37890796768e157c16042b4e4e4 Author: Daniel Espino García <larkox@gmail.com> Date: Fri Feb 26 23:00:48 2021 +0100 Fix App parser (#7555) * Fix parser * Fix lint * Fix test commit c9dc94fd80bf6fbb1e18c2e3e1d88b4f5d3eff47 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Feb 26 19:17:30 2021 +0100 [MM-31508] Rename URL to Path in Call (#7566) commit 6b0675fcadee8ee24df6bdf7c4ff713e27a732c9 Merge: 5790e6316 82790213b Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 24 10:03:00 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 5790e6316b5110b8828a768a4ee37d92d107c91c Author: Daniel Espino García <larkox@gmail.com> Date: Tue Feb 16 12:48:49 2021 +0100 Rework embedded forms (#7423) * Rework embedded forms * Improve naming * Improve naming, improve binding filling and trimming and use binding as the base element of a EmbeddedBinding * Move appsEnabled to utils/apps.ts * Add a create request function, add logging, and check for undefined bindings. commit 5f2660f6adefcf1668f71f905622f4a150d5f95d Merge: faaebe611 f7ea0ec34 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 15 14:22:55 2021 +0100 Merge branch 'master' into feature/cloud-apps commit faaebe6115684c7cae5abd748d963980f9626a9e Author: Lev <1187448+levb@users.noreply.github.com> Date: Sat Feb 13 15:53:56 2021 -0800 Refactored apps command parser (#7426) * Fixed command autocomplete for no fields * make test * small fix: restore * wip * wip wip * wip appears to compile * first tests * Consolidated TC type and checks * ParseForm tests work, again * ParseForm tests work, again * unit tests work * nit * PR feedback, some debugging * PR feedback * PR feedback: moved methods into ParsedCommand * merging... * more merging * more more merging commit 50babb5bcef3dbc044e2cb69ef40cee69fefa820 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 19:00:55 2021 +0100 [MM-31088] Set submit buttons to the bottom of the form (#7473) * Set submit buttons to the bottom of the form * Fix typescript * Fix test * Fix lint commit e5619c9a1cc49f246c43ddd116b8b62946907bf5 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 15:31:50 2021 +0100 Isolate Apps to disable them whenever needed (#7376) * Isolate Apps to disable them whenever needed * Use feature flags * Isolate command_provider * Change shouldProcessApps by a more meaningful name appsEnabled * Fix test commit 1f866cdfd6972607decdbe64014ebb7d7566ad3f Merge: e65f8e066 3a24c6a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 13:23:13 2021 +0100 Merge branch 'master' into feature/cloud-apps commit e65f8e06613fc5a5d31573071c42d407dc799462 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Tue Feb 9 09:59:38 2021 +0100 [MM-32476] Apps in the Marketplace (#7474) commit 93e7c3421fef3f7f7a50bbc095512116f7976553 Merge: b2ef64e41 00b9e12d0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Feb 4 13:20:10 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit b2ef64e4132f500dd4d3c7226b87da8c58bd3a25 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:58:03 2021 +0100 Update redux reference commit 63f211746e975e5509d7d749c9c26d2cfcd39963 Merge: 837694a9b 0de03d607 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:54:11 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 837694a9b3a61911cd3c3e9cf21b678b3182b6fa Merge: c1cd297e9 b819372f0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Jan 29 13:53:47 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit c1cd297e94a9dcaea00508ad11c696d512365fdd Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 27 11:58:32 2021 +0100 Add Navigate to AppCallResonses handling (#7377) commit 44d85a493644efff7bd6363d95f888b681ada21d Author: Jason Frerich <jason.frerich@mattermost.com> Date: Wed Jan 27 04:58:12 2021 -0600 use label tag, not paragraph (#7378) commit 0411421a0af3d014c1adbf15c16f431d835e88bc Author: Daniel Espino García <larkox@gmail.com> Date: Tue Jan 26 17:44:12 2021 +0100 Fix Embedded forms after refactor (#7331) * Fix Embedded forms after refactor * Fix lint commit 9eba5ecc26885cc0e252c4d7ac2fbbff8510a078 Merge: 4f5f04144 b252c8a44 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 12:31:46 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4f5f04144375d6a2ce591265e8c78d3eab40919e Merge: 4716206ff 97e741e1d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 11:30:51 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4716206ffa48b174a8a8aa7882158c43c0f2ab3a Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:16:56 2021 +0100 Point to latest redux commit 0122d36712de26a51440ced499d77fdd956fe7aa Merge: f27d6e1cf 19b189c04 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:02:26 2021 +0100 Merge branch 'master' into feature/cloud-apps commit f27d6e1cf898eb71f5424c9520ef81c76a8ae28b Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Thu Jan 14 17:09:42 2021 -0500 Dynamic Apps Modals (#7166) * First approach on embedded forms * Fix lint * Render form in the RHS * Send needed information along the form * Address feedback * Use proper redux version * Add embedded buttons * Handle embedded forms as new modals * Improve state handling * Remove unneeded changes * Fix lint * Migrate button_selector to typescript and make buttons disabled * Fix lint * Make errors work on Embedded and Modal forms * Handle button field type from app forms * Consider button fields also select fields and handle submit_buttons field * dynamic select works. modal can refresh on submit * updates for refreshing on select * fix types * mm-redux * types * snapshot * change react-select import * fix react-select type * submit buttons * error handling * import lint * fix embedded form props * lint * updates for call structure * lint * mm-redux * move presentation field from call to binding * update tests * update prop for test * modal maintains its own state until it unmounts/closes * fix test * mm-redux and fix * fixes for using form call * remove dispatch * fix post id * fix command lookups. allow commands to open modals through binding's presentation * mm-redux * remove interactive dialog field references * fix test * test updates * use global store for command_provider, which is mocked in test * call.type == 'form' && response.type == 'form' opens a modal * lint * remove makeLookupCallPayload * lint * fix imports * fix import Co-authored-by: Daniel Espino García <larkox@gmail.com> commit 6f9f30379191db3f9988113ffdc950a2b2fbff86 Author: Daniel Espino García <larkox@gmail.com> Date: Thu Jan 14 14:59:49 2021 +0100 Fix missing channel header buttons (#7322) commit be9f4ff9bc770dff1723a8938010537486de7812 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 13 09:48:41 2021 +0100 Merge master to feature branch (#7250) * [MM-30193] change file attachment info to show fractions below 10 (#6935) * change fileinfo to show fractions below 10M * fix formatting * add linting fixes and clean up code * fix incorrect brackets Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Revert "Mm 29111 search bar and search results as fc (#6796)" (#6999) This reverts commit 9fba9a9789e3e1e6194daa36aabe343859e8511b. * [MM-20196] Use UTC timezone for formattedDate so it doesn't change the date (#7000) * Use UTC timezone for formattedDate so it doesn't change the date * Add toUTCString * Remove it because it isn't needed * Add to last invoice summary * Make invoice.tax a boolean so a rogue 0 isn't rendered (#7001) * Translations update from Weblate (#7006) * Translated using Weblate (Dutch) Currently translated at 99.9% (4294 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.5% (4275 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.6% (4270 of 4285 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Spanish) Currently translated at 99.2% (4264 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4295 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 96.0% (4126 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * [MM-30066] Allow sidebar category button width to grow and shrink as needed (#6955) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate team_list and team_row to typescript (#6914) Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> * [MM-20482] Migrate 'components/post_view/channel_intro_message' module … (#6729) * MM-28843 Adding feature flags to system console for easy diagnosis. (#6905) * Adding feature flags to system console for easy diagnosis. * Use AdminConfig type. * Redux update. * [MM-29850] Migrate string-refs to functional ones: this.refs.errorMessage (#6881) * Update string ref to functional ref * Make ref load before use Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30190] Show spinner when loading invoices instead of 'no invoices found' (#7012) * [MM-T560] Add test for notifications (#6884) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-20492 Migrate 'components/post_view/post_message_view' module and … (#6738) * Cypress/E2E: Fix custom categories spec (#7011) * [MM-30216] - Add check for undefined fileInfos (#7019) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-20465] migrate single_image_view to typescript (#6774) * migrate single_image_view to typescript * fix unit test * resolove review comment * Update components/single_image_view/single_image_view.tsx * Guard clause fileinfo` Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Nev Angelova <nevyana.angelova@mattermost.com> Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-29903] - Check if current user is on last post when scrolling in rhs (#6920) * Scroll user to bottom when they are on the latest post in rhs * fix tests * Fix type check * Implement using getSnapshotBeforeUpdate * Remove comment box and set refs * Update scroll logic * resize rhs container correctly * Calculate with header height * fix type error * please linter * update snapshot Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Nevyana Angelova <nevyangelova@nevyanas-mbp-2.mynet> * MM-T614 Search on Outgoing Webhooks page (#6873) * wip * cleanup, optimize * remove file Co-authored-by: Mattermost <mattermost@Michaels-MacBook-Pro.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: Move cluster spec to enterprise (#7010) * Cypress/E2E: Move cluster spec to enterprise * Add @enterprise tag * MM-20578 Migrate 'components/admin_console/system_user_detail' module… (#6801) * [MM-20568] Migrate 'components/admin_console/system_users' module to ts (#6829) * Fixing title text in select team icon. (#7023) * MM-30090 Open managed resource links in a new tab (#7024) * MM-30090 Open managed resource links in a new tab * MM-30090 Add ManagedResourcePaths setting * Update test case to reflect new case * Fix types * Revert unnecessary type changes * Switch mattermost-redux back to master * MM-27903, MM-27899: Folded Reply Threads: ThreadItem and ThreadFooter (#6585) * wip: checkpoint * wip: fix tooltip * wip: checkpoint * move connected profile_picture back out of widgets * timestamp improvements * wip: threading components * wip: thread footer * timestamp story improvments * wip: threading components * wip: threading components * wip: threading comps * wip: thread menu * update testing * wip: testing updates * unit tests, storybook cleanup * tweak timestamp knob arrangement * i18n * stray apostrophe; snapshots-i18n * profile_picture index * misc cleanup * put prop-types rule back in * simple_tooltip remove FC * sync relative time spec * update snapshots * Update index.stories.js * Update story_box.tsx * remove trailing space * update url * remove frag * sb container width * review fixes * review fixes/improvements * review/other changes * simplify * actually add nowrap * fix new messages tooltip style * cleanup * improvements, clarity * clearer conditionals * remove unused css/simplify * use text-clamp mixin, fix knob typo * remove unused css props * remove empty file * fix bad role attr * sync css; test appended button * review changes * badge as button if it has a click handler * update snapshot Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate string-refs in user_list.jsx (#6704) * migrate string-refs in user_list.jsx * add unit test for user_list.jsx * remove the eslint-enable/disable comments + rename this.container Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T556] Add e2e test for MM-T556 (#7016) * Add e2e test for MM-T556 Add e2e test for Browser tab and team sidebar notification - no unreads/mentions Github Issues: Fixes https://github.com/mattermost/mattermost-server/issues/15705 Jira Ticket: MM-T556 * Fix finicky test * Move Remove mention notification to before() * Fix broken test * Linting Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-24505-Update-help-text-leave-team-modal (#6572) * message update for leave team modal and updated in i18en.json * implemented dynamic channl values and changed tests * update failing snapshot * added new strings for public and priivate cases * updated desc * update plurals in string * removed console log statement * modal description based on the counts * i18n order changed * i18n corrected * resolved suggestions * updated failing snapshot * corrected messages in modals * updated snapshot * rewordings to modal texts * guest modal message * guest modal condition added along with modal message * updated failing snapshot * added currentuser prop to the test file * Fixed type error in test file * Fixes condition * conditions for zero public & zero private for guest * modified conditions * Fixed modal messages * snapshot updated * Fixes * MM-29929 Fix for unread messages toast on marking channel as unread (#7028) * The initOffset we use for displaying toast should be only used mount as that is not a relative scroll position and is only set on mount * Changing this to show unread toast on all occasions of marking channel as unread other than channel at bottom * [MM-26386] - Respect user locale when searching for channels (#6904) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-25186] Bot username validation i8n support (#6629) * Migrate String Refs to Functional ones - MM 16039 (#6865) * MM-29849/MM-29942/MM-29982 Fix code theme not being applied (#7008) * Convert 'components/post_view/post_info' module and associated tests to TypeScript (#6619) * Convert 'components/post_view/post_info' module and associated tests to TypeScript. Based on conversations with @devin and @abdu - marking certain props as non-mandatory. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some issues from rebasing from latest master branch * Handling null checks for 'getCurrentChannel' calls. * Fixing issue with white page. * Fixing issue with check types. Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30183] - No more text decoration on hover and focus (#7020) * Fix no text decoration on hover and focus * revert extra space Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20470] Migrate emoji page and any team permission gate to typescript #15470 (#6645) * Migrate emoji page and any team permission gate to typescript * Convert delete_emoji_modal to typescript Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30226][MM-39255] Allow a post to be sent when you do CMD + ENTER on Mac with 'Allow all messages' to be sent via CMD + ENTER (#7031) * make a post be able to send when you do command enter when editing post * fix linting * Edit task to take into control mac command key * fix linting * [MM-30340] Update post height when comment box height change occurs (#7039) * [MM-30340] Update post height when comment box height change occurs * Update snaps * Add scroll to bottom to the resize function * Remove redundant check Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Translations update from Weblate (#7046) * Translated using Weblate (Japanese) Currently translated at 98.1% (4219 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4302 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4298 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 96.3% (4147 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Dutch) Currently translated at 99.6% (4310 of 4323 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.9% (4301 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Korean) Currently translated at 79.4% (3418 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Japanese) Currently translated at 97.5% (4220 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Korean) Currently translated at 79.7% (3453 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4214 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4215 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> * [MM-28181] e2e: add system_console/unsaved_changes_spec (#7009) * e2e: add system_console/unsaved_changes_spec * reflect revivew comments * 15474 convert team selector modal to ts (#6824) * Convert 'components/team_selector_modal' module and associated tests to TypeScript. * Fixing review comments. * Fixing review comments. * Fixing review comments. * Fixing bad merge Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-19509 Prioritize autocomplete results based on interactions and threads (#7002) * MM-19509 Prioritize autocomplete results based on interactions and threads * Add sort method of auto complete results to be based on last_viewed_at as well * Add new prop priorityResults to auto complete so we can add profiles like thread interactions on top * Fix sorting for remote results * Add E2E test for desktop notifications for empty strings (#6799) * Add E2E test for desktop notifications for empty strings * Update comments based on feedback * Typo Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20433 - convert view_pinned_posts to typescript (#7034) * MM-20433 - convert view_pinned_posts to typescript * fix linter errors Co-authored-by: Pablo Velez <pvelez@bp-3.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: fix test (#7052) * fix e2e test * make trial user configurable via env * fix order * [MM-29855] Migrate string-refs to functional ones: this.refs.content (#6867) * Update string refs to functional component based refs * Update string refs to functional component based refs * [MM-27231]: e2e for T1880 - deleted token cannot be used to post (#6901) * update api method to return more data, and add method to revoke token * test for T1880 - deletd token can't be used to post * fix comment * move methods to better place Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Fix menu rendering behind input box in RHS. (#7061) * [MM-27708] Disable Plugin on Removal (#6518) * [MM-30104][MM-30105] Fix up banners in payment_info and billing_subscription pages (#7063) * Fix up banners in payment_info and billing_subscription pages * Reset package-lock * Remove comment * [MM-27556] UI For new system roles (#6529) * Add translations * Basic skeleton without subsections visible * Allow roles to be saved and fix up styling * Dont allow sysadmins to be edited and dont allow self to be removed * Cleanup * Add translations * Save state properly * Update redux * Minor styling changes * Update redux * Bug fixes * Rename datagrid search to onSearch * Cleanup * UX fixes * Fix snaps * Forgot to check this in * Fix console error * Fix snaps * Expand by default if mixed access * update package json files * address PR comments * update redux hash * update redux hash * make disabled * add set navgiation blocked * Fix hash * make necessary changes * make read only admin editable * update function name * fix type check * fix lint issue * udpate redux hash * update search * update snap test * fix set navigation blocked after save * make conditional rendering for system manager * fix linting * go back after saving successfully * updat redux hash * Add Beta Tag Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * [MM-20428] Migrate terms of service to Typescript (#6965) * First pass * Added types everywhere * Fixed ESLint warnings and errors * Fix incorrect import * Updated snapshot * PR review feedback Co-authored-by: Christophe Carpentier <christophe.carpentier@imascap.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29621] Only load the stripe library when cloud components are actually rendered (#7067) * Only load the stripe library when cloud components are actually rendered * Use proper return type * Remove async * MM-20412: Migrate 'components/channel_header_mobile/show_search_button' module to TypeScript (#6969) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM 20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript (#6976) * MM-20404 * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix lint * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix linter Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27229 - Cypress/E2E: Automate backlogs - BOT Accounts - Part 06 (10 test cases) (#6772) Co-authored-by: Prapti <praptishrestha@gmail.com> Co-authored-by: Caleb Roseland <caleb@calebroseland.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate refs icon_url. #15801 (#6754) Automatic Merge * [GH-16035] Migrating refs plugin_management.tsx (#6866) Automatic Merge * [MM-29515] Hide imports tab when in cloud installation (#7069) * Hide imports tab when in cloud installation * fix types and linter * Revert package-lock to master * Make isCloud optional * MM-T446 DM More... searching from page 2 of user list (#7054) * wip * wip * revision * selector fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * DOPS-243 (#7075) DOPS-243 (#7075) * [GH-13483] Migrate 'components/channel_invite_modal' module and associated tests to TypeScript (#6968) * [WIP] migration to typescript * [WIP] further typescript changes * finalized move of component to typescript * [WIP] move index file to typescript * updated test to typescript * fix for types in index file * removed failing class import * [No Ticket] Update to latest redux hash and fixing test cases with missing types (#7084) Automatic Merge * [MM-27154] Cypress tests: Incoming Webhooks (#6977) * Incoming webhooks cypress tests * Remove unused variable * PR feedback * add license * PR feedback and lint * fix import path Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * fix failing tests due to announcement bar (#7077) * MM-27315 Cypress tests for Integrations > Slash command auto-complete (7 test cases) (#6909) * MM-30359: Cypress/E2E: Account Settings > Email (#7051) * MM-30359: Cypress/E2E: Account Settings > Email This PR automates the following test cases: MM-T2066 MM-T2067 MM-T2068 MM-T2069 MM-T2070 MM-T2071 MM-T2072 MM-T2073 https://mattermost.atlassian.net/browse/MM-30359 ```release-note NONE ``` * fix lint * add the other tests * Address review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T561] Add e2e test for MM-T561 (#7015) * Add e2e test Add test for: Browser tab and team sidebar - direct messages don't add indicator on team icon in team sidebar (but do in browser tab) Github Issues: Fix https://github.com/mattermost/mattermost-server/issues/15700 Jira Ticket: MM-T561 * Apply suggested review * Add cleanup for MM-T560_2 * Linting * Separate test file * Linting * Add prerequisite * Rename file * Remove old test Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28255] Add tests for OAuth Apps (#6558) * Add tests for OAuth Apps * Add remaining tests * Update test names, fix typos and add explicit status codes * Add group and license check * Move tests to enterprise folder Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-29858: Migrate string refs to functional ones in autosize textarea component (#6885) * MM-29858: Migrate string refs to functional ones in autosize textarea component * MM-29858: Rename reference instance variable with suffix Ref * MM-29858: Use camel casing for textarea reference variable * MM-29858: Allow empty value for textarea Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate errorMessage string ref (#6882) Automatic Merge * MM-T329 Image link preview (#7005) * wip * wip * finished * revision * remove log Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28150] e2e: add MM-T924, MM-T928, MM-T929, MM-T930 (#7045) * e2e: add MM-T924, MM-T928, MM-T929, MM-T930 * reflect review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30363: Cypress/E2E: Automate backlogs - Edit Bot Username (1 test case) (#7073) * MM-30373 - first iteration * MM-30377 - first iteration * remove spurious file * MM-30377 - further iteration * MM-30363 - first iteration * remove extra file * some cleanup * remoe extra space Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * promote and demote tests to/from prod (#7080) * Cypress/E2E: Fix toast appears unread spec (#7081) * change super to system (#7076) * MM-20418: Migrate 'components/channel_selector_modal' module and associated tests to TypeScript (#6975) * DOPS-243: Fix images (#7089) DOPS-243: Fix images (#7089) * MM-T439 Town Square is not marked as unread for existing users when a new user is added to the team (#7053) Automatic Merge * [MM-20582] Migrate 'components/admin_console/team_channel_settings/ch… (#6840) * MM-20465 Fix for collapse/expand of image preview (#7085) * The toggle function requires id and not post * This was most likely changed to fix a ts error * MM-20465 Revert usage of getCurrentChannel to getCurrentChannelId where possible (#7064) * [MM-29821] Prefer TypeScript files over JavaScript in webpack (#7090) * [MM-30317] add MANAGE_REMOTE_CLUSTERS permission (#7060) * add MANAGE_REMOTE_CLUSTERS permission * Update i18n/en.json Co-authored-by: Doug Lauder <wiggin77@warpmail.net> Co-authored-by: Doug Lauder <wiggin77@warpmail.net> * MM-20416: Migrate 'components/channel_header_mobile/collapse_lhs_button' module to TypeScript (#6971) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove Cloud billing flag from System Console (#7096) (cherry picked from commit 6c35b79ac663756b5e31f0b878531aabec68efd3) Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com> * Translations update from Weblate (#7100) * Translated using Weblate (Turkish) Currently translated at 100.0% (4390 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4329 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (German) Currently translated at 90.4% (3915 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/de/ * Translated using Weblate (Korean) Currently translated at 80.1% (3468 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4328 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Russian) Currently translated at 95.0% (4113 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4328 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 98.4% (4322 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 96.7% (4246 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4119 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 92.7% (4072 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4325 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Alexey Napalkov <flynbit@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> * Migrate 'components/announcement_bar/default_announcement_bar' module and associated tests to TypeScript (#6963) * rename file * working except for test file * restore unincluded test file to jsx * pass npm make check * update snapshot * respond to review comments * checkout package-lock.json * revert package-lock.json changes * fix linting errors Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate this.ref.dotMenu to functional (#6957) * Migrate this.ref.dotMenu to functional * Fixed formatting * Fix reference * rename dotMenu to dotMenuRef for consistency with other PRs, remove comments * Removed blanked line to pass lint check Co-authored-by: root <root@DESKTOP-4IBHFV5.localdomain> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20897 Add category muting (#7033) * MM-20897 Add ability to mute categories * Increase timeout to ensure test passes * Add E2E test for moving channels into muted categories * Update mattermost-redux to branch * Fix unit tests * Fix types * Update snapshot * asdf * Add additional E2E test and API client infrastructure * MM-24293 Fix to have group channels return in quick switcher with space (#7059) * MM-24293 Fix to have group channels return in quick siwchter with space * Split the search term by spaces and match with users in group channels * Update components/suggestion/switch_channel_provider.jsx Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * If card year is 0 return false for isExpired (#7101) * Converted 'dot_menu' to typescript. (#6825) * Migrate string refs of reset password modal (#7038) Automatic Merge * MM-20415 Migrate 'components/channel_header_mobile/unmute_channel_button' module and associated tests to TypeScript (#6972) * MM-30477 Fix for autocomplete not closing (#7093) Automatic Merge * MM-20897 Cleanup a couple missed issues (#7106) * MM-T638 Webhook posts when webhook creator is not a member of the channel (#7091) * wip * wip * wip * wip * added check * small fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript (#6668) * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript Fixes https://github.com/mattermost/mattermost-server/issues/15460 JIRA: https://mattermost.atlassian.net/browse/MM-20481 * Make actions attribute non nullable * Require YoutubeVideo's postId property since it really is * Fix tests * Add stages for onprem * Add build-vars stage * set isDisabled prop for site > notices (#7103) Automatic Merge * [MM-27931][MM-30158] Multi-selection and dragging of channels (#6979) * [MM-27931] Multiselection of channels * Test fix * Lint fix * Change opacity of selected state to 0.24 * Added hover state for selected channels * Tests for multiSelect * Drag and drop working (without visuals, missing redux commit) * Multi drag and drop styles (fade the selected channels, might change) * Don't allow multisellected channels to be dropped where they shouldn't be * Lint, type, test, translation fixes * Allow dragging of non matching channel groups by rejecting the channels that don't match * Redux update * Another test fix * Fixed selected count style to work off of center channel exclusively * Added really obvious styling * Style change/PR feedback * Style change * Include active channel in all initial selections * PR feedback * Add constant for shifted index Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20572] Migrate 'components/admin_console/compliance_reports' to TypeScript (#13500) (#7036) Automatic Merge * MM-30087 Remove direct dependency between Client4 and Rudder (#7056) * MM-30087 Remove direct dependency between Client4 and Rudder * Update tests * Switch mattermost-redux to master * Fix missing types * Change how we mock and import rudder * Remove test that checks if events are sent to Rudder * [MM_20423]'external_image'module to ts (#16151) (#7025) - migrate ts index.js file - migrate ts for external_image.tsx - migrate ts for external_images.test.jsx Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * Fix issue 16144: migrate components/claim module and tests to TypeScript (#7043) Automatic Merge * MM-T2056 e2e to test, Username change reflecting for other users (#7074) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-26334] Fixes direct messages loading screen misalignment (#6813) Summary: Reduces the height of the loading screen so it is more centered and/or unintrusive(small screens) enough to remove the scroll bar during loading. Ticket Link: Fixes https://github.com/mattermost/mattermost-server/issues/15926 * Translations update from Weblate (#7122) * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4121 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 98.9% (4345 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4392 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Spanish) Currently translated at 97.7% (4292 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4341 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> * MM-28153: Cypress/E2E: Automate backlogs - System Console > Environment (8 test cases) (#7049) * MM-30377: Cypress/E2E: Automate backlogs - Messaging > Channel and Post Links (6 test cases) (#7072) * MM-30355: Cypress/E2E: Automate backlogs - Account Settings > Username (6 test cases) (#7062) * MM-27208 Add tests for MM-T1684, MM-T1687, and MM-T1688 (#7124) * MM-27208 MM-T1684 Add test number to existing test case * Fix makeClient for requests without a body * MM-27208 MM-T1687 Add test for another user archiving a channel * MM-27208 MM-T1688 Add test for searching in archived channels * Translations update from Weblate (#7139) * Translated using Weblate (Spanish) Currently translated at 99.1% (4357 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4344 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Dutch) Currently translated at 98.9% (4349 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.4% (4327 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> * [MM-20498] components/post_view/combined_system_message' to TypeScript (#7109) * Added Initial Ts conversion to last_users and last_user_test * Converted combined system message * Completed all files conversion * Updated Snapshots * Minor fix * Minor Fixes * Minor Fixes * Migrate 'components/sidebar_right_menu' module to TypeScript (#6962) * Converted 'leave_channel' to typescript. (#7115) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20581] Migrate index to TS in 'components/admin_console/team_channel_settings/channel/details' module (#6924) * mark browser.focused as false if starting in the background (#7050) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27989 Remove experimental setting for data prefetch (#7094) Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com> * [MM-27207] e2e leave archived channels I - last (#7117) Automatic Merge * MM-30370: Cypress/E2E: Automate backlogs - Keyboard Shortcuts (10 test cases) (#7113) Automatic Merge * MM-30371: Cypress/E2E: Automate backlogs - Keyboard Shortcuts part 2 (10 test cases) (#7112) * temporary work * further iteration * further work * Address CR comments Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29853] Migrate string-refs to functional ones: this.refs.fileInput (#7153) * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function Co-authored-by: lestgabo <lestgabo@gmail.com> * Fix display of boolean feature flags in system console. (#7156) * MM-30992 Add the capability to run part by part for Cypress parallel testing (part 1) (#7140) * add the capability to run part by part for Cypress parallel testing * update per comment and add default values * throw an error if --part is greater than --of * Cypress/E2E: Fix email verification that works both with current, Cloud and parallel testing (part 2) (#7142) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * update per comment * Cypress/E2E: Fix for several flaky tests (part 3) (#7143) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * Cypress/E2E: Fix tests for cloud (part 4) (#7147) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * fix tests for cloud * clean up label and flag * simplify log of license status and add log of server details * update per comment * fix return of Cypress custom commands (#7159) * [MM-30354] e2e fullname (#7126) Automatic Merge * Migrate to typescript Apps related files (#7021) * Migrate to typescript Apps related files * Use correct react-overlays types version * PR feedback * fix types * fix types * temporarily use any * remove unused import * Remove unneeded comments * Extract stringToNumber to utils * Fix minor warning on the console * Fix lint Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * MM-30972 Add proper padding to code preview line numbers (#7155) Automatic Merge * MM-28412: Add tm4j key (#7171) * [MM-26593] Disable pointer events on LHS scrollbar when scrolling isn't required (#7120) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Update NOTICE.txt (#7102) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30376 Cypress/E2E: Automate backlogs - Messaging (8 test cases) (#7141) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30969] Drop aria-label from Marketplace item description (#7133) * Drop aria-label from Marketplace item description * Add general aria-label * Translations update from Weblate (#7182) * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.8% (4383 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4344 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4346 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4393 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.2% (4356 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.1% (4356 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.2% (4359 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https:/…
* modify url utils for internal/external navigation * Apps framework plumbing * fetch app bindings on channel navigation and websocket message * migrate channel header to use app bindings * migrate post actions * migrate Marketplace * migrate admin console * implement apps modal form * implement embedded forms * implement apps commands * i18n * add selectors for app bindings Squashed commit of the following: commit ab0b9e88a14f2a3e49b3a87eabe31421ed72522e Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Tue Mar 30 16:36:33 2021 -0400 make appBindings an optional prop commit 264e8b05671b92a34bf0620fecea60bd14d0c47d Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Mon Mar 29 03:21:25 2021 -0400 add selectors for apps bindings commit d7f792eab390256180e131f5d902cd52535fdd61 Merge: 3fd6e9325 e53a8358f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:36:44 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 3fd6e9325c79beae42d0ebd041fc93b1e1009a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:22:54 2021 +0100 Remove Enable/Disable and Remove from System Console for cloud apps (#7651) * Remove Enable/Disable and Remove from System Console for cloud apps * Set buttons as null * Allow change the status when the feature flag is on * Fix test * Update snapshots Co-authored-by: Mattermod <mattermod@users.noreply.github.com> commit 7b4be8ebf51f251451f4900d1e5a363884306c93 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:11:01 2021 +0100 Case independency fixes (#7722) commit af6ba8797cd5c5387f2ed77fddcad82ddde81932 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:08:19 2021 +0100 Use Feature flag (#7643) * Use Feature flag * Fix test and minor improvement * Simplify return commit de7bca6c0782b47e2af101b2555894e0d80bf129 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 17 10:29:36 2021 -0400 Synchronize app command parser with mobile app (#7706) * Use type on call path, and minor refactoring * Add missing i18n * move files into app_command_parser folder * Fix navigation and small fix on error handling * include mobile app changes to command parser * i18n * types and lint * use intl * change i18n ids * tests * test fixes * add more tests for button_binding and select_binding * lint * fix merege issue * incorporate changes from #7703 * add translation * fix and i18n * remove unused translation Co-authored-by: Daniel Espino García <larkox@gmail.com> commit b54d6c52cda1c48adeb83e24f43901e3fdca7dc6 Merge: 05a669c46 ee77df3f0 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 12:15:35 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 05a669c46cfb85adc8e02f3ab2ea97a5a9ffe7e3 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 04:45:19 2021 +0100 Use type on call path, and minor refactoring (#7679) * Use type on call path, and minor refactoring * Add missing i18n * Fix navigation and small fix on error handling * Update redux reference * Fix types * Fix test * Fix test * Address PR Feedback commit 9b1cbbff02a092ef9a7d3a26fe0e016c257c4545 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:32:16 2021 +0100 Remove autocomplete of ~ and @ for user and channel suggestions (#7667) commit 00685fc935148b00ab6049ffb68e63a0a7a3399f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:29:52 2021 +0100 Fix command errors (#7664) commit 83a24ddc0d313c492410e644232720cee4f4dc94 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:27:04 2021 +0100 Command send options (user, channel, dynamic and static) as options and not only values. (#7650) * Command send options (user, channel, dynamic and static) as options and not only values. * Fetch users from server or generate error * Fix i18 and fix minor typo commit 6c1fea615501be4924d3fb9eaf8a987fdbe2552c Merge: d06cdffb8 507991558 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 9 11:14:07 2021 +0100 Merge branch 'master' into feature/cloud-apps commit d06cdffb86def63d4fa67f145775d6b6ce3deb3d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 8 15:08:35 2021 +0100 Fix multiword select options and keep quotes on complete values (#7644) * Fix multiword select options and keep quotes on complete values * Fix test commit e1d67a169ae88d43c9f76f0dc11d94db7e9722df Author: Daniel Espino García <larkox@gmail.com> Date: Sat Mar 6 11:55:43 2021 +0100 Fix channel header dropdown icon size and count (#7642) commit c5c86ca148002ac11a97035fbba6d50f55630fde Author: Daniel Espino García <larkox@gmail.com> Date: Thu Mar 4 11:47:21 2021 +0100 All select use AppSelectOption (#7612) * All select use AppSelectOption * Fix test commit 2f0ab8f9e9fd602fad5cf4d6cf258dbda5b95c8c Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Mar 4 11:13:45 2021 +0100 Use App id to install App from Marketplace (#7631) * Use App id to install App from Marketplace * Fix tests commit 94a86bec10017df9f22bc78ad04aa0d2596c3e24 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 09:24:35 2021 +0100 Add refresh websocket event (#7599) * Add refresh websocket event * Make more obvious the App framework events * Fix typo and separate handler into a function commit bde2a3488503b60cd5deb273f29ad035f93c0dfb Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 06:25:03 2021 +0100 Handle errors on binding locations (#7556) * Handle errors on binding locations * Fix types * Fix lint * Translate and handle all messages directly in the binding * Fix various errors * Fix snapshot commit 8868f33acc0a1fa089354ce7fa9e99dcfd404eec Merge: 2e3c92e28 db27a519d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 1 12:02:52 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 2e3c92e2827fc37890796768e157c16042b4e4e4 Author: Daniel Espino García <larkox@gmail.com> Date: Fri Feb 26 23:00:48 2021 +0100 Fix App parser (#7555) * Fix parser * Fix lint * Fix test commit c9dc94fd80bf6fbb1e18c2e3e1d88b4f5d3eff47 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Feb 26 19:17:30 2021 +0100 [MM-31508] Rename URL to Path in Call (#7566) commit 6b0675fcadee8ee24df6bdf7c4ff713e27a732c9 Merge: 5790e6316 82790213b Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 24 10:03:00 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 5790e6316b5110b8828a768a4ee37d92d107c91c Author: Daniel Espino García <larkox@gmail.com> Date: Tue Feb 16 12:48:49 2021 +0100 Rework embedded forms (#7423) * Rework embedded forms * Improve naming * Improve naming, improve binding filling and trimming and use binding as the base element of a EmbeddedBinding * Move appsEnabled to utils/apps.ts * Add a create request function, add logging, and check for undefined bindings. commit 5f2660f6adefcf1668f71f905622f4a150d5f95d Merge: faaebe611 f7ea0ec34 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 15 14:22:55 2021 +0100 Merge branch 'master' into feature/cloud-apps commit faaebe6115684c7cae5abd748d963980f9626a9e Author: Lev <1187448+levb@users.noreply.github.com> Date: Sat Feb 13 15:53:56 2021 -0800 Refactored apps command parser (#7426) * Fixed command autocomplete for no fields * make test * small fix: restore * wip * wip wip * wip appears to compile * first tests * Consolidated TC type and checks * ParseForm tests work, again * ParseForm tests work, again * unit tests work * nit * PR feedback, some debugging * PR feedback * PR feedback: moved methods into ParsedCommand * merging... * more merging * more more merging commit 50babb5bcef3dbc044e2cb69ef40cee69fefa820 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 19:00:55 2021 +0100 [MM-31088] Set submit buttons to the bottom of the form (#7473) * Set submit buttons to the bottom of the form * Fix typescript * Fix test * Fix lint commit e5619c9a1cc49f246c43ddd116b8b62946907bf5 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 15:31:50 2021 +0100 Isolate Apps to disable them whenever needed (#7376) * Isolate Apps to disable them whenever needed * Use feature flags * Isolate command_provider * Change shouldProcessApps by a more meaningful name appsEnabled * Fix test commit 1f866cdfd6972607decdbe64014ebb7d7566ad3f Merge: e65f8e066 3a24c6a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 13:23:13 2021 +0100 Merge branch 'master' into feature/cloud-apps commit e65f8e06613fc5a5d31573071c42d407dc799462 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Tue Feb 9 09:59:38 2021 +0100 [MM-32476] Apps in the Marketplace (#7474) commit 93e7c3421fef3f7f7a50bbc095512116f7976553 Merge: b2ef64e41 00b9e12d0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Feb 4 13:20:10 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit b2ef64e4132f500dd4d3c7226b87da8c58bd3a25 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:58:03 2021 +0100 Update redux reference commit 63f211746e975e5509d7d749c9c26d2cfcd39963 Merge: 837694a9b 0de03d607 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:54:11 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 837694a9b3a61911cd3c3e9cf21b678b3182b6fa Merge: c1cd297e9 b819372f0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Jan 29 13:53:47 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit c1cd297e94a9dcaea00508ad11c696d512365fdd Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 27 11:58:32 2021 +0100 Add Navigate to AppCallResonses handling (#7377) commit 44d85a493644efff7bd6363d95f888b681ada21d Author: Jason Frerich <jason.frerich@mattermost.com> Date: Wed Jan 27 04:58:12 2021 -0600 use label tag, not paragraph (#7378) commit 0411421a0af3d014c1adbf15c16f431d835e88bc Author: Daniel Espino García <larkox@gmail.com> Date: Tue Jan 26 17:44:12 2021 +0100 Fix Embedded forms after refactor (#7331) * Fix Embedded forms after refactor * Fix lint commit 9eba5ecc26885cc0e252c4d7ac2fbbff8510a078 Merge: 4f5f04144 b252c8a44 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 12:31:46 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4f5f04144375d6a2ce591265e8c78d3eab40919e Merge: 4716206ff 97e741e1d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 11:30:51 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4716206ffa48b174a8a8aa7882158c43c0f2ab3a Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:16:56 2021 +0100 Point to latest redux commit 0122d36712de26a51440ced499d77fdd956fe7aa Merge: f27d6e1cf 19b189c04 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:02:26 2021 +0100 Merge branch 'master' into feature/cloud-apps commit f27d6e1cf898eb71f5424c9520ef81c76a8ae28b Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Thu Jan 14 17:09:42 2021 -0500 Dynamic Apps Modals (#7166) * First approach on embedded forms * Fix lint * Render form in the RHS * Send needed information along the form * Address feedback * Use proper redux version * Add embedded buttons * Handle embedded forms as new modals * Improve state handling * Remove unneeded changes * Fix lint * Migrate button_selector to typescript and make buttons disabled * Fix lint * Make errors work on Embedded and Modal forms * Handle button field type from app forms * Consider button fields also select fields and handle submit_buttons field * dynamic select works. modal can refresh on submit * updates for refreshing on select * fix types * mm-redux * types * snapshot * change react-select import * fix react-select type * submit buttons * error handling * import lint * fix embedded form props * lint * updates for call structure * lint * mm-redux * move presentation field from call to binding * update tests * update prop for test * modal maintains its own state until it unmounts/closes * fix test * mm-redux and fix * fixes for using form call * remove dispatch * fix post id * fix command lookups. allow commands to open modals through binding's presentation * mm-redux * remove interactive dialog field references * fix test * test updates * use global store for command_provider, which is mocked in test * call.type == 'form' && response.type == 'form' opens a modal * lint * remove makeLookupCallPayload * lint * fix imports * fix import Co-authored-by: Daniel Espino García <larkox@gmail.com> commit 6f9f30379191db3f9988113ffdc950a2b2fbff86 Author: Daniel Espino García <larkox@gmail.com> Date: Thu Jan 14 14:59:49 2021 +0100 Fix missing channel header buttons (#7322) commit be9f4ff9bc770dff1723a8938010537486de7812 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 13 09:48:41 2021 +0100 Merge master to feature branch (#7250) * [MM-30193] change file attachment info to show fractions below 10 (#6935) * change fileinfo to show fractions below 10M * fix formatting * add linting fixes and clean up code * fix incorrect brackets Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Revert "Mm 29111 search bar and search results as fc (#6796)" (#6999) This reverts commit 9fba9a9789e3e1e6194daa36aabe343859e8511b. * [MM-20196] Use UTC timezone for formattedDate so it doesn't change the date (#7000) * Use UTC timezone for formattedDate so it doesn't change the date * Add toUTCString * Remove it because it isn't needed * Add to last invoice summary * Make invoice.tax a boolean so a rogue 0 isn't rendered (#7001) * Translations update from Weblate (#7006) * Translated using Weblate (Dutch) Currently translated at 99.9% (4294 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.5% (4275 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.6% (4270 of 4285 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Spanish) Currently translated at 99.2% (4264 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4295 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 96.0% (4126 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * [MM-30066] Allow sidebar category button width to grow and shrink as needed (#6955) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate team_list and team_row to typescript (#6914) Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> * [MM-20482] Migrate 'components/post_view/channel_intro_message' module … (#6729) * MM-28843 Adding feature flags to system console for easy diagnosis. (#6905) * Adding feature flags to system console for easy diagnosis. * Use AdminConfig type. * Redux update. * [MM-29850] Migrate string-refs to functional ones: this.refs.errorMessage (#6881) * Update string ref to functional ref * Make ref load before use Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30190] Show spinner when loading invoices instead of 'no invoices found' (#7012) * [MM-T560] Add test for notifications (#6884) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-20492 Migrate 'components/post_view/post_message_view' module and … (#6738) * Cypress/E2E: Fix custom categories spec (#7011) * [MM-30216] - Add check for undefined fileInfos (#7019) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-20465] migrate single_image_view to typescript (#6774) * migrate single_image_view to typescript * fix unit test * resolove review comment * Update components/single_image_view/single_image_view.tsx * Guard clause fileinfo` Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Nev Angelova <nevyana.angelova@mattermost.com> Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-29903] - Check if current user is on last post when scrolling in rhs (#6920) * Scroll user to bottom when they are on the latest post in rhs * fix tests * Fix type check * Implement using getSnapshotBeforeUpdate * Remove comment box and set refs * Update scroll logic * resize rhs container correctly * Calculate with header height * fix type error * please linter * update snapshot Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Nevyana Angelova <nevyangelova@nevyanas-mbp-2.mynet> * MM-T614 Search on Outgoing Webhooks page (#6873) * wip * cleanup, optimize * remove file Co-authored-by: Mattermost <mattermost@Michaels-MacBook-Pro.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: Move cluster spec to enterprise (#7010) * Cypress/E2E: Move cluster spec to enterprise * Add @enterprise tag * MM-20578 Migrate 'components/admin_console/system_user_detail' module… (#6801) * [MM-20568] Migrate 'components/admin_console/system_users' module to ts (#6829) * Fixing title text in select team icon. (#7023) * MM-30090 Open managed resource links in a new tab (#7024) * MM-30090 Open managed resource links in a new tab * MM-30090 Add ManagedResourcePaths setting * Update test case to reflect new case * Fix types * Revert unnecessary type changes * Switch mattermost-redux back to master * MM-27903, MM-27899: Folded Reply Threads: ThreadItem and ThreadFooter (#6585) * wip: checkpoint * wip: fix tooltip * wip: checkpoint * move connected profile_picture back out of widgets * timestamp improvements * wip: threading components * wip: thread footer * timestamp story improvments * wip: threading components * wip: threading components * wip: threading comps * wip: thread menu * update testing * wip: testing updates * unit tests, storybook cleanup * tweak timestamp knob arrangement * i18n * stray apostrophe; snapshots-i18n * profile_picture index * misc cleanup * put prop-types rule back in * simple_tooltip remove FC * sync relative time spec * update snapshots * Update index.stories.js * Update story_box.tsx * remove trailing space * update url * remove frag * sb container width * review fixes * review fixes/improvements * review/other changes * simplify * actually add nowrap * fix new messages tooltip style * cleanup * improvements, clarity * clearer conditionals * remove unused css/simplify * use text-clamp mixin, fix knob typo * remove unused css props * remove empty file * fix bad role attr * sync css; test appended button * review changes * badge as button if it has a click handler * update snapshot Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate string-refs in user_list.jsx (#6704) * migrate string-refs in user_list.jsx * add unit test for user_list.jsx * remove the eslint-enable/disable comments + rename this.container Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T556] Add e2e test for MM-T556 (#7016) * Add e2e test for MM-T556 Add e2e test for Browser tab and team sidebar notification - no unreads/mentions Github Issues: Fixes https://github.com/mattermost/mattermost-server/issues/15705 Jira Ticket: MM-T556 * Fix finicky test * Move Remove mention notification to before() * Fix broken test * Linting Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-24505-Update-help-text-leave-team-modal (#6572) * message update for leave team modal and updated in i18en.json * implemented dynamic channl values and changed tests * update failing snapshot * added new strings for public and priivate cases * updated desc * update plurals in string * removed console log statement * modal description based on the counts * i18n order changed * i18n corrected * resolved suggestions * updated failing snapshot * corrected messages in modals * updated snapshot * rewordings to modal texts * guest modal message * guest modal condition added along with modal message * updated failing snapshot * added currentuser prop to the test file * Fixed type error in test file * Fixes condition * conditions for zero public & zero private for guest * modified conditions * Fixed modal messages * snapshot updated * Fixes * MM-29929 Fix for unread messages toast on marking channel as unread (#7028) * The initOffset we use for displaying toast should be only used mount as that is not a relative scroll position and is only set on mount * Changing this to show unread toast on all occasions of marking channel as unread other than channel at bottom * [MM-26386] - Respect user locale when searching for channels (#6904) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-25186] Bot username validation i8n support (#6629) * Migrate String Refs to Functional ones - MM 16039 (#6865) * MM-29849/MM-29942/MM-29982 Fix code theme not being applied (#7008) * Convert 'components/post_view/post_info' module and associated tests to TypeScript (#6619) * Convert 'components/post_view/post_info' module and associated tests to TypeScript. Based on conversations with @devin and @abdu - marking certain props as non-mandatory. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some issues from rebasing from latest master branch * Handling null checks for 'getCurrentChannel' calls. * Fixing issue with white page. * Fixing issue with check types. Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30183] - No more text decoration on hover and focus (#7020) * Fix no text decoration on hover and focus * revert extra space Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20470] Migrate emoji page and any team permission gate to typescript #15470 (#6645) * Migrate emoji page and any team permission gate to typescript * Convert delete_emoji_modal to typescript Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30226][MM-39255] Allow a post to be sent when you do CMD + ENTER on Mac with 'Allow all messages' to be sent via CMD + ENTER (#7031) * make a post be able to send when you do command enter when editing post * fix linting * Edit task to take into control mac command key * fix linting * [MM-30340] Update post height when comment box height change occurs (#7039) * [MM-30340] Update post height when comment box height change occurs * Update snaps * Add scroll to bottom to the resize function * Remove redundant check Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Translations update from Weblate (#7046) * Translated using Weblate (Japanese) Currently translated at 98.1% (4219 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4302 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4298 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 96.3% (4147 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Dutch) Currently translated at 99.6% (4310 of 4323 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.9% (4301 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Korean) Currently translated at 79.4% (3418 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Japanese) Currently translated at 97.5% (4220 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Korean) Currently translated at 79.7% (3453 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4214 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4215 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> * [MM-28181] e2e: add system_console/unsaved_changes_spec (#7009) * e2e: add system_console/unsaved_changes_spec * reflect revivew comments * 15474 convert team selector modal to ts (#6824) * Convert 'components/team_selector_modal' module and associated tests to TypeScript. * Fixing review comments. * Fixing review comments. * Fixing review comments. * Fixing bad merge Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-19509 Prioritize autocomplete results based on interactions and threads (#7002) * MM-19509 Prioritize autocomplete results based on interactions and threads * Add sort method of auto complete results to be based on last_viewed_at as well * Add new prop priorityResults to auto complete so we can add profiles like thread interactions on top * Fix sorting for remote results * Add E2E test for desktop notifications for empty strings (#6799) * Add E2E test for desktop notifications for empty strings * Update comments based on feedback * Typo Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20433 - convert view_pinned_posts to typescript (#7034) * MM-20433 - convert view_pinned_posts to typescript * fix linter errors Co-authored-by: Pablo Velez <pvelez@bp-3.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: fix test (#7052) * fix e2e test * make trial user configurable via env * fix order * [MM-29855] Migrate string-refs to functional ones: this.refs.content (#6867) * Update string refs to functional component based refs * Update string refs to functional component based refs * [MM-27231]: e2e for T1880 - deleted token cannot be used to post (#6901) * update api method to return more data, and add method to revoke token * test for T1880 - deletd token can't be used to post * fix comment * move methods to better place Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Fix menu rendering behind input box in RHS. (#7061) * [MM-27708] Disable Plugin on Removal (#6518) * [MM-30104][MM-30105] Fix up banners in payment_info and billing_subscription pages (#7063) * Fix up banners in payment_info and billing_subscription pages * Reset package-lock * Remove comment * [MM-27556] UI For new system roles (#6529) * Add translations * Basic skeleton without subsections visible * Allow roles to be saved and fix up styling * Dont allow sysadmins to be edited and dont allow self to be removed * Cleanup * Add translations * Save state properly * Update redux * Minor styling changes * Update redux * Bug fixes * Rename datagrid search to onSearch * Cleanup * UX fixes * Fix snaps * Forgot to check this in * Fix console error * Fix snaps * Expand by default if mixed access * update package json files * address PR comments * update redux hash * update redux hash * make disabled * add set navgiation blocked * Fix hash * make necessary changes * make read only admin editable * update function name * fix type check * fix lint issue * udpate redux hash * update search * update snap test * fix set navigation blocked after save * make conditional rendering for system manager * fix linting * go back after saving successfully * updat redux hash * Add Beta Tag Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * [MM-20428] Migrate terms of service to Typescript (#6965) * First pass * Added types everywhere * Fixed ESLint warnings and errors * Fix incorrect import * Updated snapshot * PR review feedback Co-authored-by: Christophe Carpentier <christophe.carpentier@imascap.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29621] Only load the stripe library when cloud components are actually rendered (#7067) * Only load the stripe library when cloud components are actually rendered * Use proper return type * Remove async * MM-20412: Migrate 'components/channel_header_mobile/show_search_button' module to TypeScript (#6969) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM 20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript (#6976) * MM-20404 * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix lint * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix linter Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27229 - Cypress/E2E: Automate backlogs - BOT Accounts - Part 06 (10 test cases) (#6772) Co-authored-by: Prapti <praptishrestha@gmail.com> Co-authored-by: Caleb Roseland <caleb@calebroseland.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate refs icon_url. #15801 (#6754) Automatic Merge * [GH-16035] Migrating refs plugin_management.tsx (#6866) Automatic Merge * [MM-29515] Hide imports tab when in cloud installation (#7069) * Hide imports tab when in cloud installation * fix types and linter * Revert package-lock to master * Make isCloud optional * MM-T446 DM More... searching from page 2 of user list (#7054) * wip * wip * revision * selector fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * DOPS-243 (#7075) DOPS-243 (#7075) * [GH-13483] Migrate 'components/channel_invite_modal' module and associated tests to TypeScript (#6968) * [WIP] migration to typescript * [WIP] further typescript changes * finalized move of component to typescript * [WIP] move index file to typescript * updated test to typescript * fix for types in index file * removed failing class import * [No Ticket] Update to latest redux hash and fixing test cases with missing types (#7084) Automatic Merge * [MM-27154] Cypress tests: Incoming Webhooks (#6977) * Incoming webhooks cypress tests * Remove unused variable * PR feedback * add license * PR feedback and lint * fix import path Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * fix failing tests due to announcement bar (#7077) * MM-27315 Cypress tests for Integrations > Slash command auto-complete (7 test cases) (#6909) * MM-30359: Cypress/E2E: Account Settings > Email (#7051) * MM-30359: Cypress/E2E: Account Settings > Email This PR automates the following test cases: MM-T2066 MM-T2067 MM-T2068 MM-T2069 MM-T2070 MM-T2071 MM-T2072 MM-T2073 https://mattermost.atlassian.net/browse/MM-30359 ```release-note NONE ``` * fix lint * add the other tests * Address review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T561] Add e2e test for MM-T561 (#7015) * Add e2e test Add test for: Browser tab and team sidebar - direct messages don't add indicator on team icon in team sidebar (but do in browser tab) Github Issues: Fix https://github.com/mattermost/mattermost-server/issues/15700 Jira Ticket: MM-T561 * Apply suggested review * Add cleanup for MM-T560_2 * Linting * Separate test file * Linting * Add prerequisite * Rename file * Remove old test Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28255] Add tests for OAuth Apps (#6558) * Add tests for OAuth Apps * Add remaining tests * Update test names, fix typos and add explicit status codes * Add group and license check * Move tests to enterprise folder Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-29858: Migrate string refs to functional ones in autosize textarea component (#6885) * MM-29858: Migrate string refs to functional ones in autosize textarea component * MM-29858: Rename reference instance variable with suffix Ref * MM-29858: Use camel casing for textarea reference variable * MM-29858: Allow empty value for textarea Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate errorMessage string ref (#6882) Automatic Merge * MM-T329 Image link preview (#7005) * wip * wip * finished * revision * remove log Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28150] e2e: add MM-T924, MM-T928, MM-T929, MM-T930 (#7045) * e2e: add MM-T924, MM-T928, MM-T929, MM-T930 * reflect review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30363: Cypress/E2E: Automate backlogs - Edit Bot Username (1 test case) (#7073) * MM-30373 - first iteration * MM-30377 - first iteration * remove spurious file * MM-30377 - further iteration * MM-30363 - first iteration * remove extra file * some cleanup * remoe extra space Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * promote and demote tests to/from prod (#7080) * Cypress/E2E: Fix toast appears unread spec (#7081) * change super to system (#7076) * MM-20418: Migrate 'components/channel_selector_modal' module and associated tests to TypeScript (#6975) * DOPS-243: Fix images (#7089) DOPS-243: Fix images (#7089) * MM-T439 Town Square is not marked as unread for existing users when a new user is added to the team (#7053) Automatic Merge * [MM-20582] Migrate 'components/admin_console/team_channel_settings/ch… (#6840) * MM-20465 Fix for collapse/expand of image preview (#7085) * The toggle function requires id and not post * This was most likely changed to fix a ts error * MM-20465 Revert usage of getCurrentChannel to getCurrentChannelId where possible (#7064) * [MM-29821] Prefer TypeScript files over JavaScript in webpack (#7090) * [MM-30317] add MANAGE_REMOTE_CLUSTERS permission (#7060) * add MANAGE_REMOTE_CLUSTERS permission * Update i18n/en.json Co-authored-by: Doug Lauder <wiggin77@warpmail.net> Co-authored-by: Doug Lauder <wiggin77@warpmail.net> * MM-20416: Migrate 'components/channel_header_mobile/collapse_lhs_button' module to TypeScript (#6971) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove Cloud billing flag from System Console (#7096) (cherry picked from commit 6c35b79ac663756b5e31f0b878531aabec68efd3) Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com> * Translations update from Weblate (#7100) * Translated using Weblate (Turkish) Currently translated at 100.0% (4390 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4329 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (German) Currently translated at 90.4% (3915 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/de/ * Translated using Weblate (Korean) Currently translated at 80.1% (3468 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4328 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Russian) Currently translated at 95.0% (4113 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4328 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 98.4% (4322 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 96.7% (4246 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4119 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 92.7% (4072 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4325 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Alexey Napalkov <flynbit@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> * Migrate 'components/announcement_bar/default_announcement_bar' module and associated tests to TypeScript (#6963) * rename file * working except for test file * restore unincluded test file to jsx * pass npm make check * update snapshot * respond to review comments * checkout package-lock.json * revert package-lock.json changes * fix linting errors Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate this.ref.dotMenu to functional (#6957) * Migrate this.ref.dotMenu to functional * Fixed formatting * Fix reference * rename dotMenu to dotMenuRef for consistency with other PRs, remove comments * Removed blanked line to pass lint check Co-authored-by: root <root@DESKTOP-4IBHFV5.localdomain> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20897 Add category muting (#7033) * MM-20897 Add ability to mute categories * Increase timeout to ensure test passes * Add E2E test for moving channels into muted categories * Update mattermost-redux to branch * Fix unit tests * Fix types * Update snapshot * asdf * Add additional E2E test and API client infrastructure * MM-24293 Fix to have group channels return in quick switcher with space (#7059) * MM-24293 Fix to have group channels return in quick siwchter with space * Split the search term by spaces and match with users in group channels * Update components/suggestion/switch_channel_provider.jsx Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * If card year is 0 return false for isExpired (#7101) * Converted 'dot_menu' to typescript. (#6825) * Migrate string refs of reset password modal (#7038) Automatic Merge * MM-20415 Migrate 'components/channel_header_mobile/unmute_channel_button' module and associated tests to TypeScript (#6972) * MM-30477 Fix for autocomplete not closing (#7093) Automatic Merge * MM-20897 Cleanup a couple missed issues (#7106) * MM-T638 Webhook posts when webhook creator is not a member of the channel (#7091) * wip * wip * wip * wip * added check * small fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript (#6668) * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript Fixes https://github.com/mattermost/mattermost-server/issues/15460 JIRA: https://mattermost.atlassian.net/browse/MM-20481 * Make actions attribute non nullable * Require YoutubeVideo's postId property since it really is * Fix tests * Add stages for onprem * Add build-vars stage * set isDisabled prop for site > notices (#7103) Automatic Merge * [MM-27931][MM-30158] Multi-selection and dragging of channels (#6979) * [MM-27931] Multiselection of channels * Test fix * Lint fix * Change opacity of selected state to 0.24 * Added hover state for selected channels * Tests for multiSelect * Drag and drop working (without visuals, missing redux commit) * Multi drag and drop styles (fade the selected channels, might change) * Don't allow multisellected channels to be dropped where they shouldn't be * Lint, type, test, translation fixes * Allow dragging of non matching channel groups by rejecting the channels that don't match * Redux update * Another test fix * Fixed selected count style to work off of center channel exclusively * Added really obvious styling * Style change/PR feedback * Style change * Include active channel in all initial selections * PR feedback * Add constant for shifted index Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20572] Migrate 'components/admin_console/compliance_reports' to TypeScript (#13500) (#7036) Automatic Merge * MM-30087 Remove direct dependency between Client4 and Rudder (#7056) * MM-30087 Remove direct dependency between Client4 and Rudder * Update tests * Switch mattermost-redux to master * Fix missing types * Change how we mock and import rudder * Remove test that checks if events are sent to Rudder * [MM_20423]'external_image'module to ts (#16151) (#7025) - migrate ts index.js file - migrate ts for external_image.tsx - migrate ts for external_images.test.jsx Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * Fix issue 16144: migrate components/claim module and tests to TypeScript (#7043) Automatic Merge * MM-T2056 e2e to test, Username change reflecting for other users (#7074) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-26334] Fixes direct messages loading screen misalignment (#6813) Summary: Reduces the height of the loading screen so it is more centered and/or unintrusive(small screens) enough to remove the scroll bar during loading. Ticket Link: Fixes https://github.com/mattermost/mattermost-server/issues/15926 * Translations update from Weblate (#7122) * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4121 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 98.9% (4345 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4392 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Spanish) Currently translated at 97.7% (4292 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4341 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> * MM-28153: Cypress/E2E: Automate backlogs - System Console > Environment (8 test cases) (#7049) * MM-30377: Cypress/E2E: Automate backlogs - Messaging > Channel and Post Links (6 test cases) (#7072) * MM-30355: Cypress/E2E: Automate backlogs - Account Settings > Username (6 test cases) (#7062) * MM-27208 Add tests for MM-T1684, MM-T1687, and MM-T1688 (#7124) * MM-27208 MM-T1684 Add test number to existing test case * Fix makeClient for requests without a body * MM-27208 MM-T1687 Add test for another user archiving a channel * MM-27208 MM-T1688 Add test for searching in archived channels * Translations update from Weblate (#7139) * Translated using Weblate (Spanish) Currently translated at 99.1% (4357 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4344 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Dutch) Currently translated at 98.9% (4349 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.4% (4327 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> * [MM-20498] components/post_view/combined_system_message' to TypeScript (#7109) * Added Initial Ts conversion to last_users and last_user_test * Converted combined system message * Completed all files conversion * Updated Snapshots * Minor fix * Minor Fixes * Minor Fixes * Migrate 'components/sidebar_right_menu' module to TypeScript (#6962) * Converted 'leave_channel' to typescript. (#7115) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20581] Migrate index to TS in 'components/admin_console/team_channel_settings/channel/details' module (#6924) * mark browser.focused as false if starting in the background (#7050) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27989 Remove experimental setting for data prefetch (#7094) Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com> * [MM-27207] e2e leave archived channels I - last (#7117) Automatic Merge * MM-30370: Cypress/E2E: Automate backlogs - Keyboard Shortcuts (10 test cases) (#7113) Automatic Merge * MM-30371: Cypress/E2E: Automate backlogs - Keyboard Shortcuts part 2 (10 test cases) (#7112) * temporary work * further iteration * further work * Address CR comments Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29853] Migrate string-refs to functional ones: this.refs.fileInput (#7153) * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function Co-authored-by: lestgabo <lestgabo@gmail.com> * Fix display of boolean feature flags in system console. (#7156) * MM-30992 Add the capability to run part by part for Cypress parallel testing (part 1) (#7140) * add the capability to run part by part for Cypress parallel testing * update per comment and add default values * throw an error if --part is greater than --of * Cypress/E2E: Fix email verification that works both with current, Cloud and parallel testing (part 2) (#7142) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * update per comment * Cypress/E2E: Fix for several flaky tests (part 3) (#7143) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * Cypress/E2E: Fix tests for cloud (part 4) (#7147) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * fix tests for cloud * clean up label and flag * simplify log of license status and add log of server details * update per comment * fix return of Cypress custom commands (#7159) * [MM-30354] e2e fullname (#7126) Automatic Merge * Migrate to typescript Apps related files (#7021) * Migrate to typescript Apps related files * Use correct react-overlays types version * PR feedback * fix types * fix types * temporarily use any * remove unused import * Remove unneeded comments * Extract stringToNumber to utils * Fix minor warning on the console * Fix lint Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * MM-30972 Add proper padding to code preview line numbers (#7155) Automatic Merge * MM-28412: Add tm4j key (#7171) * [MM-26593] Disable pointer events on LHS scrollbar when scrolling isn't required (#7120) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Update NOTICE.txt (#7102) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30376 Cypress/E2E: Automate backlogs - Messaging (8 test cases) (#7141) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30969] Drop aria-label from Marketplace item description (#7133) * Drop aria-label from Marketplace item description * Add general aria-label * Translations update from Weblate (#7182) * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.8% (4383 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4344 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4346 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4393 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.2% (4356 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.1% (4356 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.2% (4359 of 4391 strings) Trans…
* modify url utils for internal/external navigation * Apps framework plumbing * fetch app bindings on channel navigation and websocket message * migrate channel header to use app bindings * migrate post actions * migrate Marketplace * migrate admin console * implement apps modal form * implement embedded forms * implement apps commands * i18n * add selectors for app bindings Squashed commit of the following: commit ab0b9e88a14f2a3e49b3a87eabe31421ed72522e Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Tue Mar 30 16:36:33 2021 -0400 make appBindings an optional prop commit 264e8b05671b92a34bf0620fecea60bd14d0c47d Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Mon Mar 29 03:21:25 2021 -0400 add selectors for apps bindings commit d7f792eab390256180e131f5d902cd52535fdd61 Merge: 3fd6e9325 e53a8358f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:36:44 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 3fd6e9325c79beae42d0ebd041fc93b1e1009a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:22:54 2021 +0100 Remove Enable/Disable and Remove from System Console for cloud apps (#7651) * Remove Enable/Disable and Remove from System Console for cloud apps * Set buttons as null * Allow change the status when the feature flag is on * Fix test * Update snapshots Co-authored-by: Mattermod <mattermod@users.noreply.github.com> commit 7b4be8ebf51f251451f4900d1e5a363884306c93 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:11:01 2021 +0100 Case independency fixes (#7722) commit af6ba8797cd5c5387f2ed77fddcad82ddde81932 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:08:19 2021 +0100 Use Feature flag (#7643) * Use Feature flag * Fix test and minor improvement * Simplify return commit de7bca6c0782b47e2af101b2555894e0d80bf129 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 17 10:29:36 2021 -0400 Synchronize app command parser with mobile app (#7706) * Use type on call path, and minor refactoring * Add missing i18n * move files into app_command_parser folder * Fix navigation and small fix on error handling * include mobile app changes to command parser * i18n * types and lint * use intl * change i18n ids * tests * test fixes * add more tests for button_binding and select_binding * lint * fix merege issue * incorporate changes from #7703 * add translation * fix and i18n * remove unused translation Co-authored-by: Daniel Espino García <larkox@gmail.com> commit b54d6c52cda1c48adeb83e24f43901e3fdca7dc6 Merge: 05a669c46 ee77df3f0 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 12:15:35 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 05a669c46cfb85adc8e02f3ab2ea97a5a9ffe7e3 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 04:45:19 2021 +0100 Use type on call path, and minor refactoring (#7679) * Use type on call path, and minor refactoring * Add missing i18n * Fix navigation and small fix on error handling * Update redux reference * Fix types * Fix test * Fix test * Address PR Feedback commit 9b1cbbff02a092ef9a7d3a26fe0e016c257c4545 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:32:16 2021 +0100 Remove autocomplete of ~ and @ for user and channel suggestions (#7667) commit 00685fc935148b00ab6049ffb68e63a0a7a3399f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:29:52 2021 +0100 Fix command errors (#7664) commit 83a24ddc0d313c492410e644232720cee4f4dc94 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:27:04 2021 +0100 Command send options (user, channel, dynamic and static) as options and not only values. (#7650) * Command send options (user, channel, dynamic and static) as options and not only values. * Fetch users from server or generate error * Fix i18 and fix minor typo commit 6c1fea615501be4924d3fb9eaf8a987fdbe2552c Merge: d06cdffb8 507991558 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 9 11:14:07 2021 +0100 Merge branch 'master' into feature/cloud-apps commit d06cdffb86def63d4fa67f145775d6b6ce3deb3d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 8 15:08:35 2021 +0100 Fix multiword select options and keep quotes on complete values (#7644) * Fix multiword select options and keep quotes on complete values * Fix test commit e1d67a169ae88d43c9f76f0dc11d94db7e9722df Author: Daniel Espino García <larkox@gmail.com> Date: Sat Mar 6 11:55:43 2021 +0100 Fix channel header dropdown icon size and count (#7642) commit c5c86ca148002ac11a97035fbba6d50f55630fde Author: Daniel Espino García <larkox@gmail.com> Date: Thu Mar 4 11:47:21 2021 +0100 All select use AppSelectOption (#7612) * All select use AppSelectOption * Fix test commit 2f0ab8f9e9fd602fad5cf4d6cf258dbda5b95c8c Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Mar 4 11:13:45 2021 +0100 Use App id to install App from Marketplace (#7631) * Use App id to install App from Marketplace * Fix tests commit 94a86bec10017df9f22bc78ad04aa0d2596c3e24 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 09:24:35 2021 +0100 Add refresh websocket event (#7599) * Add refresh websocket event * Make more obvious the App framework events * Fix typo and separate handler into a function commit bde2a3488503b60cd5deb273f29ad035f93c0dfb Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 06:25:03 2021 +0100 Handle errors on binding locations (#7556) * Handle errors on binding locations * Fix types * Fix lint * Translate and handle all messages directly in the binding * Fix various errors * Fix snapshot commit 8868f33acc0a1fa089354ce7fa9e99dcfd404eec Merge: 2e3c92e28 db27a519d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 1 12:02:52 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 2e3c92e2827fc37890796768e157c16042b4e4e4 Author: Daniel Espino García <larkox@gmail.com> Date: Fri Feb 26 23:00:48 2021 +0100 Fix App parser (#7555) * Fix parser * Fix lint * Fix test commit c9dc94fd80bf6fbb1e18c2e3e1d88b4f5d3eff47 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Feb 26 19:17:30 2021 +0100 [MM-31508] Rename URL to Path in Call (#7566) commit 6b0675fcadee8ee24df6bdf7c4ff713e27a732c9 Merge: 5790e6316 82790213b Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 24 10:03:00 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 5790e6316b5110b8828a768a4ee37d92d107c91c Author: Daniel Espino García <larkox@gmail.com> Date: Tue Feb 16 12:48:49 2021 +0100 Rework embedded forms (#7423) * Rework embedded forms * Improve naming * Improve naming, improve binding filling and trimming and use binding as the base element of a EmbeddedBinding * Move appsEnabled to utils/apps.ts * Add a create request function, add logging, and check for undefined bindings. commit 5f2660f6adefcf1668f71f905622f4a150d5f95d Merge: faaebe611 f7ea0ec34 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 15 14:22:55 2021 +0100 Merge branch 'master' into feature/cloud-apps commit faaebe6115684c7cae5abd748d963980f9626a9e Author: Lev <1187448+levb@users.noreply.github.com> Date: Sat Feb 13 15:53:56 2021 -0800 Refactored apps command parser (#7426) * Fixed command autocomplete for no fields * make test * small fix: restore * wip * wip wip * wip appears to compile * first tests * Consolidated TC type and checks * ParseForm tests work, again * ParseForm tests work, again * unit tests work * nit * PR feedback, some debugging * PR feedback * PR feedback: moved methods into ParsedCommand * merging... * more merging * more more merging commit 50babb5bcef3dbc044e2cb69ef40cee69fefa820 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 19:00:55 2021 +0100 [MM-31088] Set submit buttons to the bottom of the form (#7473) * Set submit buttons to the bottom of the form * Fix typescript * Fix test * Fix lint commit e5619c9a1cc49f246c43ddd116b8b62946907bf5 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 15:31:50 2021 +0100 Isolate Apps to disable them whenever needed (#7376) * Isolate Apps to disable them whenever needed * Use feature flags * Isolate command_provider * Change shouldProcessApps by a more meaningful name appsEnabled * Fix test commit 1f866cdfd6972607decdbe64014ebb7d7566ad3f Merge: e65f8e066 3a24c6a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 13:23:13 2021 +0100 Merge branch 'master' into feature/cloud-apps commit e65f8e06613fc5a5d31573071c42d407dc799462 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Tue Feb 9 09:59:38 2021 +0100 [MM-32476] Apps in the Marketplace (#7474) commit 93e7c3421fef3f7f7a50bbc095512116f7976553 Merge: b2ef64e41 00b9e12d0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Feb 4 13:20:10 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit b2ef64e4132f500dd4d3c7226b87da8c58bd3a25 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:58:03 2021 +0100 Update redux reference commit 63f211746e975e5509d7d749c9c26d2cfcd39963 Merge: 837694a9b 0de03d607 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:54:11 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 837694a9b3a61911cd3c3e9cf21b678b3182b6fa Merge: c1cd297e9 b819372f0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Jan 29 13:53:47 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit c1cd297e94a9dcaea00508ad11c696d512365fdd Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 27 11:58:32 2021 +0100 Add Navigate to AppCallResonses handling (#7377) commit 44d85a493644efff7bd6363d95f888b681ada21d Author: Jason Frerich <jason.frerich@mattermost.com> Date: Wed Jan 27 04:58:12 2021 -0600 use label tag, not paragraph (#7378) commit 0411421a0af3d014c1adbf15c16f431d835e88bc Author: Daniel Espino García <larkox@gmail.com> Date: Tue Jan 26 17:44:12 2021 +0100 Fix Embedded forms after refactor (#7331) * Fix Embedded forms after refactor * Fix lint commit 9eba5ecc26885cc0e252c4d7ac2fbbff8510a078 Merge: 4f5f04144 b252c8a44 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 12:31:46 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4f5f04144375d6a2ce591265e8c78d3eab40919e Merge: 4716206ff 97e741e1d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 11:30:51 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4716206ffa48b174a8a8aa7882158c43c0f2ab3a Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:16:56 2021 +0100 Point to latest redux commit 0122d36712de26a51440ced499d77fdd956fe7aa Merge: f27d6e1cf 19b189c04 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:02:26 2021 +0100 Merge branch 'master' into feature/cloud-apps commit f27d6e1cf898eb71f5424c9520ef81c76a8ae28b Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Thu Jan 14 17:09:42 2021 -0500 Dynamic Apps Modals (#7166) * First approach on embedded forms * Fix lint * Render form in the RHS * Send needed information along the form * Address feedback * Use proper redux version * Add embedded buttons * Handle embedded forms as new modals * Improve state handling * Remove unneeded changes * Fix lint * Migrate button_selector to typescript and make buttons disabled * Fix lint * Make errors work on Embedded and Modal forms * Handle button field type from app forms * Consider button fields also select fields and handle submit_buttons field * dynamic select works. modal can refresh on submit * updates for refreshing on select * fix types * mm-redux * types * snapshot * change react-select import * fix react-select type * submit buttons * error handling * import lint * fix embedded form props * lint * updates for call structure * lint * mm-redux * move presentation field from call to binding * update tests * update prop for test * modal maintains its own state until it unmounts/closes * fix test * mm-redux and fix * fixes for using form call * remove dispatch * fix post id * fix command lookups. allow commands to open modals through binding's presentation * mm-redux * remove interactive dialog field references * fix test * test updates * use global store for command_provider, which is mocked in test * call.type == 'form' && response.type == 'form' opens a modal * lint * remove makeLookupCallPayload * lint * fix imports * fix import Co-authored-by: Daniel Espino García <larkox@gmail.com> commit 6f9f30379191db3f9988113ffdc950a2b2fbff86 Author: Daniel Espino García <larkox@gmail.com> Date: Thu Jan 14 14:59:49 2021 +0100 Fix missing channel header buttons (#7322) commit be9f4ff9bc770dff1723a8938010537486de7812 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 13 09:48:41 2021 +0100 Merge master to feature branch (#7250) * [MM-30193] change file attachment info to show fractions below 10 (#6935) * change fileinfo to show fractions below 10M * fix formatting * add linting fixes and clean up code * fix incorrect brackets Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Revert "Mm 29111 search bar and search results as fc (#6796)" (#6999) This reverts commit 9fba9a9789e3e1e6194daa36aabe343859e8511b. * [MM-20196] Use UTC timezone for formattedDate so it doesn't change the date (#7000) * Use UTC timezone for formattedDate so it doesn't change the date * Add toUTCString * Remove it because it isn't needed * Add to last invoice summary * Make invoice.tax a boolean so a rogue 0 isn't rendered (#7001) * Translations update from Weblate (#7006) * Translated using Weblate (Dutch) Currently translated at 99.9% (4294 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.5% (4275 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.6% (4270 of 4285 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Spanish) Currently translated at 99.2% (4264 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4295 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 96.0% (4126 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * [MM-30066] Allow sidebar category button width to grow and shrink as needed (#6955) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate team_list and team_row to typescript (#6914) Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> * [MM-20482] Migrate 'components/post_view/channel_intro_message' module … (#6729) * MM-28843 Adding feature flags to system console for easy diagnosis. (#6905) * Adding feature flags to system console for easy diagnosis. * Use AdminConfig type. * Redux update. * [MM-29850] Migrate string-refs to functional ones: this.refs.errorMessage (#6881) * Update string ref to functional ref * Make ref load before use Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30190] Show spinner when loading invoices instead of 'no invoices found' (#7012) * [MM-T560] Add test for notifications (#6884) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-20492 Migrate 'components/post_view/post_message_view' module and … (#6738) * Cypress/E2E: Fix custom categories spec (#7011) * [MM-30216] - Add check for undefined fileInfos (#7019) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-20465] migrate single_image_view to typescript (#6774) * migrate single_image_view to typescript * fix unit test * resolove review comment * Update components/single_image_view/single_image_view.tsx * Guard clause fileinfo` Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Nev Angelova <nevyana.angelova@mattermost.com> Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-29903] - Check if current user is on last post when scrolling in rhs (#6920) * Scroll user to bottom when they are on the latest post in rhs * fix tests * Fix type check * Implement using getSnapshotBeforeUpdate * Remove comment box and set refs * Update scroll logic * resize rhs container correctly * Calculate with header height * fix type error * please linter * update snapshot Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Nevyana Angelova <nevyangelova@nevyanas-mbp-2.mynet> * MM-T614 Search on Outgoing Webhooks page (#6873) * wip * cleanup, optimize * remove file Co-authored-by: Mattermost <mattermost@Michaels-MacBook-Pro.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: Move cluster spec to enterprise (#7010) * Cypress/E2E: Move cluster spec to enterprise * Add @enterprise tag * MM-20578 Migrate 'components/admin_console/system_user_detail' module… (#6801) * [MM-20568] Migrate 'components/admin_console/system_users' module to ts (#6829) * Fixing title text in select team icon. (#7023) * MM-30090 Open managed resource links in a new tab (#7024) * MM-30090 Open managed resource links in a new tab * MM-30090 Add ManagedResourcePaths setting * Update test case to reflect new case * Fix types * Revert unnecessary type changes * Switch mattermost-redux back to master * MM-27903, MM-27899: Folded Reply Threads: ThreadItem and ThreadFooter (#6585) * wip: checkpoint * wip: fix tooltip * wip: checkpoint * move connected profile_picture back out of widgets * timestamp improvements * wip: threading components * wip: thread footer * timestamp story improvments * wip: threading components * wip: threading components * wip: threading comps * wip: thread menu * update testing * wip: testing updates * unit tests, storybook cleanup * tweak timestamp knob arrangement * i18n * stray apostrophe; snapshots-i18n * profile_picture index * misc cleanup * put prop-types rule back in * simple_tooltip remove FC * sync relative time spec * update snapshots * Update index.stories.js * Update story_box.tsx * remove trailing space * update url * remove frag * sb container width * review fixes * review fixes/improvements * review/other changes * simplify * actually add nowrap * fix new messages tooltip style * cleanup * improvements, clarity * clearer conditionals * remove unused css/simplify * use text-clamp mixin, fix knob typo * remove unused css props * remove empty file * fix bad role attr * sync css; test appended button * review changes * badge as button if it has a click handler * update snapshot Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate string-refs in user_list.jsx (#6704) * migrate string-refs in user_list.jsx * add unit test for user_list.jsx * remove the eslint-enable/disable comments + rename this.container Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T556] Add e2e test for MM-T556 (#7016) * Add e2e test for MM-T556 Add e2e test for Browser tab and team sidebar notification - no unreads/mentions Github Issues: Fixes https://github.com/mattermost/mattermost-server/issues/15705 Jira Ticket: MM-T556 * Fix finicky test * Move Remove mention notification to before() * Fix broken test * Linting Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-24505-Update-help-text-leave-team-modal (#6572) * message update for leave team modal and updated in i18en.json * implemented dynamic channl values and changed tests * update failing snapshot * added new strings for public and priivate cases * updated desc * update plurals in string * removed console log statement * modal description based on the counts * i18n order changed * i18n corrected * resolved suggestions * updated failing snapshot * corrected messages in modals * updated snapshot * rewordings to modal texts * guest modal message * guest modal condition added along with modal message * updated failing snapshot * added currentuser prop to the test file * Fixed type error in test file * Fixes condition * conditions for zero public & zero private for guest * modified conditions * Fixed modal messages * snapshot updated * Fixes * MM-29929 Fix for unread messages toast on marking channel as unread (#7028) * The initOffset we use for displaying toast should be only used mount as that is not a relative scroll position and is only set on mount * Changing this to show unread toast on all occasions of marking channel as unread other than channel at bottom * [MM-26386] - Respect user locale when searching for channels (#6904) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-25186] Bot username validation i8n support (#6629) * Migrate String Refs to Functional ones - MM 16039 (#6865) * MM-29849/MM-29942/MM-29982 Fix code theme not being applied (#7008) * Convert 'components/post_view/post_info' module and associated tests to TypeScript (#6619) * Convert 'components/post_view/post_info' module and associated tests to TypeScript. Based on conversations with @devin and @abdu - marking certain props as non-mandatory. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some issues from rebasing from latest master branch * Handling null checks for 'getCurrentChannel' calls. * Fixing issue with white page. * Fixing issue with check types. Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30183] - No more text decoration on hover and focus (#7020) * Fix no text decoration on hover and focus * revert extra space Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20470] Migrate emoji page and any team permission gate to typescript #15470 (#6645) * Migrate emoji page and any team permission gate to typescript * Convert delete_emoji_modal to typescript Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30226][MM-39255] Allow a post to be sent when you do CMD + ENTER on Mac with 'Allow all messages' to be sent via CMD + ENTER (#7031) * make a post be able to send when you do command enter when editing post * fix linting * Edit task to take into control mac command key * fix linting * [MM-30340] Update post height when comment box height change occurs (#7039) * [MM-30340] Update post height when comment box height change occurs * Update snaps * Add scroll to bottom to the resize function * Remove redundant check Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Translations update from Weblate (#7046) * Translated using Weblate (Japanese) Currently translated at 98.1% (4219 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4302 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4298 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 96.3% (4147 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Dutch) Currently translated at 99.6% (4310 of 4323 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.9% (4301 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Korean) Currently translated at 79.4% (3418 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Japanese) Currently translated at 97.5% (4220 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Korean) Currently translated at 79.7% (3453 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4214 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4215 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> * [MM-28181] e2e: add system_console/unsaved_changes_spec (#7009) * e2e: add system_console/unsaved_changes_spec * reflect revivew comments * 15474 convert team selector modal to ts (#6824) * Convert 'components/team_selector_modal' module and associated tests to TypeScript. * Fixing review comments. * Fixing review comments. * Fixing review comments. * Fixing bad merge Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-19509 Prioritize autocomplete results based on interactions and threads (#7002) * MM-19509 Prioritize autocomplete results based on interactions and threads * Add sort method of auto complete results to be based on last_viewed_at as well * Add new prop priorityResults to auto complete so we can add profiles like thread interactions on top * Fix sorting for remote results * Add E2E test for desktop notifications for empty strings (#6799) * Add E2E test for desktop notifications for empty strings * Update comments based on feedback * Typo Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20433 - convert view_pinned_posts to typescript (#7034) * MM-20433 - convert view_pinned_posts to typescript * fix linter errors Co-authored-by: Pablo Velez <pvelez@bp-3.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: fix test (#7052) * fix e2e test * make trial user configurable via env * fix order * [MM-29855] Migrate string-refs to functional ones: this.refs.content (#6867) * Update string refs to functional component based refs * Update string refs to functional component based refs * [MM-27231]: e2e for T1880 - deleted token cannot be used to post (#6901) * update api method to return more data, and add method to revoke token * test for T1880 - deletd token can't be used to post * fix comment * move methods to better place Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Fix menu rendering behind input box in RHS. (#7061) * [MM-27708] Disable Plugin on Removal (#6518) * [MM-30104][MM-30105] Fix up banners in payment_info and billing_subscription pages (#7063) * Fix up banners in payment_info and billing_subscription pages * Reset package-lock * Remove comment * [MM-27556] UI For new system roles (#6529) * Add translations * Basic skeleton without subsections visible * Allow roles to be saved and fix up styling * Dont allow sysadmins to be edited and dont allow self to be removed * Cleanup * Add translations * Save state properly * Update redux * Minor styling changes * Update redux * Bug fixes * Rename datagrid search to onSearch * Cleanup * UX fixes * Fix snaps * Forgot to check this in * Fix console error * Fix snaps * Expand by default if mixed access * update package json files * address PR comments * update redux hash * update redux hash * make disabled * add set navgiation blocked * Fix hash * make necessary changes * make read only admin editable * update function name * fix type check * fix lint issue * udpate redux hash * update search * update snap test * fix set navigation blocked after save * make conditional rendering for system manager * fix linting * go back after saving successfully * updat redux hash * Add Beta Tag Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * [MM-20428] Migrate terms of service to Typescript (#6965) * First pass * Added types everywhere * Fixed ESLint warnings and errors * Fix incorrect import * Updated snapshot * PR review feedback Co-authored-by: Christophe Carpentier <christophe.carpentier@imascap.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29621] Only load the stripe library when cloud components are actually rendered (#7067) * Only load the stripe library when cloud components are actually rendered * Use proper return type * Remove async * MM-20412: Migrate 'components/channel_header_mobile/show_search_button' module to TypeScript (#6969) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM 20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript (#6976) * MM-20404 * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix lint * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix linter Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27229 - Cypress/E2E: Automate backlogs - BOT Accounts - Part 06 (10 test cases) (#6772) Co-authored-by: Prapti <praptishrestha@gmail.com> Co-authored-by: Caleb Roseland <caleb@calebroseland.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate refs icon_url. #15801 (#6754) Automatic Merge * [GH-16035] Migrating refs plugin_management.tsx (#6866) Automatic Merge * [MM-29515] Hide imports tab when in cloud installation (#7069) * Hide imports tab when in cloud installation * fix types and linter * Revert package-lock to master * Make isCloud optional * MM-T446 DM More... searching from page 2 of user list (#7054) * wip * wip * revision * selector fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * DOPS-243 (#7075) DOPS-243 (#7075) * [GH-13483] Migrate 'components/channel_invite_modal' module and associated tests to TypeScript (#6968) * [WIP] migration to typescript * [WIP] further typescript changes * finalized move of component to typescript * [WIP] move index file to typescript * updated test to typescript * fix for types in index file * removed failing class import * [No Ticket] Update to latest redux hash and fixing test cases with missing types (#7084) Automatic Merge * [MM-27154] Cypress tests: Incoming Webhooks (#6977) * Incoming webhooks cypress tests * Remove unused variable * PR feedback * add license * PR feedback and lint * fix import path Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * fix failing tests due to announcement bar (#7077) * MM-27315 Cypress tests for Integrations > Slash command auto-complete (7 test cases) (#6909) * MM-30359: Cypress/E2E: Account Settings > Email (#7051) * MM-30359: Cypress/E2E: Account Settings > Email This PR automates the following test cases: MM-T2066 MM-T2067 MM-T2068 MM-T2069 MM-T2070 MM-T2071 MM-T2072 MM-T2073 https://mattermost.atlassian.net/browse/MM-30359 ```release-note NONE ``` * fix lint * add the other tests * Address review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T561] Add e2e test for MM-T561 (#7015) * Add e2e test Add test for: Browser tab and team sidebar - direct messages don't add indicator on team icon in team sidebar (but do in browser tab) Github Issues: Fix https://github.com/mattermost/mattermost-server/issues/15700 Jira Ticket: MM-T561 * Apply suggested review * Add cleanup for MM-T560_2 * Linting * Separate test file * Linting * Add prerequisite * Rename file * Remove old test Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28255] Add tests for OAuth Apps (#6558) * Add tests for OAuth Apps * Add remaining tests * Update test names, fix typos and add explicit status codes * Add group and license check * Move tests to enterprise folder Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-29858: Migrate string refs to functional ones in autosize textarea component (#6885) * MM-29858: Migrate string refs to functional ones in autosize textarea component * MM-29858: Rename reference instance variable with suffix Ref * MM-29858: Use camel casing for textarea reference variable * MM-29858: Allow empty value for textarea Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate errorMessage string ref (#6882) Automatic Merge * MM-T329 Image link preview (#7005) * wip * wip * finished * revision * remove log Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28150] e2e: add MM-T924, MM-T928, MM-T929, MM-T930 (#7045) * e2e: add MM-T924, MM-T928, MM-T929, MM-T930 * reflect review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30363: Cypress/E2E: Automate backlogs - Edit Bot Username (1 test case) (#7073) * MM-30373 - first iteration * MM-30377 - first iteration * remove spurious file * MM-30377 - further iteration * MM-30363 - first iteration * remove extra file * some cleanup * remoe extra space Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * promote and demote tests to/from prod (#7080) * Cypress/E2E: Fix toast appears unread spec (#7081) * change super to system (#7076) * MM-20418: Migrate 'components/channel_selector_modal' module and associated tests to TypeScript (#6975) * DOPS-243: Fix images (#7089) DOPS-243: Fix images (#7089) * MM-T439 Town Square is not marked as unread for existing users when a new user is added to the team (#7053) Automatic Merge * [MM-20582] Migrate 'components/admin_console/team_channel_settings/ch… (#6840) * MM-20465 Fix for collapse/expand of image preview (#7085) * The toggle function requires id and not post * This was most likely changed to fix a ts error * MM-20465 Revert usage of getCurrentChannel to getCurrentChannelId where possible (#7064) * [MM-29821] Prefer TypeScript files over JavaScript in webpack (#7090) * [MM-30317] add MANAGE_REMOTE_CLUSTERS permission (#7060) * add MANAGE_REMOTE_CLUSTERS permission * Update i18n/en.json Co-authored-by: Doug Lauder <wiggin77@warpmail.net> Co-authored-by: Doug Lauder <wiggin77@warpmail.net> * MM-20416: Migrate 'components/channel_header_mobile/collapse_lhs_button' module to TypeScript (#6971) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove Cloud billing flag from System Console (#7096) (cherry picked from commit 6c35b79ac663756b5e31f0b878531aabec68efd3) Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com> * Translations update from Weblate (#7100) * Translated using Weblate (Turkish) Currently translated at 100.0% (4390 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4329 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (German) Currently translated at 90.4% (3915 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/de/ * Translated using Weblate (Korean) Currently translated at 80.1% (3468 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4328 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Russian) Currently translated at 95.0% (4113 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4328 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 98.4% (4322 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 96.7% (4246 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4119 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 92.7% (4072 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4325 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Alexey Napalkov <flynbit@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> * Migrate 'components/announcement_bar/default_announcement_bar' module and associated tests to TypeScript (#6963) * rename file * working except for test file * restore unincluded test file to jsx * pass npm make check * update snapshot * respond to review comments * checkout package-lock.json * revert package-lock.json changes * fix linting errors Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate this.ref.dotMenu to functional (#6957) * Migrate this.ref.dotMenu to functional * Fixed formatting * Fix reference * rename dotMenu to dotMenuRef for consistency with other PRs, remove comments * Removed blanked line to pass lint check Co-authored-by: root <root@DESKTOP-4IBHFV5.localdomain> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20897 Add category muting (#7033) * MM-20897 Add ability to mute categories * Increase timeout to ensure test passes * Add E2E test for moving channels into muted categories * Update mattermost-redux to branch * Fix unit tests * Fix types * Update snapshot * asdf * Add additional E2E test and API client infrastructure * MM-24293 Fix to have group channels return in quick switcher with space (#7059) * MM-24293 Fix to have group channels return in quick siwchter with space * Split the search term by spaces and match with users in group channels * Update components/suggestion/switch_channel_provider.jsx Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * If card year is 0 return false for isExpired (#7101) * Converted 'dot_menu' to typescript. (#6825) * Migrate string refs of reset password modal (#7038) Automatic Merge * MM-20415 Migrate 'components/channel_header_mobile/unmute_channel_button' module and associated tests to TypeScript (#6972) * MM-30477 Fix for autocomplete not closing (#7093) Automatic Merge * MM-20897 Cleanup a couple missed issues (#7106) * MM-T638 Webhook posts when webhook creator is not a member of the channel (#7091) * wip * wip * wip * wip * added check * small fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript (#6668) * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript Fixes https://github.com/mattermost/mattermost-server/issues/15460 JIRA: https://mattermost.atlassian.net/browse/MM-20481 * Make actions attribute non nullable * Require YoutubeVideo's postId property since it really is * Fix tests * Add stages for onprem * Add build-vars stage * set isDisabled prop for site > notices (#7103) Automatic Merge * [MM-27931][MM-30158] Multi-selection and dragging of channels (#6979) * [MM-27931] Multiselection of channels * Test fix * Lint fix * Change opacity of selected state to 0.24 * Added hover state for selected channels * Tests for multiSelect * Drag and drop working (without visuals, missing redux commit) * Multi drag and drop styles (fade the selected channels, might change) * Don't allow multisellected channels to be dropped where they shouldn't be * Lint, type, test, translation fixes * Allow dragging of non matching channel groups by rejecting the channels that don't match * Redux update * Another test fix * Fixed selected count style to work off of center channel exclusively * Added really obvious styling * Style change/PR feedback * Style change * Include active channel in all initial selections * PR feedback * Add constant for shifted index Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20572] Migrate 'components/admin_console/compliance_reports' to TypeScript (#13500) (#7036) Automatic Merge * MM-30087 Remove direct dependency between Client4 and Rudder (#7056) * MM-30087 Remove direct dependency between Client4 and Rudder * Update tests * Switch mattermost-redux to master * Fix missing types * Change how we mock and import rudder * Remove test that checks if events are sent to Rudder * [MM_20423]'external_image'module to ts (#16151) (#7025) - migrate ts index.js file - migrate ts for external_image.tsx - migrate ts for external_images.test.jsx Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * Fix issue 16144: migrate components/claim module and tests to TypeScript (#7043) Automatic Merge * MM-T2056 e2e to test, Username change reflecting for other users (#7074) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-26334] Fixes direct messages loading screen misalignment (#6813) Summary: Reduces the height of the loading screen so it is more centered and/or unintrusive(small screens) enough to remove the scroll bar during loading. Ticket Link: Fixes https://github.com/mattermost/mattermost-server/issues/15926 * Translations update from Weblate (#7122) * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4121 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 98.9% (4345 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4392 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Spanish) Currently translated at 97.7% (4292 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4341 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> * MM-28153: Cypress/E2E: Automate backlogs - System Console > Environment (8 test cases) (#7049) * MM-30377: Cypress/E2E: Automate backlogs - Messaging > Channel and Post Links (6 test cases) (#7072) * MM-30355: Cypress/E2E: Automate backlogs - Account Settings > Username (6 test cases) (#7062) * MM-27208 Add tests for MM-T1684, MM-T1687, and MM-T1688 (#7124) * MM-27208 MM-T1684 Add test number to existing test case * Fix makeClient for requests without a body * MM-27208 MM-T1687 Add test for another user archiving a channel * MM-27208 MM-T1688 Add test for searching in archived channels * Translations update from Weblate (#7139) * Translated using Weblate (Spanish) Currently translated at 99.1% (4357 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4344 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Dutch) Currently translated at 98.9% (4349 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.4% (4327 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> * [MM-20498] components/post_view/combined_system_message' to TypeScript (#7109) * Added Initial Ts conversion to last_users and last_user_test * Converted combined system message * Completed all files conversion * Updated Snapshots * Minor fix * Minor Fixes * Minor Fixes * Migrate 'components/sidebar_right_menu' module to TypeScript (#6962) * Converted 'leave_channel' to typescript. (#7115) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20581] Migrate index to TS in 'components/admin_console/team_channel_settings/channel/details' module (#6924) * mark browser.focused as false if starting in the background (#7050) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27989 Remove experimental setting for data prefetch (#7094) Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com> * [MM-27207] e2e leave archived channels I - last (#7117) Automatic Merge * MM-30370: Cypress/E2E: Automate backlogs - Keyboard Shortcuts (10 test cases) (#7113) Automatic Merge * MM-30371: Cypress/E2E: Automate backlogs - Keyboard Shortcuts part 2 (10 test cases) (#7112) * temporary work * further iteration * further work * Address CR comments Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29853] Migrate string-refs to functional ones: this.refs.fileInput (#7153) * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function Co-authored-by: lestgabo <lestgabo@gmail.com> * Fix display of boolean feature flags in system console. (#7156) * MM-30992 Add the capability to run part by part for Cypress parallel testing (part 1) (#7140) * add the capability to run part by part for Cypress parallel testing * update per comment and add default values * throw an error if --part is greater than --of * Cypress/E2E: Fix email verification that works both with current, Cloud and parallel testing (part 2) (#7142) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * update per comment * Cypress/E2E: Fix for several flaky tests (part 3) (#7143) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * Cypress/E2E: Fix tests for cloud (part 4) (#7147) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * fix tests for cloud * clean up label and flag * simplify log of license status and add log of server details * update per comment * fix return of Cypress custom commands (#7159) * [MM-30354] e2e fullname (#7126) Automatic Merge * Migrate to typescript Apps related files (#7021) * Migrate to typescript Apps related files * Use correct react-overlays types version * PR feedback * fix types * fix types * temporarily use any * remove unused import * Remove unneeded comments * Extract stringToNumber to utils * Fix minor warning on the console * Fix lint Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * MM-30972 Add proper padding to code preview line numbers (#7155) Automatic Merge * MM-28412: Add tm4j key (#7171) * [MM-26593] Disable pointer events on LHS scrollbar when scrolling isn't required (#7120) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Update NOTICE.txt (#7102) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30376 Cypress/E2E: Automate backlogs - Messaging (8 test cases) (#7141) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30969] Drop aria-label from Marketplace item description (#7133) * Drop aria-label from Marketplace item description * Add general aria-label * Translations update from Weblate (#7182) * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.8% (4383 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4344 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4346 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4393 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.2% (4356 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.1% (4356 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.2% (4359 of 4391 strings) …
Squashed commit of the following: commit 45682c25642f00fe2d967a396ab75527cba93a31 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 30 10:46:30 2021 +0200 Handle modal double submit commit d7f792eab390256180e131f5d902cd52535fdd61 Merge: 3fd6e9325 e53a8358f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:36:44 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 3fd6e9325c79beae42d0ebd041fc93b1e1009a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:22:54 2021 +0100 Remove Enable/Disable and Remove from System Console for cloud apps (#7651) * Remove Enable/Disable and Remove from System Console for cloud apps * Set buttons as null * Allow change the status when the feature flag is on * Fix test * Update snapshots Co-authored-by: Mattermod <mattermod@users.noreply.github.com> commit 7b4be8ebf51f251451f4900d1e5a363884306c93 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:11:01 2021 +0100 Case independency fixes (#7722) commit af6ba8797cd5c5387f2ed77fddcad82ddde81932 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:08:19 2021 +0100 Use Feature flag (#7643) * Use Feature flag * Fix test and minor improvement * Simplify return commit de7bca6c0782b47e2af101b2555894e0d80bf129 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 17 10:29:36 2021 -0400 Synchronize app command parser with mobile app (#7706) * Use type on call path, and minor refactoring * Add missing i18n * move files into app_command_parser folder * Fix navigation and small fix on error handling * include mobile app changes to command parser * i18n * types and lint * use intl * change i18n ids * tests * test fixes * add more tests for button_binding and select_binding * lint * fix merege issue * incorporate changes from #7703 * add translation * fix and i18n * remove unused translation Co-authored-by: Daniel Espino García <larkox@gmail.com> commit b54d6c52cda1c48adeb83e24f43901e3fdca7dc6 Merge: 05a669c46 ee77df3f0 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 12:15:35 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 05a669c46cfb85adc8e02f3ab2ea97a5a9ffe7e3 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 04:45:19 2021 +0100 Use type on call path, and minor refactoring (#7679) * Use type on call path, and minor refactoring * Add missing i18n * Fix navigation and small fix on error handling * Update redux reference * Fix types * Fix test * Fix test * Address PR Feedback commit 9b1cbbff02a092ef9a7d3a26fe0e016c257c4545 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:32:16 2021 +0100 Remove autocomplete of ~ and @ for user and channel suggestions (#7667) commit 00685fc935148b00ab6049ffb68e63a0a7a3399f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:29:52 2021 +0100 Fix command errors (#7664) commit 83a24ddc0d313c492410e644232720cee4f4dc94 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:27:04 2021 +0100 Command send options (user, channel, dynamic and static) as options and not only values. (#7650) * Command send options (user, channel, dynamic and static) as options and not only values. * Fetch users from server or generate error * Fix i18 and fix minor typo commit 6c1fea615501be4924d3fb9eaf8a987fdbe2552c Merge: d06cdffb8 507991558 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 9 11:14:07 2021 +0100 Merge branch 'master' into feature/cloud-apps commit d06cdffb86def63d4fa67f145775d6b6ce3deb3d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 8 15:08:35 2021 +0100 Fix multiword select options and keep quotes on complete values (#7644) * Fix multiword select options and keep quotes on complete values * Fix test commit e1d67a169ae88d43c9f76f0dc11d94db7e9722df Author: Daniel Espino García <larkox@gmail.com> Date: Sat Mar 6 11:55:43 2021 +0100 Fix channel header dropdown icon size and count (#7642) commit c5c86ca148002ac11a97035fbba6d50f55630fde Author: Daniel Espino García <larkox@gmail.com> Date: Thu Mar 4 11:47:21 2021 +0100 All select use AppSelectOption (#7612) * All select use AppSelectOption * Fix test commit 2f0ab8f9e9fd602fad5cf4d6cf258dbda5b95c8c Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Mar 4 11:13:45 2021 +0100 Use App id to install App from Marketplace (#7631) * Use App id to install App from Marketplace * Fix tests commit 94a86bec10017df9f22bc78ad04aa0d2596c3e24 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 09:24:35 2021 +0100 Add refresh websocket event (#7599) * Add refresh websocket event * Make more obvious the App framework events * Fix typo and separate handler into a function commit bde2a3488503b60cd5deb273f29ad035f93c0dfb Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 06:25:03 2021 +0100 Handle errors on binding locations (#7556) * Handle errors on binding locations * Fix types * Fix lint * Translate and handle all messages directly in the binding * Fix various errors * Fix snapshot commit 8868f33acc0a1fa089354ce7fa9e99dcfd404eec Merge: 2e3c92e28 db27a519d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 1 12:02:52 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 2e3c92e2827fc37890796768e157c16042b4e4e4 Author: Daniel Espino García <larkox@gmail.com> Date: Fri Feb 26 23:00:48 2021 +0100 Fix App parser (#7555) * Fix parser * Fix lint * Fix test commit c9dc94fd80bf6fbb1e18c2e3e1d88b4f5d3eff47 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Feb 26 19:17:30 2021 +0100 [MM-31508] Rename URL to Path in Call (#7566) commit 6b0675fcadee8ee24df6bdf7c4ff713e27a732c9 Merge: 5790e6316 82790213b Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 24 10:03:00 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 5790e6316b5110b8828a768a4ee37d92d107c91c Author: Daniel Espino García <larkox@gmail.com> Date: Tue Feb 16 12:48:49 2021 +0100 Rework embedded forms (#7423) * Rework embedded forms * Improve naming * Improve naming, improve binding filling and trimming and use binding as the base element of a EmbeddedBinding * Move appsEnabled to utils/apps.ts * Add a create request function, add logging, and check for undefined bindings. commit 5f2660f6adefcf1668f71f905622f4a150d5f95d Merge: faaebe611 f7ea0ec34 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 15 14:22:55 2021 +0100 Merge branch 'master' into feature/cloud-apps commit faaebe6115684c7cae5abd748d963980f9626a9e Author: Lev <1187448+levb@users.noreply.github.com> Date: Sat Feb 13 15:53:56 2021 -0800 Refactored apps command parser (#7426) * Fixed command autocomplete for no fields * make test * small fix: restore * wip * wip wip * wip appears to compile * first tests * Consolidated TC type and checks * ParseForm tests work, again * ParseForm tests work, again * unit tests work * nit * PR feedback, some debugging * PR feedback * PR feedback: moved methods into ParsedCommand * merging... * more merging * more more merging commit 50babb5bcef3dbc044e2cb69ef40cee69fefa820 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 19:00:55 2021 +0100 [MM-31088] Set submit buttons to the bottom of the form (#7473) * Set submit buttons to the bottom of the form * Fix typescript * Fix test * Fix lint commit e5619c9a1cc49f246c43ddd116b8b62946907bf5 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 15:31:50 2021 +0100 Isolate Apps to disable them whenever needed (#7376) * Isolate Apps to disable them whenever needed * Use feature flags * Isolate command_provider * Change shouldProcessApps by a more meaningful name appsEnabled * Fix test commit 1f866cdfd6972607decdbe64014ebb7d7566ad3f Merge: e65f8e066 3a24c6a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 13:23:13 2021 +0100 Merge branch 'master' into feature/cloud-apps commit e65f8e06613fc5a5d31573071c42d407dc799462 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Tue Feb 9 09:59:38 2021 +0100 [MM-32476] Apps in the Marketplace (#7474) commit 93e7c3421fef3f7f7a50bbc095512116f7976553 Merge: b2ef64e41 00b9e12d0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Feb 4 13:20:10 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit b2ef64e4132f500dd4d3c7226b87da8c58bd3a25 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:58:03 2021 +0100 Update redux reference commit 63f211746e975e5509d7d749c9c26d2cfcd39963 Merge: 837694a9b 0de03d607 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:54:11 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 837694a9b3a61911cd3c3e9cf21b678b3182b6fa Merge: c1cd297e9 b819372f0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Jan 29 13:53:47 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit c1cd297e94a9dcaea00508ad11c696d512365fdd Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 27 11:58:32 2021 +0100 Add Navigate to AppCallResonses handling (#7377) commit 44d85a493644efff7bd6363d95f888b681ada21d Author: Jason Frerich <jason.frerich@mattermost.com> Date: Wed Jan 27 04:58:12 2021 -0600 use label tag, not paragraph (#7378) commit 0411421a0af3d014c1adbf15c16f431d835e88bc Author: Daniel Espino García <larkox@gmail.com> Date: Tue Jan 26 17:44:12 2021 +0100 Fix Embedded forms after refactor (#7331) * Fix Embedded forms after refactor * Fix lint commit 9eba5ecc26885cc0e252c4d7ac2fbbff8510a078 Merge: 4f5f04144 b252c8a44 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 12:31:46 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4f5f04144375d6a2ce591265e8c78d3eab40919e Merge: 4716206ff 97e741e1d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 11:30:51 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4716206ffa48b174a8a8aa7882158c43c0f2ab3a Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:16:56 2021 +0100 Point to latest redux commit 0122d36712de26a51440ced499d77fdd956fe7aa Merge: f27d6e1cf 19b189c04 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:02:26 2021 +0100 Merge branch 'master' into feature/cloud-apps commit f27d6e1cf898eb71f5424c9520ef81c76a8ae28b Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Thu Jan 14 17:09:42 2021 -0500 Dynamic Apps Modals (#7166) * First approach on embedded forms * Fix lint * Render form in the RHS * Send needed information along the form * Address feedback * Use proper redux version * Add embedded buttons * Handle embedded forms as new modals * Improve state handling * Remove unneeded changes * Fix lint * Migrate button_selector to typescript and make buttons disabled * Fix lint * Make errors work on Embedded and Modal forms * Handle button field type from app forms * Consider button fields also select fields and handle submit_buttons field * dynamic select works. modal can refresh on submit * updates for refreshing on select * fix types * mm-redux * types * snapshot * change react-select import * fix react-select type * submit buttons * error handling * import lint * fix embedded form props * lint * updates for call structure * lint * mm-redux * move presentation field from call to binding * update tests * update prop for test * modal maintains its own state until it unmounts/closes * fix test * mm-redux and fix * fixes for using form call * remove dispatch * fix post id * fix command lookups. allow commands to open modals through binding's presentation * mm-redux * remove interactive dialog field references * fix test * test updates * use global store for command_provider, which is mocked in test * call.type == 'form' && response.type == 'form' opens a modal * lint * remove makeLookupCallPayload * lint * fix imports * fix import Co-authored-by: Daniel Espino García <larkox@gmail.com> commit 6f9f30379191db3f9988113ffdc950a2b2fbff86 Author: Daniel Espino García <larkox@gmail.com> Date: Thu Jan 14 14:59:49 2021 +0100 Fix missing channel header buttons (#7322) commit be9f4ff9bc770dff1723a8938010537486de7812 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 13 09:48:41 2021 +0100 Merge master to feature branch (#7250) * [MM-30193] change file attachment info to show fractions below 10 (#6935) * change fileinfo to show fractions below 10M * fix formatting * add linting fixes and clean up code * fix incorrect brackets Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Revert "Mm 29111 search bar and search results as fc (#6796)" (#6999) This reverts commit 9fba9a9789e3e1e6194daa36aabe343859e8511b. * [MM-20196] Use UTC timezone for formattedDate so it doesn't change the date (#7000) * Use UTC timezone for formattedDate so it doesn't change the date * Add toUTCString * Remove it because it isn't needed * Add to last invoice summary * Make invoice.tax a boolean so a rogue 0 isn't rendered (#7001) * Translations update from Weblate (#7006) * Translated using Weblate (Dutch) Currently translated at 99.9% (4294 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.5% (4275 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.6% (4270 of 4285 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Spanish) Currently translated at 99.2% (4264 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4295 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 96.0% (4126 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * [MM-30066] Allow sidebar category button width to grow and shrink as needed (#6955) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate team_list and team_row to typescript (#6914) Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> * [MM-20482] Migrate 'components/post_view/channel_intro_message' module … (#6729) * MM-28843 Adding feature flags to system console for easy diagnosis. (#6905) * Adding feature flags to system console for easy diagnosis. * Use AdminConfig type. * Redux update. * [MM-29850] Migrate string-refs to functional ones: this.refs.errorMessage (#6881) * Update string ref to functional ref * Make ref load before use Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30190] Show spinner when loading invoices instead of 'no invoices found' (#7012) * [MM-T560] Add test for notifications (#6884) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-20492 Migrate 'components/post_view/post_message_view' module and … (#6738) * Cypress/E2E: Fix custom categories spec (#7011) * [MM-30216] - Add check for undefined fileInfos (#7019) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-20465] migrate single_image_view to typescript (#6774) * migrate single_image_view to typescript * fix unit test * resolove review comment * Update components/single_image_view/single_image_view.tsx * Guard clause fileinfo` Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Nev Angelova <nevyana.angelova@mattermost.com> Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-29903] - Check if current user is on last post when scrolling in rhs (#6920) * Scroll user to bottom when they are on the latest post in rhs * fix tests * Fix type check * Implement using getSnapshotBeforeUpdate * Remove comment box and set refs * Update scroll logic * resize rhs container correctly * Calculate with header height * fix type error * please linter * update snapshot Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Nevyana Angelova <nevyangelova@nevyanas-mbp-2.mynet> * MM-T614 Search on Outgoing Webhooks page (#6873) * wip * cleanup, optimize * remove file Co-authored-by: Mattermost <mattermost@Michaels-MacBook-Pro.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: Move cluster spec to enterprise (#7010) * Cypress/E2E: Move cluster spec to enterprise * Add @enterprise tag * MM-20578 Migrate 'components/admin_console/system_user_detail' module… (#6801) * [MM-20568] Migrate 'components/admin_console/system_users' module to ts (#6829) * Fixing title text in select team icon. (#7023) * MM-30090 Open managed resource links in a new tab (#7024) * MM-30090 Open managed resource links in a new tab * MM-30090 Add ManagedResourcePaths setting * Update test case to reflect new case * Fix types * Revert unnecessary type changes * Switch mattermost-redux back to master * MM-27903, MM-27899: Folded Reply Threads: ThreadItem and ThreadFooter (#6585) * wip: checkpoint * wip: fix tooltip * wip: checkpoint * move connected profile_picture back out of widgets * timestamp improvements * wip: threading components * wip: thread footer * timestamp story improvments * wip: threading components * wip: threading components * wip: threading comps * wip: thread menu * update testing * wip: testing updates * unit tests, storybook cleanup * tweak timestamp knob arrangement * i18n * stray apostrophe; snapshots-i18n * profile_picture index * misc cleanup * put prop-types rule back in * simple_tooltip remove FC * sync relative time spec * update snapshots * Update index.stories.js * Update story_box.tsx * remove trailing space * update url * remove frag * sb container width * review fixes * review fixes/improvements * review/other changes * simplify * actually add nowrap * fix new messages tooltip style * cleanup * improvements, clarity * clearer conditionals * remove unused css/simplify * use text-clamp mixin, fix knob typo * remove unused css props * remove empty file * fix bad role attr * sync css; test appended button * review changes * badge as button if it has a click handler * update snapshot Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate string-refs in user_list.jsx (#6704) * migrate string-refs in user_list.jsx * add unit test for user_list.jsx * remove the eslint-enable/disable comments + rename this.container Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T556] Add e2e test for MM-T556 (#7016) * Add e2e test for MM-T556 Add e2e test for Browser tab and team sidebar notification - no unreads/mentions Github Issues: Fixes https://github.com/mattermost/mattermost-server/issues/15705 Jira Ticket: MM-T556 * Fix finicky test * Move Remove mention notification to before() * Fix broken test * Linting Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-24505-Update-help-text-leave-team-modal (#6572) * message update for leave team modal and updated in i18en.json * implemented dynamic channl values and changed tests * update failing snapshot * added new strings for public and priivate cases * updated desc * update plurals in string * removed console log statement * modal description based on the counts * i18n order changed * i18n corrected * resolved suggestions * updated failing snapshot * corrected messages in modals * updated snapshot * rewordings to modal texts * guest modal message * guest modal condition added along with modal message * updated failing snapshot * added currentuser prop to the test file * Fixed type error in test file * Fixes condition * conditions for zero public & zero private for guest * modified conditions * Fixed modal messages * snapshot updated * Fixes * MM-29929 Fix for unread messages toast on marking channel as unread (#7028) * The initOffset we use for displaying toast should be only used mount as that is not a relative scroll position and is only set on mount * Changing this to show unread toast on all occasions of marking channel as unread other than channel at bottom * [MM-26386] - Respect user locale when searching for channels (#6904) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-25186] Bot username validation i8n support (#6629) * Migrate String Refs to Functional ones - MM 16039 (#6865) * MM-29849/MM-29942/MM-29982 Fix code theme not being applied (#7008) * Convert 'components/post_view/post_info' module and associated tests to TypeScript (#6619) * Convert 'components/post_view/post_info' module and associated tests to TypeScript. Based on conversations with @devin and @abdu - marking certain props as non-mandatory. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some issues from rebasing from latest master branch * Handling null checks for 'getCurrentChannel' calls. * Fixing issue with white page. * Fixing issue with check types. Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30183] - No more text decoration on hover and focus (#7020) * Fix no text decoration on hover and focus * revert extra space Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20470] Migrate emoji page and any team permission gate to typescript #15470 (#6645) * Migrate emoji page and any team permission gate to typescript * Convert delete_emoji_modal to typescript Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30226][MM-39255] Allow a post to be sent when you do CMD + ENTER on Mac with 'Allow all messages' to be sent via CMD + ENTER (#7031) * make a post be able to send when you do command enter when editing post * fix linting * Edit task to take into control mac command key * fix linting * [MM-30340] Update post height when comment box height change occurs (#7039) * [MM-30340] Update post height when comment box height change occurs * Update snaps * Add scroll to bottom to the resize function * Remove redundant check Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Translations update from Weblate (#7046) * Translated using Weblate (Japanese) Currently translated at 98.1% (4219 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4302 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4298 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 96.3% (4147 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Dutch) Currently translated at 99.6% (4310 of 4323 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.9% (4301 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Korean) Currently translated at 79.4% (3418 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Japanese) Currently translated at 97.5% (4220 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Korean) Currently translated at 79.7% (3453 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4214 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4215 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> * [MM-28181] e2e: add system_console/unsaved_changes_spec (#7009) * e2e: add system_console/unsaved_changes_spec * reflect revivew comments * 15474 convert team selector modal to ts (#6824) * Convert 'components/team_selector_modal' module and associated tests to TypeScript. * Fixing review comments. * Fixing review comments. * Fixing review comments. * Fixing bad merge Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-19509 Prioritize autocomplete results based on interactions and threads (#7002) * MM-19509 Prioritize autocomplete results based on interactions and threads * Add sort method of auto complete results to be based on last_viewed_at as well * Add new prop priorityResults to auto complete so we can add profiles like thread interactions on top * Fix sorting for remote results * Add E2E test for desktop notifications for empty strings (#6799) * Add E2E test for desktop notifications for empty strings * Update comments based on feedback * Typo Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20433 - convert view_pinned_posts to typescript (#7034) * MM-20433 - convert view_pinned_posts to typescript * fix linter errors Co-authored-by: Pablo Velez <pvelez@bp-3.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: fix test (#7052) * fix e2e test * make trial user configurable via env * fix order * [MM-29855] Migrate string-refs to functional ones: this.refs.content (#6867) * Update string refs to functional component based refs * Update string refs to functional component based refs * [MM-27231]: e2e for T1880 - deleted token cannot be used to post (#6901) * update api method to return more data, and add method to revoke token * test for T1880 - deletd token can't be used to post * fix comment * move methods to better place Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Fix menu rendering behind input box in RHS. (#7061) * [MM-27708] Disable Plugin on Removal (#6518) * [MM-30104][MM-30105] Fix up banners in payment_info and billing_subscription pages (#7063) * Fix up banners in payment_info and billing_subscription pages * Reset package-lock * Remove comment * [MM-27556] UI For new system roles (#6529) * Add translations * Basic skeleton without subsections visible * Allow roles to be saved and fix up styling * Dont allow sysadmins to be edited and dont allow self to be removed * Cleanup * Add translations * Save state properly * Update redux * Minor styling changes * Update redux * Bug fixes * Rename datagrid search to onSearch * Cleanup * UX fixes * Fix snaps * Forgot to check this in * Fix console error * Fix snaps * Expand by default if mixed access * update package json files * address PR comments * update redux hash * update redux hash * make disabled * add set navgiation blocked * Fix hash * make necessary changes * make read only admin editable * update function name * fix type check * fix lint issue * udpate redux hash * update search * update snap test * fix set navigation blocked after save * make conditional rendering for system manager * fix linting * go back after saving successfully * updat redux hash * Add Beta Tag Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * [MM-20428] Migrate terms of service to Typescript (#6965) * First pass * Added types everywhere * Fixed ESLint warnings and errors * Fix incorrect import * Updated snapshot * PR review feedback Co-authored-by: Christophe Carpentier <christophe.carpentier@imascap.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29621] Only load the stripe library when cloud components are actually rendered (#7067) * Only load the stripe library when cloud components are actually rendered * Use proper return type * Remove async * MM-20412: Migrate 'components/channel_header_mobile/show_search_button' module to TypeScript (#6969) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM 20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript (#6976) * MM-20404 * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix lint * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix linter Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27229 - Cypress/E2E: Automate backlogs - BOT Accounts - Part 06 (10 test cases) (#6772) Co-authored-by: Prapti <praptishrestha@gmail.com> Co-authored-by: Caleb Roseland <caleb@calebroseland.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate refs icon_url. #15801 (#6754) Automatic Merge * [GH-16035] Migrating refs plugin_management.tsx (#6866) Automatic Merge * [MM-29515] Hide imports tab when in cloud installation (#7069) * Hide imports tab when in cloud installation * fix types and linter * Revert package-lock to master * Make isCloud optional * MM-T446 DM More... searching from page 2 of user list (#7054) * wip * wip * revision * selector fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * DOPS-243 (#7075) DOPS-243 (#7075) * [GH-13483] Migrate 'components/channel_invite_modal' module and associated tests to TypeScript (#6968) * [WIP] migration to typescript * [WIP] further typescript changes * finalized move of component to typescript * [WIP] move index file to typescript * updated test to typescript * fix for types in index file * removed failing class import * [No Ticket] Update to latest redux hash and fixing test cases with missing types (#7084) Automatic Merge * [MM-27154] Cypress tests: Incoming Webhooks (#6977) * Incoming webhooks cypress tests * Remove unused variable * PR feedback * add license * PR feedback and lint * fix import path Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * fix failing tests due to announcement bar (#7077) * MM-27315 Cypress tests for Integrations > Slash command auto-complete (7 test cases) (#6909) * MM-30359: Cypress/E2E: Account Settings > Email (#7051) * MM-30359: Cypress/E2E: Account Settings > Email This PR automates the following test cases: MM-T2066 MM-T2067 MM-T2068 MM-T2069 MM-T2070 MM-T2071 MM-T2072 MM-T2073 https://mattermost.atlassian.net/browse/MM-30359 ```release-note NONE ``` * fix lint * add the other tests * Address review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T561] Add e2e test for MM-T561 (#7015) * Add e2e test Add test for: Browser tab and team sidebar - direct messages don't add indicator on team icon in team sidebar (but do in browser tab) Github Issues: Fix https://github.com/mattermost/mattermost-server/issues/15700 Jira Ticket: MM-T561 * Apply suggested review * Add cleanup for MM-T560_2 * Linting * Separate test file * Linting * Add prerequisite * Rename file * Remove old test Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28255] Add tests for OAuth Apps (#6558) * Add tests for OAuth Apps * Add remaining tests * Update test names, fix typos and add explicit status codes * Add group and license check * Move tests to enterprise folder Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-29858: Migrate string refs to functional ones in autosize textarea component (#6885) * MM-29858: Migrate string refs to functional ones in autosize textarea component * MM-29858: Rename reference instance variable with suffix Ref * MM-29858: Use camel casing for textarea reference variable * MM-29858: Allow empty value for textarea Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate errorMessage string ref (#6882) Automatic Merge * MM-T329 Image link preview (#7005) * wip * wip * finished * revision * remove log Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28150] e2e: add MM-T924, MM-T928, MM-T929, MM-T930 (#7045) * e2e: add MM-T924, MM-T928, MM-T929, MM-T930 * reflect review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30363: Cypress/E2E: Automate backlogs - Edit Bot Username (1 test case) (#7073) * MM-30373 - first iteration * MM-30377 - first iteration * remove spurious file * MM-30377 - further iteration * MM-30363 - first iteration * remove extra file * some cleanup * remoe extra space Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * promote and demote tests to/from prod (#7080) * Cypress/E2E: Fix toast appears unread spec (#7081) * change super to system (#7076) * MM-20418: Migrate 'components/channel_selector_modal' module and associated tests to TypeScript (#6975) * DOPS-243: Fix images (#7089) DOPS-243: Fix images (#7089) * MM-T439 Town Square is not marked as unread for existing users when a new user is added to the team (#7053) Automatic Merge * [MM-20582] Migrate 'components/admin_console/team_channel_settings/ch… (#6840) * MM-20465 Fix for collapse/expand of image preview (#7085) * The toggle function requires id and not post * This was most likely changed to fix a ts error * MM-20465 Revert usage of getCurrentChannel to getCurrentChannelId where possible (#7064) * [MM-29821] Prefer TypeScript files over JavaScript in webpack (#7090) * [MM-30317] add MANAGE_REMOTE_CLUSTERS permission (#7060) * add MANAGE_REMOTE_CLUSTERS permission * Update i18n/en.json Co-authored-by: Doug Lauder <wiggin77@warpmail.net> Co-authored-by: Doug Lauder <wiggin77@warpmail.net> * MM-20416: Migrate 'components/channel_header_mobile/collapse_lhs_button' module to TypeScript (#6971) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove Cloud billing flag from System Console (#7096) (cherry picked from commit 6c35b79ac663756b5e31f0b878531aabec68efd3) Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com> * Translations update from Weblate (#7100) * Translated using Weblate (Turkish) Currently translated at 100.0% (4390 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4329 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (German) Currently translated at 90.4% (3915 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/de/ * Translated using Weblate (Korean) Currently translated at 80.1% (3468 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4328 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Russian) Currently translated at 95.0% (4113 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4328 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 98.4% (4322 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 96.7% (4246 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4119 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 92.7% (4072 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4325 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Alexey Napalkov <flynbit@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> * Migrate 'components/announcement_bar/default_announcement_bar' module and associated tests to TypeScript (#6963) * rename file * working except for test file * restore unincluded test file to jsx * pass npm make check * update snapshot * respond to review comments * checkout package-lock.json * revert package-lock.json changes * fix linting errors Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate this.ref.dotMenu to functional (#6957) * Migrate this.ref.dotMenu to functional * Fixed formatting * Fix reference * rename dotMenu to dotMenuRef for consistency with other PRs, remove comments * Removed blanked line to pass lint check Co-authored-by: root <root@DESKTOP-4IBHFV5.localdomain> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20897 Add category muting (#7033) * MM-20897 Add ability to mute categories * Increase timeout to ensure test passes * Add E2E test for moving channels into muted categories * Update mattermost-redux to branch * Fix unit tests * Fix types * Update snapshot * asdf * Add additional E2E test and API client infrastructure * MM-24293 Fix to have group channels return in quick switcher with space (#7059) * MM-24293 Fix to have group channels return in quick siwchter with space * Split the search term by spaces and match with users in group channels * Update components/suggestion/switch_channel_provider.jsx Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * If card year is 0 return false for isExpired (#7101) * Converted 'dot_menu' to typescript. (#6825) * Migrate string refs of reset password modal (#7038) Automatic Merge * MM-20415 Migrate 'components/channel_header_mobile/unmute_channel_button' module and associated tests to TypeScript (#6972) * MM-30477 Fix for autocomplete not closing (#7093) Automatic Merge * MM-20897 Cleanup a couple missed issues (#7106) * MM-T638 Webhook posts when webhook creator is not a member of the channel (#7091) * wip * wip * wip * wip * added check * small fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript (#6668) * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript Fixes https://github.com/mattermost/mattermost-server/issues/15460 JIRA: https://mattermost.atlassian.net/browse/MM-20481 * Make actions attribute non nullable * Require YoutubeVideo's postId property since it really is * Fix tests * Add stages for onprem * Add build-vars stage * set isDisabled prop for site > notices (#7103) Automatic Merge * [MM-27931][MM-30158] Multi-selection and dragging of channels (#6979) * [MM-27931] Multiselection of channels * Test fix * Lint fix * Change opacity of selected state to 0.24 * Added hover state for selected channels * Tests for multiSelect * Drag and drop working (without visuals, missing redux commit) * Multi drag and drop styles (fade the selected channels, might change) * Don't allow multisellected channels to be dropped where they shouldn't be * Lint, type, test, translation fixes * Allow dragging of non matching channel groups by rejecting the channels that don't match * Redux update * Another test fix * Fixed selected count style to work off of center channel exclusively * Added really obvious styling * Style change/PR feedback * Style change * Include active channel in all initial selections * PR feedback * Add constant for shifted index Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20572] Migrate 'components/admin_console/compliance_reports' to TypeScript (#13500) (#7036) Automatic Merge * MM-30087 Remove direct dependency between Client4 and Rudder (#7056) * MM-30087 Remove direct dependency between Client4 and Rudder * Update tests * Switch mattermost-redux to master * Fix missing types * Change how we mock and import rudder * Remove test that checks if events are sent to Rudder * [MM_20423]'external_image'module to ts (#16151) (#7025) - migrate ts index.js file - migrate ts for external_image.tsx - migrate ts for external_images.test.jsx Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * Fix issue 16144: migrate components/claim module and tests to TypeScript (#7043) Automatic Merge * MM-T2056 e2e to test, Username change reflecting for other users (#7074) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-26334] Fixes direct messages loading screen misalignment (#6813) Summary: Reduces the height of the loading screen so it is more centered and/or unintrusive(small screens) enough to remove the scroll bar during loading. Ticket Link: Fixes https://github.com/mattermost/mattermost-server/issues/15926 * Translations update from Weblate (#7122) * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4121 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 98.9% (4345 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4392 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Spanish) Currently translated at 97.7% (4292 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4341 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> * MM-28153: Cypress/E2E: Automate backlogs - System Console > Environment (8 test cases) (#7049) * MM-30377: Cypress/E2E: Automate backlogs - Messaging > Channel and Post Links (6 test cases) (#7072) * MM-30355: Cypress/E2E: Automate backlogs - Account Settings > Username (6 test cases) (#7062) * MM-27208 Add tests for MM-T1684, MM-T1687, and MM-T1688 (#7124) * MM-27208 MM-T1684 Add test number to existing test case * Fix makeClient for requests without a body * MM-27208 MM-T1687 Add test for another user archiving a channel * MM-27208 MM-T1688 Add test for searching in archived channels * Translations update from Weblate (#7139) * Translated using Weblate (Spanish) Currently translated at 99.1% (4357 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4344 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Dutch) Currently translated at 98.9% (4349 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.4% (4327 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> * [MM-20498] components/post_view/combined_system_message' to TypeScript (#7109) * Added Initial Ts conversion to last_users and last_user_test * Converted combined system message * Completed all files conversion * Updated Snapshots * Minor fix * Minor Fixes * Minor Fixes * Migrate 'components/sidebar_right_menu' module to TypeScript (#6962) * Converted 'leave_channel' to typescript. (#7115) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20581] Migrate index to TS in 'components/admin_console/team_channel_settings/channel/details' module (#6924) * mark browser.focused as false if starting in the background (#7050) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27989 Remove experimental setting for data prefetch (#7094) Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com> * [MM-27207] e2e leave archived channels I - last (#7117) Automatic Merge * MM-30370: Cypress/E2E: Automate backlogs - Keyboard Shortcuts (10 test cases) (#7113) Automatic Merge * MM-30371: Cypress/E2E: Automate backlogs - Keyboard Shortcuts part 2 (10 test cases) (#7112) * temporary work * further iteration * further work * Address CR comments Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29853] Migrate string-refs to functional ones: this.refs.fileInput (#7153) * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function Co-authored-by: lestgabo <lestgabo@gmail.com> * Fix display of boolean feature flags in system console. (#7156) * MM-30992 Add the capability to run part by part for Cypress parallel testing (part 1) (#7140) * add the capability to run part by part for Cypress parallel testing * update per comment and add default values * throw an error if --part is greater than --of * Cypress/E2E: Fix email verification that works both with current, Cloud and parallel testing (part 2) (#7142) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * update per comment * Cypress/E2E: Fix for several flaky tests (part 3) (#7143) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * Cypress/E2E: Fix tests for cloud (part 4) (#7147) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * fix tests for cloud * clean up label and flag * simplify log of license status and add log of server details * update per comment * fix return of Cypress custom commands (#7159) * [MM-30354] e2e fullname (#7126) Automatic Merge * Migrate to typescript Apps related files (#7021) * Migrate to typescript Apps related files * Use correct react-overlays types version * PR feedback * fix types * fix types * temporarily use any * remove unused import * Remove unneeded comments * Extract stringToNumber to utils * Fix minor warning on the console * Fix lint Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * MM-30972 Add proper padding to code preview line numbers (#7155) Automatic Merge * MM-28412: Add tm4j key (#7171) * [MM-26593] Disable pointer events on LHS scrollbar when scrolling isn't required (#7120) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Update NOTICE.txt (#7102) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30376 Cypress/E2E: Automate backlogs - Messaging (8 test cases) (#7141) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30969] Drop aria-label from Marketplace item description (#7133) * Drop aria-label from Marketplace item description * Add general aria-label * Translations update from Weblate (#7182) * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.8% (4383 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4344 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4346 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4393 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.2% (4356 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.1% (4356 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.2% (4359 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Japanese) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Russian) Currently translated at 93.9% (4125 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.matte…
Squashed commit of the following: commit 45682c25642f00fe2d967a396ab75527cba93a31 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 30 10:46:30 2021 +0200 Handle modal double submit commit d7f792eab390256180e131f5d902cd52535fdd61 Merge: 3fd6e9325 e53a8358f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:36:44 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 3fd6e9325c79beae42d0ebd041fc93b1e1009a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:22:54 2021 +0100 Remove Enable/Disable and Remove from System Console for cloud apps (#7651) * Remove Enable/Disable and Remove from System Console for cloud apps * Set buttons as null * Allow change the status when the feature flag is on * Fix test * Update snapshots Co-authored-by: Mattermod <mattermod@users.noreply.github.com> commit 7b4be8ebf51f251451f4900d1e5a363884306c93 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:11:01 2021 +0100 Case independency fixes (#7722) commit af6ba8797cd5c5387f2ed77fddcad82ddde81932 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:08:19 2021 +0100 Use Feature flag (#7643) * Use Feature flag * Fix test and minor improvement * Simplify return commit de7bca6c0782b47e2af101b2555894e0d80bf129 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 17 10:29:36 2021 -0400 Synchronize app command parser with mobile app (#7706) * Use type on call path, and minor refactoring * Add missing i18n * move files into app_command_parser folder * Fix navigation and small fix on error handling * include mobile app changes to command parser * i18n * types and lint * use intl * change i18n ids * tests * test fixes * add more tests for button_binding and select_binding * lint * fix merege issue * incorporate changes from #7703 * add translation * fix and i18n * remove unused translation Co-authored-by: Daniel Espino García <larkox@gmail.com> commit b54d6c52cda1c48adeb83e24f43901e3fdca7dc6 Merge: 05a669c46 ee77df3f0 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 12:15:35 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 05a669c46cfb85adc8e02f3ab2ea97a5a9ffe7e3 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 04:45:19 2021 +0100 Use type on call path, and minor refactoring (#7679) * Use type on call path, and minor refactoring * Add missing i18n * Fix navigation and small fix on error handling * Update redux reference * Fix types * Fix test * Fix test * Address PR Feedback commit 9b1cbbff02a092ef9a7d3a26fe0e016c257c4545 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:32:16 2021 +0100 Remove autocomplete of ~ and @ for user and channel suggestions (#7667) commit 00685fc935148b00ab6049ffb68e63a0a7a3399f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:29:52 2021 +0100 Fix command errors (#7664) commit 83a24ddc0d313c492410e644232720cee4f4dc94 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:27:04 2021 +0100 Command send options (user, channel, dynamic and static) as options and not only values. (#7650) * Command send options (user, channel, dynamic and static) as options and not only values. * Fetch users from server or generate error * Fix i18 and fix minor typo commit 6c1fea615501be4924d3fb9eaf8a987fdbe2552c Merge: d06cdffb8 507991558 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 9 11:14:07 2021 +0100 Merge branch 'master' into feature/cloud-apps commit d06cdffb86def63d4fa67f145775d6b6ce3deb3d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 8 15:08:35 2021 +0100 Fix multiword select options and keep quotes on complete values (#7644) * Fix multiword select options and keep quotes on complete values * Fix test commit e1d67a169ae88d43c9f76f0dc11d94db7e9722df Author: Daniel Espino García <larkox@gmail.com> Date: Sat Mar 6 11:55:43 2021 +0100 Fix channel header dropdown icon size and count (#7642) commit c5c86ca148002ac11a97035fbba6d50f55630fde Author: Daniel Espino García <larkox@gmail.com> Date: Thu Mar 4 11:47:21 2021 +0100 All select use AppSelectOption (#7612) * All select use AppSelectOption * Fix test commit 2f0ab8f9e9fd602fad5cf4d6cf258dbda5b95c8c Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Mar 4 11:13:45 2021 +0100 Use App id to install App from Marketplace (#7631) * Use App id to install App from Marketplace * Fix tests commit 94a86bec10017df9f22bc78ad04aa0d2596c3e24 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 09:24:35 2021 +0100 Add refresh websocket event (#7599) * Add refresh websocket event * Make more obvious the App framework events * Fix typo and separate handler into a function commit bde2a3488503b60cd5deb273f29ad035f93c0dfb Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 06:25:03 2021 +0100 Handle errors on binding locations (#7556) * Handle errors on binding locations * Fix types * Fix lint * Translate and handle all messages directly in the binding * Fix various errors * Fix snapshot commit 8868f33acc0a1fa089354ce7fa9e99dcfd404eec Merge: 2e3c92e28 db27a519d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 1 12:02:52 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 2e3c92e2827fc37890796768e157c16042b4e4e4 Author: Daniel Espino García <larkox@gmail.com> Date: Fri Feb 26 23:00:48 2021 +0100 Fix App parser (#7555) * Fix parser * Fix lint * Fix test commit c9dc94fd80bf6fbb1e18c2e3e1d88b4f5d3eff47 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Feb 26 19:17:30 2021 +0100 [MM-31508] Rename URL to Path in Call (#7566) commit 6b0675fcadee8ee24df6bdf7c4ff713e27a732c9 Merge: 5790e6316 82790213b Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 24 10:03:00 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 5790e6316b5110b8828a768a4ee37d92d107c91c Author: Daniel Espino García <larkox@gmail.com> Date: Tue Feb 16 12:48:49 2021 +0100 Rework embedded forms (#7423) * Rework embedded forms * Improve naming * Improve naming, improve binding filling and trimming and use binding as the base element of a EmbeddedBinding * Move appsEnabled to utils/apps.ts * Add a create request function, add logging, and check for undefined bindings. commit 5f2660f6adefcf1668f71f905622f4a150d5f95d Merge: faaebe611 f7ea0ec34 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 15 14:22:55 2021 +0100 Merge branch 'master' into feature/cloud-apps commit faaebe6115684c7cae5abd748d963980f9626a9e Author: Lev <1187448+levb@users.noreply.github.com> Date: Sat Feb 13 15:53:56 2021 -0800 Refactored apps command parser (#7426) * Fixed command autocomplete for no fields * make test * small fix: restore * wip * wip wip * wip appears to compile * first tests * Consolidated TC type and checks * ParseForm tests work, again * ParseForm tests work, again * unit tests work * nit * PR feedback, some debugging * PR feedback * PR feedback: moved methods into ParsedCommand * merging... * more merging * more more merging commit 50babb5bcef3dbc044e2cb69ef40cee69fefa820 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 19:00:55 2021 +0100 [MM-31088] Set submit buttons to the bottom of the form (#7473) * Set submit buttons to the bottom of the form * Fix typescript * Fix test * Fix lint commit e5619c9a1cc49f246c43ddd116b8b62946907bf5 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 15:31:50 2021 +0100 Isolate Apps to disable them whenever needed (#7376) * Isolate Apps to disable them whenever needed * Use feature flags * Isolate command_provider * Change shouldProcessApps by a more meaningful name appsEnabled * Fix test commit 1f866cdfd6972607decdbe64014ebb7d7566ad3f Merge: e65f8e066 3a24c6a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 13:23:13 2021 +0100 Merge branch 'master' into feature/cloud-apps commit e65f8e06613fc5a5d31573071c42d407dc799462 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Tue Feb 9 09:59:38 2021 +0100 [MM-32476] Apps in the Marketplace (#7474) commit 93e7c3421fef3f7f7a50bbc095512116f7976553 Merge: b2ef64e41 00b9e12d0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Feb 4 13:20:10 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit b2ef64e4132f500dd4d3c7226b87da8c58bd3a25 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:58:03 2021 +0100 Update redux reference commit 63f211746e975e5509d7d749c9c26d2cfcd39963 Merge: 837694a9b 0de03d607 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:54:11 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 837694a9b3a61911cd3c3e9cf21b678b3182b6fa Merge: c1cd297e9 b819372f0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Jan 29 13:53:47 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit c1cd297e94a9dcaea00508ad11c696d512365fdd Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 27 11:58:32 2021 +0100 Add Navigate to AppCallResonses handling (#7377) commit 44d85a493644efff7bd6363d95f888b681ada21d Author: Jason Frerich <jason.frerich@mattermost.com> Date: Wed Jan 27 04:58:12 2021 -0600 use label tag, not paragraph (#7378) commit 0411421a0af3d014c1adbf15c16f431d835e88bc Author: Daniel Espino García <larkox@gmail.com> Date: Tue Jan 26 17:44:12 2021 +0100 Fix Embedded forms after refactor (#7331) * Fix Embedded forms after refactor * Fix lint commit 9eba5ecc26885cc0e252c4d7ac2fbbff8510a078 Merge: 4f5f04144 b252c8a44 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 12:31:46 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4f5f04144375d6a2ce591265e8c78d3eab40919e Merge: 4716206ff 97e741e1d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 11:30:51 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4716206ffa48b174a8a8aa7882158c43c0f2ab3a Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:16:56 2021 +0100 Point to latest redux commit 0122d36712de26a51440ced499d77fdd956fe7aa Merge: f27d6e1cf 19b189c04 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:02:26 2021 +0100 Merge branch 'master' into feature/cloud-apps commit f27d6e1cf898eb71f5424c9520ef81c76a8ae28b Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Thu Jan 14 17:09:42 2021 -0500 Dynamic Apps Modals (#7166) * First approach on embedded forms * Fix lint * Render form in the RHS * Send needed information along the form * Address feedback * Use proper redux version * Add embedded buttons * Handle embedded forms as new modals * Improve state handling * Remove unneeded changes * Fix lint * Migrate button_selector to typescript and make buttons disabled * Fix lint * Make errors work on Embedded and Modal forms * Handle button field type from app forms * Consider button fields also select fields and handle submit_buttons field * dynamic select works. modal can refresh on submit * updates for refreshing on select * fix types * mm-redux * types * snapshot * change react-select import * fix react-select type * submit buttons * error handling * import lint * fix embedded form props * lint * updates for call structure * lint * mm-redux * move presentation field from call to binding * update tests * update prop for test * modal maintains its own state until it unmounts/closes * fix test * mm-redux and fix * fixes for using form call * remove dispatch * fix post id * fix command lookups. allow commands to open modals through binding's presentation * mm-redux * remove interactive dialog field references * fix test * test updates * use global store for command_provider, which is mocked in test * call.type == 'form' && response.type == 'form' opens a modal * lint * remove makeLookupCallPayload * lint * fix imports * fix import Co-authored-by: Daniel Espino García <larkox@gmail.com> commit 6f9f30379191db3f9988113ffdc950a2b2fbff86 Author: Daniel Espino García <larkox@gmail.com> Date: Thu Jan 14 14:59:49 2021 +0100 Fix missing channel header buttons (#7322) commit be9f4ff9bc770dff1723a8938010537486de7812 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 13 09:48:41 2021 +0100 Merge master to feature branch (#7250) * [MM-30193] change file attachment info to show fractions below 10 (#6935) * change fileinfo to show fractions below 10M * fix formatting * add linting fixes and clean up code * fix incorrect brackets Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Revert "Mm 29111 search bar and search results as fc (#6796)" (#6999) This reverts commit 9fba9a9789e3e1e6194daa36aabe343859e8511b. * [MM-20196] Use UTC timezone for formattedDate so it doesn't change the date (#7000) * Use UTC timezone for formattedDate so it doesn't change the date * Add toUTCString * Remove it because it isn't needed * Add to last invoice summary * Make invoice.tax a boolean so a rogue 0 isn't rendered (#7001) * Translations update from Weblate (#7006) * Translated using Weblate (Dutch) Currently translated at 99.9% (4294 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.5% (4275 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.6% (4270 of 4285 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Spanish) Currently translated at 99.2% (4264 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4295 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 96.0% (4126 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * [MM-30066] Allow sidebar category button width to grow and shrink as needed (#6955) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate team_list and team_row to typescript (#6914) Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> * [MM-20482] Migrate 'components/post_view/channel_intro_message' module … (#6729) * MM-28843 Adding feature flags to system console for easy diagnosis. (#6905) * Adding feature flags to system console for easy diagnosis. * Use AdminConfig type. * Redux update. * [MM-29850] Migrate string-refs to functional ones: this.refs.errorMessage (#6881) * Update string ref to functional ref * Make ref load before use Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30190] Show spinner when loading invoices instead of 'no invoices found' (#7012) * [MM-T560] Add test for notifications (#6884) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-20492 Migrate 'components/post_view/post_message_view' module and … (#6738) * Cypress/E2E: Fix custom categories spec (#7011) * [MM-30216] - Add check for undefined fileInfos (#7019) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-20465] migrate single_image_view to typescript (#6774) * migrate single_image_view to typescript * fix unit test * resolove review comment * Update components/single_image_view/single_image_view.tsx * Guard clause fileinfo` Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Nev Angelova <nevyana.angelova@mattermost.com> Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-29903] - Check if current user is on last post when scrolling in rhs (#6920) * Scroll user to bottom when they are on the latest post in rhs * fix tests * Fix type check * Implement using getSnapshotBeforeUpdate * Remove comment box and set refs * Update scroll logic * resize rhs container correctly * Calculate with header height * fix type error * please linter * update snapshot Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Nevyana Angelova <nevyangelova@nevyanas-mbp-2.mynet> * MM-T614 Search on Outgoing Webhooks page (#6873) * wip * cleanup, optimize * remove file Co-authored-by: Mattermost <mattermost@Michaels-MacBook-Pro.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: Move cluster spec to enterprise (#7010) * Cypress/E2E: Move cluster spec to enterprise * Add @enterprise tag * MM-20578 Migrate 'components/admin_console/system_user_detail' module… (#6801) * [MM-20568] Migrate 'components/admin_console/system_users' module to ts (#6829) * Fixing title text in select team icon. (#7023) * MM-30090 Open managed resource links in a new tab (#7024) * MM-30090 Open managed resource links in a new tab * MM-30090 Add ManagedResourcePaths setting * Update test case to reflect new case * Fix types * Revert unnecessary type changes * Switch mattermost-redux back to master * MM-27903, MM-27899: Folded Reply Threads: ThreadItem and ThreadFooter (#6585) * wip: checkpoint * wip: fix tooltip * wip: checkpoint * move connected profile_picture back out of widgets * timestamp improvements * wip: threading components * wip: thread footer * timestamp story improvments * wip: threading components * wip: threading components * wip: threading comps * wip: thread menu * update testing * wip: testing updates * unit tests, storybook cleanup * tweak timestamp knob arrangement * i18n * stray apostrophe; snapshots-i18n * profile_picture index * misc cleanup * put prop-types rule back in * simple_tooltip remove FC * sync relative time spec * update snapshots * Update index.stories.js * Update story_box.tsx * remove trailing space * update url * remove frag * sb container width * review fixes * review fixes/improvements * review/other changes * simplify * actually add nowrap * fix new messages tooltip style * cleanup * improvements, clarity * clearer conditionals * remove unused css/simplify * use text-clamp mixin, fix knob typo * remove unused css props * remove empty file * fix bad role attr * sync css; test appended button * review changes * badge as button if it has a click handler * update snapshot Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate string-refs in user_list.jsx (#6704) * migrate string-refs in user_list.jsx * add unit test for user_list.jsx * remove the eslint-enable/disable comments + rename this.container Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T556] Add e2e test for MM-T556 (#7016) * Add e2e test for MM-T556 Add e2e test for Browser tab and team sidebar notification - no unreads/mentions Github Issues: Fixes https://github.com/mattermost/mattermost-server/issues/15705 Jira Ticket: MM-T556 * Fix finicky test * Move Remove mention notification to before() * Fix broken test * Linting Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-24505-Update-help-text-leave-team-modal (#6572) * message update for leave team modal and updated in i18en.json * implemented dynamic channl values and changed tests * update failing snapshot * added new strings for public and priivate cases * updated desc * update plurals in string * removed console log statement * modal description based on the counts * i18n order changed * i18n corrected * resolved suggestions * updated failing snapshot * corrected messages in modals * updated snapshot * rewordings to modal texts * guest modal message * guest modal condition added along with modal message * updated failing snapshot * added currentuser prop to the test file * Fixed type error in test file * Fixes condition * conditions for zero public & zero private for guest * modified conditions * Fixed modal messages * snapshot updated * Fixes * MM-29929 Fix for unread messages toast on marking channel as unread (#7028) * The initOffset we use for displaying toast should be only used mount as that is not a relative scroll position and is only set on mount * Changing this to show unread toast on all occasions of marking channel as unread other than channel at bottom * [MM-26386] - Respect user locale when searching for channels (#6904) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-25186] Bot username validation i8n support (#6629) * Migrate String Refs to Functional ones - MM 16039 (#6865) * MM-29849/MM-29942/MM-29982 Fix code theme not being applied (#7008) * Convert 'components/post_view/post_info' module and associated tests to TypeScript (#6619) * Convert 'components/post_view/post_info' module and associated tests to TypeScript. Based on conversations with @devin and @abdu - marking certain props as non-mandatory. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some issues from rebasing from latest master branch * Handling null checks for 'getCurrentChannel' calls. * Fixing issue with white page. * Fixing issue with check types. Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30183] - No more text decoration on hover and focus (#7020) * Fix no text decoration on hover and focus * revert extra space Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20470] Migrate emoji page and any team permission gate to typescript #15470 (#6645) * Migrate emoji page and any team permission gate to typescript * Convert delete_emoji_modal to typescript Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30226][MM-39255] Allow a post to be sent when you do CMD + ENTER on Mac with 'Allow all messages' to be sent via CMD + ENTER (#7031) * make a post be able to send when you do command enter when editing post * fix linting * Edit task to take into control mac command key * fix linting * [MM-30340] Update post height when comment box height change occurs (#7039) * [MM-30340] Update post height when comment box height change occurs * Update snaps * Add scroll to bottom to the resize function * Remove redundant check Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Translations update from Weblate (#7046) * Translated using Weblate (Japanese) Currently translated at 98.1% (4219 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4302 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4298 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 96.3% (4147 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Dutch) Currently translated at 99.6% (4310 of 4323 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.9% (4301 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Korean) Currently translated at 79.4% (3418 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Japanese) Currently translated at 97.5% (4220 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Korean) Currently translated at 79.7% (3453 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4214 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4215 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> * [MM-28181] e2e: add system_console/unsaved_changes_spec (#7009) * e2e: add system_console/unsaved_changes_spec * reflect revivew comments * 15474 convert team selector modal to ts (#6824) * Convert 'components/team_selector_modal' module and associated tests to TypeScript. * Fixing review comments. * Fixing review comments. * Fixing review comments. * Fixing bad merge Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-19509 Prioritize autocomplete results based on interactions and threads (#7002) * MM-19509 Prioritize autocomplete results based on interactions and threads * Add sort method of auto complete results to be based on last_viewed_at as well * Add new prop priorityResults to auto complete so we can add profiles like thread interactions on top * Fix sorting for remote results * Add E2E test for desktop notifications for empty strings (#6799) * Add E2E test for desktop notifications for empty strings * Update comments based on feedback * Typo Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20433 - convert view_pinned_posts to typescript (#7034) * MM-20433 - convert view_pinned_posts to typescript * fix linter errors Co-authored-by: Pablo Velez <pvelez@bp-3.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: fix test (#7052) * fix e2e test * make trial user configurable via env * fix order * [MM-29855] Migrate string-refs to functional ones: this.refs.content (#6867) * Update string refs to functional component based refs * Update string refs to functional component based refs * [MM-27231]: e2e for T1880 - deleted token cannot be used to post (#6901) * update api method to return more data, and add method to revoke token * test for T1880 - deletd token can't be used to post * fix comment * move methods to better place Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Fix menu rendering behind input box in RHS. (#7061) * [MM-27708] Disable Plugin on Removal (#6518) * [MM-30104][MM-30105] Fix up banners in payment_info and billing_subscription pages (#7063) * Fix up banners in payment_info and billing_subscription pages * Reset package-lock * Remove comment * [MM-27556] UI For new system roles (#6529) * Add translations * Basic skeleton without subsections visible * Allow roles to be saved and fix up styling * Dont allow sysadmins to be edited and dont allow self to be removed * Cleanup * Add translations * Save state properly * Update redux * Minor styling changes * Update redux * Bug fixes * Rename datagrid search to onSearch * Cleanup * UX fixes * Fix snaps * Forgot to check this in * Fix console error * Fix snaps * Expand by default if mixed access * update package json files * address PR comments * update redux hash * update redux hash * make disabled * add set navgiation blocked * Fix hash * make necessary changes * make read only admin editable * update function name * fix type check * fix lint issue * udpate redux hash * update search * update snap test * fix set navigation blocked after save * make conditional rendering for system manager * fix linting * go back after saving successfully * updat redux hash * Add Beta Tag Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * [MM-20428] Migrate terms of service to Typescript (#6965) * First pass * Added types everywhere * Fixed ESLint warnings and errors * Fix incorrect import * Updated snapshot * PR review feedback Co-authored-by: Christophe Carpentier <christophe.carpentier@imascap.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29621] Only load the stripe library when cloud components are actually rendered (#7067) * Only load the stripe library when cloud components are actually rendered * Use proper return type * Remove async * MM-20412: Migrate 'components/channel_header_mobile/show_search_button' module to TypeScript (#6969) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM 20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript (#6976) * MM-20404 * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix lint * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix linter Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27229 - Cypress/E2E: Automate backlogs - BOT Accounts - Part 06 (10 test cases) (#6772) Co-authored-by: Prapti <praptishrestha@gmail.com> Co-authored-by: Caleb Roseland <caleb@calebroseland.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate refs icon_url. #15801 (#6754) Automatic Merge * [GH-16035] Migrating refs plugin_management.tsx (#6866) Automatic Merge * [MM-29515] Hide imports tab when in cloud installation (#7069) * Hide imports tab when in cloud installation * fix types and linter * Revert package-lock to master * Make isCloud optional * MM-T446 DM More... searching from page 2 of user list (#7054) * wip * wip * revision * selector fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * DOPS-243 (#7075) DOPS-243 (#7075) * [GH-13483] Migrate 'components/channel_invite_modal' module and associated tests to TypeScript (#6968) * [WIP] migration to typescript * [WIP] further typescript changes * finalized move of component to typescript * [WIP] move index file to typescript * updated test to typescript * fix for types in index file * removed failing class import * [No Ticket] Update to latest redux hash and fixing test cases with missing types (#7084) Automatic Merge * [MM-27154] Cypress tests: Incoming Webhooks (#6977) * Incoming webhooks cypress tests * Remove unused variable * PR feedback * add license * PR feedback and lint * fix import path Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * fix failing tests due to announcement bar (#7077) * MM-27315 Cypress tests for Integrations > Slash command auto-complete (7 test cases) (#6909) * MM-30359: Cypress/E2E: Account Settings > Email (#7051) * MM-30359: Cypress/E2E: Account Settings > Email This PR automates the following test cases: MM-T2066 MM-T2067 MM-T2068 MM-T2069 MM-T2070 MM-T2071 MM-T2072 MM-T2073 https://mattermost.atlassian.net/browse/MM-30359 ```release-note NONE ``` * fix lint * add the other tests * Address review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T561] Add e2e test for MM-T561 (#7015) * Add e2e test Add test for: Browser tab and team sidebar - direct messages don't add indicator on team icon in team sidebar (but do in browser tab) Github Issues: Fix https://github.com/mattermost/mattermost-server/issues/15700 Jira Ticket: MM-T561 * Apply suggested review * Add cleanup for MM-T560_2 * Linting * Separate test file * Linting * Add prerequisite * Rename file * Remove old test Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28255] Add tests for OAuth Apps (#6558) * Add tests for OAuth Apps * Add remaining tests * Update test names, fix typos and add explicit status codes * Add group and license check * Move tests to enterprise folder Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-29858: Migrate string refs to functional ones in autosize textarea component (#6885) * MM-29858: Migrate string refs to functional ones in autosize textarea component * MM-29858: Rename reference instance variable with suffix Ref * MM-29858: Use camel casing for textarea reference variable * MM-29858: Allow empty value for textarea Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate errorMessage string ref (#6882) Automatic Merge * MM-T329 Image link preview (#7005) * wip * wip * finished * revision * remove log Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28150] e2e: add MM-T924, MM-T928, MM-T929, MM-T930 (#7045) * e2e: add MM-T924, MM-T928, MM-T929, MM-T930 * reflect review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30363: Cypress/E2E: Automate backlogs - Edit Bot Username (1 test case) (#7073) * MM-30373 - first iteration * MM-30377 - first iteration * remove spurious file * MM-30377 - further iteration * MM-30363 - first iteration * remove extra file * some cleanup * remoe extra space Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * promote and demote tests to/from prod (#7080) * Cypress/E2E: Fix toast appears unread spec (#7081) * change super to system (#7076) * MM-20418: Migrate 'components/channel_selector_modal' module and associated tests to TypeScript (#6975) * DOPS-243: Fix images (#7089) DOPS-243: Fix images (#7089) * MM-T439 Town Square is not marked as unread for existing users when a new user is added to the team (#7053) Automatic Merge * [MM-20582] Migrate 'components/admin_console/team_channel_settings/ch… (#6840) * MM-20465 Fix for collapse/expand of image preview (#7085) * The toggle function requires id and not post * This was most likely changed to fix a ts error * MM-20465 Revert usage of getCurrentChannel to getCurrentChannelId where possible (#7064) * [MM-29821] Prefer TypeScript files over JavaScript in webpack (#7090) * [MM-30317] add MANAGE_REMOTE_CLUSTERS permission (#7060) * add MANAGE_REMOTE_CLUSTERS permission * Update i18n/en.json Co-authored-by: Doug Lauder <wiggin77@warpmail.net> Co-authored-by: Doug Lauder <wiggin77@warpmail.net> * MM-20416: Migrate 'components/channel_header_mobile/collapse_lhs_button' module to TypeScript (#6971) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove Cloud billing flag from System Console (#7096) (cherry picked from commit 6c35b79ac663756b5e31f0b878531aabec68efd3) Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com> * Translations update from Weblate (#7100) * Translated using Weblate (Turkish) Currently translated at 100.0% (4390 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4329 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (German) Currently translated at 90.4% (3915 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/de/ * Translated using Weblate (Korean) Currently translated at 80.1% (3468 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4328 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Russian) Currently translated at 95.0% (4113 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4328 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 98.4% (4322 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 96.7% (4246 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4119 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 92.7% (4072 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4325 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Alexey Napalkov <flynbit@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> * Migrate 'components/announcement_bar/default_announcement_bar' module and associated tests to TypeScript (#6963) * rename file * working except for test file * restore unincluded test file to jsx * pass npm make check * update snapshot * respond to review comments * checkout package-lock.json * revert package-lock.json changes * fix linting errors Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate this.ref.dotMenu to functional (#6957) * Migrate this.ref.dotMenu to functional * Fixed formatting * Fix reference * rename dotMenu to dotMenuRef for consistency with other PRs, remove comments * Removed blanked line to pass lint check Co-authored-by: root <root@DESKTOP-4IBHFV5.localdomain> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20897 Add category muting (#7033) * MM-20897 Add ability to mute categories * Increase timeout to ensure test passes * Add E2E test for moving channels into muted categories * Update mattermost-redux to branch * Fix unit tests * Fix types * Update snapshot * asdf * Add additional E2E test and API client infrastructure * MM-24293 Fix to have group channels return in quick switcher with space (#7059) * MM-24293 Fix to have group channels return in quick siwchter with space * Split the search term by spaces and match with users in group channels * Update components/suggestion/switch_channel_provider.jsx Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * If card year is 0 return false for isExpired (#7101) * Converted 'dot_menu' to typescript. (#6825) * Migrate string refs of reset password modal (#7038) Automatic Merge * MM-20415 Migrate 'components/channel_header_mobile/unmute_channel_button' module and associated tests to TypeScript (#6972) * MM-30477 Fix for autocomplete not closing (#7093) Automatic Merge * MM-20897 Cleanup a couple missed issues (#7106) * MM-T638 Webhook posts when webhook creator is not a member of the channel (#7091) * wip * wip * wip * wip * added check * small fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript (#6668) * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript Fixes https://github.com/mattermost/mattermost-server/issues/15460 JIRA: https://mattermost.atlassian.net/browse/MM-20481 * Make actions attribute non nullable * Require YoutubeVideo's postId property since it really is * Fix tests * Add stages for onprem * Add build-vars stage * set isDisabled prop for site > notices (#7103) Automatic Merge * [MM-27931][MM-30158] Multi-selection and dragging of channels (#6979) * [MM-27931] Multiselection of channels * Test fix * Lint fix * Change opacity of selected state to 0.24 * Added hover state for selected channels * Tests for multiSelect * Drag and drop working (without visuals, missing redux commit) * Multi drag and drop styles (fade the selected channels, might change) * Don't allow multisellected channels to be dropped where they shouldn't be * Lint, type, test, translation fixes * Allow dragging of non matching channel groups by rejecting the channels that don't match * Redux update * Another test fix * Fixed selected count style to work off of center channel exclusively * Added really obvious styling * Style change/PR feedback * Style change * Include active channel in all initial selections * PR feedback * Add constant for shifted index Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20572] Migrate 'components/admin_console/compliance_reports' to TypeScript (#13500) (#7036) Automatic Merge * MM-30087 Remove direct dependency between Client4 and Rudder (#7056) * MM-30087 Remove direct dependency between Client4 and Rudder * Update tests * Switch mattermost-redux to master * Fix missing types * Change how we mock and import rudder * Remove test that checks if events are sent to Rudder * [MM_20423]'external_image'module to ts (#16151) (#7025) - migrate ts index.js file - migrate ts for external_image.tsx - migrate ts for external_images.test.jsx Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * Fix issue 16144: migrate components/claim module and tests to TypeScript (#7043) Automatic Merge * MM-T2056 e2e to test, Username change reflecting for other users (#7074) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-26334] Fixes direct messages loading screen misalignment (#6813) Summary: Reduces the height of the loading screen so it is more centered and/or unintrusive(small screens) enough to remove the scroll bar during loading. Ticket Link: Fixes https://github.com/mattermost/mattermost-server/issues/15926 * Translations update from Weblate (#7122) * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4121 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 98.9% (4345 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4392 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Spanish) Currently translated at 97.7% (4292 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4341 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> * MM-28153: Cypress/E2E: Automate backlogs - System Console > Environment (8 test cases) (#7049) * MM-30377: Cypress/E2E: Automate backlogs - Messaging > Channel and Post Links (6 test cases) (#7072) * MM-30355: Cypress/E2E: Automate backlogs - Account Settings > Username (6 test cases) (#7062) * MM-27208 Add tests for MM-T1684, MM-T1687, and MM-T1688 (#7124) * MM-27208 MM-T1684 Add test number to existing test case * Fix makeClient for requests without a body * MM-27208 MM-T1687 Add test for another user archiving a channel * MM-27208 MM-T1688 Add test for searching in archived channels * Translations update from Weblate (#7139) * Translated using Weblate (Spanish) Currently translated at 99.1% (4357 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4344 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Dutch) Currently translated at 98.9% (4349 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.4% (4327 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> * [MM-20498] components/post_view/combined_system_message' to TypeScript (#7109) * Added Initial Ts conversion to last_users and last_user_test * Converted combined system message * Completed all files conversion * Updated Snapshots * Minor fix * Minor Fixes * Minor Fixes * Migrate 'components/sidebar_right_menu' module to TypeScript (#6962) * Converted 'leave_channel' to typescript. (#7115) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20581] Migrate index to TS in 'components/admin_console/team_channel_settings/channel/details' module (#6924) * mark browser.focused as false if starting in the background (#7050) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27989 Remove experimental setting for data prefetch (#7094) Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com> * [MM-27207] e2e leave archived channels I - last (#7117) Automatic Merge * MM-30370: Cypress/E2E: Automate backlogs - Keyboard Shortcuts (10 test cases) (#7113) Automatic Merge * MM-30371: Cypress/E2E: Automate backlogs - Keyboard Shortcuts part 2 (10 test cases) (#7112) * temporary work * further iteration * further work * Address CR comments Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29853] Migrate string-refs to functional ones: this.refs.fileInput (#7153) * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function Co-authored-by: lestgabo <lestgabo@gmail.com> * Fix display of boolean feature flags in system console. (#7156) * MM-30992 Add the capability to run part by part for Cypress parallel testing (part 1) (#7140) * add the capability to run part by part for Cypress parallel testing * update per comment and add default values * throw an error if --part is greater than --of * Cypress/E2E: Fix email verification that works both with current, Cloud and parallel testing (part 2) (#7142) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * update per comment * Cypress/E2E: Fix for several flaky tests (part 3) (#7143) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * Cypress/E2E: Fix tests for cloud (part 4) (#7147) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * fix tests for cloud * clean up label and flag * simplify log of license status and add log of server details * update per comment * fix return of Cypress custom commands (#7159) * [MM-30354] e2e fullname (#7126) Automatic Merge * Migrate to typescript Apps related files (#7021) * Migrate to typescript Apps related files * Use correct react-overlays types version * PR feedback * fix types * fix types * temporarily use any * remove unused import * Remove unneeded comments * Extract stringToNumber to utils * Fix minor warning on the console * Fix lint Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * MM-30972 Add proper padding to code preview line numbers (#7155) Automatic Merge * MM-28412: Add tm4j key (#7171) * [MM-26593] Disable pointer events on LHS scrollbar when scrolling isn't required (#7120) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Update NOTICE.txt (#7102) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30376 Cypress/E2E: Automate backlogs - Messaging (8 test cases) (#7141) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30969] Drop aria-label from Marketplace item description (#7133) * Drop aria-label from Marketplace item description * Add general aria-label * Translations update from Weblate (#7182) * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.8% (4383 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4344 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4346 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4393 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.2% (4356 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.1% (4356 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.2% (4359 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Japanese) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Russian) Currently translated at 93.9% (4125 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://transla…
* fix styling of react select in apps modal Squashed commit of the following: commit bf9a919ef395ea266e78b28669f11c1294cfc0cb Merge: 51fa36ebb d7f792eab Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Tue Mar 30 17:03:40 2021 -0400 Merge branch 'feature/cloud-apps' into select-visibility commit d7f792eab390256180e131f5d902cd52535fdd61 Merge: 3fd6e9325 e53a8358f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:36:44 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 3fd6e9325c79beae42d0ebd041fc93b1e1009a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:22:54 2021 +0100 Remove Enable/Disable and Remove from System Console for cloud apps (#7651) * Remove Enable/Disable and Remove from System Console for cloud apps * Set buttons as null * Allow change the status when the feature flag is on * Fix test * Update snapshots Co-authored-by: Mattermod <mattermod@users.noreply.github.com> commit 7b4be8ebf51f251451f4900d1e5a363884306c93 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:11:01 2021 +0100 Case independency fixes (#7722) commit af6ba8797cd5c5387f2ed77fddcad82ddde81932 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:08:19 2021 +0100 Use Feature flag (#7643) * Use Feature flag * Fix test and minor improvement * Simplify return commit 51fa36ebb5c98e36c4bf16f5fec7ddd945b943ec Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 24 03:44:42 2021 -0400 fix error message placement by moving form-group class to parent commit 49b1158f1f216d343e16da41158b94b3bbbec6f0 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 24 03:31:24 2021 -0400 fix select overlap commit de7bca6c0782b47e2af101b2555894e0d80bf129 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 17 10:29:36 2021 -0400 Synchronize app command parser with mobile app (#7706) * Use type on call path, and minor refactoring * Add missing i18n * move files into app_command_parser folder * Fix navigation and small fix on error handling * include mobile app changes to command parser * i18n * types and lint * use intl * change i18n ids * tests * test fixes * add more tests for button_binding and select_binding * lint * fix merege issue * incorporate changes from #7703 * add translation * fix and i18n * remove unused translation Co-authored-by: Daniel Espino García <larkox@gmail.com> commit b54d6c52cda1c48adeb83e24f43901e3fdca7dc6 Merge: 05a669c46 ee77df3f0 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 12:15:35 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 05a669c46cfb85adc8e02f3ab2ea97a5a9ffe7e3 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 04:45:19 2021 +0100 Use type on call path, and minor refactoring (#7679) * Use type on call path, and minor refactoring * Add missing i18n * Fix navigation and small fix on error handling * Update redux reference * Fix types * Fix test * Fix test * Address PR Feedback commit 9b1cbbff02a092ef9a7d3a26fe0e016c257c4545 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:32:16 2021 +0100 Remove autocomplete of ~ and @ for user and channel suggestions (#7667) commit 00685fc935148b00ab6049ffb68e63a0a7a3399f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:29:52 2021 +0100 Fix command errors (#7664) commit 83a24ddc0d313c492410e644232720cee4f4dc94 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:27:04 2021 +0100 Command send options (user, channel, dynamic and static) as options and not only values. (#7650) * Command send options (user, channel, dynamic and static) as options and not only values. * Fetch users from server or generate error * Fix i18 and fix minor typo commit 6c1fea615501be4924d3fb9eaf8a987fdbe2552c Merge: d06cdffb8 507991558 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 9 11:14:07 2021 +0100 Merge branch 'master' into feature/cloud-apps commit d06cdffb86def63d4fa67f145775d6b6ce3deb3d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 8 15:08:35 2021 +0100 Fix multiword select options and keep quotes on complete values (#7644) * Fix multiword select options and keep quotes on complete values * Fix test commit e1d67a169ae88d43c9f76f0dc11d94db7e9722df Author: Daniel Espino García <larkox@gmail.com> Date: Sat Mar 6 11:55:43 2021 +0100 Fix channel header dropdown icon size and count (#7642) commit c5c86ca148002ac11a97035fbba6d50f55630fde Author: Daniel Espino García <larkox@gmail.com> Date: Thu Mar 4 11:47:21 2021 +0100 All select use AppSelectOption (#7612) * All select use AppSelectOption * Fix test commit 2f0ab8f9e9fd602fad5cf4d6cf258dbda5b95c8c Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Mar 4 11:13:45 2021 +0100 Use App id to install App from Marketplace (#7631) * Use App id to install App from Marketplace * Fix tests commit 94a86bec10017df9f22bc78ad04aa0d2596c3e24 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 09:24:35 2021 +0100 Add refresh websocket event (#7599) * Add refresh websocket event * Make more obvious the App framework events * Fix typo and separate handler into a function commit bde2a3488503b60cd5deb273f29ad035f93c0dfb Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 06:25:03 2021 +0100 Handle errors on binding locations (#7556) * Handle errors on binding locations * Fix types * Fix lint * Translate and handle all messages directly in the binding * Fix various errors * Fix snapshot commit 8868f33acc0a1fa089354ce7fa9e99dcfd404eec Merge: 2e3c92e28 db27a519d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 1 12:02:52 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 2e3c92e2827fc37890796768e157c16042b4e4e4 Author: Daniel Espino García <larkox@gmail.com> Date: Fri Feb 26 23:00:48 2021 +0100 Fix App parser (#7555) * Fix parser * Fix lint * Fix test commit c9dc94fd80bf6fbb1e18c2e3e1d88b4f5d3eff47 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Feb 26 19:17:30 2021 +0100 [MM-31508] Rename URL to Path in Call (#7566) commit 6b0675fcadee8ee24df6bdf7c4ff713e27a732c9 Merge: 5790e6316 82790213b Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 24 10:03:00 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 5790e6316b5110b8828a768a4ee37d92d107c91c Author: Daniel Espino García <larkox@gmail.com> Date: Tue Feb 16 12:48:49 2021 +0100 Rework embedded forms (#7423) * Rework embedded forms * Improve naming * Improve naming, improve binding filling and trimming and use binding as the base element of a EmbeddedBinding * Move appsEnabled to utils/apps.ts * Add a create request function, add logging, and check for undefined bindings. commit 5f2660f6adefcf1668f71f905622f4a150d5f95d Merge: faaebe611 f7ea0ec34 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 15 14:22:55 2021 +0100 Merge branch 'master' into feature/cloud-apps commit faaebe6115684c7cae5abd748d963980f9626a9e Author: Lev <1187448+levb@users.noreply.github.com> Date: Sat Feb 13 15:53:56 2021 -0800 Refactored apps command parser (#7426) * Fixed command autocomplete for no fields * make test * small fix: restore * wip * wip wip * wip appears to compile * first tests * Consolidated TC type and checks * ParseForm tests work, again * ParseForm tests work, again * unit tests work * nit * PR feedback, some debugging * PR feedback * PR feedback: moved methods into ParsedCommand * merging... * more merging * more more merging commit 50babb5bcef3dbc044e2cb69ef40cee69fefa820 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 19:00:55 2021 +0100 [MM-31088] Set submit buttons to the bottom of the form (#7473) * Set submit buttons to the bottom of the form * Fix typescript * Fix test * Fix lint commit e5619c9a1cc49f246c43ddd116b8b62946907bf5 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 15:31:50 2021 +0100 Isolate Apps to disable them whenever needed (#7376) * Isolate Apps to disable them whenever needed * Use feature flags * Isolate command_provider * Change shouldProcessApps by a more meaningful name appsEnabled * Fix test commit 1f866cdfd6972607decdbe64014ebb7d7566ad3f Merge: e65f8e066 3a24c6a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 13:23:13 2021 +0100 Merge branch 'master' into feature/cloud-apps commit e65f8e06613fc5a5d31573071c42d407dc799462 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Tue Feb 9 09:59:38 2021 +0100 [MM-32476] Apps in the Marketplace (#7474) commit 93e7c3421fef3f7f7a50bbc095512116f7976553 Merge: b2ef64e41 00b9e12d0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Feb 4 13:20:10 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit b2ef64e4132f500dd4d3c7226b87da8c58bd3a25 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:58:03 2021 +0100 Update redux reference commit 63f211746e975e5509d7d749c9c26d2cfcd39963 Merge: 837694a9b 0de03d607 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:54:11 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 837694a9b3a61911cd3c3e9cf21b678b3182b6fa Merge: c1cd297e9 b819372f0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Jan 29 13:53:47 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit c1cd297e94a9dcaea00508ad11c696d512365fdd Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 27 11:58:32 2021 +0100 Add Navigate to AppCallResonses handling (#7377) commit 44d85a493644efff7bd6363d95f888b681ada21d Author: Jason Frerich <jason.frerich@mattermost.com> Date: Wed Jan 27 04:58:12 2021 -0600 use label tag, not paragraph (#7378) commit 0411421a0af3d014c1adbf15c16f431d835e88bc Author: Daniel Espino García <larkox@gmail.com> Date: Tue Jan 26 17:44:12 2021 +0100 Fix Embedded forms after refactor (#7331) * Fix Embedded forms after refactor * Fix lint commit 9eba5ecc26885cc0e252c4d7ac2fbbff8510a078 Merge: 4f5f04144 b252c8a44 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 12:31:46 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4f5f04144375d6a2ce591265e8c78d3eab40919e Merge: 4716206ff 97e741e1d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 11:30:51 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4716206ffa48b174a8a8aa7882158c43c0f2ab3a Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:16:56 2021 +0100 Point to latest redux commit 0122d36712de26a51440ced499d77fdd956fe7aa Merge: f27d6e1cf 19b189c04 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:02:26 2021 +0100 Merge branch 'master' into feature/cloud-apps commit f27d6e1cf898eb71f5424c9520ef81c76a8ae28b Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Thu Jan 14 17:09:42 2021 -0500 Dynamic Apps Modals (#7166) * First approach on embedded forms * Fix lint * Render form in the RHS * Send needed information along the form * Address feedback * Use proper redux version * Add embedded buttons * Handle embedded forms as new modals * Improve state handling * Remove unneeded changes * Fix lint * Migrate button_selector to typescript and make buttons disabled * Fix lint * Make errors work on Embedded and Modal forms * Handle button field type from app forms * Consider button fields also select fields and handle submit_buttons field * dynamic select works. modal can refresh on submit * updates for refreshing on select * fix types * mm-redux * types * snapshot * change react-select import * fix react-select type * submit buttons * error handling * import lint * fix embedded form props * lint * updates for call structure * lint * mm-redux * move presentation field from call to binding * update tests * update prop for test * modal maintains its own state until it unmounts/closes * fix test * mm-redux and fix * fixes for using form call * remove dispatch * fix post id * fix command lookups. allow commands to open modals through binding's presentation * mm-redux * remove interactive dialog field references * fix test * test updates * use global store for command_provider, which is mocked in test * call.type == 'form' && response.type == 'form' opens a modal * lint * remove makeLookupCallPayload * lint * fix imports * fix import Co-authored-by: Daniel Espino García <larkox@gmail.com> commit 6f9f30379191db3f9988113ffdc950a2b2fbff86 Author: Daniel Espino García <larkox@gmail.com> Date: Thu Jan 14 14:59:49 2021 +0100 Fix missing channel header buttons (#7322) commit be9f4ff9bc770dff1723a8938010537486de7812 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 13 09:48:41 2021 +0100 Merge master to feature branch (#7250) * [MM-30193] change file attachment info to show fractions below 10 (#6935) * change fileinfo to show fractions below 10M * fix formatting * add linting fixes and clean up code * fix incorrect brackets Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Revert "Mm 29111 search bar and search results as fc (#6796)" (#6999) This reverts commit 9fba9a9789e3e1e6194daa36aabe343859e8511b. * [MM-20196] Use UTC timezone for formattedDate so it doesn't change the date (#7000) * Use UTC timezone for formattedDate so it doesn't change the date * Add toUTCString * Remove it because it isn't needed * Add to last invoice summary * Make invoice.tax a boolean so a rogue 0 isn't rendered (#7001) * Translations update from Weblate (#7006) * Translated using Weblate (Dutch) Currently translated at 99.9% (4294 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.5% (4275 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.6% (4270 of 4285 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Spanish) Currently translated at 99.2% (4264 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4295 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 96.0% (4126 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * [MM-30066] Allow sidebar category button width to grow and shrink as needed (#6955) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate team_list and team_row to typescript (#6914) Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> * [MM-20482] Migrate 'components/post_view/channel_intro_message' module … (#6729) * MM-28843 Adding feature flags to system console for easy diagnosis. (#6905) * Adding feature flags to system console for easy diagnosis. * Use AdminConfig type. * Redux update. * [MM-29850] Migrate string-refs to functional ones: this.refs.errorMessage (#6881) * Update string ref to functional ref * Make ref load before use Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30190] Show spinner when loading invoices instead of 'no invoices found' (#7012) * [MM-T560] Add test for notifications (#6884) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-20492 Migrate 'components/post_view/post_message_view' module and … (#6738) * Cypress/E2E: Fix custom categories spec (#7011) * [MM-30216] - Add check for undefined fileInfos (#7019) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-20465] migrate single_image_view to typescript (#6774) * migrate single_image_view to typescript * fix unit test * resolove review comment * Update components/single_image_view/single_image_view.tsx * Guard clause fileinfo` Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Nev Angelova <nevyana.angelova@mattermost.com> Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-29903] - Check if current user is on last post when scrolling in rhs (#6920) * Scroll user to bottom when they are on the latest post in rhs * fix tests * Fix type check * Implement using getSnapshotBeforeUpdate * Remove comment box and set refs * Update scroll logic * resize rhs container correctly * Calculate with header height * fix type error * please linter * update snapshot Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Nevyana Angelova <nevyangelova@nevyanas-mbp-2.mynet> * MM-T614 Search on Outgoing Webhooks page (#6873) * wip * cleanup, optimize * remove file Co-authored-by: Mattermost <mattermost@Michaels-MacBook-Pro.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: Move cluster spec to enterprise (#7010) * Cypress/E2E: Move cluster spec to enterprise * Add @enterprise tag * MM-20578 Migrate 'components/admin_console/system_user_detail' module… (#6801) * [MM-20568] Migrate 'components/admin_console/system_users' module to ts (#6829) * Fixing title text in select team icon. (#7023) * MM-30090 Open managed resource links in a new tab (#7024) * MM-30090 Open managed resource links in a new tab * MM-30090 Add ManagedResourcePaths setting * Update test case to reflect new case * Fix types * Revert unnecessary type changes * Switch mattermost-redux back to master * MM-27903, MM-27899: Folded Reply Threads: ThreadItem and ThreadFooter (#6585) * wip: checkpoint * wip: fix tooltip * wip: checkpoint * move connected profile_picture back out of widgets * timestamp improvements * wip: threading components * wip: thread footer * timestamp story improvments * wip: threading components * wip: threading components * wip: threading comps * wip: thread menu * update testing * wip: testing updates * unit tests, storybook cleanup * tweak timestamp knob arrangement * i18n * stray apostrophe; snapshots-i18n * profile_picture index * misc cleanup * put prop-types rule back in * simple_tooltip remove FC * sync relative time spec * update snapshots * Update index.stories.js * Update story_box.tsx * remove trailing space * update url * remove frag * sb container width * review fixes * review fixes/improvements * review/other changes * simplify * actually add nowrap * fix new messages tooltip style * cleanup * improvements, clarity * clearer conditionals * remove unused css/simplify * use text-clamp mixin, fix knob typo * remove unused css props * remove empty file * fix bad role attr * sync css; test appended button * review changes * badge as button if it has a click handler * update snapshot Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate string-refs in user_list.jsx (#6704) * migrate string-refs in user_list.jsx * add unit test for user_list.jsx * remove the eslint-enable/disable comments + rename this.container Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T556] Add e2e test for MM-T556 (#7016) * Add e2e test for MM-T556 Add e2e test for Browser tab and team sidebar notification - no unreads/mentions Github Issues: Fixes https://github.com/mattermost/mattermost-server/issues/15705 Jira Ticket: MM-T556 * Fix finicky test * Move Remove mention notification to before() * Fix broken test * Linting Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-24505-Update-help-text-leave-team-modal (#6572) * message update for leave team modal and updated in i18en.json * implemented dynamic channl values and changed tests * update failing snapshot * added new strings for public and priivate cases * updated desc * update plurals in string * removed console log statement * modal description based on the counts * i18n order changed * i18n corrected * resolved suggestions * updated failing snapshot * corrected messages in modals * updated snapshot * rewordings to modal texts * guest modal message * guest modal condition added along with modal message * updated failing snapshot * added currentuser prop to the test file * Fixed type error in test file * Fixes condition * conditions for zero public & zero private for guest * modified conditions * Fixed modal messages * snapshot updated * Fixes * MM-29929 Fix for unread messages toast on marking channel as unread (#7028) * The initOffset we use for displaying toast should be only used mount as that is not a relative scroll position and is only set on mount * Changing this to show unread toast on all occasions of marking channel as unread other than channel at bottom * [MM-26386] - Respect user locale when searching for channels (#6904) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-25186] Bot username validation i8n support (#6629) * Migrate String Refs to Functional ones - MM 16039 (#6865) * MM-29849/MM-29942/MM-29982 Fix code theme not being applied (#7008) * Convert 'components/post_view/post_info' module and associated tests to TypeScript (#6619) * Convert 'components/post_view/post_info' module and associated tests to TypeScript. Based on conversations with @devin and @abdu - marking certain props as non-mandatory. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some issues from rebasing from latest master branch * Handling null checks for 'getCurrentChannel' calls. * Fixing issue with white page. * Fixing issue with check types. Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30183] - No more text decoration on hover and focus (#7020) * Fix no text decoration on hover and focus * revert extra space Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20470] Migrate emoji page and any team permission gate to typescript #15470 (#6645) * Migrate emoji page and any team permission gate to typescript * Convert delete_emoji_modal to typescript Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30226][MM-39255] Allow a post to be sent when you do CMD + ENTER on Mac with 'Allow all messages' to be sent via CMD + ENTER (#7031) * make a post be able to send when you do command enter when editing post * fix linting * Edit task to take into control mac command key * fix linting * [MM-30340] Update post height when comment box height change occurs (#7039) * [MM-30340] Update post height when comment box height change occurs * Update snaps * Add scroll to bottom to the resize function * Remove redundant check Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Translations update from Weblate (#7046) * Translated using Weblate (Japanese) Currently translated at 98.1% (4219 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4302 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4298 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 96.3% (4147 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Dutch) Currently translated at 99.6% (4310 of 4323 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.9% (4301 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Korean) Currently translated at 79.4% (3418 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Japanese) Currently translated at 97.5% (4220 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Korean) Currently translated at 79.7% (3453 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4214 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4215 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> * [MM-28181] e2e: add system_console/unsaved_changes_spec (#7009) * e2e: add system_console/unsaved_changes_spec * reflect revivew comments * 15474 convert team selector modal to ts (#6824) * Convert 'components/team_selector_modal' module and associated tests to TypeScript. * Fixing review comments. * Fixing review comments. * Fixing review comments. * Fixing bad merge Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-19509 Prioritize autocomplete results based on interactions and threads (#7002) * MM-19509 Prioritize autocomplete results based on interactions and threads * Add sort method of auto complete results to be based on last_viewed_at as well * Add new prop priorityResults to auto complete so we can add profiles like thread interactions on top * Fix sorting for remote results * Add E2E test for desktop notifications for empty strings (#6799) * Add E2E test for desktop notifications for empty strings * Update comments based on feedback * Typo Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20433 - convert view_pinned_posts to typescript (#7034) * MM-20433 - convert view_pinned_posts to typescript * fix linter errors Co-authored-by: Pablo Velez <pvelez@bp-3.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: fix test (#7052) * fix e2e test * make trial user configurable via env * fix order * [MM-29855] Migrate string-refs to functional ones: this.refs.content (#6867) * Update string refs to functional component based refs * Update string refs to functional component based refs * [MM-27231]: e2e for T1880 - deleted token cannot be used to post (#6901) * update api method to return more data, and add method to revoke token * test for T1880 - deletd token can't be used to post * fix comment * move methods to better place Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Fix menu rendering behind input box in RHS. (#7061) * [MM-27708] Disable Plugin on Removal (#6518) * [MM-30104][MM-30105] Fix up banners in payment_info and billing_subscription pages (#7063) * Fix up banners in payment_info and billing_subscription pages * Reset package-lock * Remove comment * [MM-27556] UI For new system roles (#6529) * Add translations * Basic skeleton without subsections visible * Allow roles to be saved and fix up styling * Dont allow sysadmins to be edited and dont allow self to be removed * Cleanup * Add translations * Save state properly * Update redux * Minor styling changes * Update redux * Bug fixes * Rename datagrid search to onSearch * Cleanup * UX fixes * Fix snaps * Forgot to check this in * Fix console error * Fix snaps * Expand by default if mixed access * update package json files * address PR comments * update redux hash * update redux hash * make disabled * add set navgiation blocked * Fix hash * make necessary changes * make read only admin editable * update function name * fix type check * fix lint issue * udpate redux hash * update search * update snap test * fix set navigation blocked after save * make conditional rendering for system manager * fix linting * go back after saving successfully * updat redux hash * Add Beta Tag Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * [MM-20428] Migrate terms of service to Typescript (#6965) * First pass * Added types everywhere * Fixed ESLint warnings and errors * Fix incorrect import * Updated snapshot * PR review feedback Co-authored-by: Christophe Carpentier <christophe.carpentier@imascap.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29621] Only load the stripe library when cloud components are actually rendered (#7067) * Only load the stripe library when cloud components are actually rendered * Use proper return type * Remove async * MM-20412: Migrate 'components/channel_header_mobile/show_search_button' module to TypeScript (#6969) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM 20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript (#6976) * MM-20404 * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix lint * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix linter Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27229 - Cypress/E2E: Automate backlogs - BOT Accounts - Part 06 (10 test cases) (#6772) Co-authored-by: Prapti <praptishrestha@gmail.com> Co-authored-by: Caleb Roseland <caleb@calebroseland.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate refs icon_url. #15801 (#6754) Automatic Merge * [GH-16035] Migrating refs plugin_management.tsx (#6866) Automatic Merge * [MM-29515] Hide imports tab when in cloud installation (#7069) * Hide imports tab when in cloud installation * fix types and linter * Revert package-lock to master * Make isCloud optional * MM-T446 DM More... searching from page 2 of user list (#7054) * wip * wip * revision * selector fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * DOPS-243 (#7075) DOPS-243 (#7075) * [GH-13483] Migrate 'components/channel_invite_modal' module and associated tests to TypeScript (#6968) * [WIP] migration to typescript * [WIP] further typescript changes * finalized move of component to typescript * [WIP] move index file to typescript * updated test to typescript * fix for types in index file * removed failing class import * [No Ticket] Update to latest redux hash and fixing test cases with missing types (#7084) Automatic Merge * [MM-27154] Cypress tests: Incoming Webhooks (#6977) * Incoming webhooks cypress tests * Remove unused variable * PR feedback * add license * PR feedback and lint * fix import path Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * fix failing tests due to announcement bar (#7077) * MM-27315 Cypress tests for Integrations > Slash command auto-complete (7 test cases) (#6909) * MM-30359: Cypress/E2E: Account Settings > Email (#7051) * MM-30359: Cypress/E2E: Account Settings > Email This PR automates the following test cases: MM-T2066 MM-T2067 MM-T2068 MM-T2069 MM-T2070 MM-T2071 MM-T2072 MM-T2073 https://mattermost.atlassian.net/browse/MM-30359 ```release-note NONE ``` * fix lint * add the other tests * Address review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T561] Add e2e test for MM-T561 (#7015) * Add e2e test Add test for: Browser tab and team sidebar - direct messages don't add indicator on team icon in team sidebar (but do in browser tab) Github Issues: Fix https://github.com/mattermost/mattermost-server/issues/15700 Jira Ticket: MM-T561 * Apply suggested review * Add cleanup for MM-T560_2 * Linting * Separate test file * Linting * Add prerequisite * Rename file * Remove old test Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28255] Add tests for OAuth Apps (#6558) * Add tests for OAuth Apps * Add remaining tests * Update test names, fix typos and add explicit status codes * Add group and license check * Move tests to enterprise folder Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-29858: Migrate string refs to functional ones in autosize textarea component (#6885) * MM-29858: Migrate string refs to functional ones in autosize textarea component * MM-29858: Rename reference instance variable with suffix Ref * MM-29858: Use camel casing for textarea reference variable * MM-29858: Allow empty value for textarea Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate errorMessage string ref (#6882) Automatic Merge * MM-T329 Image link preview (#7005) * wip * wip * finished * revision * remove log Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28150] e2e: add MM-T924, MM-T928, MM-T929, MM-T930 (#7045) * e2e: add MM-T924, MM-T928, MM-T929, MM-T930 * reflect review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30363: Cypress/E2E: Automate backlogs - Edit Bot Username (1 test case) (#7073) * MM-30373 - first iteration * MM-30377 - first iteration * remove spurious file * MM-30377 - further iteration * MM-30363 - first iteration * remove extra file * some cleanup * remoe extra space Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * promote and demote tests to/from prod (#7080) * Cypress/E2E: Fix toast appears unread spec (#7081) * change super to system (#7076) * MM-20418: Migrate 'components/channel_selector_modal' module and associated tests to TypeScript (#6975) * DOPS-243: Fix images (#7089) DOPS-243: Fix images (#7089) * MM-T439 Town Square is not marked as unread for existing users when a new user is added to the team (#7053) Automatic Merge * [MM-20582] Migrate 'components/admin_console/team_channel_settings/ch… (#6840) * MM-20465 Fix for collapse/expand of image preview (#7085) * The toggle function requires id and not post * This was most likely changed to fix a ts error * MM-20465 Revert usage of getCurrentChannel to getCurrentChannelId where possible (#7064) * [MM-29821] Prefer TypeScript files over JavaScript in webpack (#7090) * [MM-30317] add MANAGE_REMOTE_CLUSTERS permission (#7060) * add MANAGE_REMOTE_CLUSTERS permission * Update i18n/en.json Co-authored-by: Doug Lauder <wiggin77@warpmail.net> Co-authored-by: Doug Lauder <wiggin77@warpmail.net> * MM-20416: Migrate 'components/channel_header_mobile/collapse_lhs_button' module to TypeScript (#6971) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove Cloud billing flag from System Console (#7096) (cherry picked from commit 6c35b79ac663756b5e31f0b878531aabec68efd3) Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com> * Translations update from Weblate (#7100) * Translated using Weblate (Turkish) Currently translated at 100.0% (4390 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4329 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (German) Currently translated at 90.4% (3915 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/de/ * Translated using Weblate (Korean) Currently translated at 80.1% (3468 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4328 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Russian) Currently translated at 95.0% (4113 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4328 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 98.4% (4322 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 96.7% (4246 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4119 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 92.7% (4072 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4325 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Alexey Napalkov <flynbit@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> * Migrate 'components/announcement_bar/default_announcement_bar' module and associated tests to TypeScript (#6963) * rename file * working except for test file * restore unincluded test file to jsx * pass npm make check * update snapshot * respond to review comments * checkout package-lock.json * revert package-lock.json changes * fix linting errors Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate this.ref.dotMenu to functional (#6957) * Migrate this.ref.dotMenu to functional * Fixed formatting * Fix reference * rename dotMenu to dotMenuRef for consistency with other PRs, remove comments * Removed blanked line to pass lint check Co-authored-by: root <root@DESKTOP-4IBHFV5.localdomain> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20897 Add category muting (#7033) * MM-20897 Add ability to mute categories * Increase timeout to ensure test passes * Add E2E test for moving channels into muted categories * Update mattermost-redux to branch * Fix unit tests * Fix types * Update snapshot * asdf * Add additional E2E test and API client infrastructure * MM-24293 Fix to have group channels return in quick switcher with space (#7059) * MM-24293 Fix to have group channels return in quick siwchter with space * Split the search term by spaces and match with users in group channels * Update components/suggestion/switch_channel_provider.jsx Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * If card year is 0 return false for isExpired (#7101) * Converted 'dot_menu' to typescript. (#6825) * Migrate string refs of reset password modal (#7038) Automatic Merge * MM-20415 Migrate 'components/channel_header_mobile/unmute_channel_button' module and associated tests to TypeScript (#6972) * MM-30477 Fix for autocomplete not closing (#7093) Automatic Merge * MM-20897 Cleanup a couple missed issues (#7106) * MM-T638 Webhook posts when webhook creator is not a member of the channel (#7091) * wip * wip * wip * wip * added check * small fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript (#6668) * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript Fixes https://github.com/mattermost/mattermost-server/issues/15460 JIRA: https://mattermost.atlassian.net/browse/MM-20481 * Make actions attribute non nullable * Require YoutubeVideo's postId property since it really is * Fix tests * Add stages for onprem * Add build-vars stage * set isDisabled prop for site > notices (#7103) Automatic Merge * [MM-27931][MM-30158] Multi-selection and dragging of channels (#6979) * [MM-27931] Multiselection of channels * Test fix * Lint fix * Change opacity of selected state to 0.24 * Added hover state for selected channels * Tests for multiSelect * Drag and drop working (without visuals, missing redux commit) * Multi drag and drop styles (fade the selected channels, might change) * Don't allow multisellected channels to be dropped where they shouldn't be * Lint, type, test, translation fixes * Allow dragging of non matching channel groups by rejecting the channels that don't match * Redux update * Another test fix * Fixed selected count style to work off of center channel exclusively * Added really obvious styling * Style change/PR feedback * Style change * Include active channel in all initial selections * PR feedback * Add constant for shifted index Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20572] Migrate 'components/admin_console/compliance_reports' to TypeScript (#13500) (#7036) Automatic Merge * MM-30087 Remove direct dependency between Client4 and Rudder (#7056) * MM-30087 Remove direct dependency between Client4 and Rudder * Update tests * Switch mattermost-redux to master * Fix missing types * Change how we mock and import rudder * Remove test that checks if events are sent to Rudder * [MM_20423]'external_image'module to ts (#16151) (#7025) - migrate ts index.js file - migrate ts for external_image.tsx - migrate ts for external_images.test.jsx Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * Fix issue 16144: migrate components/claim module and tests to TypeScript (#7043) Automatic Merge * MM-T2056 e2e to test, Username change reflecting for other users (#7074) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-26334] Fixes direct messages loading screen misalignment (#6813) Summary: Reduces the height of the loading screen so it is more centered and/or unintrusive(small screens) enough to remove the scroll bar during loading. Ticket Link: Fixes https://github.com/mattermost/mattermost-server/issues/15926 * Translations update from Weblate (#7122) * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4121 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 98.9% (4345 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4392 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Spanish) Currently translated at 97.7% (4292 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4341 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> * MM-28153: Cypress/E2E: Automate backlogs - System Console > Environment (8 test cases) (#7049) * MM-30377: Cypress/E2E: Automate backlogs - Messaging > Channel and Post Links (6 test cases) (#7072) * MM-30355: Cypress/E2E: Automate backlogs - Account Settings > Username (6 test cases) (#7062) * MM-27208 Add tests for MM-T1684, MM-T1687, and MM-T1688 (#7124) * MM-27208 MM-T1684 Add test number to existing test case * Fix makeClient for requests without a body * MM-27208 MM-T1687 Add test for another user archiving a channel * MM-27208 MM-T1688 Add test for searching in archived channels * Translations update from Weblate (#7139) * Translated using Weblate (Spanish) Currently translated at 99.1% (4357 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4344 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Dutch) Currently translated at 98.9% (4349 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.4% (4327 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> * [MM-20498] components/post_view/combined_system_message' to TypeScript (#7109) * Added Initial Ts conversion to last_users and last_user_test * Converted combined system message * Completed all files conversion * Updated Snapshots * Minor fix * Minor Fixes * Minor Fixes * Migrate 'components/sidebar_right_menu' module to TypeScript (#6962) * Converted 'leave_channel' to typescript. (#7115) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20581] Migrate index to TS in 'components/admin_console/team_channel_settings/channel/details' module (#6924) * mark browser.focused as false if starting in the background (#7050) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27989 Remove experimental setting for data prefetch (#7094) Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com> * [MM-27207] e2e leave archived channels I - last (#7117) Automatic Merge * MM-30370: Cypress/E2E: Automate backlogs - Keyboard Shortcuts (10 test cases) (#7113) Automatic Merge * MM-30371: Cypress/E2E: Automate backlogs - Keyboard Shortcuts part 2 (10 test cases) (#7112) * temporary work * further iteration * further work * Address CR comments Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29853] Migrate string-refs to functional ones: this.refs.fileInput (#7153) * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function Co-authored-by: lestgabo <lestgabo@gmail.com> * Fix display of boolean feature flags in system console. (#7156) * MM-30992 Add the capability to run part by part for Cypress parallel testing (part 1) (#7140) * add the capability to run part by part for Cypress parallel testing * update per comment and add default values * throw an error if --part is greater than --of * Cypress/E2E: Fix email verification that works both with current, Cloud and parallel testing (part 2) (#7142) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * update per comment * Cypress/E2E: Fix for several flaky tests (part 3) (#7143) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * Cypress/E2E: Fix tests for cloud (part 4) (#7147) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * fix tests for cloud * clean up label and flag * simplify log of license status and add log of server details * update per comment * fix return of Cypress custom commands (#7159) * [MM-30354] e2e fullname (#7126) Automatic Merge * Migrate to typescript Apps related files (#7021) * Migrate to typescript Apps related files * Use correct react-overlays types version * PR feedback * fix types * fix types * temporarily use any * remove unused import * Remove unneeded comments * Extract stringToNumber to utils * Fix minor warning on the console * Fix lint Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * MM-30972 Add proper padding to code preview line numbers (#7155) Automatic Merge * MM-28412: Add tm4j key (#7171) * [MM-26593] Disable pointer events on LHS scrollbar when scrolling isn't required (#7120) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Update NOTICE.txt (#7102) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30376 Cypress/E2E: Automate backlogs - Messaging (8 test cases) (#7141) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30969] Drop aria-label from Marketplace item description (#7133) * Drop aria-label from Marketplace item description * Add general aria-label * Translations update from Weblate (#7182) * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.8% (4383 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4344 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4346 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4393 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.2% (4356 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.1% (4356 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.2% (4359 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https:/…
* fix styling of react select in apps modal Squashed commit of the following: commit bf9a919ef395ea266e78b28669f11c1294cfc0cb Merge: 51fa36ebb d7f792eab Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Tue Mar 30 17:03:40 2021 -0400 Merge branch 'feature/cloud-apps' into select-visibility commit d7f792eab390256180e131f5d902cd52535fdd61 Merge: 3fd6e9325 e53a8358f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:36:44 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 3fd6e9325c79beae42d0ebd041fc93b1e1009a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:22:54 2021 +0100 Remove Enable/Disable and Remove from System Console for cloud apps (#7651) * Remove Enable/Disable and Remove from System Console for cloud apps * Set buttons as null * Allow change the status when the feature flag is on * Fix test * Update snapshots Co-authored-by: Mattermod <mattermod@users.noreply.github.com> commit 7b4be8ebf51f251451f4900d1e5a363884306c93 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:11:01 2021 +0100 Case independency fixes (#7722) commit af6ba8797cd5c5387f2ed77fddcad82ddde81932 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 24 12:08:19 2021 +0100 Use Feature flag (#7643) * Use Feature flag * Fix test and minor improvement * Simplify return commit 51fa36ebb5c98e36c4bf16f5fec7ddd945b943ec Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 24 03:44:42 2021 -0400 fix error message placement by moving form-group class to parent commit 49b1158f1f216d343e16da41158b94b3bbbec6f0 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 24 03:31:24 2021 -0400 fix select overlap commit de7bca6c0782b47e2af101b2555894e0d80bf129 Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed Mar 17 10:29:36 2021 -0400 Synchronize app command parser with mobile app (#7706) * Use type on call path, and minor refactoring * Add missing i18n * move files into app_command_parser folder * Fix navigation and small fix on error handling * include mobile app changes to command parser * i18n * types and lint * use intl * change i18n ids * tests * test fixes * add more tests for button_binding and select_binding * lint * fix merege issue * incorporate changes from #7703 * add translation * fix and i18n * remove unused translation Co-authored-by: Daniel Espino García <larkox@gmail.com> commit b54d6c52cda1c48adeb83e24f43901e3fdca7dc6 Merge: 05a669c46 ee77df3f0 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 12:15:35 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 05a669c46cfb85adc8e02f3ab2ea97a5a9ffe7e3 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 17 04:45:19 2021 +0100 Use type on call path, and minor refactoring (#7679) * Use type on call path, and minor refactoring * Add missing i18n * Fix navigation and small fix on error handling * Update redux reference * Fix types * Fix test * Fix test * Address PR Feedback commit 9b1cbbff02a092ef9a7d3a26fe0e016c257c4545 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:32:16 2021 +0100 Remove autocomplete of ~ and @ for user and channel suggestions (#7667) commit 00685fc935148b00ab6049ffb68e63a0a7a3399f Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:29:52 2021 +0100 Fix command errors (#7664) commit 83a24ddc0d313c492410e644232720cee4f4dc94 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Mar 10 15:27:04 2021 +0100 Command send options (user, channel, dynamic and static) as options and not only values. (#7650) * Command send options (user, channel, dynamic and static) as options and not only values. * Fetch users from server or generate error * Fix i18 and fix minor typo commit 6c1fea615501be4924d3fb9eaf8a987fdbe2552c Merge: d06cdffb8 507991558 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 9 11:14:07 2021 +0100 Merge branch 'master' into feature/cloud-apps commit d06cdffb86def63d4fa67f145775d6b6ce3deb3d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 8 15:08:35 2021 +0100 Fix multiword select options and keep quotes on complete values (#7644) * Fix multiword select options and keep quotes on complete values * Fix test commit e1d67a169ae88d43c9f76f0dc11d94db7e9722df Author: Daniel Espino García <larkox@gmail.com> Date: Sat Mar 6 11:55:43 2021 +0100 Fix channel header dropdown icon size and count (#7642) commit c5c86ca148002ac11a97035fbba6d50f55630fde Author: Daniel Espino García <larkox@gmail.com> Date: Thu Mar 4 11:47:21 2021 +0100 All select use AppSelectOption (#7612) * All select use AppSelectOption * Fix test commit 2f0ab8f9e9fd602fad5cf4d6cf258dbda5b95c8c Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Mar 4 11:13:45 2021 +0100 Use App id to install App from Marketplace (#7631) * Use App id to install App from Marketplace * Fix tests commit 94a86bec10017df9f22bc78ad04aa0d2596c3e24 Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 09:24:35 2021 +0100 Add refresh websocket event (#7599) * Add refresh websocket event * Make more obvious the App framework events * Fix typo and separate handler into a function commit bde2a3488503b60cd5deb273f29ad035f93c0dfb Author: Daniel Espino García <larkox@gmail.com> Date: Tue Mar 2 06:25:03 2021 +0100 Handle errors on binding locations (#7556) * Handle errors on binding locations * Fix types * Fix lint * Translate and handle all messages directly in the binding * Fix various errors * Fix snapshot commit 8868f33acc0a1fa089354ce7fa9e99dcfd404eec Merge: 2e3c92e28 db27a519d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Mar 1 12:02:52 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 2e3c92e2827fc37890796768e157c16042b4e4e4 Author: Daniel Espino García <larkox@gmail.com> Date: Fri Feb 26 23:00:48 2021 +0100 Fix App parser (#7555) * Fix parser * Fix lint * Fix test commit c9dc94fd80bf6fbb1e18c2e3e1d88b4f5d3eff47 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Feb 26 19:17:30 2021 +0100 [MM-31508] Rename URL to Path in Call (#7566) commit 6b0675fcadee8ee24df6bdf7c4ff713e27a732c9 Merge: 5790e6316 82790213b Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 24 10:03:00 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 5790e6316b5110b8828a768a4ee37d92d107c91c Author: Daniel Espino García <larkox@gmail.com> Date: Tue Feb 16 12:48:49 2021 +0100 Rework embedded forms (#7423) * Rework embedded forms * Improve naming * Improve naming, improve binding filling and trimming and use binding as the base element of a EmbeddedBinding * Move appsEnabled to utils/apps.ts * Add a create request function, add logging, and check for undefined bindings. commit 5f2660f6adefcf1668f71f905622f4a150d5f95d Merge: faaebe611 f7ea0ec34 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 15 14:22:55 2021 +0100 Merge branch 'master' into feature/cloud-apps commit faaebe6115684c7cae5abd748d963980f9626a9e Author: Lev <1187448+levb@users.noreply.github.com> Date: Sat Feb 13 15:53:56 2021 -0800 Refactored apps command parser (#7426) * Fixed command autocomplete for no fields * make test * small fix: restore * wip * wip wip * wip appears to compile * first tests * Consolidated TC type and checks * ParseForm tests work, again * ParseForm tests work, again * unit tests work * nit * PR feedback, some debugging * PR feedback * PR feedback: moved methods into ParsedCommand * merging... * more merging * more more merging commit 50babb5bcef3dbc044e2cb69ef40cee69fefa820 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 19:00:55 2021 +0100 [MM-31088] Set submit buttons to the bottom of the form (#7473) * Set submit buttons to the bottom of the form * Fix typescript * Fix test * Fix lint commit e5619c9a1cc49f246c43ddd116b8b62946907bf5 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 15:31:50 2021 +0100 Isolate Apps to disable them whenever needed (#7376) * Isolate Apps to disable them whenever needed * Use feature flags * Isolate command_provider * Change shouldProcessApps by a more meaningful name appsEnabled * Fix test commit 1f866cdfd6972607decdbe64014ebb7d7566ad3f Merge: e65f8e066 3a24c6a0c Author: Daniel Espino García <larkox@gmail.com> Date: Wed Feb 10 13:23:13 2021 +0100 Merge branch 'master' into feature/cloud-apps commit e65f8e06613fc5a5d31573071c42d407dc799462 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Tue Feb 9 09:59:38 2021 +0100 [MM-32476] Apps in the Marketplace (#7474) commit 93e7c3421fef3f7f7a50bbc095512116f7976553 Merge: b2ef64e41 00b9e12d0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Thu Feb 4 13:20:10 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit b2ef64e4132f500dd4d3c7226b87da8c58bd3a25 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:58:03 2021 +0100 Update redux reference commit 63f211746e975e5509d7d749c9c26d2cfcd39963 Merge: 837694a9b 0de03d607 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Feb 1 12:54:11 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 837694a9b3a61911cd3c3e9cf21b678b3182b6fa Merge: c1cd297e9 b819372f0 Author: Ben Schumacher <ben.schumacher@mattermost.com> Date: Fri Jan 29 13:53:47 2021 +0100 Merge remote-tracking branch 'origin/master' into feature/cloud-apps commit c1cd297e94a9dcaea00508ad11c696d512365fdd Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 27 11:58:32 2021 +0100 Add Navigate to AppCallResonses handling (#7377) commit 44d85a493644efff7bd6363d95f888b681ada21d Author: Jason Frerich <jason.frerich@mattermost.com> Date: Wed Jan 27 04:58:12 2021 -0600 use label tag, not paragraph (#7378) commit 0411421a0af3d014c1adbf15c16f431d835e88bc Author: Daniel Espino García <larkox@gmail.com> Date: Tue Jan 26 17:44:12 2021 +0100 Fix Embedded forms after refactor (#7331) * Fix Embedded forms after refactor * Fix lint commit 9eba5ecc26885cc0e252c4d7ac2fbbff8510a078 Merge: 4f5f04144 b252c8a44 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 12:31:46 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4f5f04144375d6a2ce591265e8c78d3eab40919e Merge: 4716206ff 97e741e1d Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 25 11:30:51 2021 +0100 Merge branch 'master' into feature/cloud-apps commit 4716206ffa48b174a8a8aa7882158c43c0f2ab3a Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:16:56 2021 +0100 Point to latest redux commit 0122d36712de26a51440ced499d77fdd956fe7aa Merge: f27d6e1cf 19b189c04 Author: Daniel Espino García <larkox@gmail.com> Date: Mon Jan 18 12:02:26 2021 +0100 Merge branch 'master' into feature/cloud-apps commit f27d6e1cf898eb71f5424c9520ef81c76a8ae28b Author: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Thu Jan 14 17:09:42 2021 -0500 Dynamic Apps Modals (#7166) * First approach on embedded forms * Fix lint * Render form in the RHS * Send needed information along the form * Address feedback * Use proper redux version * Add embedded buttons * Handle embedded forms as new modals * Improve state handling * Remove unneeded changes * Fix lint * Migrate button_selector to typescript and make buttons disabled * Fix lint * Make errors work on Embedded and Modal forms * Handle button field type from app forms * Consider button fields also select fields and handle submit_buttons field * dynamic select works. modal can refresh on submit * updates for refreshing on select * fix types * mm-redux * types * snapshot * change react-select import * fix react-select type * submit buttons * error handling * import lint * fix embedded form props * lint * updates for call structure * lint * mm-redux * move presentation field from call to binding * update tests * update prop for test * modal maintains its own state until it unmounts/closes * fix test * mm-redux and fix * fixes for using form call * remove dispatch * fix post id * fix command lookups. allow commands to open modals through binding's presentation * mm-redux * remove interactive dialog field references * fix test * test updates * use global store for command_provider, which is mocked in test * call.type == 'form' && response.type == 'form' opens a modal * lint * remove makeLookupCallPayload * lint * fix imports * fix import Co-authored-by: Daniel Espino García <larkox@gmail.com> commit 6f9f30379191db3f9988113ffdc950a2b2fbff86 Author: Daniel Espino García <larkox@gmail.com> Date: Thu Jan 14 14:59:49 2021 +0100 Fix missing channel header buttons (#7322) commit be9f4ff9bc770dff1723a8938010537486de7812 Author: Daniel Espino García <larkox@gmail.com> Date: Wed Jan 13 09:48:41 2021 +0100 Merge master to feature branch (#7250) * [MM-30193] change file attachment info to show fractions below 10 (#6935) * change fileinfo to show fractions below 10M * fix formatting * add linting fixes and clean up code * fix incorrect brackets Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Revert "Mm 29111 search bar and search results as fc (#6796)" (#6999) This reverts commit 9fba9a9789e3e1e6194daa36aabe343859e8511b. * [MM-20196] Use UTC timezone for formattedDate so it doesn't change the date (#7000) * Use UTC timezone for formattedDate so it doesn't change the date * Add toUTCString * Remove it because it isn't needed * Add to last invoice summary * Make invoice.tax a boolean so a rogue 0 isn't rendered (#7001) * Translations update from Weblate (#7006) * Translated using Weblate (Dutch) Currently translated at 99.9% (4294 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.5% (4275 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.6% (4270 of 4285 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Spanish) Currently translated at 99.2% (4264 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ Translated using Weblate (Japanese) Currently translated at 98.2% (4219 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4295 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 96.0% (4126 of 4295 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> * [MM-30066] Allow sidebar category button width to grow and shrink as needed (#6955) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate team_list and team_row to typescript (#6914) Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> * [MM-20482] Migrate 'components/post_view/channel_intro_message' module … (#6729) * MM-28843 Adding feature flags to system console for easy diagnosis. (#6905) * Adding feature flags to system console for easy diagnosis. * Use AdminConfig type. * Redux update. * [MM-29850] Migrate string-refs to functional ones: this.refs.errorMessage (#6881) * Update string ref to functional ref * Make ref load before use Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30190] Show spinner when loading invoices instead of 'no invoices found' (#7012) * [MM-T560] Add test for notifications (#6884) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * MM-20492 Migrate 'components/post_view/post_message_view' module and … (#6738) * Cypress/E2E: Fix custom categories spec (#7011) * [MM-30216] - Add check for undefined fileInfos (#7019) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-20465] migrate single_image_view to typescript (#6774) * migrate single_image_view to typescript * fix unit test * resolove review comment * Update components/single_image_view/single_image_view.tsx * Guard clause fileinfo` Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Nev Angelova <nevyana.angelova@mattermost.com> Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> * [MM-29903] - Check if current user is on last post when scrolling in rhs (#6920) * Scroll user to bottom when they are on the latest post in rhs * fix tests * Fix type check * Implement using getSnapshotBeforeUpdate * Remove comment box and set refs * Update scroll logic * resize rhs container correctly * Calculate with header height * fix type error * please linter * update snapshot Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Nevyana Angelova <nevyangelova@nevyanas-mbp-2.mynet> * MM-T614 Search on Outgoing Webhooks page (#6873) * wip * cleanup, optimize * remove file Co-authored-by: Mattermost <mattermost@Michaels-MacBook-Pro.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: Move cluster spec to enterprise (#7010) * Cypress/E2E: Move cluster spec to enterprise * Add @enterprise tag * MM-20578 Migrate 'components/admin_console/system_user_detail' module… (#6801) * [MM-20568] Migrate 'components/admin_console/system_users' module to ts (#6829) * Fixing title text in select team icon. (#7023) * MM-30090 Open managed resource links in a new tab (#7024) * MM-30090 Open managed resource links in a new tab * MM-30090 Add ManagedResourcePaths setting * Update test case to reflect new case * Fix types * Revert unnecessary type changes * Switch mattermost-redux back to master * MM-27903, MM-27899: Folded Reply Threads: ThreadItem and ThreadFooter (#6585) * wip: checkpoint * wip: fix tooltip * wip: checkpoint * move connected profile_picture back out of widgets * timestamp improvements * wip: threading components * wip: thread footer * timestamp story improvments * wip: threading components * wip: threading components * wip: threading comps * wip: thread menu * update testing * wip: testing updates * unit tests, storybook cleanup * tweak timestamp knob arrangement * i18n * stray apostrophe; snapshots-i18n * profile_picture index * misc cleanup * put prop-types rule back in * simple_tooltip remove FC * sync relative time spec * update snapshots * Update index.stories.js * Update story_box.tsx * remove trailing space * update url * remove frag * sb container width * review fixes * review fixes/improvements * review/other changes * simplify * actually add nowrap * fix new messages tooltip style * cleanup * improvements, clarity * clearer conditionals * remove unused css/simplify * use text-clamp mixin, fix knob typo * remove unused css props * remove empty file * fix bad role attr * sync css; test appended button * review changes * badge as button if it has a click handler * update snapshot Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate string-refs in user_list.jsx (#6704) * migrate string-refs in user_list.jsx * add unit test for user_list.jsx * remove the eslint-enable/disable comments + rename this.container Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T556] Add e2e test for MM-T556 (#7016) * Add e2e test for MM-T556 Add e2e test for Browser tab and team sidebar notification - no unreads/mentions Github Issues: Fixes https://github.com/mattermost/mattermost-server/issues/15705 Jira Ticket: MM-T556 * Fix finicky test * Move Remove mention notification to before() * Fix broken test * Linting Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-24505-Update-help-text-leave-team-modal (#6572) * message update for leave team modal and updated in i18en.json * implemented dynamic channl values and changed tests * update failing snapshot * added new strings for public and priivate cases * updated desc * update plurals in string * removed console log statement * modal description based on the counts * i18n order changed * i18n corrected * resolved suggestions * updated failing snapshot * corrected messages in modals * updated snapshot * rewordings to modal texts * guest modal message * guest modal condition added along with modal message * updated failing snapshot * added currentuser prop to the test file * Fixed type error in test file * Fixes condition * conditions for zero public & zero private for guest * modified conditions * Fixed modal messages * snapshot updated * Fixes * MM-29929 Fix for unread messages toast on marking channel as unread (#7028) * The initOffset we use for displaying toast should be only used mount as that is not a relative scroll position and is only set on mount * Changing this to show unread toast on all occasions of marking channel as unread other than channel at bottom * [MM-26386] - Respect user locale when searching for channels (#6904) Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro-2.local> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-25186] Bot username validation i8n support (#6629) * Migrate String Refs to Functional ones - MM 16039 (#6865) * MM-29849/MM-29942/MM-29982 Fix code theme not being applied (#7008) * Convert 'components/post_view/post_info' module and associated tests to TypeScript (#6619) * Convert 'components/post_view/post_info' module and associated tests to TypeScript. Based on conversations with @devin and @abdu - marking certain props as non-mandatory. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some review comments. * Fixing some issues from rebasing from latest master branch * Handling null checks for 'getCurrentChannel' calls. * Fixing issue with white page. * Fixing issue with check types. Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30183] - No more text decoration on hover and focus (#7020) * Fix no text decoration on hover and focus * revert extra space Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20470] Migrate emoji page and any team permission gate to typescript #15470 (#6645) * Migrate emoji page and any team permission gate to typescript * Convert delete_emoji_modal to typescript Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30226][MM-39255] Allow a post to be sent when you do CMD + ENTER on Mac with 'Allow all messages' to be sent via CMD + ENTER (#7031) * make a post be able to send when you do command enter when editing post * fix linting * Edit task to take into control mac command key * fix linting * [MM-30340] Update post height when comment box height change occurs (#7039) * [MM-30340] Update post height when comment box height change occurs * Update snaps * Add scroll to bottom to the resize function * Remove redundant check Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MBP-2.fritz.box> * Translations update from Weblate (#7046) * Translated using Weblate (Japanese) Currently translated at 98.1% (4219 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4302 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4298 of 4298 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 96.3% (4147 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Dutch) Currently translated at 99.6% (4310 of 4323 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.9% (4301 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Korean) Currently translated at 79.4% (3418 of 4302 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Japanese) Currently translated at 97.5% (4220 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ja/ * Translated using Weblate (Korean) Currently translated at 79.7% (3453 of 4328 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4214 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.3% (4215 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: kaakaa <stooner.hoe@gmail.com> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> * [MM-28181] e2e: add system_console/unsaved_changes_spec (#7009) * e2e: add system_console/unsaved_changes_spec * reflect revivew comments * 15474 convert team selector modal to ts (#6824) * Convert 'components/team_selector_modal' module and associated tests to TypeScript. * Fixing review comments. * Fixing review comments. * Fixing review comments. * Fixing bad merge Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-19509 Prioritize autocomplete results based on interactions and threads (#7002) * MM-19509 Prioritize autocomplete results based on interactions and threads * Add sort method of auto complete results to be based on last_viewed_at as well * Add new prop priorityResults to auto complete so we can add profiles like thread interactions on top * Fix sorting for remote results * Add E2E test for desktop notifications for empty strings (#6799) * Add E2E test for desktop notifications for empty strings * Update comments based on feedback * Typo Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20433 - convert view_pinned_posts to typescript (#7034) * MM-20433 - convert view_pinned_posts to typescript * fix linter errors Co-authored-by: Pablo Velez <pvelez@bp-3.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Cypress/E2E: fix test (#7052) * fix e2e test * make trial user configurable via env * fix order * [MM-29855] Migrate string-refs to functional ones: this.refs.content (#6867) * Update string refs to functional component based refs * Update string refs to functional component based refs * [MM-27231]: e2e for T1880 - deleted token cannot be used to post (#6901) * update api method to return more data, and add method to revoke token * test for T1880 - deletd token can't be used to post * fix comment * move methods to better place Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Fix menu rendering behind input box in RHS. (#7061) * [MM-27708] Disable Plugin on Removal (#6518) * [MM-30104][MM-30105] Fix up banners in payment_info and billing_subscription pages (#7063) * Fix up banners in payment_info and billing_subscription pages * Reset package-lock * Remove comment * [MM-27556] UI For new system roles (#6529) * Add translations * Basic skeleton without subsections visible * Allow roles to be saved and fix up styling * Dont allow sysadmins to be edited and dont allow self to be removed * Cleanup * Add translations * Save state properly * Update redux * Minor styling changes * Update redux * Bug fixes * Rename datagrid search to onSearch * Cleanup * UX fixes * Fix snaps * Forgot to check this in * Fix console error * Fix snaps * Expand by default if mixed access * update package json files * address PR comments * update redux hash * update redux hash * make disabled * add set navgiation blocked * Fix hash * make necessary changes * make read only admin editable * update function name * fix type check * fix lint issue * udpate redux hash * update search * update snap test * fix set navigation blocked after save * make conditional rendering for system manager * fix linting * go back after saving successfully * updat redux hash * Add Beta Tag Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * [MM-20428] Migrate terms of service to Typescript (#6965) * First pass * Added types everywhere * Fixed ESLint warnings and errors * Fix incorrect import * Updated snapshot * PR review feedback Co-authored-by: Christophe Carpentier <christophe.carpentier@imascap.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29621] Only load the stripe library when cloud components are actually rendered (#7067) * Only load the stripe library when cloud components are actually rendered * Use proper return type * Remove async * MM-20412: Migrate 'components/channel_header_mobile/show_search_button' module to TypeScript (#6969) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM 20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript (#6976) * MM-20404 * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix lint * MM-20404 Migrate 'components/announcement_bar/version_bar' module and associated tests to TypeScript * fix linter Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27229 - Cypress/E2E: Automate backlogs - BOT Accounts - Part 06 (10 test cases) (#6772) Co-authored-by: Prapti <praptishrestha@gmail.com> Co-authored-by: Caleb Roseland <caleb@calebroseland.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * migrate refs icon_url. #15801 (#6754) Automatic Merge * [GH-16035] Migrating refs plugin_management.tsx (#6866) Automatic Merge * [MM-29515] Hide imports tab when in cloud installation (#7069) * Hide imports tab when in cloud installation * fix types and linter * Revert package-lock to master * Make isCloud optional * MM-T446 DM More... searching from page 2 of user list (#7054) * wip * wip * revision * selector fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * DOPS-243 (#7075) DOPS-243 (#7075) * [GH-13483] Migrate 'components/channel_invite_modal' module and associated tests to TypeScript (#6968) * [WIP] migration to typescript * [WIP] further typescript changes * finalized move of component to typescript * [WIP] move index file to typescript * updated test to typescript * fix for types in index file * removed failing class import * [No Ticket] Update to latest redux hash and fixing test cases with missing types (#7084) Automatic Merge * [MM-27154] Cypress tests: Incoming Webhooks (#6977) * Incoming webhooks cypress tests * Remove unused variable * PR feedback * add license * PR feedback and lint * fix import path Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> * fix failing tests due to announcement bar (#7077) * MM-27315 Cypress tests for Integrations > Slash command auto-complete (7 test cases) (#6909) * MM-30359: Cypress/E2E: Account Settings > Email (#7051) * MM-30359: Cypress/E2E: Account Settings > Email This PR automates the following test cases: MM-T2066 MM-T2067 MM-T2068 MM-T2069 MM-T2070 MM-T2071 MM-T2072 MM-T2073 https://mattermost.atlassian.net/browse/MM-30359 ```release-note NONE ``` * fix lint * add the other tests * Address review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-T561] Add e2e test for MM-T561 (#7015) * Add e2e test Add test for: Browser tab and team sidebar - direct messages don't add indicator on team icon in team sidebar (but do in browser tab) Github Issues: Fix https://github.com/mattermost/mattermost-server/issues/15700 Jira Ticket: MM-T561 * Apply suggested review * Add cleanup for MM-T560_2 * Linting * Separate test file * Linting * Add prerequisite * Rename file * Remove old test Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28255] Add tests for OAuth Apps (#6558) * Add tests for OAuth Apps * Add remaining tests * Update test names, fix typos and add explicit status codes * Add group and license check * Move tests to enterprise folder Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-29858: Migrate string refs to functional ones in autosize textarea component (#6885) * MM-29858: Migrate string refs to functional ones in autosize textarea component * MM-29858: Rename reference instance variable with suffix Ref * MM-29858: Use camel casing for textarea reference variable * MM-29858: Allow empty value for textarea Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate errorMessage string ref (#6882) Automatic Merge * MM-T329 Image link preview (#7005) * wip * wip * finished * revision * remove log Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-28150] e2e: add MM-T924, MM-T928, MM-T929, MM-T930 (#7045) * e2e: add MM-T924, MM-T928, MM-T929, MM-T930 * reflect review comments Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30363: Cypress/E2E: Automate backlogs - Edit Bot Username (1 test case) (#7073) * MM-30373 - first iteration * MM-30377 - first iteration * remove spurious file * MM-30377 - further iteration * MM-30363 - first iteration * remove extra file * some cleanup * remoe extra space Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * promote and demote tests to/from prod (#7080) * Cypress/E2E: Fix toast appears unread spec (#7081) * change super to system (#7076) * MM-20418: Migrate 'components/channel_selector_modal' module and associated tests to TypeScript (#6975) * DOPS-243: Fix images (#7089) DOPS-243: Fix images (#7089) * MM-T439 Town Square is not marked as unread for existing users when a new user is added to the team (#7053) Automatic Merge * [MM-20582] Migrate 'components/admin_console/team_channel_settings/ch… (#6840) * MM-20465 Fix for collapse/expand of image preview (#7085) * The toggle function requires id and not post * This was most likely changed to fix a ts error * MM-20465 Revert usage of getCurrentChannel to getCurrentChannelId where possible (#7064) * [MM-29821] Prefer TypeScript files over JavaScript in webpack (#7090) * [MM-30317] add MANAGE_REMOTE_CLUSTERS permission (#7060) * add MANAGE_REMOTE_CLUSTERS permission * Update i18n/en.json Co-authored-by: Doug Lauder <wiggin77@warpmail.net> Co-authored-by: Doug Lauder <wiggin77@warpmail.net> * MM-20416: Migrate 'components/channel_header_mobile/collapse_lhs_button' module to TypeScript (#6971) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Remove Cloud billing flag from System Console (#7096) (cherry picked from commit 6c35b79ac663756b5e31f0b878531aabec68efd3) Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com> * Translations update from Weblate (#7100) * Translated using Weblate (Turkish) Currently translated at 100.0% (4390 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ Translated using Weblate (Turkish) Currently translated at 100.0% (4329 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (German) Currently translated at 90.4% (3915 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/de/ * Translated using Weblate (Korean) Currently translated at 80.1% (3468 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4328 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Russian) Currently translated at 95.0% (4113 of 4329 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ru/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4328 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 98.4% (4322 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 96.7% (4246 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4119 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 92.7% (4072 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 98.5% (4325 of 4390 strings) Translation: mattermost-languages-shipped/mattermost-webapp_master Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com> Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> Co-authored-by: Alexey Napalkov <flynbit@gmail.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> * Migrate 'components/announcement_bar/default_announcement_bar' module and associated tests to TypeScript (#6963) * rename file * working except for test file * restore unincluded test file to jsx * pass npm make check * update snapshot * respond to review comments * checkout package-lock.json * revert package-lock.json changes * fix linting errors Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Migrate this.ref.dotMenu to functional (#6957) * Migrate this.ref.dotMenu to functional * Fixed formatting * Fix reference * rename dotMenu to dotMenuRef for consistency with other PRs, remove comments * Removed blanked line to pass lint check Co-authored-by: root <root@DESKTOP-4IBHFV5.localdomain> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-20897 Add category muting (#7033) * MM-20897 Add ability to mute categories * Increase timeout to ensure test passes * Add E2E test for moving channels into muted categories * Update mattermost-redux to branch * Fix unit tests * Fix types * Update snapshot * asdf * Add additional E2E test and API client infrastructure * MM-24293 Fix to have group channels return in quick switcher with space (#7059) * MM-24293 Fix to have group channels return in quick siwchter with space * Split the search term by spaces and match with users in group channels * Update components/suggestion/switch_channel_provider.jsx Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Guillermo Vayá <guivaya@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * If card year is 0 return false for isExpired (#7101) * Converted 'dot_menu' to typescript. (#6825) * Migrate string refs of reset password modal (#7038) Automatic Merge * MM-20415 Migrate 'components/channel_header_mobile/unmute_channel_button' module and associated tests to TypeScript (#6972) * MM-30477 Fix for autocomplete not closing (#7093) Automatic Merge * MM-20897 Cleanup a couple missed issues (#7106) * MM-T638 Webhook posts when webhook creator is not a member of the channel (#7091) * wip * wip * wip * wip * added check * small fix * fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript (#6668) * [MM-20481] Migrate 'components/post_view/post_body_additional_content' module and associated tests to TypeScript Fixes https://github.com/mattermost/mattermost-server/issues/15460 JIRA: https://mattermost.atlassian.net/browse/MM-20481 * Make actions attribute non nullable * Require YoutubeVideo's postId property since it really is * Fix tests * Add stages for onprem * Add build-vars stage * set isDisabled prop for site > notices (#7103) Automatic Merge * [MM-27931][MM-30158] Multi-selection and dragging of channels (#6979) * [MM-27931] Multiselection of channels * Test fix * Lint fix * Change opacity of selected state to 0.24 * Added hover state for selected channels * Tests for multiSelect * Drag and drop working (without visuals, missing redux commit) * Multi drag and drop styles (fade the selected channels, might change) * Don't allow multisellected channels to be dropped where they shouldn't be * Lint, type, test, translation fixes * Allow dragging of non matching channel groups by rejecting the channels that don't match * Redux update * Another test fix * Fixed selected count style to work off of center channel exclusively * Added really obvious styling * Style change/PR feedback * Style change * Include active channel in all initial selections * PR feedback * Add constant for shifted index Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20572] Migrate 'components/admin_console/compliance_reports' to TypeScript (#13500) (#7036) Automatic Merge * MM-30087 Remove direct dependency between Client4 and Rudder (#7056) * MM-30087 Remove direct dependency between Client4 and Rudder * Update tests * Switch mattermost-redux to master * Fix missing types * Change how we mock and import rudder * Remove test that checks if events are sent to Rudder * [MM_20423]'external_image'module to ts (#16151) (#7025) - migrate ts index.js file - migrate ts for external_image.tsx - migrate ts for external_images.test.jsx Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com> * Fix issue 16144: migrate components/claim module and tests to TypeScript (#7043) Automatic Merge * MM-T2056 e2e to test, Username change reflecting for other users (#7074) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-26334] Fixes direct messages loading screen misalignment (#6813) Summary: Reduces the height of the loading screen so it is more centered and/or unintrusive(small screens) enough to remove the scroll bar during loading. Ticket Link: Fixes https://github.com/mattermost/mattermost-server/issues/15926 * Translations update from Weblate (#7122) * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Romanian) Currently translated at 93.8% (4121 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 98.9% (4345 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Translated using Weblate (Turkish) Currently translated at 100.0% (4392 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/tr/ * Translated using Weblate (Spanish) Currently translated at 97.7% (4292 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4341 of 4392 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net> Co-authored-by: aeomin <lin@aeomin.net> Co-authored-by: Kaya Zeren <kayazeren@gmail.com> Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> * MM-28153: Cypress/E2E: Automate backlogs - System Console > Environment (8 test cases) (#7049) * MM-30377: Cypress/E2E: Automate backlogs - Messaging > Channel and Post Links (6 test cases) (#7072) * MM-30355: Cypress/E2E: Automate backlogs - Account Settings > Username (6 test cases) (#7062) * MM-27208 Add tests for MM-T1684, MM-T1687, and MM-T1688 (#7124) * MM-27208 MM-T1684 Add test number to existing test case * Fix makeClient for requests without a body * MM-27208 MM-T1687 Add test for another user archiving a channel * MM-27208 MM-T1688 Add test for searching in archived channels * Translations update from Weblate (#7139) * Translated using Weblate (Spanish) Currently translated at 99.1% (4357 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/es/ * Translated using Weblate (Dutch) Currently translated at 98.8% (4344 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Dutch) Currently translated at 98.9% (4349 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.4% (4327 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Co-authored-by: Elias Nahum <elias@mattermost.com> Co-authored-by: Tom De Moor <tom@controlaltdieliet.be> Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com> * [MM-20498] components/post_view/combined_system_message' to TypeScript (#7109) * Added Initial Ts conversion to last_users and last_user_test * Converted combined system message * Completed all files conversion * Updated Snapshots * Minor fix * Minor Fixes * Minor Fixes * Migrate 'components/sidebar_right_menu' module to TypeScript (#6962) * Converted 'leave_channel' to typescript. (#7115) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-20581] Migrate index to TS in 'components/admin_console/team_channel_settings/channel/details' module (#6924) * mark browser.focused as false if starting in the background (#7050) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-27989 Remove experimental setting for data prefetch (#7094) Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com> * [MM-27207] e2e leave archived channels I - last (#7117) Automatic Merge * MM-30370: Cypress/E2E: Automate backlogs - Keyboard Shortcuts (10 test cases) (#7113) Automatic Merge * MM-30371: Cypress/E2E: Automate backlogs - Keyboard Shortcuts part 2 (10 test cases) (#7112) * temporary work * further iteration * further work * Address CR comments Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-29853] Migrate string-refs to functional ones: this.refs.fileInput (#7153) * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function * Update string refs to functional component based refs * Update this.refs.fileInput to this.fileInputRef react ref function Co-authored-by: lestgabo <lestgabo@gmail.com> * Fix display of boolean feature flags in system console. (#7156) * MM-30992 Add the capability to run part by part for Cypress parallel testing (part 1) (#7140) * add the capability to run part by part for Cypress parallel testing * update per comment and add default values * throw an error if --part is greater than --of * Cypress/E2E: Fix email verification that works both with current, Cloud and parallel testing (part 2) (#7142) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * update per comment * Cypress/E2E: Fix for several flaky tests (part 3) (#7143) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * Cypress/E2E: Fix tests for cloud (part 4) (#7147) * add the capability to run part by part for Cypress parallel testing * fix E2E email verification that works with cloud and parallel testing * add constants * fix flaky tests * fix tests for cloud * clean up label and flag * simplify log of license status and add log of server details * update per comment * fix return of Cypress custom commands (#7159) * [MM-30354] e2e fullname (#7126) Automatic Merge * Migrate to typescript Apps related files (#7021) * Migrate to typescript Apps related files * Use correct react-overlays types version * PR feedback * fix types * fix types * temporarily use any * remove unused import * Remove unneeded comments * Extract stringToNumber to utils * Fix minor warning on the console * Fix lint Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * MM-30972 Add proper padding to code preview line numbers (#7155) Automatic Merge * MM-28412: Add tm4j key (#7171) * [MM-26593] Disable pointer events on LHS scrollbar when scrolling isn't required (#7120) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Update NOTICE.txt (#7102) Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * MM-30376 Cypress/E2E: Automate backlogs - Messaging (8 test cases) (#7141) Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * [MM-30969] Drop aria-label from Marketplace item description (#7133) * Drop aria-label from Marketplace item description * Add general aria-label * Translations update from Weblate (#7182) * Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.8% (4383 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4344 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 98.9% (4346 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/pt_BR/ * Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4391 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (4393 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ro/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.2% (4356 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.1% (4356 of 4393 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/zh_Hans/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/ * Translated using Weblate (Dutch) Currently translated at 99.9% (4390 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/nl/ Translated using Weblate (Dutch) Currently translated at 99.2% (4359 of 4391 strings) Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL:…
Summary
change this.refs into React.createRef
Ticket Link
Fixes mattermost/mattermost#15621
Related Pull Requests
#5753