Commit Graph

19360 Commits

Author SHA1 Message Date
Mario Vitale
f06742c7e2
Fix image mirroring issues (#28849) 2024-10-18 13:32:39 +02:00
Caleb Roseland
fcded9559c
MM-61032: Add default_team_id to accept invite flow (#28841)
* add default_team_id to accept invite api

* add team selector to accept invite flow UI

* e2e

* lint/i18n
2024-10-18 12:26:38 +02:00
Miguel de la Cruz
5a923e0b94
Updates the create remote cluster endpoint to require a default team id (#28709)
Support for RemoteClusters without a default team id is in place for
old servers that created those connections before v10.1. This change
forbids the creation of new RemoteClusters without providing this
field, and will be removed when manual invites are implemented.

Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
2024-10-18 12:22:27 +02:00
Scott Bishel
ad50357792
change Get() to use Master (#28842)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-18 12:19:43 +02:00
Mario Vitale
2e010837f0
Update mirrored images, build opensearch (#28835)
* Update mirrored images, build opensearch
2024-10-18 09:45:51 +02:00
TheInvincible
bfd1d49e06
Fix errcheck issue in subpath_test.go (#28791)
* Fix errcheck issue in subpath_test.go

* Fix govet error

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-18 11:59:49 +05:30
Arya Khochare
c4fde3109b
[MM-57900] With long instance names, the About message gets cutoff in menu item (#26955) 2024-10-18 04:05:47 +00:00
Caleb Roseland
e6d6881917
MM-60980: Add RemoteClusterInvite.IsValid (#28624)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-17 20:37:11 -05:00
Arya Khochare
73fc99b577
errcheck issues fixed (#28646)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-17 15:22:01 +02:00
TheInvincible
0cb2475ea4
Fix errcheck issue in handlers.go (#28794) 2024-10-17 12:37:41 +02:00
Aditi Patel
347ca15f8d
[MM-60858] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/commercial_support_modal/commercial_support_modal.tsx' with FormattedMessage (#28737) 2024-10-17 10:29:15 +00:00
Caleb Roseland
9ae2752593
MM-60616: Shared Channels - System Console E2E (#28379)
* fix rc content types

* api spec

* don't ignore content type when parsing body

* secure connections:
- create
- read
- update
- delete
- share
- accept

* title

* wip

* manage shared channels, other fixes

* revert

* revert old

* maxlines

* add team selector, tooltip fix, msg fixes

* cleanup

* remote disabled state admindef

* add team label to channels input, fix i18n

* add filter

* review fixes, other fixes

* cleanup

* refactor channel fetching

* move modals

* fix imports, fix collected id

* remove unused action

* tabs visibility

when connection pending, hide tabs if none from home are shared.
when connection is connected, always show tabs

* api docs invite/uninvite response type

* fix modal id ref

* Remove the generate invite option for confirmed clusters

* e2e: add empty state test

* e2e: add create flow test

* fix modal id ref

* rev: double negation

* rev: server side password for create flow

* rev: remote cluster type 0 token, delete_at

* testing a11y, ids

* e2e

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2024-10-17 10:36:51 +02:00
Michael
cd43bac181
[MM-60829] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/unarchive_channel_modal/unarchive_channel_modal.tsx' with FormattedMessage (#28730) 2024-10-17 06:45:18 +00:00
Ben Schumacher
2c139a293b
Add missing parenthesis in mmctl webhook list (#28778)
* Add missing parenthesis in mmctl webhook list

* Use generics in StoreResult
2024-10-17 07:45:10 +02:00
Elias Nahum
f8f998bfcb
set update_at on bookmarks return when changing sort order (#28807)
* set update_at on bookmarks return when changing sort order

* update bookmarks sort order test
2024-10-17 07:42:19 +02:00
M-ZubairAhmed
48cde8c0bf
[MM-60655] Issue in subpath hosting after changes in root.html (#28617) 2024-10-17 01:13:16 +00:00
Michael
c0df35b93e
[MM-60816] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/channel_view/channel_view.tsx' with FormattedMessage (#28728) 2024-10-17 01:07:01 +00:00
k srisri reddy
f3e7c2bf7a
[MM-60831] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/user_list_row_with_error/user_list_row_with_error.tsx' with FormattedMessage (#28726) 2024-10-17 01:05:13 +00:00
Rohan Sharma
ad65b6b391
[MM-60854] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/admin_console/team_channel_settings/convert_confirm_modal.tsx' with FormattedMessage (#28733) 2024-10-17 00:59:16 +00:00
Rohan Sharma
df925a3e6b
fix: Scheme test errcheck issues (#28553)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-16 16:30:09 -05:00
Malay Kumar
b1cde33d2c
[MM-60807] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/admin_console/license_settings/renew_license_card/renew_license_card.tsx' with FormattedMessage (#28626)
* Replaced FormattedMarkdownMessage

* Fix: update message id and formatting

* Fix: Revert Classname - optimize translation

* Fix: update translation en.json

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-16 17:24:23 -04:00
Pratham Mahajan
f1250eaadb
Fix errcheck issues in server/channels/api4/export_test.go (#28815)
* Fix errcheck issues in server/channels/api4/export_test.go

* fixed lint errors

* fix
2024-10-16 17:33:56 +02:00
Harrison Healey
b2fbee1608
Remove localizeMessage from a bunch of components (#28340)
* Remove localizeMessage usage for passing into LoadingSpinner or LoadingWrapper components

* Allow Input widget to translate its placeholder and remove related usage of localizeMessage

* Allow DropdownInputHybrid to translate its placeholder and remove localizeMessage from related files

* Have Multiselect translate some of its props and remove localizeMessage from the components using it

* Remove unused message prop from StartTrianBtn

* Remove localizeMessage from a bunch of function components

* Remove unused editingPost.title state

* Remove usage of localizeMessage from some random components

* Remove unused DataGrid searchPlaceholder prop

* Add LocalizedPlaceholderInput and LocalizedPlaceholderTextarea

I used these in a bunch of places where we used localizeMessage or in places where we only injected intl just for a placeholder. I didn't really need to remove injectIntl from all these places, but it's been a pet peeve of mine for a while

* Have SearchableChannelList always use its injected intl

* Added changes that VS Code didn't show me in the last commit...
2024-10-16 15:22:28 +00:00
Scott Bishel
6dc44f2831
MM 60583 Update message after continuing (#28425)
* remove part of the error message

* update text

* once continuing, clear error

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-16 09:19:05 -06:00
Scott Bishel
5dc86d5010
MM-56775 Limit Bookmarks Title and URL (#28424)
* additional validation for channelbookmark

* add fixes for webapp

* only set permissions correct for type

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-16 08:26:53 -06:00
TheInvincible
9726eedbe2
Update license.go (handled error) (#28410)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-16 09:45:41 +02:00
Nicolas Le Cam
63c97f5a6d
Change HeaderIconWrapper so that it get its icon passed as a children instead of a props (#28723)
Signed-off-by: Nicolas Le Cam <niko.lecam@gmail.com>
2024-10-15 14:59:28 -04:00
Scott Bishel
d5ce06e580
MM-60722 - don't allow multiple '@' in email (#28481)
* don't allow quoted strings in email

* don't allow multiple '@' in email

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-15 12:21:02 -06:00
Christopher Poile
b8e462e198
MM-60987: Move message_export code to monorepo (#28674)
* move message_export code to monorepo

* update license headers

* moving over `dedicated filestore` (#1772) from enterprise master
2024-10-15 13:03:31 -04:00
Asaad Mahmood
1d04a2292d
MM-60913 - Removing override from webhook buttons (#28769) 2024-10-15 19:00:43 +05:00
Zubair Imtiaz
1f563bce8e
[MM-60855] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/announcement_bar/no_internet_connection/no_internet_connection.tsx' with FormattedMessage (#28719) 2024-10-15 11:59:21 +00:00
Arya Khochare
b0cdc51aa4
errcheck issues fixed (#28572)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-15 12:46:06 +02:00
Matthew Straughn
bc934007dc
Update message when password does not match requirement (#28178)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
2024-10-15 10:31:01 +02:00
Pradeep Murugesan
3f6bc5084b
check errors in channels/api4/channel.go (#28376)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-15 10:30:12 +02:00
Rohan Sharma
e27867cec7
fix: status errcheck issues (#28540)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-15 08:52:03 +02:00
goooov
6bae2ea21f
[MM-60826] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/quick_switch_modal/quick_switch_modal.tsx' with FormattedMessage (#28692) 2024-10-15 06:14:25 +00:00
Ivy Gesare
6f4b35cb9e
[MM-60848] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/integrations/installed_outgoing_webhooks/installed_outgoing_webhooks.tsx' with FormattedMessage (#28704) 2024-10-15 05:52:10 +00:00
Ben Schumacher
ff6de4bdab
Fix errcheck issues in channels/app/admin_test.go (#28767) 2024-10-14 21:05:39 +02:00
Agniva De Sarker
a190fe8503
MM-59947: Remove the remaining **model.User special casing (#28707)
We remove the remaining special casing for **model.User
and add unit tests to lock in the behavior.

Additional load tests were done locally to confirm
there are no hidden code paths left out.

https://mattermost.atlassian.net/browse/MM-59947

```release-note
NONE
```
2024-10-14 21:03:01 +05:30
Rohan Sharma
bef486ab00
[MM-60856] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/linking_landing_page/linking_landing_page.tsx' with FormattedMessage (#28724)
* fix: status errcheck issues

* Update server/channels/api4/status.go

Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>

* logged error message as required

* [MM-60856] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/linking_landing_page/linking_landing_page.tsx' with FormattedMessage

* fixed the bug in linking landing page

* changed location to landinPage

---------

Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-14 16:35:06 +02:00
Weblate (bot)
6d5b356899
Translations update from Mattermost Weblate (#28740)
Automatic Merge
2024-10-14 16:14:32 +02:00
TheInvincible
dfa29c2b59
fix errcheck issue (#28618)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-14 13:33:50 +02:00
Ben Schumacher
7ff22436dc
[MM-60685] Fix racy TestSyncLdap (#28324) 2024-10-14 13:04:48 +02:00
Jesús Espino
5f8bdba459
Initial version of the new search interface (#27301)
* Initial version of the new search interface

* Fixing CI

* style tweaks

* tweaks to date picker in search

* change search input to button

* Addressing a lot of small problems

* Addressing current search visualization

* Fixing problem on filter autocompletion

* Adding some more fixes

* Tiny style ajustment

* Removing unnecessary slice call

* Adding search extensibility

* Improving the extensibility

* Fixing and refactoring a bit

* On clear click, clear the current search

* splitting components for simplicity

* tweaks to file ext search

* Addressing PR review comments and adding color to the extensions search icons

* Improving a bit the extension search

* Fixing CI

* Fixing some bugs

* Keep the focus on search input whenever we change the search type

* Adding SearchHint tests

* Adding search_box_type_selector tests

* Adding tests for the SearchBox component

* Adding tests for search box suggestions

* Adding SearchBoxInput tests

* Splitting extension suggestion component and provider

* ExtensionSuggestion tests

* Removing unneeded property

* Adding SearchBoxhints tests

* Adding tests for NewSearch component

* Adding tests for the extension suggestion provider

* Fixing linter errors

* Fixing tests

* Fixing linter errors

* Fixing linter errors

* Adding license check for plugins

* Addressing PR review comments

* Addressing PR review comments

* Addressing PR review comments

* Fixing tests

* Fixing some cypress tests

* More work around cypress tests for search

* Some accessibility changes

* more work on cypress tests

* fixing more cypress tests

* Fixing linter errors

* Fixing tests

* Fixing ctrl+f6 switching

* Fixing scrolling on small windows wheneve you are searching

* Improve editing in the middle of the search text

* Addressing some PR review comments

* Addressing some PR review comments

* Addressing some PR review comments

* Addressing some PR review comments

* Fixing tests and linter errors

* Fixingls tests and linter errors

* Fix type checks

* Clearer logic to render plugin or builtin suggestion

* Addressing PR review changes

* Addressing PR review changes

* Using selectors for plugin components

* Changing uppercase to lowercase on lists of components

* Updating tests

* Updating snapshots

* minor css tweaks

* minor css tweak

* Adding the search type and the clear button

* Fixing problem with the filetype selector

* fixing linter errors

* Some fixes

* More linter fixes

* Reverting prettier auto-formating

* Fixing CI

* Fixing CI

* Fixing chrome problem

* Fixing CI

* Addressing PR review comments

---------

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
Co-authored-by: Christopher Speller <crspeller@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-14 12:56:35 +02:00
Arya Khochare
b7ccd745c8
Fixed errcheck issues in server/channels/api4/oauth_test.go (#28645)
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
2024-10-14 12:29:37 +02:00
Johnson
6818e0cafa
[MM-60846] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/integrations/installed_incoming_webhooks/installed_incoming_webhooks.tsx' with FormattedMessage (#28655) 2024-10-14 08:55:06 +00:00
Nicolas Le Cam
845b5806c0
server: Fix typo in Makefile (#28710) 2024-10-14 10:32:43 +02:00
Rohan Sharma
abf60421b4
fix: role test errcheck issues (#28545)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-14 09:55:34 +02:00
Arya Khochare
0668df063b
[MM-60847] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/integrations/installed_oauth_apps/installed_oauth_apps.tsx' with FormattedMessage (#28673) 2024-10-13 13:42:02 +00:00
Arya Khochare
d2d0ae7654
[MM-60843] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/admin_console/plugin_management/plugin_management.tsx' with FormattedMessage (#28675) 2024-10-12 11:07:31 +00:00