* 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
* 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 bdd113ee95.
* MM-54182 - add correct information to session table from mobile devices
* improve comments around helper function
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Refactor: Use generic to change func StringInSlice to Contains
* Refactor: Use generic to change func stringNotInSlice to Contains
Make utils.go (dir server/public/utils) and func Contains
* Refactor: Move func Contains from channels/utils to public/utils
Move func Contains from channels/utils to public/utils
Fix import declarations line
* Docs: Add a description of the Contains function
* Test: add TestContains
Add a test code for a Contain function
* 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
* 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>
* Adding SetFileSearchableContent plugin API endpoint
* Fixing CI problems
* Fixing CI problems
* Fixing CI problems
* Fixing CI problems
* Fixing CI problems
* Exposing it to the public API
* Fix CI problems
* Adding SetSearchableContent to the pluginapi File struct
* 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>
There was no check for embedded images which made "copy text" paste
the siteURL instead of the actual image content.
This does not change the behavior of actually rendering the image
which is how other sites behave as well.
https://mattermost.atlassian.net/browse/MM-49627
```release-note
NONE
```
* [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
* 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>