Граф коммитов

2738 Коммитов

Автор SHA1 Сообщение Дата
Scott Bishel
d0ad46b496 MM-52915 - Remove boards product config setting and system console (#23526)
* Remove boards product config setting and system console

* create config setting to enable/disable playbooks product

* fix to config name

* fix typo

* remove lingering ProductSettings references

* remove lingering ProductSettings references

* revert changes to package-lock.json

* Revert "revert changes to package-lock.json"

This reverts commit 1a7d98ace33a2f639f41ba7a7697689641684fca.

* revert changes to package-lock.json

* fix build issues

* another fix

* update webap test

* i18n-extract

* Revert "i18n-extract"

This reverts commit c0a98c74ea1800341b273301d3cdb990bc629bc5.

* fix bad i18n-extract

* fix bad i18n-extract

* fix tests from bad merge

* more translation fixes

* more translation fixes

* updates from self-review

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-12 18:52:19 +02:00
Miguel de la Cruz
1215584665 Prevent boards product from being included automatically (#23539)
* 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>
2023-06-12 18:51:43 +02:00
Harrison Healey
dfdc0e28d0 MM-52536 Webpack unification part 2 (#23557)
* Remove unused bundle-loader

* Remove broken webpack-live-reload-plugin

* Remove unused terser-webpack-plugin

* Remove unused dotenv-webpack

* Update and share type definition for Webpack global values

* Share eslint-import-resolver-webpack

* Remove unused pmmmwh/react-refresh-webpack-plugin

* Remove webpack-cli/serve since it's already part of webpack-cli

* Remove unused Webpack packages from Components

* Share and update style-loader

* Remove unused image-webpack-loader from Boards
2023-06-12 11:50:34 -04:00
Ben Cooke
c2417efc33 [MM-52618] Adding generic error to handle network issues when fetching groups (#23495)
* adding generic error to handle network issues
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-12 11:42:30 -04:00
Harrison Healey
59d5df6bce MM-51528 Fix new messages line overlapping date lines (#23525)
* 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
2023-06-12 09:57:41 -04:00
Ben Schumacher
a6d1d38b27 [MM-50734] Add option to use German HPNS notification proxy (#23562)
* Add option to use German HPNS notification proxy

* Changes per feedback

* make use of const

* Fix privacy policy link

* Fix bug found via https://github.com/mattermost/mattermost/pull/23562\#issuecomment-1581456269

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-10 07:53:54 +02:00
Ibrahim Serdar Acikgoz
446b474489 [MM-49084] public/model/config: elasticsearch: add ingore option to some indexes to purge (#23571) 2023-06-10 00:50:08 +03:00
Harrison Healey
b9f52126c2 MM-53115 Fix ridiculous Babel bug by removing unused code (#23696)
* MM-53115 Fix ridiculous Babel bug by removing unused code

* Fix Playbooks clean script missing some files

* Turn on typescript-eslint/no-unused-vars ESLint rule for Playbooks
2023-06-09 16:39:48 -04:00
M-ZubairAhmed
adb248497d MM-52797 : Drafts badge doesn't clear when parent message deleted and removed (#23636)
* 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>
2023-06-09 16:22:45 -04:00
Andrey K
c0ee02356e [GH-23555] Do not block global backspace key press for contenteditable's (#23626)
* [GH-23555] Backspace is forbidden globally

* [GH-23555] Backspace is forbidden globally (refactoring)

---------

Co-authored-by: Andrey Karavashkin <akaravashkin@stsoft.ru>
2023-06-09 16:01:57 -04:00
Devin Binnie
19f33f332c [MM-52627] Only show the team/channel name on search items in the RHS (#23649)
* [MM-52627] Only show the team/channel name on search items in the RHS

* Remove additional date separator

* PR feedback
2023-06-09 13:01:41 -04:00
Harrison Healey
11c0a861b2 MM-52539 Unify versions of Babel used throughout web app and remove unneeded libraries (#23543)
* 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
2023-06-08 17:05:21 -04:00
Jesse Hallam
803d0c6e60 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
2023-06-07 16:28:47 -03:00
Caleb Roseland
36027ac1c4 MM-52995: Fix opening DM/GM thread from thread footer (#23579) 2023-06-07 12:54:29 -05:00
Sai Deepesh
0ccd82c1d4 [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>
2023-06-07 09:59:36 -04:00
Jesse Hallam
305fac6507 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
2023-06-07 10:15:33 -03:00
Tejas Karelia
ce7578615c [MM-52835]: Migrate "components/admin_console/settings_group.jsx" and tests to Typescript (#23563) 2023-06-06 12:54:31 +05:30
Judy Hanson
8690da4b0d [MM-52833]: Migrate "components/admin_console/multiselect_settings.jsx" to Typescript (#23542) 2023-06-06 12:51:36 +05:30
Karan Mishra
e4982908d6 [MM-52839]: Migrate "components/admin_console/remove_file_setting.jsx" to Typescript (#23565) 2023-06-06 12:35:46 +05:30
Julien Tant
0468e772a9 [MM-52926] Deprecating work templates (#23466)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-05 18:42:03 -07:00
Scott Bishel
22275fa0f5 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>
2023-06-05 15:18:20 -06:00
Harrison Healey
9c656c25d9 Re-export all React Testing Library functions (#23522) 2023-06-05 12:49:31 -04:00
M-ZubairAhmed
f4f420dd93 [MM-52979]: Remove code around abandoned MUI modal migration (#23556) 2023-06-05 18:40:38 +05:30
M-ZubairAhmed
b6a407c392 MM-52819 : "medical_symbol", "male_sign" and "female_sign" emojis are broken (#23538) 2023-06-05 18:38:46 +05:30
Saturnino Abril
1926455a00 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>
2023-06-05 20:12:08 +08:00
Matheus
bfa1a41f3f [MM-44165]: When Help link is left blank Help Resources option should not be visible in the help menu (#23609) 2023-06-05 17:34:05 +05:30
KyeongSoo Kim
fbd6b5efe1 [MM-30432]: Allow users to specify different desktop notification sounds per channel (#21671) 2023-06-05 17:28:05 +05:30
Harrison Healey
789f84af90 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
2023-06-02 14:23:01 -04:00
Tejas Karelia
00ba62b300 [MM-52836] : Migrate "components/admin_console/admin_definition_constants.jsx" to TypeScript (#23566) 2023-06-02 20:36:41 +05:30
Konstantinos Pittas
4d41365fbe [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>
2023-06-02 16:00:33 +05:30
Hideaki Matsunami
341b34d08f Fix references from 'packages/*' to 'platform/*' in READMEs (#23498) 2023-06-02 15:35:58 +05:30
Sinan Sonmez (Chaush)
52e5cd5ecd MM-51585 : Fix duplicated date separator in center channel when Pinned posts RHS is open (#23068) 2023-06-02 15:29:28 +05:30
Sai Deepesh
5d54f599e5 [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>
2023-06-01 12:45:50 -04:00
Devin Binnie
31c67fff4b [MM-52919] Remove all uses of window.desktop.version from webapp (#23558)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-01 12:44:27 -04:00
Pablo Andrés Vélez Vidal
2ac375b3fe MM-52365 - fix JS error banner (#23501)
* MM-52365 - fix js error banner

* add null type to bindings as an optional type
2023-05-31 10:30:42 +02:00
Kyriakos Z
14fcc8a22e 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>
2023-05-30 15:33:19 -04:00
Harrison Healey
281f8cf9ea MM-52544 Fix missing reply bar mention highlight (#23534) 2023-05-30 14:53:16 -04:00
Harrison Healey
19ece476ad 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>
2023-05-30 14:51:55 -04:00
Harrison Healey
6d1a42773e MM-52888 Always load users mentioned in message attachments (#23460)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-30 09:38:07 -04:00
M-ZubairAhmed
20ec920b71 MM-52873 : Switch to npm's 'reselect' for Playbooks (#23396) 2023-05-30 13:20:28 +05:30
Harrison Healey
eaa190acf6 Fix duplicate keys in CombinedSystemMessage component (#23507) 2023-05-29 17:20:33 -04:00
Tejas Karelia
834c8982df [MM-52841] : Migrate "components/admin_console/set_by_env.jsx" to Typescript (#23451) 2023-05-29 14:30:06 +05:30
Amaury Lopez
abcfa8cce8 [MM-52832] : Migrate "components/admin_console/cluster_table.jsx" to Typescript (#23471) 2023-05-26 17:53:43 +05:30
M-ZubairAhmed
0e31ecbbe8 MM-52902 : Pasting text or image in center message input box shifts input box up unexpectedly (#23502) 2023-05-26 17:50:07 +05:30
Hideaki Matsunami
0a897220a7 webapp/platform/types : Add 'acting_user_access_token' type to AppExpand (#23496) 2023-05-26 16:47:56 +05:30
Hamza
b56b648b53 [MM-51881]: btn-primary SCSS leaves button white when not focussed (#23209) 2023-05-26 16:37:56 +05:30
M-ZubairAhmed
b72043727a [MM-52226] : Fix broken make-emojis command (#23454) 2023-05-26 10:43:44 +05:30
Harshil Sharma
c8ee05fb76 [MM-52444] - Hide dot menu for users when they can't delete a system post (#23487)
Automatic Merge
2023-05-24 16:04:31 +03:00
Amy Blais
cfa5be4d3e Revert "Revert "[MM-51274] Remove deprecated PermissionUseSlashCommands (#22819)" (#23405)" (#23463)
Automatic Merge
2023-05-20 02:04:28 +03:00
Harrison Healey
9587b826c7 Bump JS package versions to 8.0.0 (#23442) 2023-05-19 16:02:24 -04:00