When an admin clicks on a link to a private channel they're not a member of, this crashed the app by incorrectly trying to render a Channel object instead of its name
* MM-52993_expose enable user statuses to client and prevent statuses fetch when disabled
* modify the logic, add selector, add unit tests
* implement PR feedback
* fix unit tests
* remove client console warnings
* remove another unnecessary call if the flag is disabled
* fix merge conflicts
* trial commit
* [MM-56172] Integrate fetching and sorting of user reporting into the table component (#25749)
* inint
* lint
* Update system_users.test.tsx.snap
* cypress test fix
* added pkg
* revoke sessio into new compo
* Update system_users.test.tsx.snap
* trans
* more disable
* rename
* Update system_users_dropdown.test.tsx
* snap
* Delete system_users_list.test.tsx.snap
* Create system_users_list.test.tsx.snap
* Delete system_users_list.test.tsx.snap
* name2
* start removing the filter from the list
* more clean
* snaps
* Update package-lock.json
* des
* Update index.scss
* Update system_users_list.tsx
* Update system_users_list.tsx
* Update system_users.tsx
* Update system_users_list.tsx
* Update index.scss
* menu
* action menu
* split
* Update system_users_list.tsx
* Update system_users_list_new.tsx
* fix
* Update en.json
* temp remove
* Update system_users.test.tsx.snap
* Delete system_users_list.test.tsx.snap
* Update en.json
* ch
* move
* a
* Update en.json
* fix
* Update system_users.test.tsx.snap
* Update menu.tsx
* Update admin_header.tsx
* changes in the file system
* fixes
* integration begin
* lint
* Update rhs.ts
* upper pagination
* Update list_table.scss
* pinned
* more a11y
* Update list_table.scss
* i18n mor
* design changes
* descriptions
* lint
* loading states
* fix
* actions update
* index fix
* single action
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* [MM-56467] Clear up unused code of old systems users (#25855)
* ccc
* Update en.json
* [MM-56478] Improve the user loading in user details page after changes in users list page in admin console (#25861)
* init
* tem
* more fix
* handlers clear up, team's fixes
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Merge'd
* [MM-56279] Add paging to user list (#25863)
* Update system_users.tsx
* Update system_users.tsx
* [MM-56270] Hook up user actions menu, refactor modals to work with new menuing style (#25897)
* Hookup menu items and modals
* Add error handling, test fixes
* Ensure modals animate properly
* Add a bunch of TODOs around keeping the user data up to date
* Fix i18n and snaps
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* [MM-56263] Enable selective column hiding for users table (#25898)
* [MM-56539] Revisiting the design of the total users count on the left and in pagination in users table (#25947)
* default sort order
* default sort order (#25956)
Co-authored-by: Mattermost Build <build@mattermost.com>
* [MM-56267] Add search term filtering (#25952)
* Include search term with request
* Update user count with filtering
* Oops
* Add 500ms debounce to avoid spamming server with requests
* PR feedback
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* [MM-56398] Add date range filter to user reporting table (#25974)
* WIP
* Some small adjustments
* Two fixes
* PR feedback
* Remove menuitem
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Merge'd
* [MM-56615] Add messaging for MySQL instances around the post stats (#26036)
* [MM-56261] Add export modals and hook up button to user management screen (#26015)
* [MM-56576] Update users when actions occur and show errors when actions fail (#25951)
* [MM-56576] Update users when actions occur and show errors when actions fail
* Forgot the else
* PR feedback
* [MM-56617] Move action modals to ConfirmModalRedux
* Add filters popover to the users admin table (#26042)
* int
* 0 zeros
* dd
* re
* file move
* Update system_users_filter_popover.scss
* a
* Update system_users_filter_popover.scss
* role and status
* fix
* Update index.test.ts
* overlay
* Update dropdown_input.tsx
* i
* Update en.json
* done
* Update en.json
* dd
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Make column toggler column menu items consistent with table column names
* Couple typo fixes
* Fix i18n
* some e2e related changes
* Fixed issue where you couldn't queue multiple batch export jobs
* Fix id tag
* table header mis allignment issue solved
* [MM-56727] Fix a TODO, fix Demote to guest should only appear when enabled
* rev comments
* Stop sending down all profile data
* chore(e2e): Fix tests cases for new user Management ui (#26089)
* chore(e2e): Fix lint issues in cypress tests
* chore(e2e): Fix e2e tests
- user_management_spec
- authentication_method_spec
* [MM-56710] Revert to in-memory compilation of CSV report
* Update system_users.tsx
* Merge'd
* Fix test
---------
Co-authored-by: M-ZubairAhmed <m-zubairahmed@protonmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
* Remove unused setFirstChannelName action
* Remove makeOnMoveHistoryIndex
* Remove selectPostFromRightHandSideSearchByPostId
* Remove selectPostAndParentChannel
* Remove searchMoreChannels
* Remove fetchRemoteListing
* Remove sendGenericPostMessage
* Remove unused version of periodic status update code
* Remove unused code around non-global items in storage
Either pre-Redux or early in our usage of Redux, I think this code was
meant to let us store things in localStorage on a per-user basis. If we
ever used it, it hasn't been for a while now.
* Remove unused loadProfilesAndStatusesInChannel action
* Remove collapseCategory and expandCategory
* Removed unused actions from mattermost-redux/actions/channels
* Remove unused getDataRetentionPolicy action and state
* Remove unused getWarnMetricsStatus action
* Remove unused getFirstAdminVisitMarketplaceStatus action
* Remove unused getReactionsForPost action
* Remove now-unused state.entities.posts.selectedPostId
* asdf marketplace stuff in general
* Remove unused makeDirectChannelVisibleIfNecessary and makeGroupMessageVisibleIfNecessary
* Remove old searchFiles action
* Remove unused search actions
* Remove non-graceful addUsersToTeam action
* Remove unused version of joinTeam action
* Remove unused updateTeamMemberRoles action
* Remove another unused verison of the periodic status update code
* Remove unused getUserAccessTokens action
* Fix linting
* Remove unit tests involving recent search results
* Fix another test
* [MM-54745] Fixing inconsistent styles for menu items in profile/account menu
* [MM-54745] Updating the snapshot tests
* [MM-54745] Set a custom status text made to display with full opacity
* [MM-54745] Fixing the CI pipeline lint issues
* [MM-54745] Fixing a few more linter issues blocking the build
* [MM-54745] Fixing type check issue for color parameter
* [MM-54745] ESlint issues for import statements and alignment of closing brackets
* [MM-54745] Updating snapshots and fixing minor ESLint issues on the way in the test file
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Remove remaining usage of GenericAction in mapDispatchToProps
* Remove usage of GenericAction when testing initial state
* Remove usage of GenericAction from reducers
* Remove GenericAction
* Remove non-functional code from Login component
* Remove remaining usage of useDispatch<DispatchFunc>
* Remove usage of DispatchFunc from actions/file_actions
* actions/global_actions
* Remove usage of DispatchFunc from actions/marketplace
* Remove DispatchFunc from actions/post_actions
* Remove DispatchFunc from actions/storage
* Remove DispatchFunc from actions/user_actions
* Remove DispatchFunc from actions/views/channel
* Remove DispatchFunc from actions/views/channel_sidebar
* Remove DispatchFunc from actions/views/create_comment
* Remove DispatchFunc from actions/views/lhs.ts
* Remove DispatchFunc from actions/views/rhs.ts
* Remove DispatchFunc from actions/views/onboarding_tasks
* Remove DispatchFunc from actions/views/root
* Remove DispatchFunc from components/logged_in
* Remove DispatchFunc from components/msg_typing
* Remove DispatchFunc from components/permalink_view
* Remove DispatchFunc from components/suggestion
* Remove DispatchFunc from mattermost-redux/actions/posts
* Remove DispatchFunc from mattermost-redux/actions/roles
* Remove DispatchFunc from mattermost-redux/actions/threads
* Remove DispatchFunc from mattermost-redux/actions/timezone
* Remove DispatchFunc from plugins/products
* Make DispatchFunc into Dispatch
* Fix how dispatch is mocked in test for toggleSideBarRightMenuAction
* migrating team_channel_settings/group/index.js to .tsx
* fixing CI/Lint issues
* Fixed eslint issues, changed Props export and usage structure in index.ts and group_list.tsx
* Remove empty array in getData call
* Update promise to void in AbstractList and response to unknown Group | Team
* remove bindActionCreators and dispatch Type from team_channel_settings/group/index.ts
---------
Co-authored-by: Kapil Dutta <duttakapil@Kapils-MacBook-Pro.local>
Co-authored-by: Mattermost Build <build@mattermost.com>
* Only use RhsSuggestionList for RHS advanced text editor
- Prevents issues with suggestion list growing downwards on the post editor on small screen sizes
* Makes RhsSuggestionList grow using different breakpoints for mobile
- Allows RhsSuggestionList to flip directions at smaller breakpoints than desktop
- Adds new Constant MOBILE_SUGGESTION_LIST_SPACE_RHS
---------
Co-authored-by: Nathan Geist <ngeist@spiria.com>
Co-authored-by: M-ZubairAhmed <m-zubairahmed@protonmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
* Update text for activated users in team statistics
* Fix lint
* Generalize tooltip and make it show according to the designs
* Fix lint
* Fix test
* Generalize even more overlay trigger
* Update snapshot
* Update link
* Adjustments to cloud annual renewal announcement bar
* Add exclusion for trials
* Add more exceptions for when on trial during renewal period
* Add support for simulated_current_time_ms
* A few more changes to allow us to test this post-merge
* Fix tests, pipeline
* Final fix around emails
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Remove t function from schema_admin_settings
* i18n
* Fix import
* Use always string or descriptor and more improvements
* i18n-extract
* Remove t function for roles
* Remove more t functions
* Address feedback
* i18n-extract fix
* Fix tests
* Fix tests
* Remove translation of team edition notice
* Remove unexpected file in the commit
* Address feedback
* Fix search in admin console
* Fix test