Commit Graph

17077 Commits

Author SHA1 Message Date
Daniel Espino García
283abbe704
Fix scrollbar color on Chrome (#23815)
* Fix scrollbar color on Chrome

* Address feedback
2023-06-26 11:27:33 +02:00
Harshil Sharma
fc684cf84a
Made emoji size in scale with text size in channel header (#23743) 2023-06-26 13:13:47 +05:30
Christopher Poile
936e388aac
MM-53310 - Calls: Normalize sound volumes (#23840) 2023-06-23 14:49:43 -04:00
Christopher Poile
4e64590564
MM-52857 - Expose webapp and desktop notifications to plugins (#23779)
* prevent media keys from controlling calls ring sounds

* stop ring on pause

* expose notifyMe as sendDesktopNotificationToMe

* Revert "stop ring on pause"

This reverts commit 83d62ad02d.

* Revert "prevent media keys from controlling calls ring sounds"

This reverts commit 6d4ff63936.

* move into WebappUtils

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-23 14:29:59 -04:00
Felipe Martin
cad2df1259
[MM-52943] fix: enable Elasticsearch properly on restart (#23806)
* fix: enable elasticsearch properly on restart

* use correct method under IsEnabled

* Empty-Commit to retrigger workflow

---------

Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-23 14:59:56 +02:00
Christopher Poile
9bc22b633f
MM-53222 - Fix: Calls Ringing sometimes controllable with media keys (#23775)
* prevent media keys from controlling calls ring sounds

* stop ring on pause

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-23 08:22:39 -04:00
Ben Schumacher
fe8d66bc98
[MM-53254] Fix make pluginapi (#23803) 2023-06-23 12:24:52 +02:00
Muxing Lin
fece5d5dd2
[MM-23413] : Migrate "components/list_modal.test.jsx" to Typescript (#23655) 2023-06-23 03:08:03 +05:30
Muxing Lin
c1eb9c01ab
[MM-23412] : Migrate "components/file_preview_modal/image_preview.test.jsx" to Typescript (#23670) 2023-06-23 03:07:24 +05:30
Muxing Lin
66663d13bc
[MM-23412] : Migrate "components/integrations/installed_outgoing_webhook.test.jsx" to Typescript (#23768) 2023-06-23 03:06:40 +05:30
Harrison Healey
8056be1d16
MM-53250 Revert changes to target browser in Babel config (#23817)
* MM-53250 Change supported version of Safari to 15.x

* Update unit tests

* Revert changes made to unsupported browser page

* Rollback targetted browsers in Babel config

* Update snapshots
2023-06-22 16:45:38 -04:00
Harrison Healey
5a540ea23e
MM-53164 Batch adding multiple custom emojis when making a post (#23822) 2023-06-22 15:41:43 -04:00
Christopher Poile
a7bf602478
MM-53274 - Add a "feature flag" for Calls ringing (#23810)
* add "feature flag" for calls ringing

* tests
2023-06-22 15:40:54 -04:00
Nitin Suresh
bea5b05533
[MM-52843] : Migrate "components/admin_console/bleve_settings.jsx" and tests to Typescript (#23527) 2023-06-22 23:52:30 +05:30
Tejas Karelia
5261c8266d
[MM-52851]: Migrate "components/channel_notifications_modal/components/extra_info.test.jsx" to Typescript (#23684) 2023-06-22 23:50:56 +05:30
M-ZubairAhmed
b9cd2a9814
MM-49368 : Pasting non plain text clears undo history of Textbox (#23535) 2023-06-22 23:33:03 +05:30
M-ZubairAhmed
ba4dc1a91c
Improved handling of onClicks for menu items (#23749)
mattermost.atlassian.net/browse/MM-52994
mattermost.atlassian.net/browse/MM-53007
mattermost.atlassian.net/browse/MM-51728
mattermost.atlassian.net/browse/MM-52758
mattermost.atlassian.net/browse/MM-53227
2023-06-22 22:43:41 +05:30
Scott Bishel
644381b35e
MM-53092 Fix for Updating SysAdmin user. (#23750)
* check retrieved user for role and permissions

* add unit tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-22 10:40:21 -06:00
Nitin Suresh
f333085f8a
[MM-52844] : Migrate "components/admin_console/push_settings.jsx" and tests to Typescript (#23616)
* migrate bleve_settings and tests to typescript

* fix linter issues

* update JobType type definition

* migrate push_settings to typescript

* add tests

* update to general type, fix test

* fix failing test

* Merge branch 'master' into fix-for-issue-23416

* update snapshot

* revert unwanted changes

* revert unwanted changes

---------

Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-22 17:54:36 +02:00
Harshil Sharma
178dbb9f95
Added debug log for missing post id in embedded permalink (#23790)
* Added stricter checks for accessing other post embed data

* Added debug log

* Removed unused import

* lint fix
2023-06-22 11:36:12 +05:30
Asaad Mahmood
2788c883b0
MM-51984 - Fixing footer bar in system console (#23730)
* MM-51984 - Fixing footer bar in system console

* removing max height
2023-06-21 18:34:56 +02:00
mattermod
fcf7acdefa Update latest version to 7.10.3 2023-06-21 13:53:32 +00:00
Amy Blais
fcafa6211f
Update version.go (#23811)
Automatic Merge
2023-06-21 15:17:28 +03:00
Alejandro García Montoro
ffb869a6df
Skip ESR CI in master (#23807)
* Skip ESR CI in master

* Skip on pull requests as well

* Add comment with ticket link
2023-06-21 10:06:12 +02:00
Matheus
d12812b6f3
add & to chars that must be treated as spaces (#23786)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-20 15:52:03 +02:00
Muxing Lin
df43ee60e7
[MM-23411]: Migrate "components/suggestion/search_suggestion_list.test.jsx" to Typescript (#23671) 2023-06-20 16:13:30 +05:30
Jesse Hallam
ef3a772836
Don't start grafana/prometheus by default (#23797)
Don't list Prometheus and Grafana as targets in the `start_dependencies` target of the docker compose file used in CI and local development. These can still be started by hand, but will no longer waste resources in CI, nor fail build spuriously if they fail to come online.
2023-06-19 14:01:47 -03:00
Felipe Martin
f3a9f166bb
[MM-52869] Update and fix links in the system console (#23694)
* Updated privacy policy link

* Removed broken link from fa language

* Updated terms of use link

* Updated pricing links

* Updated self hosted billing links

* Updated terms-of-use links

* Updated privacy-policy links across the project

* Updated pricing links in e2e tests

* Updated cloud billing docs

* Fixed upgrading mattermost server links

* Updated ssl client certificate links

* Updated configure session lenghts links

* Updated configure site url links

* Updated elasticsearch links

* Update data retention policy links

* Updated ldap links

* advanced-permissions

* Updated anchor ServiceSettings.ListenAddress

* Updated anchor #SystemSettings.Forward80To443

* Updated link desktop managed resources

* Updated elasticsearch links

* Updated file content extraction links

* Updated HA Cluster inks

* Updated setup image proxy link

* Updated push notification links

* Update performance monitoring links

* Help links

* Updated about mattermost links

* updated report a problem links

* Updated download apps links

* Updated mobile apps links

* Update share messages links

* Updated format messages links

* Updated in product notices links

* Updated multi factor auth links

* Updated LDAP links

* Updated setup saml links

* Updated saml/ldap configuration links

* Updated plugins URL

* Updated plugin signing links

* Updated webhook links

* Updated slash commands links

* Updated oauth2 links

* Updated webhook links

* Update enable oauth2 links

* Updated personal access tokens list

* Updated experimental links

* Updated snap files

* check-style

* privacy/terms links in about modal
2023-06-19 18:46:52 +02:00
Ibrahim Serdar Acikgoz
0904be43f8
[MM-53195] services/telemetry: regen client config right after assigning diagnostic ID to platform (#23773) 2023-06-19 18:48:29 +03:00
Ujwal Kumar
58a7679daa
[MM-52823] Migration of "components/admin_console/custom_url_schemes_setting.jsx" and tests to typescript (#23468) 2023-06-18 21:10:07 +05:30
Colton Shaw
79288440ef
[MM-50324]: Increased nickname length from 22 to 64 (#22670) 2023-06-18 01:31:26 +05:30
Julien Tant
86f0877799
[MM-53086] Remove SendWelcomePost A/B test and feature (#23733)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-16 12:13:23 -07:00
Ibrahim Serdar Acikgoz
de61b9b687
[MM-53113] cmd/mattermost/db: remove app dependency from db reset command (#23727) 2023-06-16 15:36:41 +03:00
Sinan Sonmez (Chaush)
10cf522a5f
MM-42267: Update browse channel UI (#23532)
* update more_channels for ui and show all channels

* update searchable channel list

* fix style

* fix tests

* fix style for delete icon

* fix failing tests

* fix style

* remove dot

* remove header button

* put back header button

* Fix duplicate keys in CombinedSystemMessage component (#23507)

* MM-52873 : Switch to npm's 'reselect' for Playbooks (#23396)

* Enable golangci-lint (attempt 2) (#23517)


This time we are just using the Makefile command
to see if that makes a difference
```release-note
NONE
```

* MM-52888 Always load users mentioned in message attachments (#23460)

Co-authored-by: Mattermost Build <build@mattermost.com>

* Prepare: run E2E smoketests with GitHub actions (#23301)

- Port E2E testing scripts from cypress-ui-automation
- Move server to docker-compose, move E2E images to ecrpublic
* Integrate General channel renaming, fixes
- Add local automation-dashboard
- Add readme
- Add E2E smoketests
- Bump postgres to 12

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>
Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>

* MM-47064/MM-34345/MM-47072 Remove inheritance from Suggestion components and migrate to TS (#23455)

* MM-47064 Remove inheritance from Suggestion components

* Address feedback

* Fix users without DM channels not appearing in the channel switcher

---------

Co-authored-by: Mattermost Build <build@mattermost.com>

* MM-52544 Fix missing reply bar mention highlight (#23534)

* MM-52513: fixes deleting a reply (#23177)

* MM-52513: fixes deleting a reply

Currently when we receive a WS event for a reply being deleted we might
accidentally push it to a wrong team's store. This might happen if the
thread is already loaded in store and we are viewing another team.
In that case we were fetching the thread from the API using the team id
of the current team. The API returns the thread, even though the team id
is not the one which the thread belongs to.

This commit is fixing the above issue by getting the team id in which
the thread belongs to, or current team id in the case of DM/GM messages,
and using that to fetch the thread from the API.

PS: the fetching is needed since we don't send a thread_update WS event
upon deleting a reply, and we need to get the new participants list.

* Fixes team id on another occasion

* Refactors a bit

* Reverts returning empty string as team id

* Refactor a bit to pass the post as argument

---------

Co-authored-by: Kyriakos Ziakoulis <koox00@Kyriakoss-MacBook-Pro.local>
Co-authored-by: Kyriakos Ziakoulis <koox00@192.168.2.3>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>

* Avoid calling the user count query in future if we get a count > 0 (#23545)

* Avoid calling the user count query in future if we get a count > 0

* re-adding mock session to avoid adding the old mitigation in future

* adjustments based on feedback

* MM-52365 - fix JS error banner (#23501)

* MM-52365 - fix js error banner

* add null type to bindings as an optional type

* Make used of typed atomic.Pointer (#23550)

* Make save_post_spec less affected by other E2E tests (#23541)

* Revert "Prepare: run E2E smoketests with GitHub actions (#23301)" (#23553)

This reverts commit 68be3a6bcd.

* adding debug log when executing query (#23559)

* server/docker-compose.yml: updates to run HA in local after monorepo (#23552)

* [MM-52919] Remove all uses of window.desktop.version from webapp (#23558)

Co-authored-by: Mattermost Build <build@mattermost.com>

* [MM-21096] webapp: Migrate "components/suggestion/search_channel_with_permissions_provider.jsx" to Typescript (#23323)

* migrate to ts

* linting

* fix test

* refactor

* Remove accidental comments from merge

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>

* fix server ci after renaming the project (#23576)

* Temporarily let AdvancedLoggingConfig take precedence over AdvancedLoggingJSON (#23578)

* Temporarily let AdvancedLoggingConfig take precedence over AdvancedLoggingJSON

* Repo name ci fixes (#23569)

* mattermost-server -> mattermost

* mattermost-server -> mattermost

* Empty-Commit

* Empty-Commit

* Empty-Commit

---------

Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Akis Maziotis <akis.maziotis@mattermost.com>

* MM-51585 : Fix duplicated date separator in center channel when Pinned posts RHS is open (#23068)

* Fix references from 'packages/*' to 'platform/*' in READMEs (#23498)

* [MM-52541] Mark files as deleted along with thread (#23226)

* mark thread files as deleted

* add missing check

* improve query

* Stopped rendering post preview if post is deleted

* Fixed lint error

* Fixed test

* updated types

* Removed deleted post from other post's embed data

* Added tests

* Apply suggestions from code review

Co-authored-by: Daniel Espino García <larkox@gmail.com>

* lint fix

---------

Co-authored-by: Konstantinos Pittas <konstantinos.pittas@mattermost.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harshil Sharma <18575143+harshilsharma63@users.noreply.github.com>
Co-authored-by: Daniel Espino García <larkox@gmail.com>

* MM-52476 Fix guest users access to playbooks. (#23279)

* Fix guest users access to playbooks.

* Fix guest access.

* Add guests list restriction.

* Update PULL_REQUEST_TEMPLATE.md to include Jira ticket for contributors (#23589)

* [MM-52836] : Migrate "components/admin_console/admin_definition_constants.jsx" to TypeScript (#23566)

* MM-52297 Fix reactions disappearing with search open and add testing utilities (#23510)

* MM-52297 Fix reactions disappearing when search is open

* Add unit tests and extra utilities

* Fix typing issue

* MM-53002: Fix ESR CI (#23599)

* Do not use the mattermost path

The /mattermost path is used by the image and it seems to conflict with
the container running the binary

* Use a regular machine in the esr-upgrade-diff job

* Add missing space

* [MM-52955] Fix panic for not found posts (#23561)

* [MM-52973] Avoid thundering herd problem in IsFirstUserAccount (#23549)

* [MM-45802] Clear CRT notification on deleted reply (#23568)

* reduce the counter on post deletion

* add test

* change translations

* fix collecting mentions for DMs

* add translation texts

* extract logic for getting mentions

* send WS event

* add e2e tests

* tidy mod

* WIP

* Deleting notification async

* Fixed a unit test

* Added more tests

* Updated i18n

* CI

* mattermost-server -> mattermost

* mattermost-server -> mattermost

---------

Co-authored-by: Konstantinos Pittas <konstantinos.pittas@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>

* Includes mmctl into the mono-repo (#23091)

* Includes mmctl into the mono-repo

* Update to use the new public module paths

* Adds docs check to the mmctl CI

* Fix public utils import path

* Tidy up modules

* Fix linter

* Update CI tasks to use the new file structure

* Update CI references

* [MM-30432]: Allow users to specify different desktop notification sounds per channel (#21671)

* [MM-44165]: When Help link is left blank Help Resources option should not be visible in the help menu (#23609)

* Clean up at .github due to repo rename (#23580)

* update .github after repo rename

* update

* Update PULL_REQUEST_TEMPLATE.md

---------

Co-authored-by: M-ZubairAhmed <m-zubairahmed@protonmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>

* MM-52819 : "medical_symbol", "male_sign" and "female_sign" emojis are broken (#23538)

* [MM-52979]: Remove code around abandoned MUI modal migration (#23556)

* Re-export all React Testing Library functions (#23522)

* Fix panic if JSON null value is passed as channel update (#23629)

* MM-52818 - create config setting to enable/disable playbooks product (#23508)

* create config setting to enable/disable playbooks product

* fix to config name

* fix typo

* revert changes to package-lock.json

* update name of test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>

* [MM-52926] Deprecating work templates (#23466)

Co-authored-by: Mattermost Build <build@mattermost.com>

* [MM-52839]: Migrate "components/admin_console/remove_file_setting.jsx" to Typescript (#23565)

* [MM-52833]: Migrate "components/admin_console/multiselect_settings.jsx" to Typescript (#23542)

* [MM-52835]: Migrate "components/admin_console/settings_group.jsx" and tests to Typescript (#23563)

* fix typo in index name for idx_teammembers_create_at (#23632)

* [MM-49989] Pass a context.Context to Client4 methods (#22922)

* Migrate all method in model/client4.go to accept a context.Context

* Fix th.*Client

* Fix remaining issues

* Empty commit to triger CI

* Fix test

* Add cancellation test

* Test that returned error is context.Canceled

* Fix bad merge

* Update mmctl code

---------

Co-authored-by: Mattermost Build <build@mattermost.com>

* Service environment (#23443)

* fix fileutils.TestFindFile on MacOS

* introduce model.ExternalServiceEnvironment

* pick license public key from external service env

* pick Stripe public key from external service env

* pick Rudder key from external service env

* configure Sentry DSN from external service env

* always log external_service_environment, Unsetenv

* clear faked BuildEnv, improve logging

* strip out unset GOTAGS

* fix Sentry tests

* simplify to just ServiceEnvironment

* relocate ServiceEnvironment in client config

* initialize CWS URLs based on service environment

* unset rudder key for boards dev

* harden service environment to avoid accidental production

* fix TestSentry again

* fix DEFAULT -> ENTERPRISE

* s/dev/test when naming playbooks rudder key

* simplify boards rudder key switch

* use uniform rudderKey variable names

* retain compatibility with existing pipeline

* reduce to just production/test

* unit test with valid test license

* simplify Playbooks telemetry initialization

* restore dev service environment

* emit ServiceEnvironment when running e2e tests

* [MM 22957] webapp a11y: fix sso btns focus issue (#23326)

* make suggested changes

* added form tag and removed event handler

* fix snapshot

---------

Co-authored-by: Mattermost Build <build@mattermost.com>

* Upgrade docker CI image to 23.0.1 (#23664)

Automatic Merge

* MM-52995: Fix opening DM/GM thread from thread footer (#23579)

* MM-52487: fix more playbooks tests (#23475)

* fix playbooks/channels/rhs/template_spec.js

* fix playbooks/channels/update_request_post_spec.js

* fix playbooks/runs/rdp_rhs_runinfo_spec.js

* fix playbooks/runs/rdp_rhs_statusupdates_spec.js

* remove enableexperimentalfeatures flag in e2e tests

* rdp_main_header_spec: simplify channel loaded assertion

* playbooks rhs participants: fix infinite fetch loop

* improved onboarding skipping

* simplify participants fetching

* Support json.RawMessage in configuration env overrides (#23610)

* support json.RawMessage in env overrides

* update more_channels for ui and show all channels

* remove header button

* put back header button

* [MM-52979]: Remove code around abandoned MUI modal migration (#23556)

* fix import

* update snapshot

* Update e2e-tests/cypress/tests/integration/channels/enterprise/accessibility/accessibility_modals_dialogs_spec.js

* fix e2e tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
Co-authored-by: M-ZubairAhmed <m-zubairahmed@protonmail.com>
Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in>
Co-authored-by: mvitale1989 <mvitale1989@hotmail.com>
Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>
Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
Co-authored-by: Kyriakos Z <3829551+koox00@users.noreply.github.com>
Co-authored-by: Kyriakos Ziakoulis <koox00@Kyriakoss-MacBook-Pro.local>
Co-authored-by: Kyriakos Ziakoulis <koox00@192.168.2.3>
Co-authored-by: Ben Cooke <benkcooke@gmail.com>
Co-authored-by: Pablo Andrés Vélez Vidal <pablovv2012@gmail.com>
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Sai Deepesh <saideepesh000@gmail.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Harshil Sharma <18575143+harshilsharma63@users.noreply.github.com>
Co-authored-by: Akis Maziotis <akis.maziotis@mattermost.com>
Co-authored-by: Hideaki Matsunami <mahaker@users.noreply.github.com>
Co-authored-by: Konstantinos Pittas <konstantinos.pittas+github@gmail.com>
Co-authored-by: Konstantinos Pittas <konstantinos.pittas@mattermost.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Daniel Espino García <larkox@gmail.com>
Co-authored-by: Christopher Speller <crspeller@gmail.com>
Co-authored-by: Tejas Karelia <tejas.karelia17@gmail.com>
Co-authored-by: Alejandro García Montoro <alejandro.garciamontoro@gmail.com>
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
Co-authored-by: KyeongSoo Kim <gaganso71@korea.ac.kr>
Co-authored-by: Matheus <20505926+MattSilvaa@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Julien Tant <785518+JulienTant@users.noreply.github.com>
Co-authored-by: Karan Mishra <karan.m2704@gmail.com>
Co-authored-by: Judy Hanson <106325339+Esterjudith@users.noreply.github.com>
Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
2023-06-15 15:10:13 -04:00
Jesse Hallam
2765d92991
Gotestsum (#22826)
* disable coverage

This reduces runtime of the server test suite from ~30m to ~10m, and as far as I can see: we discarded the coverage output anyway.

* allow morph 60s to migrate when running tests

* scripts/test.sh: drop COVERMODE

Stop generating coverage data when running unit tests. It's likely we'll want this data back at some point, but for now it's unused and removing simplifies invoking tests for developers.

* scripts/test.sh: remove cleanup steps

* scripts/test.sh: drop TESTS parameter

* scripts/test.sh: drop TESTFLAGS parameter

* switch to gotestsum
2023-06-15 15:27:52 -03:00
Daniel Espino García
6fae1736eb
Make scrollbars in file preview more visible (#23604)
* Make scrollbars in file preview more visible

* Fix lint

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-15 19:10:15 +02:00
Michael Kochell
d403c034d4
[MM-48014] Auto-enable Apps Bar by moving EnableAppBar setting to DisableAppBar (#23010)
* auto-enable Apps Bar by moving EnableAppBar setting to DisableAppBar

* update playwright config

* remove EnableAppBar config setting to avoid confusion

* small fixes

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
2023-06-15 12:33:06 -04:00
Agniva De Sarker
747b4cf26c
MM-53058: Move cache layer out of timer layer (#23660)
Having cache layer as part of the store call
Prometheus metrics can be somewhat misleading
because cache-backed methods can have very high
volume and yet not cause any load on the DB at all.

However, if the admin is not aware which calls
are cache-backed and which are not, then
it can be hard to understand why a store call
of high volume isn't causing any stress on the DB at all.

Therefore, for simplicity we reorder the layers
such that cache layer is handled outside the timer layer.

We already have cache related metrics like hit/miss
which can be used to monitor cache usage.

https://mattermost.atlassian.net/browse/MM-53058

```release-note
NONE
```

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-15 21:08:14 +05:30
Saturnino Abril
75a0e61de7
fix failed e2e tests (#23741) 2023-06-15 21:58:00 +08:00
Nick Misasi
d7a3d14c5e
Add theming support to one of the dropdown input components (#23734)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-15 09:43:01 -04:00
Doug Lauder
d655ab94a3
Sanitize post for audit with preview links (#23745)
* sanitize post for audit with preview links

* add unit test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-15 08:23:56 -04:00
Miguel de la Cruz
5d66883b04
Fixes CI (#23753)
* Fixes CI

* Fix client jest dependency
2023-06-15 09:45:54 +02:00
mvitale1989
b8858c4582
CLD-5835 - Do not use the mattermost-build-webapp image from ECR (#23748)
* Only use mattermostdevelopment images
* Fix docker mirroring workflow
* Reenable insights feature for E2E tests
2023-06-15 08:43:39 +02:00
Saturnino Abril
5881c7dac5
fix e2e about compliance test (#23742) 2023-06-15 14:19:38 +08:00
Miguel de la Cruz
44a99d1736
Move playbooks to plugin (#23732)
* Remove build references

* Remove playbooks webapp and server, and add the prepackaged plugin

* Remove translations

* Add ProductSettings to the playwright type

* Restore playbooks as a prepackaged plugin for cypress e2e tests
2023-06-14 23:33:26 +02:00
Harrison Healey
f386ef1ea8
Add PostComponent tests involving thread footer (#23679) 2023-06-14 16:33:48 -04:00
LeonardJouve
c7895c6f41
MM-52881: Fix date picker selected day (#23391) 2023-06-14 09:51:37 -07:00
ilies-bel
8e13e7fffe
[MM-52821] Migrate components/app.jsx to Typescript (#23605)
Co-authored-by: Iliès BELDJILALI <ibeldjilali@takima.fr>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-14 12:21:04 -04:00
Pablo Andrés Vélez Vidal
e60e2dc040
Mm 52259 system message ignore colorize (#23630)
* MM-52259 - fix system message using not themed color

* fix unit tests and code clean up
2023-06-14 18:02:54 +02:00
Christopher Poile
c06c47f22e
MM-52805 - Calls: Add calls ringing & settings panel option (#23444)
* add calls sounds; add calls options to settings panel

* i18n

* fix types; tests

* tests

* expose notificationSounds to plugins

* fix bad version reference

* the real fix

* turn off any currentRing if new ring is requested

* refactor isCallsEnabled into a selector

* fix version fallback

* remove unused vars

* merge conflicts

* stop notification rings on exits

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-14 10:57:37 -04:00