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>
* 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
* 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>
* swap out todo plugin with snow in onboarding
* Updating servicenow svg
* update name to be single word
---------
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
* remove default (true) for channelExport and Apps plugin
* readd constant, still used
* more cleanup of constants
* revert usage, constants changes
* update tests expecting Apps on by default
* remove defaults from tests
* revert package-lock.json
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* fix: Fix proper status update since job.status depicts current job status which is always success
* Rename status check for smoketests
* Allow localhost origin for local testing
* Increase instance size for smoketest job, better status check name
---------
Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
https://mattermost.atlassian.net/browse/MM-52532
- Replace golint with revive
- Add makezero linter
- Fix all the required linter failures
Some issues in enterprise and public modules
are yet to be fixed. We send this to expediate things.
* Prevent boards product from being included automatically
* Fix config diff test
* Update prepackaged plugin version
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
* Readd boards/dist to the gitignore
* Does not enable the focalboard plugin by default
* Update plugin version to v7.10.3
---------
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
* MM-51528 Fix new messages line overlapping date lines
* Improve clarity of CSS for New Messages and Date separators
* Remove doubled padding above date the New Messages line
* Remove ThreadViewer-specific CSS for separators
It was a good decision in hindsight to keep the public module as 0.x
because this would have been a breaking change again.
https://mattermost.atlassian.net/browse/MM-53032
```release-note
Changed the Go module path from github.com/mattermost/mattermost-server/server/v8 to github.com/mattermost/mattermost/server/v8.
For the public facing module, it's path is also changed from github.com/mattermost/mattermost-server/server/public to github.com/mattermost/mattermost/server/public
```
* yup
* int
* c
* ok
* Update posts.ts
* actual change
* a
* Update actions.ts
* ty
* Update drafts_link.tsx
* revert to old function name
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* 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
* Remove unneeded Babel plugins and update Babel preset
* Remove unneeded babel/cli package
* Update and share Babel and presets
* Update and share babel-plugin-styled-components
* Update and share babel-plugin-formatjs
* Update and share babel-plugin-typescript-to-proptypes
* Update and share babel-loader
* Remove all Babel-related ESLint libraries
* Remove unused babel-jest from Playbooks
* MM-51968 Remove unused Babel libraries from Boards
* Update snapshots because of course I have to
* Update snapshot