* Assure most code dispatches selectPost to open RHS to a thread
* Add measurement of the time it takes to open the RHS
* Reduce unnecessary re-rendering of RhsThread
* Never use Jest's fake timers for the performance API
* Make constants for performance marks and measures
* Add missed constants
* Define rough code for PerformanceReporter
* Create a component to manage the PerformanceReporter
* Start adding tests for PerformanceReporter
* Add test for web vitals reporting
* Update schema to more closely match the API spec
* Collect marks as counters and further update structure of API payload
* Add some outstanding TODOs about the API structure
* Add counter for long tasks
* Add EnableClientMetrics without any System Console UI
* Have PerformanceReporter use EnableClientMetrics
* Have the PerformanceReporter only report results when logged in
* Add test for having PerformanceReporter fall back to fetch
* Stop logging errors for measurements failing
* Remove buffered from observer
* Remove the Mystery Ampersand
* Still record marks with telemetry actions even if telemetry is disabled
* Add timestamps to performance reports
* Reuse the new telemetry code for the old telemetry
* The second half of the last commit
* Use Node performance libraries in all tests
* Set version of PerformanceReport
* Switch to the proper version of EnableClientMetrics
* Remove TODO for unneeded field
* Add user agent and platform detection
* Updated metrics API route
* updated styles to include rounded corners and updated backgrounds/containers
* updated snapshots
* removed background from app bar top
* removed top padding from lhs
* updated name of container to better match the grid name in css
* fixed lint issue with css
* update snapshot
* adjusted padding/margin
* use radius variables
* remove margin and border radius from plabooks for now
* fixed tasklist
* minor tweaks to menus
* add global border variables and use in key places
* fixed grid issues with login page and backstage
* use border variable
* adjust padding in global header
* fixed type issues
* tweaks to spacing
* fixed margin issue on backstage
* fixed padding on global header
* minor tweaks to header and apps bar
* removed background from apps bar
* updates to header and app bar and team icon
* updated more borders and radii to use variables
* fixed style lint issue
* adjust letter spacing on category labels
* fix lint issue
* fixed position of popover
* address UX feedback
* Expose experimental audit log settings to sys console
* Add the rest of the config
* Add check for enterprise sku
* Update string to include a note about being required given another setting
* gofmt
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Initial version of make more evident the mattermost edition used
* Updating tests
* Adding i18n strings
* Fixing css property order
* tweaks to badge and use proper MM logo svg
* update snapshot
* update language, tweaks to menu trial block
* fix style lint issue
* tweak letter-spacing
* fix lint
* update language
* Removing trial related info from the main menu, and simplifying showing the license
* Applying proposed changes
* Fixing linter errors
* Fixing tests
* Updating i18n strings
* fixing some styles and a bug
* Fix linter error
* updated login css and fixed lint issue
* Moving to styled components the Free edition badge
* Fixing linter error
* Addressing PR review comments
* Removing old snapshot
* Addressing PR review comments
* Fixing linter errors
---------
Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
* [MM-57407] Add setting to disable the wake up on reconnect handler
* Add dependency
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Deprecate Self Serve: First Pass
* Fix ci
* Fix more ci
* Remmove outdated server tests
* Fix a missed spot opening purchase modal in Self Hosted
* Fix i18n
* Clean up some more server code, fix webapp test
* Fix alignment of button
* Fix linter
* Fix i18n server side
* Deprecate in product true up
* Add back translation
* Remove client functions
* Put back client functions
* webapp deprecation
* Deprecate Self Serve: Second Pass
* Fix various pipeline issues
* Fix linter
* Fix pipelines
* Fix handlers_test.go
* Fix console.error around hostedCustomer in reducer
* PICKY LINTER PLEASE
* Fix webapp tests, various other fixes for the CI pipelines
* Fix i18n
* Updates to accomadate enterprise code removal
* Fix mocks
* More removal
* Fix
* Adjustments from PR
* Fixes for QA Feedback
* Update
* Add migrations to remove true up review history
* Fix migrations check
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: maria.nunez <maria.nunez@mattermost.com>
* [MM-58070] Ensure the batched post handler also send websocket acknowledgements
* Add ack for missing root post error
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* MM-57320 Fix autocomplete occasionally erasing all text after caret
* Change makeHandleReceivedSuggestionsAndComplete to only allow complete word to be called once
* Actually do what the last commit said
* Print & Return errors using multierror if an error happens
* Group up errors assertion in test
* Remove trailing newspace
* Remove WrappedErrors loop
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
We were setting the user status to offline without
checking for connections on other nodes in a cluster.
Now we implement a request-response mechanism for the whole
cluster and we check that before setting a user to offline.
https://mattermost.atlassian.net/browse/MM-57153
```release-note
Fix a bug where the user status would incorrectly be set to offline
without checking for connections in other nodes in an HA cluster.
```
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
Now we throw an error if the server is in HA. This is
because there is no guarantee that the server where the
request lands has access to the file locally.
https://mattermost.atlassian.net/browse/MM-57997
```release-note
NONE
```