Commit Graph

17739 Commits

Author SHA1 Message Date
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
Maria A Nunez
6f67876629
Bumped NPS version (#25007) 2023-10-19 10:17:53 -04:00
Akbar Abdrakhmanov
df4df815c7
[MM-54837] Convert LocalizedInput of 'permission_team_scheme_settings.tsx' to regular input component (#24988) 2023-10-19 16:34:58 +05:30
Daniel Espino García
f62634622f
[MM-53904] Fix MM-53904 (#24622)
* Fix MM-53904

* Simplify regex

* Simplify utils regex

* Fix lint

* Address feedback and polish regex

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-19 12:59:02 +02:00
Tanmay Vardhaman Thole
6f4d362f9f
migrate DropdownSetting component from class based to function based component (#24796)
* migrate DropdownSetting component to function comp

* code optimized

* snapshot updated

* snapshot updated

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-19 12:58:36 +02:00
Tanmay Vardhaman Thole
c5b43df163
Migrate RemoveFileSetting component from class based to function based component (#24797)
* migrate RemoveFileSetting comp to function comp

* code refactored

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-19 12:28:11 +02:00
Dipan Dhali
4ec573c3fb
[MM-54793] Convert ./components/widgets/separator/notification-separator.tsx to Function Component (#24887)
* Converted Notification Seperator to function component

* Fixed lint error

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-19 12:22:07 +02:00
js029
c97731e4a6
MM-24743 Migrate DataRowGrid to functional component (#24795)
* Migrate DataRowGrid to functional component

* Change renderCell to a functional component dataGridCell and memoize DataGridRow

* Adjust test snapshot to include memoised DataGridRow

* use component notation when using DataGridCell

---------

Co-authored-by: js029 <js029@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-19 12:11:53 +02:00
Artur Bauer
ec394c1162
refactor: convert DataGridHeader into function component (#24747)
* refactor: convert DataGridHeader into function component

* fix: core review

* split into 2 components

* add key for maped items

* lint firx

* fix missing parentheses

* fix bracket

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-19 11:00:24 +02:00
Tanmay Vardhaman Thole
4eb30f517c
migrate notify counts component from class based to function based comp (#24794)
* migrate notify counts component to function comp

* comment resolved

* Update webapp/channels/src/components/notify_counts/notify_counts.tsx

* Fixing tests

* Removing unnecessary call

---------

Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-19 10:45:14 +02:00