Commit Graph

17774 Commits

Author SHA1 Message Date
Carrie Warner (Mattermost)
e34e72ec12
Revert "In-product notices can gather user feedback (#25004)" (#25066)
Automatic Merge
2023-10-27 19:22:23 +03:00
Dipan Dhali
9150d5084e
[MM-55103] Replace usage of LocalizedIcon in 'rhs_card_header.tsx' with i/span tags (#25162) 2023-10-27 19:26:33 +05:30
Sudhanva-Nadiger
a5f6cc30a4
[MM-55104] Replace usage of LocalizedIcon in 'rhs_header_post.tsx' with i/span tags (#25159) 2023-10-27 19:23:32 +05:30
Balaji K
3116c7ad31
[MM-55121] Replace usage of LocalizedIcon in 'fa_success_icon.tsx' with i/span tags (#25134) 2023-10-27 18:38:39 +05:30
Andrew Delph
678ac22c79
getChannelAndMyMember to load profiles for new channel (#25127)
ws preferences change event load profiles for GM on GM show

getChannelAndMyMember user Promise.all

remove changes in getChannelAndMyMember

seperate perfence changes by DM and GM instead of load both
2023-10-27 13:12:55 +02:00
Atharva Joshi
b284d40faa
[MM-55092] Replace usage of LocalizedIcon in 'admin_navbar_dropdown.tsx' with i/span tags (#25158) 2023-10-27 14:40:56 +05:30
js029
eb51d43a2d
[MM-55097] Replace usage of LocalizedIcon in 'channel_header.tsx' with i/span tags (#25125) 2023-10-27 14:39:26 +05:30
Akbar Abdrakhmanov
49cc181b00
[MM-54744] 'Customize your experience' point points to Settings icon in header (#25032) 2023-10-27 12:40:52 +05:30
Nicolas Le Cam
573e45691f
MM-52280: Generate higher contrast for some usernames (#25073)
* MM-52280: Generate higher contrast for some usernames

Keep 3 tries but return the best value instead of the last one

Signed-off-by: Nicolas Le Cam <niko.lecam@gmail.com>

* Try ten times to find the best contrast before giving up

---------

Signed-off-by: Nicolas Le Cam <niko.lecam@gmail.com>
2023-10-26 15:48:35 -04:00
Julien Tant
375404c12e
[MM-54522] Add trial info to log + support packet (#24596)
Automatic Merge
2023-10-26 22:22:22 +03:00
Daniel Espino García
756765b9b4
Unify handlePaste and handlekeydown (#24511)
* Unify paste and handlekeydown

* Fix snapshots

* Address feedback

* Properly fix MM-54178 and avoid opening the reaction from the edit post textbox
2023-10-26 18:41:43 +02:00
Amy Blais
c1eb40ae05
Update en.json (#25074)
Automatic Merge
2023-10-26 16:52:22 +03:00
janlengyel
18bc5536f4
[MM-52846] Migrate "components/autocomplete_selector.jsx" and tests to Typescript (#25056)
* Migrate AutocompleteSelector and tests to ts

* Remove commented code

* More cleanup

* Implemented suggestions

* Revert formatting change

* Remove default value and add undefined check

* Remove optional from props with default values

* Unify "Selected" type
2023-10-26 15:28:27 +02:00
Daniel Espino García
cee4411355
[MM-54495] Fix update post plugin hooks (#24602)
* Fix updatePost props and plugin hooks

* Add more tests

* Minor naming improvement

* Revert props related changes

* Fix test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-26 15:15:00 +02:00
Nicolas Le Cam
6649bbebb8
[MM-54924] Update pdfjs to version 3.11.174 (#25075) 2023-10-26 15:36:10 +05:30
M-ZubairAhmed
5013d35e97
[MM-54876] Deprecate all custom translation functions and components (#25069) 2023-10-26 14:10:52 +05:30
Balaji K
c4d2504605
[MM-55118] Replace usage of LocalizedIcon in 'fa_next_icon.tsx' with i/span tags (#25133) 2023-10-26 12:27:06 +05:30
Balaji K
385b839179
[MM-55120] Replace usage of LocalizedIcon in 'fa_search_icon.tsx' with i/span tags (#25132) 2023-10-26 12:25:23 +05:30
Tanmay Vardhaman Thole
009d6136f0
[MM-54118] Special mentions (@here, @channel) are not formatted correctly in the RHS (#24800) 2023-10-26 12:24:06 +05:30
Harrison Healey
14fd5c8168
Remove some usage of changeCss and some unused CSS (#25049)
* Inline .more-modal__gm-icon background

* Remove superceded .user-popover__role background

* Inline .svg-text-color fill

* Inline .multi-select__note background

* Remove superceded .status--group background rule

* Split rules

* Remove unused .modal-tabs rule and CSS

* Inline .system-notice border-color rule

* Inline .image-loaded border-color

* Remove superceded .dropdown-menu button border-color

* Removed unused .member-list__popover rules and CSS

* Inline .alert-transparent border-color

* Inline .access-history-modal .table border-color

* Inline .post-list__arrows fill

* Inline .card-icon__container color

* Inline .post-image__download svg border-color and stroke

* Split rules

* Remove unused .channel-header__links rules and CSS

* Remove unused .usage__icon rule and CSS

* Remove unused .more-modal__header rule

* Remove unused .icon--body rule

* Inline .post-menu border-color

* Remove unused .post-waiting rule and CSS

* Inline .post__body color

* Split rules

* Inline .nav-tab color

* Inline .input-group-addon color

* Inline .app_content color rule

* Remove unused .post-create-body rule and CSS

* Inline .msg-typing color

* Inline .dropdown-menu color

* Inline .popover color

* Remove superceded .suggestion-list__main color

* Remove .tip-overlay rule and unused _tutorial.scss

* Inline .form-control disabled and readonly color

* Inline fieldset[disabled] color

* Inline .post__link color

* Remove unused #archive-link-home rule and CSS

* Remove unused .video-thumbnail__error rule and CSS

* Inline #post-create color

* Remove unused .mentions--top rules

* Inline .system-notice box-shadow and remove unneeded .shadow--2 rules

* Split rules

* Inline .shortcut-key background rule

* Remove superceded .post__body hr background rule

* Inline .loading__content .round background-color

* Inline .tutorial__circles .circle background-color

* Inline .channel-header .heading color

* Update missed snapshots

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-25 16:53:46 -04:00
sjcode99
fb11048d87
Convert ./components/widgets/loading/loading_wrapper.tsx from Class C… (#24997)
* Convert ./components/widgets/loading/loading_wrapper.tsx from Class Component to Function Component

* removed snapshots from the testcase

---------

Co-authored-by: sjcode99 <misuraj2611@gmail.com>
2023-10-25 15:50:26 -04:00
Neto Costa
00108d44bb
[MM-47821]: fix searchUserCmdF to return proper errors (#24700)
* fix: fix searchUserCmdF to return proper errors

* fix: fix broken tests

* fix: fix go-ci issues

* fix: fix more broken tests

* fix: fix wrong function call on error getting user test

* fix: fix e2e test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-25 14:56:12 -04:00
Antonis Stamatiou
f01e8f6c6d
[CLD-6501] Enhance visibility for PR builds artefacts (#25141)
Co-authored-by: Akis Maziotis <akis.maziotis@mattermost.com>
2023-10-25 18:22:15 +03:00
jannikb
76234892d2
Add back button to 'Don't have an account' page (#24994)
* Add back button to 'Don't have an account' screen

* update track event based on pr comment

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>

* fix absolute import

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2023-10-25 11:02:56 -04:00
Ben Schumacher
671cf6cc3d
[MM-54319] Add AdvancedLoggingJSON setting to system console (#24733)
* Add AdvancedLoggingJSON setting to system console

* Apply suggestions from code review

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>

* Add validation for AdvancedLoggingJSON

---------

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-25 16:40:07 +02:00
Dhani
0844968d81
[MM-53166] Reset notification sounds modal selection when settings canceled (#24871)
* fix: 24849 - reset notification selection

* test: 24849 - add notification e2e test

* test: 24849 - add notification e2e test

* fix: 24849 - lint error

* feat: 24849 - add and enable calls plugin

* fix: 24849 - fix plugins lint

* fix: 24849 - e2e and desktop component

* fix: 24849 - e2e class queries

* test: 24829 - update snapshot

* test: 24849 - change MM code and remove call sound

---------

Co-authored-by: dhnlr <work@dhnlr,com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-25 09:28:30 -04:00
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