Commit Graph

17748 Commits

Author SHA1 Message Date
Sudheer Tripathi
e5adf25fa0
[MM-55095] Replace usage of LocalizedIcon in 'backstage_header.tsx' with i/span tags (#25117) 2023-10-25 15:50:54 +05:30
Julien Tant
5a1c658183
[MM-54479] Fix spacing in suggestion box (#24597) 2023-10-24 14:43:47 -07:00
Jesse Hallam
2b8432bd5c
Fix i18n merge conflicts (#25126)
* Translated using Weblate (Dutch)

Currently translated at 100.0% (2490 of 2490 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/nl/

* Translated using Weblate (Polish)

Currently translated at 100.0% (5705 of 5705 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (5702 of 5702 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (2490 of 2490 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/pl/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (5702 of 5702 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/tr/

Translated using Weblate (Turkish)

Currently translated at 100.0% (2490 of 2490 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/tr/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (5705 of 5705 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (5705 of 5705 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (5702 of 5702 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/zh_Hans/

* Translated using Weblate (Kazakh)

Currently translated at 2.1% (125 of 5705 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/kk/

Translated using Weblate (Kazakh)

Currently translated at 1.4% (83 of 5702 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/kk/

* Translated using Weblate (Vietnamese)

Currently translated at 83.5% (2081 of 2490 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/vi/

Translated using Weblate (Vietnamese)

Currently translated at 83.2% (2072 of 2490 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/vi/

* Translated using Weblate (German)

Currently translated at 100.0% (5702 of 5702 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/

Translated using Weblate (German)

Currently translated at 100.0% (2490 of 2490 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/de/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (5705 of 5705 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sv/

Translated using Weblate (Swedish)

Currently translated at 100.0% (5702 of 5702 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sv/

Translated using Weblate (Swedish)

Currently translated at 100.0% (2490 of 2490 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/sv/

* Translated using Weblate (Albanian)

Currently translated at 4.3% (247 of 5702 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sq/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (5705 of 5705 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2490 of 2490 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/zh_Hans/

* Translated using Weblate (German)

Currently translated at 100.0% (5705 of 5705 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/

* Translated using Weblate (Kazakh)

Currently translated at 2.8% (161 of 5705 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/kk/

* Translated using Weblate (Vietnamese)

Currently translated at 89.8% (2237 of 2490 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/vi/

* Translated using Weblate (Vietnamese)

Currently translated at 89.8% (2237 of 2490 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/vi/

---------

Co-authored-by: ctlaltdieliet_TESTACCOUNTFORWEBINARS <github3@controlaltdieliet.be>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: ThrRip He <thrrip@thrrip.space>
Co-authored-by: Akbar Abdrakhmanov <kz.akbar@gmail.com>
Co-authored-by: linkvn <nguyentunglinh87@gmail.com>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: rubinaga <rubinaga02@gmail.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: cescpmantidfly <cescpmantidfly@gmail.com>
2023-10-24 17:45:44 -03:00
Julien Tant
da20a036a3
[MM-54515] Fix textarea not working in interactive dialog (#24586) 2023-10-24 13:25:18 -07:00
Ben Cooke
cd39edc3ff
adding error for when invite request fails (#24436)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-24 15:52:04 -04:00
Sudhanva-Nadiger
c2a3ef6b3d
[MM-47055] Migrate "components/advanced_create_post/advanced_create_post.test.jsx" to Typescript (#24955) 2023-10-24 22:34:45 +05:30
Saket Kaswa
a64bc3af7a
Converted Class Component to Function Component, Solved #24783 (#24812)
* Converted Class Component to Function Component, Solved #24783

* Added useCallback

* Removed useState

* Wrapped TeamFilterCheckbox component with React.memo

* Added React.nemo in export line

* Tried to fix issue

* Deleted package.json and package-lock.json (Extra)

* Minor Changes

* Added Copyright Lines

* Fixed check-lint errors

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-24 17:53:15 +02:00
M-ZubairAhmed
4a0cf786be
[MM-54877] Replace usage of LocalizedIcon in "select_team_item.tsx" & "file_upload_overlay.tsx" with i/span tags (#25071) 2023-10-24 20:30:19 +05:30
Scott Bishel
86812b9b9e
MM-54514 fix for invite_id being updated on all changes (#24674)
* fix for invite_id being updated on all changes

* lint fixes

* update webapp unit tests

* change fix to webapp

* lint fixes

* Update teams.ts

* update tests

* revert package-lock.json

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-24 08:49:19 -06:00
Daniel Espino García
6125b0ca7f
MM-54778 Fix mark as unread on GMs (#24880)
* Fix mark as unread on GMs

* Don't count own messages in gms when marking as unread

* Change argument name

* Rename userId

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-24 15:27:30 +02:00
Ben Schumacher
5d3ba7483b
[MM-53057] Disallow malformed channel names for DMs (#24404) 2023-10-24 15:08:14 +02:00
Alexandre Gomes
24f5672da8
Update introduction.yaml (#24884)
Automatic Merge
2023-10-24 14:22:22 +03:00
M-ZubairAhmed
e552f6b86a
[MM-54848] Remove deprecated LocalizedInput component (#25052) 2023-10-24 14:41:29 +05:30
Ben Schumacher
22c9c80cd2
[MM-54929] Revert "Remove unnecessary mmctl enterprise deps (#24395)" (#25063)
* Revert "Remove unnecessary mmctl enterprise deps (#24395)"

This reverts commit 32512d35fb.

* Add comment
2023-10-24 10:51:38 +02:00
Jesús Espino
f8e8eca985
Expose components needed for the ai plugin new interface (#24972)
* Export thread components

* Exporting AdvancedCreateComment

* Expose components needed for the ai plugin new interface

* Exporting the placeholder for the plugin CreatePost component, and simplify the export

* Fixing linter errors

* Fixing type errors

* Reverting typescript related changes

* Cheating typescript to keep the changes as minimal as possible

* Fix linter errors
2023-10-24 10:35:20 +02:00
Atharva Joshi
c67391f1db
[GH-25050] Typo in AddEmoji component (#25051) 2023-10-24 11:49:33 +05:30
Ben Schumacher
e864f9cfee
[MM-55052] Improve file extraction logging (#25036) 2023-10-23 20:25:40 +02:00
Ben Schumacher
aa82597e2d
[MM-55048] Pretty print posts, users, channels and teams in logs (#25029) 2023-10-23 20:22:36 +02:00
Harrison Healey
a78710c2a6
MM-54201 Refactor mention parsing in preparation for multi-word mentions (#25030)
* MM-54201 Move ExplicitMentions to its own file and rename it (#24932)

* MM-54201 Move ExplicitMentions to its own file and rename it

* Fix vet

* MM-54201 Refactor current mention parsing into MentionParserStandard (#24936)

* MM-54201 Refactor current mention parsing into MentionParserStandard

* Fix vet

* MM-54201 Unify user and group mention parsing logic (#24937)

* MM-54201 Add MentionKeywords type

* MM-54201 Move group mentions into MentionKeywords

* Fix flaky test caused by random iteration order

* Update server/channels/app/mention_results.go

Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>

* Address feedback

---------

Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>

---------

Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
2023-10-23 12:37:58 -04:00
Julien Tant
74f35aa92c
(makefile) Injecting test data should not stop the server (#25045) 2023-10-23 09:22:07 -07:00
Tom De Moor
ecace3a166 Translated using Weblate (Dutch)
Currently translated at 100.0% (5705 of 5705 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/
2023-10-23 18:22:23 +03:00
rubinaga
e394a37d56 Translated using Weblate (Albanian)
Currently translated at 4.3% (247 of 5702 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sq/
2023-10-23 18:22:23 +03:00
MArtin Johnson
41bf4a9fda Translated using Weblate (Swedish)
Currently translated at 100.0% (5705 of 5705 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sv/

Translated using Weblate (Swedish)

Currently translated at 100.0% (5702 of 5702 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sv/

Translated using Weblate (Swedish)

Currently translated at 100.0% (2490 of 2490 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/sv/
2023-10-23 18:22:23 +03:00
jprusch
9b38785a88 Translated using Weblate (German)
Currently translated at 100.0% (5702 of 5702 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/

Translated using Weblate (German)

Currently translated at 100.0% (2490 of 2490 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/de/
2023-10-23 18:22:23 +03:00
linkvn
5919039e71 Translated using Weblate (Vietnamese)
Currently translated at 83.5% (2081 of 2490 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/vi/

Translated using Weblate (Vietnamese)

Currently translated at 83.2% (2072 of 2490 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/vi/
2023-10-23 18:22:23 +03:00
Akbar Abdrakhmanov
1f6671c253 Translated using Weblate (Kazakh)
Currently translated at 2.1% (125 of 5705 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/kk/

Translated using Weblate (Kazakh)

Currently translated at 1.4% (83 of 5702 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/kk/
2023-10-23 18:22:23 +03:00
ThrRip He
2df535c7b5 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (5705 of 5705 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (5702 of 5702 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/zh_Hans/
2023-10-23 18:22:23 +03:00
Kaya Zeren
40354f7759 Translated using Weblate (Turkish)
Currently translated at 100.0% (5702 of 5702 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/tr/

Translated using Weblate (Turkish)

Currently translated at 100.0% (2490 of 2490 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/tr/
2023-10-23 18:22:23 +03:00
master7
58570a29ad Translated using Weblate (Polish)
Currently translated at 100.0% (5705 of 5705 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (5702 of 5702 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (2490 of 2490 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/pl/
2023-10-23 18:22:23 +03:00
ctlaltdieliet_TESTACCOUNTFORWEBINARS
7cbabdf6c5 Translated using Weblate (Dutch)
Currently translated at 100.0% (2490 of 2490 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/nl/
2023-10-23 18:22:23 +03:00
Jesse Hallam
4043f8b57b
upgrade gotestsum@v1.11.0 (#25062) 2023-10-23 11:54:42 -03:00
Qrypt
a46ad3169c
(feature) New MessagesWillBeConsumed Server Plugin Hook (#23305)
* feature: implemented basic MessageWillBeConsumed hook and applied on GetSinglePost method.

* use hook in get methods

* chore: refactored hook usage and created utils functions to apply hook

* bugfix: single post not updating

* chore: adjusted hook to return post

* chore: reverted some uneeded  changes

* chore: updated hook to accept slice of posts

* bugfix: slice filled with niil values

* chore: MessageWillBeConsumed ranamed to MessagesWillBeConsumed

* Update plugin/hooks.go

Co-authored-by: Jesse Hallam <jesse@thehallams.ca>

* Add feature flag

* Update min version

* update tests to account for feature flag

* fix linting issues

---------

Co-authored-by: Matej Topolovac <>
Co-authored-by: mtopolovac <43346061+mtopolovac@users.noreply.github.com>
Co-authored-by: Jesse Hallam <jesse@thehallams.ca>
Co-authored-by: Kevin Hsieh <kevinh@qrypt.com>
Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
2023-10-23 11:12:46 -03:00
Jesús Espino
bdacc97454
Using the lightbulb icon for linking to the documentation (#25013)
* Using the lightbulb icon for linking to the documentation

* Using the LightbulbOutlineIcon component

* Generating the test snapshot
2023-10-23 13:41:13 +02:00
sjcode99
13aaf6d363
Convert ./components/permissions_gates/any_team_permission_gate/any_t… (#24970)
* Convert ./components/permissions_gates/any_team_permission_gate/any_team_permission_gate.tsx

* React memo added

* linting issue resolved

---------

Co-authored-by: sjcode99 <misuraj2611@gmail.com>
2023-10-23 10:45:25 +02:00
Ben Schumacher
d0c22aa1cd
[MM-54435] Use annotated logger to capture compliance export logs (#24791) 2023-10-23 10:20:32 +02:00
Akbar Abdrakhmanov
fe6131caed
[MM-54836] Convert LocalizedInput of 'compliance_reports.tsx' to regular input component (#25014) 2023-10-23 13:38:53 +05:30
ylac
df727947d1
[MM-52831] Migrate "components/admin_console/message_export_settings.jsx" and tests to Typescript (#24933) 2023-10-21 05:34:25 +05:30
M-ZubairAhmed
7caa5bce25
[MM-54486] Copy pasting images from chrome fails (#24718) 2023-10-21 05:29:32 +05:30
Agniva De Sarker
2f5ca43158
Clarify the sensitive/sanitized logic (#25034)
I was looking at the high number of user_updated ws events
and ran across this piece of code. Had a hard time digesting it,
thought of adding a comment for people to understand it more
clearly.

```release-note
NONE
```
2023-10-20 20:49:50 +05:30
Sondre Kjempekjenn
5196a184a0
[GH-22370] Disable markdown keybindings within codeblocks (#24558)
* Disable markdown keybindings within codeblocks

Addresses a usability issue where certain keyboard combinations, primarily used in nordic keyboard layouts, conflict with markdown shortcuts in the editor. This is especially problematic when trying to write characters like \, {, or }.

Given that markdown rendering does not happen within code blocks, this commit disables markdown shortcuts in those regions to allow for normal text entry.

Related Issue: #22370

* Added test suite

* Add test to ensure isWithinCodeBlock is stateless

* Disable markdown keybindings within codeblocks for advanced_create_comment

* Fix linting issues
2023-10-20 14:23:30 +02:00
Akbar Abdrakhmanov
745e5252ab
[MM-54832] Convert LocalizedInput of 'password_reset_send_link.tsx' to regular input component (#25018) 2023-10-20 17:16:22 +05:30
Akbar Abdrakhmanov
342b20ba54
[MM-54830] Convert LocalizedInput of 'team_general_tab.tsx' to regular input component (#25012) 2023-10-20 17:14:43 +05:30
Ben Schumacher
86b965a3c4
[MM-53256] Use buildinfo instead of env variables for mmctl (#23794) 2023-10-20 11:23:05 +02:00
Aayush Borkar
44256326a1
Update store badges on README.md (#24713)
Automatic Merge
2023-10-20 10:52:22 +03:00
Ross Baquir
6e214edb87
MM-54173: Part 2 - unify at mention components (#24487) 2023-10-20 10:34:29 +04:00
Jesse Hallam
c2bc4008fc
prevent modifying non-English translation files (#25002) 2023-10-19 14:40:06 -03:00
Ben Schumacher
e090adcb65
Add information about permanent user deletion to audit logs (#25017) 2023-10-19 17:49:53 +02:00
Carrie Warner (Mattermost)
a234b8f39a
In-product notices can gather user feedback (#25004) 2023-10-19 11:42:49 -04:00
Ben Schumacher
4ed32be6d2
[MM-53019] Add file storage permission check to workspace health dashboard (#24403) 2023-10-19 17:31:09 +02:00
Tom De Moor
3d81a63b4e
Removing empy zh_Han* files that are raising an alert in Weblate (#25011)
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
2023-10-19 11:18:21 -03:00