* refactor: convert channels/channel/ files to ts
- convert js files to typescript
- update types
- fix lint issues
Fixes: 21299
* fix: solve lint issues channels/channel
- fix lint issues
- udpate types
* fix: adjustment to test case MM-T1687
- code reorganization for test case MM-T1687
* fix: update types on function apiCreateCustomAdmin
- update types for apiCreateCustomAdmin on user.d.ts so that
lint issue is solved
* refactor: migrate collapsed_reply_threads to ts
- migrate collapsed_reply_threads e2e tests to typescript
- update matterpollPlugin plugin constant so that it matches
with apiUploadAndEnablePlugin argument
Fixes: #21296
* refactor: use PostMessageResp on channel_notifications_spec
- use type PostMessageResp
- convert cy.wrap to regular for loop
* refactor: update types on collapsed_reply_threads
- add missing types to variables
- update types on current variables
- remove unnecessary commands on following_spec.ts
* fix: solve issue with non callable function
- move wait call to next line
* refactor: remove functions from global scope
- keep functions as helper functions
- fix lint issue
After creating a remote cluster, we were using its token field to
generate the remote invite. As we're going to return that remote
cluster in the response, we sanitize the entity, emptying the token
field before generating the invite, and causing it not to contain the
token itself.
This changes store the token in an independent variable to avoid
mutating it as part of the sanitization.
Co-authored-by: Mattermost Build <build@mattermost.com>
* refactor: convert channel_moderation files to ts
- convert js files to ts
- update data types accordingly
- fix lint issues
Fixes: #21332
* fix: update argument type for visitChannel
- update type
- fix types issues
* refactor: change return type for getAdminAccount()
- change return type to getAdminAccount as UserProfile
* Fixed errcheck issues in server/channels/api4/ip_filtering.go
* Added separate go routine to SendIPFiltersChangedEmail and removed redundant return
* Added import for mlog
* Changed from returning error to logging it
---------
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
* Add query_param_action_controller, allowing actions to be performed based on query parameters when webapp is loaded
* Actually git add the new component
* undo changes to package-lock
* Change render to renderWithContext
* Move into channel_controller
* Fix tests
* Updates to RootRedirect component and redirectUserToDefaultTeam
* Grab another entry point
* Adjust font for title of no permissions modal, fix default text
* Fix linter
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* [MM-54021][MM-58736] Remove limit on loading channel members on initial load, reload members on reconnect, separate loading of members from channels on initial load
* PR feedback
---------
Co-authored-by: Mattermost Build <build@mattermost.com>