Commit Graph

2820 Commits

Author SHA1 Message Date
Miguel de la Cruz
150c6e7aef Remove boards product references (#23855)
Automatic Merge
2023-07-18 15:17:29 +03:00
Devin Binnie
823ef27d6c Revert "[MM-37984] Allow Desktop App to authenticate via external providers outside of the app on supported servers (#23795)" (#24039)
This reverts commit abdf4e58c3.
2023-07-17 10:54:53 -04:00
Veronica Dip
8ee38ee644 MM-53564 : Multi-line channel header preview is narrow on web (#24029) 2023-07-17 15:09:16 +05:30
Daniel Espino García
cb47d4fb7f Fix New Messages toast showing when it should not (#23995) 2023-07-13 13:28:44 +02:00
Sinan Sonmez (Chaush)
e1aa7b21ac MM-52944: Fix profile popover view issue on RHS when searching channel member (#23930) 2023-07-13 16:24:54 +05:30
Pablo Andrés Vélez Vidal
632f629663 MM-51849 - some non latin words were not getting highlighted (#23987)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-13 10:04:17 +02:00
Doug Lauder
a8244e9d10 MM-53147 Support for embedding Mattermost in an MSTeams iframe (#23776)
* add teams to allowed frame-ancestors

* fix unit tests

* set SameSite attribute for session cookie

* further restrict ancestors

* skip landing page if in iframe

* Only set cookie SameSite=None if embedded in iframe

* don't set MMEMBED cookie on landing page (check only)

* fully parse MMEMBED cookie

* add comment

* more comments

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-12 17:55:13 -04:00
M-ZubairAhmed
cc6de45bde Removed unneeded optional prop 'type' from 'admin_console/password_settings' (#24004) 2023-07-12 22:42:53 +05:30
Devin Binnie
abdf4e58c3 [MM-37984] Allow Desktop App to authenticate via external providers outside of the app on supported servers (#23795)
* WIP

* Add rate limiting for desktop token API

* Missing mocks

* Style fixes

* Update snapshots

* Maybe use an actual redirect link :P

* Refactoring for tests

* Add tests for server

* Fix lint issue

* Fix tests

* Fix lint

* Add front-end screen component

* Component logic

* Style changes

* Quick style fix

* Lint fixes

* Initial PR feedback

* Enable logging into the browser as well when completing the login process

* Refactor to push more logic to the other component

* Remove unnecessary helper code

* Fix i18n

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-12 09:25:05 -04:00
M-ZubairAhmed
5e3c03a0a8 Fix component types of 'components/widgets/settings/text_setting.tsx' (#23919) 2023-07-12 16:25:05 +05:30
Christopher Poile
46a659e06d MM-53340 - Create registerDesktopNotificationHook for plugins, e.g. Calls (#23884)
* calls will notify in GM/DM channels for call started posts

* fix types

* add registerDesktopNotificationHook

* remove callsWillNotify

* cleanup unused types

* use an args object to shorten params

* add CUSTOM_CALLS_RECORDING to constants
2023-07-11 22:46:59 -04:00
Scott Bishel
f45f774ece update for guest demotion and sysadmin edits (#23920)
* update for guest demotion and sysadmin edits

* update unit test

* update unit test

* use existing disabled flag

* remove commented line

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-11 16:10:44 -06:00
Harrison Healey
2672af30ea MM-53467 Unrevert changes that update current user object (#23928)
* Revert "Revert "[MM-52547] Include current user profile in every redux action (#23219)""

This reverts commit 8f96888b1a.

* Revert "Revert "[MM-52546] webapp/channels : Update current user and status on WebSocket reconnect (#23071)""

This reverts commit 69ee162a6e.

* MM-53647 Fix overwriting the current user with sanitized data
2023-07-11 09:51:02 -07:00
Devin Binnie
116728424c [MM-53124] Add optional Forgot Password custom link to override the default flow on the login page (#23831)
* [MM-53124] Add optional Forgot Password custom link to override the default flow on the login page

* Fix i18n

* Fix test

* Added the enable/disable flag

* Fix test

* Fix e2e

* Add blockable link for the Customization navigation
2023-07-11 09:04:39 -04:00
Harrison Healey
b59cba7e63 Re-add package target to web app Makefile (#23960) 2023-07-11 11:58:29 +05:30
Devin Binnie
2abcdfe76a [MM-53430] Don't stop the isDraftSubmitting flow when the notification modal is popped (#23962)
* [MM-53430] Don't stop the `isDraftSubmitting` flow when the notification modal is popped

* Reset to false if the modal closes without confirming
2023-07-10 08:33:32 -04:00
Maria A Nunez
62c83863a2 Remove bold markdown in translations strings (#23922)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-09 21:59:36 -04:00
Maria A Nunez
96d3e5864f Removed Post Priority feature flag (#23735)
* Removed post priority feature flag

* linting

* Update feature_flags.go
2023-07-07 11:42:57 -04:00
Maria A Nunez
3f126905c5 Fix icon for private channels in channel suggestion list (#23921) 2023-07-07 10:54:01 -04:00
notlelouch
c59c2eafe3 MM-47275 : Migrate 'header_footer_template_route.jsx' to TypeScript (#23791)
* header_footer_template_route.jsx to tsx

* extended Props to RouteProps

* removed Component checks

* changed "ComponentType<RouteComponentProps>" to "ComponentType<any>"

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-06 16:41:01 -04:00
Harrison Healey
f7e87bfe29 MM-53377 Revert "[MM-52547] Include current user profile in every redux action (#23219)" (#23912)
* Revert "[MM-52547] Include current user profile in every redux action (#23219)"

This reverts commit a85c0b87b8.

* Revert "[MM-52546] webapp/channels : Update current user and status on WebSocket reconnect (#23071)"

This reverts commit 6d3354266a.
2023-07-05 16:43:51 -04:00
Hideaki Matsunami
3f7efe2df8 types: Add 'id' to AppExpandLevel (#23813)
Added properties that were omitted from the implementation.
ref: https://github.com/mattermost/mattermost/issues/23512

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-05 16:43:04 -04:00
Maria A Nunez
5779bd49d5 Remove Global Drafts Feature Flag (#23767)
* Remove global draft feature flag

* More removal - in progress

* Removed the rest in webapp

* Removed the rest in webapp

* Fix tests

* Update feature_flags.go

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-05 12:18:30 -04:00
Harshal sanghvi
fcb322b8f2 MM-52827, MM-52840 : Migrate "components/admin_console/session_length_settings.jsx" & "components/admin_console/cluster_table_container.jsx" to Typescript (#23509) 2023-07-05 19:50:41 +05:30
Hamza
2bb6830242 MM-52082 : Emoji Picker doesn't appear when clicking on Add Reaction from post menu in mobile view (#23174) 2023-07-05 19:45:12 +05:30
Sai Deepesh
70d0a0fe70 [MM-47090]: Migrate "components/integrations/abstract_command.jsx" to Typescript (#23325) 2023-07-02 12:25:10 +05:30
Daniel Espino García
fda5dd8468 Remove guest badge (#23825)
* Remove guest badge

* Address feedback

* Fix lint, test and i18n

* Fix test
2023-06-30 11:06:18 +02:00
Harshil Sharma
05cd245e97 Fixed a bug that prevent post deletion (#23908)
* Fixed a bug that prevent post deletion

* lint fix:
2023-06-30 10:29:27 +05:30
ridker
292117d824 [MM-47081] Migrated "components/searcheable_channel_list_test.jsx" to TypeScript (#23886)
* Converted searcheable_list_test to TypeScript

* Reverted mock data for channels props. Resolved minor formatting issues

* Updated snapshot for searcheable_channel_list test file

* Removed obsolete snapshot of searchable_channel_list.test.jsx as searchable_channel_list.test has been converted to TypeScript
2023-06-29 09:25:42 -04:00
Harrison Healey
e8353d2982 Ensure components tests run on CI and remove obsolete snapshot (#23878)
* Ensure components tests run on CI and remove obsolete snapshot

* Add missing snapshots
2023-06-28 14:58:23 -04:00
Jesse Hallam
9588e08a00 enable redux-devtools in all environments (#23867)
* enable redux-devools in all environments

[Redux DevTools](https://github.com/reduxjs/redux-devtools) gives developers and users insight into the client-side state of the Mattermost application. Instead of restricting this to developer builds, allow it for production builds too, simplifyin debugging when an issue reproduces in production but not in a development environment.

There is no performance overhead unless the devtools are installed and opened by the enduser. There is should be no security impact, since all this information is already client-side. Furthermore, major websites expose Redux in production: e.g. https://cbc.ca and https://medium.com/.

* preserve window.store for all environments, not as a supported API
2023-06-28 14:41:32 -04:00
Christopher Poile
3f99b7618d MM-53363 - Calls default sound should be Calm (#23876) 2023-06-27 09:20:26 -04:00
Ujwal Kumar
e84eb900ff MM-52834 : Migrate "components/admin_console/dropdown_setting.jsx" and tests to Typescript (#23533) 2023-06-27 10:21:26 +05:30
M-ZubairAhmed
7efbb11fae Fix prop types for "markdown_image_expand" component (#23836) 2023-06-27 10:06:50 +05:30
Pablo Andrés Vélez Vidal
e8349545b8 MM-53087 - remove AB test for reduced onboarding task list item (#23856) 2023-06-26 21:41:25 +02:00
LeonardJouve
a35c350a85 typo (#23826) 2023-06-26 15:21:04 -04:00
Pablo Andrés Vélez Vidal
af3b70b606 MM-51676 - korean chars create duplicate categories (#23839)
* MM-51676 - korean chars create duplicate categories

* use isProcessing as a property instead of state; move validation of isComposing to generic modal
2023-06-26 15:01:56 -04:00
ridker
e8077e11ff [MM-52829] Migrate "channels/src/components/admin_console/team_channel_settings/details/index.js" to TypeScript (#23701) 2023-06-26 19:53:53 +05:30
Sai Deepesh
58f78ce509 [MM-23418] : Migrate "components/admin_console/schema_text.jsx" and tests to Typescript (#23614) 2023-06-26 19:51:20 +05:30
Harrison Healey
94a3c41c59 MM-51013 Remove unneeded code from original version of Markdown hotkeys (#23823)
Automatic Merge
2023-06-26 15:47:28 +03:00
M-ZubairAhmed
a5867074e5 MM-53006 : Using the "link" button puts the URL after [url] instead of replacing [url] when pasting (#23784) 2023-06-26 17:47:04 +05:30
Pablo Andrés Vélez Vidal
887ba95cc1 MM-53088 - remove autoshow linked board (#23783)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-26 14:13:14 +02:00
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
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
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