Commit Graph

18809 Commits

Author SHA1 Message Date
Takuya N
6010ff5521
Remove dup stylelint depdendencies in webapp/channels (#27499) 2024-07-09 13:14:53 +00:00
Ben Schumacher
6fc5ff572f
Don't modify global variables in TestNoticeValidation (#27591) 2024-07-09 12:36:08 +02:00
Raghav Aggarwal
00dc08824c
Bump prepackage Github plugin version to 2.3.0 (#27572) 2024-07-08 20:44:44 -04:00
Christopher Poile
9b2f20210b
[MM-56339] Audit logs: on login add UserId and SessionId to audit's Actor field (#27446)
* on login add UserId and SessionId to audit's Actor field to match logout

* lint

* simplify to add only userId and sessionId

* AddToEventActor -> AddUser/SessionToEventActor

* fill in missing session data when logging the audit record

* why did it bump that? reverting.

* make modules-tidy

* trigger build

* add more context to the comment
2024-07-08 18:56:54 -04:00
Ben Schumacher
9f312f48b5
[MM-58004] Update logged fields of users (#26860) 2024-07-08 20:05:14 +00:00
Ben Schumacher
0e6bfbdd26
[MM-57963] Log Name and DisplayName of groups (#26836) 2024-07-08 21:25:21 +02:00
Ben Schumacher
3513d310af
[MM-58003] Allow setting AdvancedLoggingJSON via mmctl (#27388) 2024-07-08 21:20:25 +02:00
Ningthoujam Swamikumar Singh
d939c1bd46
[MM-58856] Migrate tooltips of "components/copy_button.tsx" to WithTooltip (#27433) 2024-07-08 16:50:55 +00:00
Weblate (bot)
e0688e237b
Translations update from Mattermost Weblate (#27586)
Automatic Merge
2024-07-08 17:57:50 +03:00
Miguel de la Cruz
bc49f348bf
Correctly merge plugin configuration on mmctl config patch (#26647)
* Adds a step to the config patch command to merge plugin configurations

* Fix linter

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-08 11:54:40 +02:00
Felipe Martin
4e32da62fa
chore: improvements to keycloak local development (#26518)
* update keycloak docker image

* update realm file with a compatible realm

* import realm on start-docker command

Since bitnami's image does not support importing directly, the import of the test realm is done in the make file start-docker action

* Use official image from quay

* updated realm keycloak config

* final note about nickname attrib for saml

* add admin user

* update realm

* Updated from master

* Updated docs

* local typo

* use jq for ldap and saml

* updated readme
2024-07-08 08:16:09 +02:00
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