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

3980 Коммитов

Автор SHA1 Сообщение Дата
Nikhil Kulkarni
6d51307ddf [MM-57711] Convert ./components/latex_inline/latex_inline.tsx from Class Component to Function Component (#28129)
* Changed the class component to functional

* Updated the tests for latex_inline

* Updated the snapshots and tests

* Updated the tests, snapshots and changed div to span

* Updated snapshots and tests

* used renderWithContext instead of render in tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-25 11:59:33 +02:00
Caleb Roseland
e0e0b57b8b MM-54022: add warning when deleting a remote post (#28284) 2024-09-24 12:04:26 -05:00
Harrison Healey
e080f9f5ed Change localizeMessage to take a MessageDescriptor as a parameter (#28141)
* Change localizeAndFormatMessage to take a MessageDescriptor

* Change localizeMessage to take a MessageDescriptor as a parameter

* Update mmjstool to support new localizeMessage signature

* Change mmjstool commit back to master branch
2024-09-24 12:07:51 -04:00
Caleb Roseland
355dd18e52 MM-60335: Upgrade to typescript 5.5.4 (#28099)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-24 10:39:35 -05:00
Harrison Healey
46cad5c552 MM-59854 Fully allow at mentions in message attachment field values and add E2E tests (#28018)
* Add descriptions to test cases for getNeededAtMentionedUsernames

* MM-59854 Load users who are at-mentioned in message attachment fields

* MM-59854 Add server support for at-mentioning users in message attachment fields

* Migrate support/external_commands from JS to TS

* MM-59584 Ensure that at-mentions never show in other message attachment fields

* MM-59584 Add E2E tests for how we load users based on at mentions

* Use new E2E test helpers in other places

* Update snapshots
2024-09-24 09:41:03 -04:00
Pablo Vélez
88ad3bb95b MM-60419 - fix styling regression by adding back placeholder injection link element (#28219)
* MM-60419 - fix styling regression by adding back placeholder injection link

* add relevant comment

* add more details to how the link element work

* Update webapp/channels/src/root.html

---------

Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-24 15:28:35 +02:00
Pablo Vélez
5c7f99921b MM-60312 - replace office365 logo with entraId new logo (#28234)
* MM-60312 - replace office365 logo with entraId new logo

* rename icon file name

* remove unncessary aria-label in svg inside a button

* remove unnecessary translation

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-24 15:27:04 +02:00
M-ZubairAhmed
df901b132e [MM-60514] Accessing bot_accounts page directly fails to load (#28247) 2024-09-24 10:40:33 +00:00
M-ZubairAhmed
a03972e502 [MM-60303] Changing status in mobile app doesn't change your status in the webapp (#28246) 2024-09-24 10:39:26 +00:00
Weblate (bot)
b6f83c8438 Translations update from Mattermost Weblate (#28282)
Automatic Merge
2024-09-23 16:14:32 +02:00
Saturnino Abril
073e2cecaa use node's native fetch, add ensureLicense flag and update snapshots (#28279) 2024-09-23 21:11:45 +08:00
Harshil Sharma
13b6e75fa9 Fixed horizontal alignment of no draft graphic (#28224)
* Fixed horizontal alignment of no draft graphic

* Lint fix
2024-09-19 12:33:11 +05:30
goooov
70cb1934e9 [MM-55296] Added warning in Workspace dashboard if Mattermost is running as root (#27999)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-09-18 11:51:50 +02:00
Caleb Roseland
d99961f106 Channel Bookmarks: adds enable, reordering, and other fixes (MM-56286, MM-59807, MM-59808, MM-60031, MM-59872) (#28098)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-17 11:50:34 -05:00
Scott Bishel
d1960daa20 update icon color to system color (#28190) 2024-09-16 17:38:39 +02:00
Weblate (bot)
35079452c8 Translations update from Mattermost Weblate (#28198)
Automatic Merge
2024-09-16 16:14:33 +02:00
Vishal
3acceeefb2 quote names when using recent mention search (#28119) 2024-09-16 13:58:51 +05:30
Scott Bishel
46ca7747f8 set object to accept function, prevent javascript error (#28192) 2024-09-13 14:21:56 -06:00
Harshil Sharma
a0a6c48773 FIxed scrolling issue on drafts (#28187) 2024-09-13 19:22:04 +05:30
Scott Bishel
d1557271f1 Remove lock from shared channels indicator (#28132)
* remove lock from shared channels indicator

* remove import

* remove channelType

* remove channel type after merging

* update snapshot

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-12 11:26:27 -06:00
Caleb Roseland
84a0c09d56 Content-Type fixes in client4.ts and remote_cluster.go (#27887)
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2024-09-12 10:21:06 -05:00
Ivy Gesare
19733eef1e [MM-59811] Fix Incorrect "set custom status" Color (#27777)
* Change: Update color css property to a=0.75 in custom_status__container class

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-12 16:28:35 +05:30
Guillermo Vayá
41bca03270 MM-55208 allow search prefixes (#28146)
* Ignore at and tilde for username and channel searches.

* allow using tilde in search suggestions

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-12 12:19:51 +02:00
Scott Bishel
5d8bf5f97b MM-58452-Update system console with shared indicator (#28131)
* update system console with shared indicator

* lint fixes, test fixes, i18 fixes

* minor tweeks

* Update webapp/channels/src/components/channel_members_rhs/member.tsx

Co-authored-by: Caleb Roseland <caleb@calebroseland.com>

---------

Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
2024-09-11 15:11:15 -06:00
Scott Bishel
1d6eb20a71 MM-58451 Add/Update Shared Channel indicator locations (#28130)
* update shared channel sidebar

* implement for direct channels

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-11 15:10:46 -06:00
Miguel de la Cruz
d5e9aa9fb3 Adds ConnectedWorkspacesSettings configuration block (#27820)
* Adds ServerFederationSettings configuration block

The Server Federation related configuration properties were located in
the `ExperimentalSettings` config block. Now that the feature is going
to get out of beta, and foreseeing more configuration properties being
added to it, we're moving them to a block of its own.

If the properties were set in the old location, their values should be
carried over to the new ones. The old properties are left in place and
marked as deprecated not to cause issues with the model.

* Update System Console to include Server Federation section

* Remove system console section

* Move the configuration properties to ConnectedWorkspaces

* Add ConnectedWorkspacesSettings to the telemetry

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-10 22:33:00 +02:00
Scott Bishel
0c585bdac6 MM-59529 Set Channel/Team Admin permissions if All members get set (#28104)
* initial fix

* cleanup code

* move struct back

* fix unit test

* add unit tests

* add comments

* add manage_bookmark permissions

* revert package-lock.json

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-10 11:26:55 -06:00
Saturnino Abril
eb560fff1e Upgrade Playwright's dependencies (#28125)
* upgrade playwright's dependencies

* fix test

* fix types

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-10 14:54:10 +08:00
M-ZubairAhmed
c2df4e413e [MM-60284] Desktop app doesnt stop the initial loading indicator (#28056) 2024-09-09 20:15:14 -04:00
Weblate (bot)
d5e7a6cf1f Translations update from Mattermost Weblate (#28135)
Automatic Merge
2024-09-09 14:44:33 +02:00
Arya Khochare
d7a63b2a71 Code command whitespace fix (#28048) 2024-09-09 08:21:06 +02:00
Harrison Healey
8c5f00da86 MM-60285 Add fresh label to channel and team switch metrics (#28100)
* Changed measureAndReport to take an object as parameters

* MM-60285 Add fresh label to channel and team switch metrics
2024-09-05 16:30:24 -04:00
Daniel Espino García
92793928bc Fix autofocus on load (#28090)
* Fix autofocus on load

* Address feedback

* Fix styles lint

* Revert unintended change

* fix tests

* Update text
2024-09-05 14:27:29 +02:00
M-ZubairAhmed
7232feecf7 [MM-59299] Investigate further breaking down chunks of components/node_modules for initial load (#27845) 2024-09-04 05:55:47 +00:00
Weblate (bot)
e104575505 Translations update from Mattermost Weblate (#28109)
Automatic Merge
2024-09-03 17:14:33 +02:00
Rishikesh Solapure
073d4ff959 [MM-60079] Converted ./reducers/views/modals.test.tsx class component to functional component (#28033)
* fix: converted class component to functional component

* fix: resolved the eslint error

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-02 10:50:48 +02:00
Matthew Birtch
eb5c746a24 MM-46697 Fix out of office alignment on user menu and update confirmation modal button text (#28040) 2024-08-31 09:18:53 +08:00
Devin Binnie
a2a54af338 [MM-59912] Update unread threads in team when threads are received (#28059) 2024-08-30 10:07:59 -04:00
Tihomir Nikolov
9801007b90 [MM-60073] Migrate /components/admin_console/custom_enable_disable_guest_accounts_setting.tsx from class to function component (#27963)
* chore: update to functional component

* chore: add test and fix text

* chore: remove redundant fn

* fix: comments from review

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-08-30 11:26:29 +02:00
Daniel Espino García
422df51d77 Fix unfocussed react to last message (#28091)
Automatic Merge
2024-08-29 17:14:32 +02:00
Harrison Healey
e99d92dc66 MM-60241 Ensure RHS post list always fills available space (#28087)
Automatic Merge
2024-08-29 16:44:32 +02:00
M-ZubairAhmed
9f8bc4b171 [MM-60215] Webapp resize with announcement banner enabled will cause screen to blank out (#28065) 2024-08-29 13:39:00 +00:00
Tasnim Tantawi
60ffd00d30 [MM-57719] Convert form_error.tsx to function component (#27914)
* solve conflicts

* update snapshots

* Fix types

* update snapshots
2024-08-28 11:03:41 +02:00
Daniel Espino García
5030e2cdb2 Fix Ctrl-up when changing the value on different inputs (#28062) 2024-08-28 10:58:51 +02:00
Matthew Birtch
244b7e565b MM-59855 Fix layout issue on smaller screens when rhs is expanded (#28025)
* fixed layout isssue for <1200px when rhs is expanded

* border-radius on rhs when collapsed in 768-1200 range
2024-08-27 15:58:55 +02:00
Daniel Espino García
182190314f Fix replying on deleted posts (#28061) 2024-08-27 15:58:05 +02:00
M-ZubairAhmed
626ccdea4b [MM-59889] Remove SimpleTooltip of "components/widgets/simple_tooltip" (#28036) 2024-08-27 06:40:19 +00:00
Scott Bishel
e64cdfb34b MM-58066-Use Client Config to determine AppsEnabled (#27872)
* remove enabling apps plugin by default

* use client config to determine creating app bindings.

* update the way dispatch is made

* updated type setting

* fixed unit test

* prevent a nil check

* dispatch batch

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-08-26 16:03:17 -06:00
Weblate (bot)
9591e6182f Translations update from Mattermost Weblate (#28051)
Automatic Merge
2024-08-26 15:44:32 +02:00
M-ZubairAhmed
5d7aa17a27 [MM-58726] Add a loading screen to initial load of the web app (#27740) 2024-08-26 12:41:59 +00:00