* make /ancillary a post
* remove get from client, fix tests
* remove GET for retrieving ancillary permissions
* Update permissions.yaml
* Update permissions.yaml
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Added a bunch of debugging logs for Elasticsearch index check
* Update server/channels/app/elasticsearch.go
---------
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
* add more fields to sanitizeInput on User
* add test for user sanoitizeInput
* add more fields
* remove line, lint fix
* additional fields and sanitize update
* Update user_test.go
* remove fields that are unnecessary to check
* add check to test
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* A bunch of refactoring to simplify things
* Unifged getUnreadScrollPositionPreference selector
* Unifed a selector
* Unifed a selector
* Renaming currentUserId to userId
* Renaming currentUserId to userId
* Fixed a typo
* MM-59416 Only request notification permissions from the browser once per session
* MM-59416 Don't request notification permissions when we already have them
* Address feedback
Co-authored-by: Daniel Espino García <larkox@gmail.com>
* Fix bad merge
---------
Co-authored-by: Daniel Espino García <larkox@gmail.com>
* Unify advanced create post and advanced create comment
* Re-add focus on mount prop and fix minor selector issue with get draft
* Address feedback
* Some merge fixes and some comments addressed
* Remove tests
* Fix tests
* Address feedback
* Fix formatting bar spacer and minor refactoring
* Fix remove upload from clean draft issue
* Fix types
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* MM-54856: fix issue with emoji position in edit post editor
* use useRef instead of useState
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Adding Do not disturb and remote user hour warnings
* Do not show the hour warning on your own DMs
* style tweaks
* Some fixes
* Linter fixes
* Updating snapshots
* Improving the robustness of this solution
* Some improvements on keeping up the hour in the interface
* i18n-extract and fix linter errors
* Removing colon where is not needed
* Removing the time from 6-7 to be shown
* Addressing PR Review Comments
* Changing the remote user hour icon
* Changing back to fill and not outline icon
* Addressing PR review comments
* Fixing the RHS showing this
* Removing unneeded check
* Fixing linter error
* Update webapp/channels/src/components/advanced_text_editor/do_not_disturb_warning.tsx
Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
* Addressing PR review comment
* adding consistency to show the DND and Late hours message
---------
Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
* Updated required role for user report page GET API
* Updated permission in error message
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Opened modal from system console
* WIP
* WIP
* WIP
* Handled saving user
* Successfully updated user based settings
* WIP
* WIP
* All settings are updating well
* Fixed modal style
* Added admin mode indicators in modal
* Added confirmation dialog
* Lint fixes
* Added license check
* Added permission check
* Fixed i18n file order
* type fix
* Updated snapshots
* Handled performance debugging setting
* Some styling tweaks
* Fixed text alighnment
* Updated license required from professional to enterprise
* Handled long user names
* review fixes
* Added manage setting option in user list page context menu
* Added loader
* Minor reordering
* Removed confirm modal
* Updated snapshots for removed modal
* Added some tests
* Lint fix
* Used new selector in user detail page
* Used new selector in user list page
* Updated tests
* Fixed an incorrect default test
Expanding on our ongoing efforts to enhance security, we are integrating container image scanning into the CI pipeline using Wiz.io
https://docs.wiz.io/wiz-docs/docs/github-pipeline
The policy defined, will be providing internal reports in wiz.io for our teams to review. Will not enforcing CI failure at this point.
* fixing scrollbar not showing when moving mouse over sidebar
* making scrollbar hidden by default and keep shown when hover over channel list
* updating sidebar_list snapshot
* Improve mocking of imported resources in unit tests
We have Webpack configured so that, when code imports an image or other resource, the code gets the URL of that image. Jest now matches that behaviour which is needed because React Testing Library would previously throw an error.
* Polyfill ResizeObserver in all unit tests
* Ensure haveIChannelPermission always returns a boolean value
The previous code could sometimes return undefined. While that should behave the same in practice, it can cause React to print prop type warnings
* MM-58535 Add region label to LCP metrics
* MM-58535 Upgrade web-vitals and add INP attribution
* Change new labels to use snake_case
* Remove replaceGlobalStore option from renderWithContext
I was going to add this in case any tests failed with this option set to false, but after running those tests, that's not the case. I'm going to remove this as an option since it seems more likely than not that anyone using RTL would prefer to have this on.