Commit Graph

19265 Commits

Author SHA1 Message Date
Angel Mendez
ce63a20980
refactor: convert accessibility specs to ts (#28348) 2024-10-09 13:32:39 +00:00
Rohan Sharma
e41ab1a3b8
fix: plugin errcheck issues (#28517)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-09 14:56:22 +02:00
Caleb Roseland
0f200adbe0
MM-58349: Shared Channels in System Console (#28116)
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2024-10-09 07:53:19 -05:00
Rohan Sharma
02e6851603
fix: status test errcheck issues (#28541)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-09 14:51:19 +02:00
Arya Khochare
90ceb4a5e3
Fixed errcheck issues in server/channels/api4/usage_test.go (#28644)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-09 13:28:36 +02:00
TheInvincible
b49d86c24d
fix errcheck issue (#28548)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-09 13:27:39 +02:00
Angel Mendez
23623fc9c9
MM-47288 refactor: convert channels/channel/ files to ts (#28483)
* refactor: convert channels/channel/ files to ts

- convert js files to typescript
- update types
- fix lint issues

Fixes: 21299

* fix: solve lint issues channels/channel

- fix lint issues
- udpate types

* fix: adjustment to test case MM-T1687

- code reorganization for test case MM-T1687

* fix: update types on function apiCreateCustomAdmin

- update types for apiCreateCustomAdmin on  user.d.ts so that
lint issue is solved
2024-10-09 11:22:45 +00:00
Mario Vitale
429c41747c
CLD-8395 Integrate playwright into E2E tests (#28492)
* Finalize Playwright E2E scripts integration, add videos
* Add suggestion by Saturn

Co-authored-by: Saturnino Abril <5334504+saturninoabril@users.noreply.github.com>

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Saturnino Abril <5334504+saturninoabril@users.noreply.github.com>
2024-10-09 13:05:11 +02:00
Arya Khochare
2467c39224
[MM-59308] Cypress end to end test for channel header modal (#28275) 2024-10-09 10:33:39 +00:00
Rohan Sharma
65bb1a3427
fix: plugin test errcheck issues (#28531)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-09 12:26:23 +02:00
Rohan Sharma
68404f2f33
fix: scheme errcheck issues (#28543) 2024-10-09 11:58:16 +02:00
Arya Khochare
d1962e123e
[MM-60932] Fix errcheck issues in server/channels/api4/usage.go (#28641) 2024-10-09 11:53:25 +02:00
Rohan Sharma
51ce9733e2
[MM-60789] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/channel_selector_modal/channel_selector_modal.tsx' with FormattedMessage (#28464) 2024-10-09 09:04:54 +00:00
Rita Anene
59c8df0ca1
[MM-60813] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/admin_console/team_channel_settings/users_to_be_removed_modal.tsx' with FormattedMessage (#28604) 2024-10-09 09:03:54 +00:00
Angel Mendez
6fadc0c041
[MM-47312] Migrate /enterprise/saml e2e tests to TypeScript (#28367) 2024-10-09 09:03:08 +00:00
Zubair Imtiaz
035f3c14f1
[MM-60833] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/admin_console/group_settings/group_details/group_users.tsx' with FormattedMessage (#28619) 2024-10-09 08:50:04 +00:00
Rohan Sharma
db951c48e7
[MM-60849] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/integrations/outgoing_oauth_connections/installed_outgoing_oauth_connections.tsx' with FormattedMessagewith FormattedMessage (#28633) 2024-10-09 08:47:41 +00:00
Rohan Sharma
2f1df64298
[MM-60851] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/system_notice/notices.tsx' with FormattedMessage (#28632) 2024-10-09 08:46:29 +00:00
Elias Nahum
e808c14a73
Fix the response type of create bookmark in go client (#28574) 2024-10-09 08:46:43 +08:00
Angel Mendez
84fba1e1d4
refactor: convert auth_sso files to ts (#28349)
- convert js files to ts
- update types

Fixes #21311
2024-10-08 22:24:40 +00:00
Angel Mendez
54a5ecb721
refactor: migrate group_mentions tests to ts (#28239)
- convert test files to typescript
- convert helpers.js to ts
- return chainable on function externalActivateUser
2024-10-09 05:20:13 +08:00
Angel Mendez
3d38d239ff
MM-47291 refactor: migrate collapsed_reply_threads to ts (#27808)
* refactor: migrate collapsed_reply_threads to ts

- migrate collapsed_reply_threads e2e tests to typescript
- update matterpollPlugin plugin constant so that it matches
with apiUploadAndEnablePlugin argument

Fixes: #21296

* refactor: use PostMessageResp on channel_notifications_spec

- use type PostMessageResp
- convert cy.wrap to regular for loop

* refactor: update types on collapsed_reply_threads

- add missing types to variables
- update types on current variables
- remove unnecessary commands on following_spec.ts

* fix: solve issue with non callable function

- move wait call to next line

* refactor: remove functions from global scope

- keep functions as helper functions
- fix lint issue
2024-10-09 05:15:43 +08:00
Johnson
33af22b2d3
Integration action test (#28561)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-08 15:41:01 +00:00
Miguel de la Cruz
3466e6f5d8
Avoid using token from sanitized remote cluster (#28335)
After creating a remote cluster, we were using its token field to
generate the remote invite. As we're going to return that remote
cluster in the response, we sanitize the entity, emptying the token
field before generating the invite, and causing it not to contain the
token itself.

This changes store the token in an independent variable to avoid
mutating it as part of the sanitization.

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-08 16:49:33 +02:00
Ben Cooke
b3c7ef0b97
[MM-56073] MMCTL delete post command (#27539)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-08 16:45:31 +02:00
TheInvincible
a671f80d2c
Fix errcheck issue for saml.go file (#28546)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-08 14:13:59 +00:00
Rohan Sharma
2b723099a6
fix: shared channel test errcheck issues (#28551)
* fix: shared channel test errcheck issues
2024-10-08 09:45:43 -04:00
Angel Mendez
89f04af631
refactor: convert channel_moderation files to ts (#28482)
* refactor: convert channel_moderation files to ts

- convert js files to ts
- update data types accordingly
- fix lint issues

Fixes: #21332

* fix: update argument type for visitChannel

- update type
- fix types issues

* refactor: change return type for getAdminAccount()

- change return type to getAdminAccount as UserProfile
2024-10-08 20:12:57 +08:00
Arya Khochare
f0918e1c01
errcheck issues fixed (#28609) 2024-10-08 12:23:08 +02:00
Diamond Rivero
71d98443c3
Fix Errcheck issues in server/channels/api4/export.go (#28407)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-08 10:47:17 +02:00
Arya Khochare
ba02101bcf
Fixed errcheck issues in server/channels/api4/group_local.go (#28417)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-08 10:47:01 +02:00
Rohan Sharma
9d6adbfea2
fix: role errcheck issues (#28544)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-08 10:46:22 +02:00
TheInvincible
1d431e72ac
Update emoji_test.go (fix errcheck issue) (#28440)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-08 09:31:26 +02:00
Rohan Sharma
845159d501
fix: reaction errcheck issues (#28513) 2024-10-08 09:25:34 +02:00
Rohan Sharma
1f3eab8adb
fix: team errcheck issues (#28550) 2024-10-08 09:23:53 +02:00
Harrison Healey
ce7fdb6c22
Removed unused code from actions/views/create_comment.tsx (#28479)
* Removed unused code from actions/views/create_comment.tsx

* i18n-extract
2024-10-07 20:04:06 +00:00
Arya Khochare
1669a0869f
errcheck issues fixed (#28555) 2024-10-07 21:20:18 +02:00
Arya Khochare
6837b31fb1
errcheck issues fixed (#28556) 2024-10-07 21:18:20 +02:00
Arya Khochare
82929d86ab
Errcheck issues fixed (#28409)
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
2024-10-07 21:17:21 +02:00
CarlssonFilip
b8b3f9b012
[GH-28396] Fixed errcheck issues in server/channels/api4/ip_filtering.go (#28441)
* Fixed errcheck issues in server/channels/api4/ip_filtering.go

* Added separate go routine to SendIPFiltersChangedEmail and removed redundant return

* Added import for mlog

* Changed from returning error to logging it

---------

Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-07 21:03:12 +02:00
Rohan Sharma
7af408679e
Fix: emoji errcheck issues (#28437)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-07 21:02:16 +02:00
Rohan Sharma
9e0d629ab1
fix: team local errcheck issues (#28538)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-07 21:01:13 +02:00
Jesse Hallam
e9968792b0
Emit license details to logs when added or removed (#28333)
* log when changing the license

* handle test licenses without features or customer data

* skip logLicense if logger not setup
2024-10-07 12:48:03 -03:00
Nick Misasi
64a6e3a120
[CLD-8377] Add ability to open invitation modal from a query parameter (#28315)
* Add query_param_action_controller, allowing actions to be performed based on query parameters when webapp is loaded

* Actually git add the new component

* undo changes to package-lock

* Change render to renderWithContext

* Move into channel_controller

* Fix tests

* Updates to RootRedirect component and redirectUserToDefaultTeam

* Grab another entry point

* Adjust font for title of no permissions modal, fix default text

* Fix linter

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-07 10:55:23 -04:00
Arya Khochare
9b6d2be129
Errcheck issues fixed (#28345) 2024-10-07 16:49:27 +02:00
Weblate (bot)
415dae11c6
Translations update from Mattermost Weblate (#28581)
Automatic Merge
2024-10-07 16:44:32 +02:00
Rohan Sharma
a2acee5280
fix: system errcheck issues (#28537)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-07 13:37:46 +00:00
Devin Binnie
ed4cab7aa2
[MM-54021][MM-58736] Remove limit on loading channel members on initial load, reload members on reconnect, separate loading of members from channels on initial load (#28310)
* [MM-54021][MM-58736] Remove limit on loading channel members on initial load, reload members on reconnect, separate loading of members from channels on initial load

* PR feedback

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-07 09:13:31 -04:00
Rohan Sharma
2b7b4100d2
fix: system local errcheck issues (#28539)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-10-07 11:39:06 +00:00
Guillermo Vayá
662e59865c
MM-59360 add telemetry for paid features related to guests (#28295)
* add telemetry for paid features related to guests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-07 13:30:19 +02:00