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

2840 Коммитов

Автор SHA1 Сообщение Дата
Ibrahim Serdar Acikgoz
2a4de2eecc Revert "Add read_channel_content permission (#24018)" (#24114)
This reverts commit a19ce047ba.
2023-07-25 13:17:58 +03:00
Harshil Sharma
26617fcbdc Remove insights (#23952)
* removed server side

* Updated store layer

* unused import

* Updated autogenerated code template

* Updated tests

* lint fix

* unused translations

* webapp side

* Updated i18n

* lint fix:

* type fix

* Updated snapshots

* Removed insights from API specs

* updated e2e

* Updated e2e tests

* Updated e2e tests

* Removed insights tests

* Removed Insights as possible channel to load in sidebar from test

* Removed more insights tests

* More e2e fixed

* More cleanup

* Lint

* More cleanup in client4 and boards api

* More cleanup

* Fixes

* lint fix

---------

Co-authored-by: maria.nunez <maria.nunez@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-25 12:34:38 +05:30
M-ZubairAhmed
e37459cd00 MM-53230 : Remove custom polyfilled 'getClosestParent' with browser 'closest' (#24086) 2023-07-25 08:39:46 +05:30
M-ZubairAhmed
065d3c3f6b Lint formatted on "build/emoji/additional_shortnames.json" (#24097) 2023-07-25 08:37:39 +05:30
Sinan Sonmez (Chaush)
e70abd6e0f MM-53776 : Profile pop-over for Bots has funky line breaks (#24095) 2023-07-24 20:07:26 +05:30
Elias Nahum
a19ce047ba Add read_channel_content permission (#24018)
* Add read_channel_content permission

* fix tests

* update system console default permissions per role

* add read_channel_content to e2e defaultRolesPermissions

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-24 09:37:59 -04:00
Devin Binnie
c35777194d [MM-53520] Refresh drafts in comment when the rootId of the draft changes (#24068)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-24 08:59:56 -04:00
Scott Bishel
0c4ac8b201 prepackage boards v7.11.2 (#24085)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-24 11:49:12 +02:00
Sai Deepesh
16606f4420 MM-23523 Migrate "components/markdown_image/*" to typescript (#23524) 2023-07-21 20:30:19 +05:30
Nathan
ab38a8fbd7 MM-50382 Shows an error if post edit history fails to load (#22828) 2023-07-21 20:28:05 +05:30
Austin DeNoble
949a7875cd MM-47091 : Migrate "components/integrations/abstract_outgoing_webhook.jsx" and tests to TypeScript (#23977) 2023-07-20 18:29:57 +05:30
Saturnino Abril
e377d985cd MM-52641 MM-52645 Playwright/Accessibility: Initial setup and accessibility fix on login page (#23254)
* MM-52641 Playwright/Accessibility: initial setup

* upgrade Playwright to 1.36.1

* fix accessibility at login page

* fix lint

* update snapshot
2023-07-19 16:25:17 -04:00
ridker
f3b1f33dff MM-47075 : Migrate "components/suggestion/suggestion_list.jsx" and tests to Typescript (#23837) 2023-07-20 00:18:55 +05:30
LeonardJouve
49dddaa0f0 Fix props of 'react-day-picker' #23591) 2023-07-20 00:06:16 +05:30
Karan Mishra
91efa7bfc8 MM-52845 : Migrate "components/admin_console/elasticsearch_settings.jsx" and tests to Typescript (#23821) 2023-07-19 23:11:58 +05:30
Nick Misasi
0b564005cf [MM-53702] Remove Downgrade Team Selection modal and all accompanying logic (#24059)
* Remove Downgrade Team Selection modal and all accompanying logic

* fix linter

* Fix i18n

* Final pipeline fixes
2023-07-19 09:35:14 -04:00
Hamza
9322f71f94 MM-52793 : Search calendar selects the day before when selected for a date (#23618) 2023-07-19 16:56:19 +05:30
Sinan Sonmez (Chaush)
628273d98d MM42267: Add member count in the browse channel modal (#23800)
* add base for calling the endpoint

* add endpoint and handler

* update store and layers

* call the endpoint

* align types

* update app layers

* generate mocks

* complete handler

* finish store query

* add todos

* add ui for member count

* add selector

* add a todo

* add cache layer

* optimize calls in FE

* handle invalidation of the cache

* fix go style

* fix test

* use existing channel layer count

* fix import error

* delete unnecessary code

* write tests for channel cache layer

* fix testname

* fix mocks

* fix cache layer test

* fix a test

* really fix the test

* write more tests for server

* address PR comments

* remove comment

* rename more_channels to browse_channels

* fix style

* update snapshot

* add translations

* Revert "add translations"

This reverts commit 56476a5dabe357703ef02be9a38b3e88f5c8b1e7.

* add only related translations

* address PR review points

* add test

* fix test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-19 11:45:27 +05:30
Bodhi
b247c6251f fix libz.so.1 missing error when running "npm install" on Linux/ARM64 (on a Macbook M1) (#23935)
* fix libz.so.1 missing error when running "npm install" on Linux/ARM64

* fix typo

* update changes

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-18 10:46:59 -04:00
Elias Nahum
66c2837d2c Fix add command in backstage (#24043) 2023-07-18 09:03:52 -04:00
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 8f96888b1a06716d41e27e7f5e76fa193b0ac86d.

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

This reverts commit 69ee162a6e3d08f23f14628785b1e4f554259ea4.

* 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