* added unit tests for UpdateUserCustomStatus and RemoveUserCustomStatus functions
* stylistic improvements in status endpoint tests
* linting fix
---------
Co-authored-by: Fume <contact@fumedev.com>
* MM-60222_apply filter to export csv
* get the report exporting with the filters ready
* add unit tests
* cover one more file with some tests
* style the confirm modal note
* add translations
* remove unnecessary print line
* disable export button if there is no data to export
* fix linter issues
* fix linter errors
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* added basic unit tests for team_groups_manage_modal
* removed errorenously added getIntlMock from test_helpers
* added additional general tests
* updated test suite
* updated snapshot update using jest
* fixed minor linting problems
* fixed unintended snapshot changes
* modified test case to wait for element removal
* Split up handling of permalinks and other links in getLinkMetadata
* MM-60351 Use oEmbed for YouTube links
* Explicitly request json from the oEmbed provider
* Fix linter
* Fix type of CacheAge field
* Address feedback
* Update LICENSE.txt to reflect new paths
Various paths changed after last year's monorepo transition. Update our
license to reflect these, and simplify to reference all of the public
module (already under the Apache 2.0 license).
* fix apparent typo in AGPL license version
* Changed the class component to functional
* Updated the tests for latex_inline
* Updated the snapshots and tests
* Updated the tests, snapshots and changed div to span
* Updated snapshots and tests
* used renderWithContext instead of render in tests
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
Setting the flag to false never worked, and it was never
caught because there wasn't an instance when this method
was called with allowFromCache=false.
https://mattermost.atlassian.net/browse/MM-60606
```release-note
NONE
```
We sprinkle a bit of generic magic to refactor a lot
of duplicate code.
To avoid exposing unnecessary code, I duplicated the function
twice. But let me know if you have strong opinions about this.
https://mattermost.atlassian.net/browse/MM-60171
```release-note
NONE
```
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* Change localizeAndFormatMessage to take a MessageDescriptor
* Change localizeMessage to take a MessageDescriptor as a parameter
* Update mmjstool to support new localizeMessage signature
* Change mmjstool commit back to master branch
* Add descriptions to test cases for getNeededAtMentionedUsernames
* MM-59854 Load users who are at-mentioned in message attachment fields
* MM-59854 Add server support for at-mentioning users in message attachment fields
* Migrate support/external_commands from JS to TS
* MM-59584 Ensure that at-mentions never show in other message attachment fields
* MM-59584 Add E2E tests for how we load users based on at mentions
* Use new E2E test helpers in other places
* Update snapshots