Commit Graph

18798 Commits

Author SHA1 Message Date
Agniva De Sarker
db45c0132e
MM-57824: Export/import custom status (#27361)
https://mattermost.atlassian.net/browse/MM-57824
```release-note
NONE
```

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-08 09:41:25 +05:30
Miguel de la Cruz
b596430920
Orders results of the GetAll remote clusters store method (#27548) 2024-07-05 13:53:47 +02:00
Daniel Espino García
e5a3dd7fea
Add platform information for push notification metrics (#27460)
* Add platform information for push notification metrics

* Address feedback

* Add the client platform returned by the devices to the normalize function

* Add "no platform" platform label to distinguish from unknown
2024-07-05 09:34:01 +02:00
Ben Schumacher
6bbf7bbb9f
Update Packet metadata generation based on feedback (#27490) 2024-07-04 21:56:38 +02:00
suraj-anthwal
9f396c9294
[MM-58443] Migrate tooltips of 'components/global_header/right_controls/saved_posts_button/saved_posts_button.tsx' to WithTooltip (#27185)
* add withtooltip handling

* add withtooltip handling

* placed icon inside tooltip

* Update saved_posts_button.tsx

* Update saved_posts_button.tsx

* Update saved_posts_button.test.tsx.snap

* Update saved_posts_button.tsx

---------

Co-authored-by: surajanthwal <surajanthwal2010@gmail.com>
Co-authored-by: M-ZubairAhmed <m-zubairahmed@protonmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-04 23:38:08 +05:30
Ben Schumacher
6d427cf005
Revert "Added GetPluginID method and tests (#27281)" (#27540)
This reverts commit 4acc4796ed.
2024-07-04 13:13:15 -04:00
Miguel de la Cruz
3e4d91590f
Skips flaky test on the remote cluster API (#27547)
* Skips flaky test on the remote cluster API

* Adds ticket link to the `t.Skip`
2024-07-04 14:58:16 +00:00
Miguel de la Cruz
809ad4f76d
Adds Remote Cluster related API endpoints (#27432)
* Adds Remote Cluster related API endpoints

New endpoints for the following routes are added:

- Get Remote Clusters at `GET /api/v4/remotecluster`
- Create Remote Cluster at `POST /api/v4/remotecluster`
- Accept Remote Cluster invite at `POST
/api/v4/remotecluster/accept_invite`
- Generate Remote Cluster invite at `POST
/api/v4/remotecluster/{remote_id}/generate_invite`
- Get Remote Cluster at `GET /api/v4/remotecluster/{remote_id}`
- Patch Remote Cluster at `PATCH /api/v4/remotecluster/{remote_id}`
- Delete Remote Cluster at `DELETE /api/v4/remotecluster/{remote_id}`

These endpoints are planned to be used from the system console, and
gated through the `manage_secure_connections` permission.

* Update server/channels/api4/remote_cluster_test.go

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

* Fix AppError names

---------

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-04 10:35:26 +02:00
Christopher Poile
cc5e87ae24
[MM-57942] Fix a panic on password is too long (#27449)
* return error from bcrypt, handle gracefully; remove dead code

* linting

* linting

* i18n

* fix test

* fill out translations
2024-07-03 17:58:26 -04:00
Amy Blais
5d2bf1ea1c
Update ISSUE_TEMPLATE.md (#27538)
Automatic Merge
2024-07-03 23:57:50 +03:00
Scott Bishel
0dbef88cfc
MM-58771 - Make manage_server permission, non updatable (#27481)
* make manage_server, non updatable

* remove blank line
2024-07-03 12:41:20 -06:00
Weblate (bot)
35dda81e32
Translations update from Mattermost Weblate (#27507)
* Translated using Weblate (German)

Currently translated at 100.0% (2510 of 2510 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (5775 of 5775 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (2510 of 2510 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (5775 of 5775 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.9% (5771 of 5775 strings)

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

* Translated using Weblate (Serbian)

Currently translated at 10.5% (611 of 5775 strings)

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

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 6.3% (369 of 5775 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (5801 of 5801 strings)

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

---------

Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: homerCOD <anicin.goran@gmail.com>
Co-authored-by: Frank Paul Silye <frankps@uio.no>
2024-07-03 15:26:35 -03:00
Ivy Gesare
0e6ed3d490
[MM-58686] Adjust text alignment on custom status tooltip (#27353)
* Change: Adjust text alignment on custom status tooltip
Change: Update 'Today' expiry time calculation on custom_status_modal

* Change: Use display inline-block instead of flex for custom-status class

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-03 11:54:14 -04:00
Caleb Roseland
90534b13cf
MM-56774: Delete file along with bookmark (#27495) 2024-07-03 08:31:39 -05:00
Akis Maziotis
762ff9b96c
[chore] migration of plugin-store (#27506)
Plugin store is gradually migrated from:
- https://plugins-store.test.mattermost.com
to
- https://plugins.releases.mattermost.com

We reflect that change here

Note: Currently both CDN's are working as expected, to facilitate the mgiration. Upon succesfull migration, https://plugins-store.test.mattermost.com will be decomissioned
2024-07-03 08:23:43 +03:00
Ben Cooke
1f9c9486b8
fix panic in migrations (#27494) 2024-07-02 09:08:23 -04:00
unified-ci-app[bot]
8dcd839766
Update latest minor version to 9.11.0 (#27496)
Automatic Merge
2024-07-02 15:57:50 +03:00
Ben Schumacher
213ebc57fb
Print panic message when mmctl panics (#27390) 2024-07-02 13:58:37 +02:00
Takuya N
a3c1272cb6
chore(api redoc): remove api/redoc-static.html (#27500)
The orphaned file unexpectedly introduced in the old PR in 2020
can now be removed as it originally is orphaned and not referenced
at all.

- mattermost/mattermost-api-reference PR 503

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2024-07-02 13:49:30 +02:00
Scott Bishel
b78175c390
require Permission to user to mark channels as read (#27468) 2024-07-02 13:35:43 +02:00
Julien Tant
d0c4e820a4
[MM-58840] Add routing restrictions (#27482) 2024-07-01 11:05:38 -07:00
Takuya N
6bfd309573
chore: update package metadata for API reference (#27462) 2024-07-01 14:46:49 +02:00
Arya Khochare
8b52ac3b8b
[MM-58509] Migrate tooltips of "components/admin_console/user_grid/user_grid_role_dropdown.tsx" to WithTooltip (#27242) 2024-07-01 08:48:42 +00:00
MeHow25
f36eb59f21
[MM-58405] Migrate tooltips of 'components/announcement_bar/default_announcement_bar/announcement_bar' to WithTooltip (#27244)
* Migrate tooltips of 'components/announcement_bar/default_announcement_bar/announcement_bar' to WithTooltip

* Review fixes

* Review fix

* Fix imports

* Update snapshots

* Test fix

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-01 09:33:52 +02:00
Caleb Roseland
f12eb75d25
MM-54416: Channel Bookmarks Web UI (#25889)
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2024-06-28 15:58:14 -05:00
Asaad Mahmood
a5d263f26c
MM-58496 - Updating channel font size (#27445)
* MM-58496 - Updating channel font size

* Updating lineheight
2024-06-28 21:57:43 +05:00
Agniva De Sarker
d20b55bde8
MM-57375: Update to latest minio image (#27475)
* test with latest minio image
* Update the KMS key
- Also use latest config settings. The older ones were deprecated.
2024-06-28 20:34:18 +05:30
Harrison Healey
70b218839f
MM-58854 Update how Compass icons are referenced by AnnouncementBar (#27461)
Automatic Merge
2024-06-28 15:57:50 +03:00
Harrison Healey
b9e501e285
MM-59254 Fix EnableClientMetrics setting being hidden (#27483)
Automatic Merge
2024-06-28 14:57:50 +03:00
Mario Vitale
3169f98982
Fix concurrency for daily tests (#27480) 2024-06-28 10:08:18 +02:00
Takuya N
abf9c41bad
chore(deps): pin whatwg-url to 12.0.0+ in /api (#27463)
to suppress warnings from whatwg-url 5.0.0 (through 11.0.0)
on `make build` or `make run` in /api.

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2024-06-27 20:41:58 -03:00
Matthew Birtch
2a37aeac79
removed offending line that hid threads view on mobile (#27428)
Automatic Merge
2024-06-28 01:57:50 +03:00
Ibrahim Serdar Acikgoz
e85d34163c
Add support packet metadata (#27465) 2024-06-27 15:27:57 +02:00
M-ZubairAhmed
8919a9c959
[MM-59064] Close Icon is not in line with toast text of "search this channel" when RHS threads panel is open (#27464) 2024-06-27 06:53:44 +00:00
Matthew Birtch
338434a098
[MM-59047] Keyboard Shortcuts Modal Improvements (#27443) 2024-06-27 06:52:20 +00:00
M-ZubairAhmed
47dcb02ae0
[MM-59061] Remove redundant index route for Root.tsx (#27441) 2024-06-27 06:51:27 +00:00
Scott Bishel
817e18414e
require regenerate invite id to have invite permission (#27427) 2024-06-26 12:41:26 -06:00
Miguel de la Cruz
2aff84a72e
Sanitize RemoteEmail user prop (#27170)
* Sanitize RemoteEmail user prop

If the server is configured to hide user emails, the "RemoteEmail"
user property will be sanitized as well, effectively hiding the real
email of remote users.

* fix merge conflict

---------

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-06-26 13:48:31 -04:00
Agniva De Sarker
59998b0b84
Bubble up parsing error from en.json (#27362)
Running `make i18n-extract` on a en.json file
with bad JSON will just wipe off all keys instead
of throwing the error. This is very confusing
and can lead to a lot of time wasted because
there's no indication that the JSON is incorrect.

Fixing this.

```release-note
NONE
```
2024-06-26 20:27:22 +05:30
Asaad Mahmood
86a98ea030
MM-58755 - Fixing inproduct notices spacing (#27442)
* MM-58755 - Fixing inproduct notices spacing

* Updating compass modal

* Updating test
2024-06-26 16:22:56 +02:00
Rita Anene
60028d63c0
[MM-58409] Migrate tooltips of 'components/file_preview_modal/popover_bar/popover_bar' to WithTooltip (#27447) 2024-06-26 11:07:22 +00:00
Harrison Healey
c39a4b2a7c
Change PerformanceReporter tests to not check exact values for timestamps (#27459) 2024-06-26 07:00:05 +00:00
Rita Anene
273c7df69b
[MM-58408] Migrate tooltips of 'components/file_preview_modal/file_preview_modal_main_nav/file_preview_modal_main_nav' to WithTooltip (#27422) 2024-06-26 06:31:03 +00:00
Ezekiel
cd7c930172
MM-58411 Migrate tooltips of 'components/actions_menu/actions_menu' to WithTooltip (#27238)
* Added  console log for draft PR

* Replaced  tooltip  component with changes

* Updated snapshot  for  tests

* Updated  title  to use FormattedMessage

* Remove defineMessages

* Fix style

* Removed unused tooltip

---------

Co-authored-by: ezekiel <ezekiel@itsmart.my>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-06-26 08:13:41 +02:00
Ivy Gesare
9f1686b2c4
Change: Use WithTooltip instead of OverlayTrigger on filename_overlay (#27439) 2024-06-26 08:13:17 +02:00
Arya Khochare
633b565192
migrate tooltips of file_preview_modal_main_actions.tsx to WithTooltip (#27243) 2024-06-26 08:12:55 +02:00
Harrison Healey
1505c37977
MM-58777 Confirm that sendBeacon exists before trying to use it (#27458) 2024-06-26 10:43:53 +05:30
Scott Bishel
6fd894953c
update for adding multiple members (#25128)
* update for adding multiple members

* fix unit test

* more test fixes

* add another unit test

* fix object passed by client4

* revert package-lock.json

* revert package-lock.json

* add length check

* limit size of lists in API requests

* revert package-lock

* add batching to front end

* add batching to front end

* fix bad merge

* update return type

* remove unnecessary permisssion check, add unit test

* fixes and add tests from review

* revert changes adding limits to other apis

* fixes

* clean-up from code review

* fix unit test call

* revert back to interface{}, fix unit test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-06-25 12:25:28 -06:00
Mario Vitale
4f68dbb96e
CLD-5704 Migrate daily master/cloud tests (#27393)
* [skip ci] Support Cloud/daily tests and Zephyr integration

* [skip ci] Fix workflow file

* [skip ci] Fix typo in workflow input name

* Fix cloud variable passing

* [skip ci] Fix typo

* Utilize master branch image for daily tests

* Apply Saturn's suggestion, fixes and improvements
2024-06-25 15:46:05 +02:00
Matthew Birtch
78497924ef
MM-58802 Fix overlapping back button (#27394)
* fix overlapping back button

* css tweak

* use classNames utility

* fixed import order
2024-06-25 15:35:21 +02:00