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

2954 Коммитов

Автор SHA1 Сообщение Дата
Claudio Costa
db139627ff [MM-54494] Update selector to get profiles connected to calls (#24544)
* Update selector to get profiles connected to calls

* Clean plugin version
2023-09-14 15:23:18 -06:00
Harrison Healey
0fb6e5169d Move logic to track mobile view into its own component (#24272)
* Move logic to track mobile view into its own component

* Address feedback
2023-09-14 17:02:31 -04:00
Ben Cooke
bc4904e5b3 MM-54123 Add group to channel (#22954)
* adding group members to channel initial commit

* adding group to channel functionality along with add new team members

* fixing circular dependency

* fixing e2e and other optimizations

* adding e2e tests for adding group members to channels

* cypress lint

* fixing comments

* adding count to button

* improvements

* adjusting some stuff from PR comments

* remove ability to add user to team, update message for non-team members

* remove adding to team from add groups functionality

* update misspelled variable

* lint and unit test fixes

* add tests, cleanup

* lint fix

* revert package-lock.json

* fixes for cypress tests

* rename TeamInviteBanner to TeamWarningBanner, since invites are no longer allowed

* update for warning

* lint fixes

* cleanup

* fix failing e2e tests

* update messages to not use markdown

---------

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-14 08:43:44 -06:00
Scott Bishel
4929fde3d3 update text (#24531)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-14 07:57:56 -06:00
Harrison Healey
4d37aad678 MM-53524/MM-53525 Clean up post textbox measurement (#23973)
* Don't always render post textbox preview in background

* Remove most usage of custom-textarea--emoji-picker

This class is only needed by the pre-AdvancedTextEditor usage of the
Textbox. It otherwise conflicted with the code that controls the
AdvancedTextEditor's right padding

* Change right padding for post textbox to use CSS class

* Remove AutosizeTextarea.recalculatePadding

This was only needed because we started setting the padding of the
textarea programatically at some point. Originally, we could rely on
the reference textarea having the same styling because it had the same
CSS class as the actual textarea.

* Change reference textarea to a div

Using an actual textarea to measure the size of the text doesn't allow
us to measure the width of the text because textareas don't stretch to
fit text. Using a div with the same styling as the textarea works though

* Remove redundant measuring div from AutosizeTextarea

* Update snapshots for AutosizeTextarea

* Fix padding being counted twice when measuring width

* Change AutosizeTextarea to use a ResizeObserver to be more responsive

* Fix right padding on post preview

* Disable transitions when AutosizeTextarea first measures

* Fix measurement of trailing newlines

* Revert "Disable transitions when AutosizeTextarea first measures"

This reverts commit a036fdbfd64e49af9a2eaa3d3e06a5af453b1a5c.

* Revert "Change AutosizeTextarea to use a ResizeObserver to be more responsive"

This reverts commit c8fa4a19bde087a0fe80e3639aed2f3ae2eae04a.

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-13 18:05:43 -04:00
Devin Binnie
c53b5f7b2b [MM-54440] Add link to notification docs in the Settings modal (#24538)
* [MM-54440] Add link to notification docs in the Settings modal

* Fix i18n

* PR feedback
2023-09-13 09:19:09 -04:00
M-ZubairAhmed
19b843cf24 MM-54404 : E2E tests for the Gif picker (#24486) 2023-09-13 11:58:35 +05:30
Ben Schumacher
7e0d9110ed Add defensive code to makeGetPostsInChannel to avoid panic (#24510) 2023-09-12 11:04:16 -04:00
M-ZubairAhmed
6109330beb MM-54458 : Refactor playwright test with app areas (#24527) 2023-09-12 16:35:07 +05:30
Agniva De Sarker
c887381318 MM-53736: Compliance export button state fix (#24488)
In system console > compliance export, if we set the radio button
from false to true. It would enable the "Run export now" button
as well. This would actually allow the user to create a job
without enabling compliance export.

As a result, there would be a job entry which would never run
because the config setting was never enabled.

To fix this, we don't enable/disable the button until the config
is actually saved.

https://mattermost.atlassian.net/browse/MM-53736
```release-note
NONE
```

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-12 10:08:09 +05:30
Carrie Warner (Mattermost)
092a115c52 Clarified in-product hint text (#24490) 2023-09-11 17:01:14 -04:00
Sinan Sonmez (Chaush)
71fb10ae7a MM-54260: In Browse Channel Modal fix member count on private channels and when there is only 1 member in the channel (#24452) 2023-09-09 14:47:06 +05:30
M-ZubairAhmed
060a63a3ed MM-53478 : Improve design of keyword that trigger notification (#23934) 2023-09-09 14:45:50 +05:30
Harrison Healey
86689b7ee6 MM-54399 Move resizable sidebar handles to not overlap scrollbars (#24491)
* MM-54399 Move resizable sidebar handles to not overlap scrollbars

* Disable RHS resizing in mobile view

* Fix snapshots

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Devin Binnie <devin.binnie@mattermost.com>
2023-09-08 11:50:47 -04:00
Christopher Poile
4022d2e762 MM-54443 - Fix: registerDesktopNotificationHook is missing (#23884) (#24497)
(cherry picked from commit 46a659e06d)
2023-09-08 08:16:26 -04:00
Devin Binnie
01cf4b459f [MM-54402] Change protocol transform method for Desktop Auth to be compliant with web standards (#24479) 2023-09-07 09:03:39 -04:00
Nick Misasi
fcfcbd9909 [CLD-6219] Add Company Name field to Purchase Modal (#24428)
Automatic Merge
2023-09-06 23:27:35 +03:00
M-ZubairAhmed
b540ed5d30 Remove leftover Gitlab CI files (#24472) 2023-09-06 23:45:48 +05:30
Daniel Espino García
d13429aa92 Enable import order (#24091)
* Enable import order

* Add new order groups and add consistent-type-imports

* Remove types group, move react to top and fix issues

* Add store and reducers to the redux group and move imports from types folder to the end

* Fix tsc

* Remove react rule

* Fix test

* Fix eslint disable
2023-09-06 12:51:55 +02:00
M-ZubairAhmed
bac317dfe5 MM-54181 : Clean up code around deprecated Gfycat (#24343)
* first pass of removal

* first pass of removal

* Update admin_console.js

* rev beta

* remove more

* Update initial_state.ts

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-05 16:40:37 -04:00
Harrison Healey
0338ec8fdc Update subpackage versions to 9.1 (#24445) 2023-09-05 15:19:55 -04:00
Scott Bishel
f4b58d602b update video link (#24433) 2023-09-05 08:45:35 -06:00
AsisRout
947f71ae74 MM-53945 : Server logs page shows incorrect message "No channels found" (#24281) 2023-09-05 13:58:04 +05:30
abhinav700
5443f9d371 MM-47110 : Migrate "components/advanced_create_comment/advanced_create_comment.test.jsx" to Typescript (#24257) 2023-09-04 14:15:00 +05:30
Harshil Sharma
4dfe790a72 Fixed a bug where unread badge was hidden in LHS (#24440) 2023-09-04 09:43:51 +05:30
Amy Blais
d2ce252cf5 Update NOTICE.txt (#24426)
* Update NOTICE.txt

* Update NOTICE.txt

* Update NOTICE.txt

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-01 12:32:06 -04:00
Pablo Andrés Vélez Vidal
7a0c7a5f3f MM-53639 - fix firefox not detecting non-formatted paste action on ctrl|cmd+shift+v (#24384)
* MM-53639 - fix firefox not detecting non-formatted paste action on ctrl+shift+v

* cover ctrl + cmd keypress

* port the changes to advance create comment component

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-01 12:30:31 -04:00
Harrison Healey
3828446abd Update version of JS subpackages to 9.0.0 (#24438) 2023-09-01 12:25:16 -04:00
Harrison Healey
b17daf79b1 MM-49393 Remove Utils.isMobile (#24271)
* Switch Utils.isMobile to getIsMobileView in most places

* Copy Utils.isMobile into menu widgets

* Actually remove Utils.isMobile

* Remove pointless checkAndSetMobileView action

* Fix incorrect import of UserProfile

* Fix unit test
2023-09-01 12:20:45 -04:00
Harrison Healey
47e18ea829 MM-49393 Remove more code from utils.tsx (#24266)
* Remove unused Utils.scrollbarWidth

* Remove pointless checkAndSetMobileView action

* Fix CommentedOn using un-connected version of UserProfile component

* Turn Utils.getMenuItemIcon into ActionsMenuIcon component

* Remove Utils.isPostEphemeral in favour of mattermost-redux version

* Remove Utils.getRootId and Utils.getRootPost

* Move Utils.compareChannels into ChannelSelectorModal

* Address feedback

* Revert "Fix CommentedOn using un-connected version of UserProfile component"

This reverts commit bdd113ee95c2490a79581f50141f125399875e70.
2023-09-01 11:56:23 -04:00
TheRealJoeFriel
831a7db73d MM-39161 : Show more recently used reactions in the RHS hover menu (#23937) 2023-09-01 09:16:26 +05:30
Ross Baquir
a2adc0e33e MM-54173 group mention punctuation (#24402)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-08-31 14:41:01 -05:00
Harrison Healey
f2fcf3d839 MM-53107 Add setting to limit the max number of markdown nodes (#24414)
* MM-53107 Add setting to limit the max number of markdown nodes

* Add extra validation for a couple config fields

* Add new setting to telemetry
2023-08-31 14:36:24 -04:00
Harrison Healey
c07b30c5b0 MM-54191 Change how menu item click handlers are triggered after menus fully close (#24335)
* MM-54191 Change how menu item click handlers are triggered after menus fully close

* Switch menu items to use onClick instead of onMouseDown

* Add unit tests for menu keyboard navigation and opening modals

* Fix missing use of useMenuContextValue

* Remove unneeded ?.

* Fix unrelated test broken by @testing-library/user-event update
2023-08-31 11:53:33 -04:00
Ben Cooke
2c6179a0a6 Restore previously archived groups (#22597)
* add ability to restore groups from the user group modal

* factory selector for groups to reduce number of renders across the app

* react window and infinite scroll for user groups

* adding archive groups to dropdown

* restore user group from the view modal

* component cleanup

* lint

* adding websocket for archiveGroup

* updating tests

* adding some tests and fixing types

* lint

* fixing broken test

* fixing snapshot

* fixing infinitescroll

* lint

* increasing max-height and updating snapshots

* fixing PR comments

* fixing case for button

* snapshot and translation

* fixing PR comments

* tiding up repition and creating new hook

* fixing tests

* add additional parammeter for call to getGroups()

* make sure popup is visible for all rows

* update text for admin console

* update css for lint

* fix edge cases found in review

* revert package-lock.json

* revert adding query to GetGroupsParam

* fixing lint

* change include_archived to false in team_controller

---------

Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-08-31 08:07:51 -06:00
Sinan Sonmez (Chaush)
53fc44e13a MM-46494: Add filter options to browse channel modal (#24099) 2023-08-31 08:37:41 +05:30
Harrison Healey
fd74208af1 Move .editorconfig to repo root (#24398)
* Move .editorconfig to repo root

* Add yaml formatting to .editorconfig
2023-08-30 16:29:07 -04:00
KyeongSoo Kim
61473efb93 MM-27936: Allow resizing the channel sidebar and right-hand sidebar (#23117)
* MM-27936: Resize sidebar

* separate sidebar related constants into different file

* reset style when sidebar expanded

* change not to save user_id when saving to local_storage

* prevent a separation between the rhs and the main center panel

* change variable name

* migrate to css-based paradigm

* delete unnecessary files

* update snapshot

* increase the resizable range

* fix transition

* Made RHS and LHS widths not be saved scoped by team

* scope cleanup

* fix lhs header menu ellipsis/tolerances

* fix lint

* remove a ref from a dependency

* return null instead of empty jsx

* return null when disabled

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
2023-08-30 15:34:48 -04:00
Devin Binnie
a3b194581f [MM-37984] Allow Desktop App to authenticate via external providers outside of the app on supported servers (#24140)
* [MM-37984] Allow Desktop App to authenticate via external providers outside of the app on supported servers

* PR feedback

* Add support for mattermost-dev protocol for development use

* Update server/channels/db/migrations/postgres/000110_create_desktop_tokens.up.sql

* Fix silly typo

* Update server/channels/db/migrations/postgres/000110_create_desktop_tokens.up.sql

* Remove storage of client token, only validate it on the client

* Update migrations

* Add concurrently create index

* Remove CONCURRENTLY for now

* Fix issue with changing history

* Remove old migration

* Use idempotent statement to drop old index

* Remove reference to old table
2023-08-30 11:21:43 -04:00
master7
105fa4a195 Translated using Weblate (Polish)
Currently translated at 100.0% (5655 of 5655 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/pl/
2023-08-30 15:30:26 +02:00
Matthew Williams
2f681d9a0e Translated using Weblate (English (Australia))
Currently translated at 99.9% (5654 of 5655 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/en_AU/
2023-08-30 15:30:26 +02:00
MArtin Johnson
a946fc1b7b Translated using Weblate (Swedish)
Currently translated at 100.0% (5655 of 5655 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/sv/
2023-08-30 15:30:26 +02:00
Coelho
17316e912c Translated using Weblate (Portuguese (Brazil))
Currently translated at 87.8% (4966 of 5655 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/pt_BR/
2023-08-30 15:30:26 +02:00
Deivison Lincoln
2acd91b3cc Translated using Weblate (Portuguese (Brazil))
Currently translated at 87.8% (4966 of 5655 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/pt_BR/
2023-08-30 15:30:26 +02:00
Jesús Espino
8c8b8b7e79 Add code block actions plugin extensibility (#24348)
* Add code block actions plugin extensibility

* Fixing tests

* Fixing linter errors

* Move Plugin components left of label

---------

Co-authored-by: Christopher Speller <crspeller@gmail.com>
2023-08-29 14:51:37 -07:00
Caleb Roseland
dbb39e44cc MM-54261: re-scope css to intended target (#24396) 2023-08-29 14:58:52 -05:00
Scott Bishel
f35291169c Add config setting to set default User Setting for filter join/leave message (#24047)
* initial submit, join/leave message

* i18n-extract

* additional changes for client config

* add unit tests

* fix unit tests

* change tests to use string not bool

* more unit test fixes

* add and fix unit tests

* revert package-lock

* update unit tests

* Update default_config.ts

* fix unit test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-08-29 12:30:16 -06:00
Harrison Healey
8235b5bb44 MM-53989 Upgrade to Node 18 and NPM 9 (#24283)
* MM-53989 Update to Node 18 and NPM 9

* MM-53989 Remove skip_integrity_check.js

* Force e2e-test/cypress to use its version of TS for types package

* Update .nvmrc

* Update .nvmrc lineending

* Update server.override.yml

---------

Co-authored-by: M-ZubairAhmed <m-zubairahmed@protonmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-08-28 14:37:05 -04:00
Scott Bishel
053041cd2c update help text (#24375)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-08-28 08:04:07 -06:00
Zubair Imtiaz
61dae292f7 [MM-53333] Modified the delete category modal to contain a cancel button #24290 (#24317)
* Added cancel button in the delete category modal

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-08-28 09:49:33 -04:00