Commit Graph

18927 Commits

Author SHA1 Message Date
Ben Cooke
b244bb621d
[MM-56904] Reduce the number of api requests made to fetch user information for GMs on page load (#27149)
* use new endpoint to fetch group members
2024-07-25 15:57:23 -04:00
Agniva De Sarker
d89ffe269f
MM-59026: Update reserved IP ranges (#27751)
https://mattermost.atlassian.net/browse/MM-59026
```release-note
NONE
```
2024-07-25 19:38:56 +05:30
Agniva De Sarker
a7210dff01
MM-57289: Bump dependencies (#27734)
https://mattermost.atlassian.net/browse/MM-57289
```release-note
NONE
```
2024-07-25 19:26:40 +05:30
Agniva De Sarker
00d40dd3a1
MM-59865: Set WebsocketEventScope FF to true (#27750)
This has been set to true for a while on Community.
Setting it to true now for it to soak in cloud.

https://mattermost.atlassian.net/browse/MM-59865
```release-note
NONE
```
2024-07-25 18:41:40 +05:30
Mario Vitale
88bbc9dcb8
Bump base image to Ubuntu 24 (#27729)
* Bump base image to Ubuntu 24

* Fix Noble dependencies

* Fix docker image build

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-25 14:23:37 +02:00
Daniel Espino García
50f73caeca
Fix drafts not being synced with the server (#27725) 2024-07-25 13:59:42 +02:00
Rita Anene
2df5ff9d9b
MM-54561 Enable scrolling and visible scrollbar in post textbox (#27369)
* fix: Enable scrolling and visible scrollbar in post textbox

* fix: Enable scrolling and visible scrollbar in post textbox

* fix: removed "display inline-block" styling to enable autosizing while typing

* fix: update reference css properties

* update test snapshot

* fixed lint in file

* fix: modify type casting

* fix: removed unused import

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-25 11:27:18 +02:00
Harshil Sharma
79480494d0
Prominent payload limit error and configurable URL length limit (#27747)
* Added context error handler for MaxBytesError

* Made URL length limit configurable

* Added tests

* Removed an unused function

* Typo
2024-07-25 09:09:58 +00:00
Ashish Dhama
a0a79b4575
MM-59326: Remove deprecated overlay and use withTooltip in edit section of ip filtering in admin console (#27648) 2024-07-25 08:38:41 +00:00
Caleb Roseland
27dfeddfff
MM-59835: Prevent unnecessary channel bookmarks request causing console 404 (#27745)
* hoist feature flag check

* fix test

* fix test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-24 11:24:26 -05:00
Ben Schumacher
caff13c91b
Fix config targets in Makefile (#27746) 2024-07-24 11:02:47 +02:00
Asaad Mahmood
d8c16cdfd5
MM-58849 - Fixing upload button in bot screen (#27674)
* MM-58849 - Fixing upload button in bot screen

* Updating fixes

* updating tests
2024-07-23 20:06:13 +05:00
Christopher Poile
819840a077
Update prepackage calls to v0.29.1 for MM v9.11 (#27706) 2024-07-23 09:33:45 -04:00
Ben Schumacher
733156ed23
[MM-59825] Fix linter error found by updated govet (#27715) 2024-07-23 13:10:31 +02:00
Ben Schumacher
45acf31d1a
[MM-17126] Enable errorAssertions linter for enterprise code (#27714) 2024-07-23 12:53:03 +02:00
Ben Schumacher
907aadd5da
[MM-58045] Enable errcheck linter for enterprise/cloud package (#27716) 2024-07-23 11:14:51 +02:00
Harrison Healey
a773e6828c
MM-58772 Fix counter metrics not using Date.now (#27702) 2024-07-22 14:43:28 -04:00
Weblate (bot)
68737af37d
Translations update from Mattermost Weblate (#27721)
Automatic Merge
2024-07-22 19:27:50 +03:00
Agniva De Sarker
e60a189ba2
Elasticsearch: Remove redundant message string (#27703)
The backend title was already there in en.json

```release-note
NONE
```
2024-07-22 13:48:50 +05:30
Arya Khochare
50b3af38aa
[MM-58515] Migrate tooltips of "components/shared_channel_indicator.tsx" to WithTooltip (#27247) 2024-07-20 09:35:20 +00:00
Harrison Healey
c0874455f3
Disable legacy-peer-deps and manually override mismatched dependencies (#27677)
* Disable legacy-peer-deps and manually override mismatched dependencies

* Switch to overriding dependencies of individual packages
2024-07-18 15:36:02 -04:00
M-ZubairAhmed
e2d7d2d23c
[MM-59060] Remove pre release features section from advanced section of user settings (#27608) 2024-07-18 13:01:57 +00:00
Amy Blais
eaa3c86a6a
Updated minimum supported Edge and Chrome versions (#27691)
Automatic Merge
2024-07-18 15:27:50 +03:00
M-ZubairAhmed
1ff54a31bc
[MM-59296] Can't open web client on iOS Safari (#27607) 2024-07-18 10:39:16 +00:00
Scott Bishel
db138fd23a
Remove deprecated function (#27605)
* make /ancillary a post

* remove get from client, fix tests

* remove GET for retrieving ancillary permissions

* Update permissions.yaml

* Update permissions.yaml

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-17 16:02:39 -06:00
Claudio Costa
be94c47607
[MM-57418] Implement support for defining plugin settings sections (#27654)
* Implement support for defining plugin settings sections

* Implement custom plugin configuration sections

* Tests

* Update test

* Improvements
2024-07-17 18:24:33 +02:00
Asaad Mahmood
c0a7a19294
MM-58527 - Fixing overflow issue for autocomplete (#27479)
* MM-58527 - Fixing overflow issue for autocomplete

* MM-58527 - Fixing overflow issue on autocomplete
2024-07-17 20:52:01 +05:00
Jesse Hallam
9304c404df
MM-58756: paginate webhooks list (#27368)
* MM-58756: paginate webhooks list

* show error if webhook list fails
2024-07-17 10:02:07 -03:00
Harshil Sharma
b25820b5c5
Added a bunch of debugging logs for Elasticsearch index check (#27678)
* Added a bunch of debugging logs for Elasticsearch index check

* Update server/channels/app/elasticsearch.go

---------

Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
2024-07-17 13:37:34 +05:30
yasserfaraazkhan
d71e5e4f4e
MM-57354: Fix elastic search e2e tests (#27670) 2024-07-17 07:33:40 +08:00
Scott Bishel
fb790a860b
fix wrong property set (#27625)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-16 17:23:25 -06:00
Weblate (bot)
7b27b28d6f
Translations update from Mattermost Weblate (#27656)
* Translated using Weblate (German)

Currently translated at 100.0% (2520 of 2520 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (2520 of 2520 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2520 of 2520 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (5801 of 5801 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (2520 of 2520 strings)

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

* Translated using Weblate (Polish)

Currently translated at 99.5% (5775 of 5801 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (2520 of 2520 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (2520 of 2520 strings)

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

* Translated using Weblate (Russian)

Currently translated at 98.5% (5715 of 5801 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.9% (5797 of 5801 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (5801 of 5801 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (5801 of 5801 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (2520 of 2520 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (5801 of 5801 strings)

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

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

---------

Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: Sharuru <mave@foxmail.com>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Konstantin <eleferen@gmail.com>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
2024-07-16 15:22:42 -03:00
Scott Bishel
ea6490a5eb
MM-58847 Sanitize User (#27471)
* add more fields to sanitizeInput on User

* add test for user sanoitizeInput

* add more fields

* remove line, lint fix

* additional fields and sanitize update

* Update user_test.go

* remove fields that are unnecessary to check

* add check to test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-16 11:39:47 -06:00
yasserfaraazkhan
e917709be5
feat(e2e): Manage User Settings e2e tests (#27618) 2024-07-16 20:40:00 +05:30
Mario Vitale
e05ec0efc3
Fix E2E test triggering (#27669)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-16 16:36:42 +02:00
Harshil Sharma
4a48a6f020
Code enhancements to feature - Sysadmin manage user settings (#27636)
* A bunch of refactoring to simplify things

* Unifged getUnreadScrollPositionPreference selector

* Unifed a selector

* Unifed a selector

* Renaming currentUserId to userId

* Renaming currentUserId to userId

* Fixed a typo
2024-07-16 19:55:08 +05:30
M-ZubairAhmed
80aaeb9d03
[MM-59083] Handle permissions in user management options (#27668) 2024-07-16 14:20:13 +00:00
Harrison Healey
0227ac0fc1
MM-59404 Stop automatically dismissing desktop notifications (#27627) 2024-07-15 12:53:17 -04:00
Harrison Healey
fd0f1cf87e
MM-59099 Show invalid emoji text with its original case (#27603) 2024-07-15 12:51:20 -04:00
Harrison Healey
d3dac41cda
MM-59416 Don't request notification permissions when we already have them (#27629)
* MM-59416 Only request notification permissions from the browser once per session

* MM-59416 Don't request notification permissions when we already have them

* Address feedback

Co-authored-by: Daniel Espino García <larkox@gmail.com>

* Fix bad merge

---------

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2024-07-15 12:50:25 -04:00
enzowritescode
d44c3d5d45
Replace Hard-coded HTTP Verbs with Constants (#27219)
* Replace hard-coded HTTP verbs with constants in `net/http`
2024-07-15 08:52:03 -06:00
unified-ci-app[bot]
e364c2a265
chore: Update NOTICE.txt file with updated dependencies (#27655)
Automatic Merge
2024-07-15 15:27:51 +03:00
Christopher Speller
fa8269e4ab
Update Copilot plugin prepackaged version to 0.8.3 (#27645) 2024-07-15 04:23:49 -07:00
Daniel Espino García
a272fb29a5
Unify advanced create post and advanced create comment (#26419)
* Unify advanced create post and advanced create comment

* Re-add focus on mount prop and fix minor selector issue with get draft

* Address feedback

* Some merge fixes and some comments addressed

* Remove tests

* Fix tests

* Address feedback

* Fix formatting bar spacer and minor refactoring

* Fix remove upload from clean draft issue

* Fix types

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-15 10:14:14 +00:00
Ben Schumacher
ff3ed78124
[MM-59292] Add metadata to Support Packet (#27573) 2024-07-14 20:26:43 +02:00
Ben Schumacher
a4bdb65037
[MM-55215] Remove deprecated LdapSettings.Trace (#27376) 2024-07-13 10:31:33 +02:00
Ben Schumacher
bbc8baac0a
[MM-59350] Include LDAP vendor errors in Support Packet (#27571) 2024-07-13 10:17:07 +02:00
Ashish Dhama
9bb22a369a
MM-54856: Place emoji at cursor position while editing message (#27418)
* MM-54856: fix issue with emoji position in edit post editor

* use useRef instead of useState

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-12 15:59:22 -04:00
Jesús Espino
a4f2ec744c
Adding Do not disturb and remote user hour warnings (#27138)
* Adding Do not disturb and remote user hour warnings

* Do not show the hour warning on your own DMs

* style tweaks

* Some fixes

* Linter fixes

* Updating snapshots

* Improving the robustness of this solution

* Some improvements on keeping up the hour in the interface

* i18n-extract and fix linter errors

* Removing colon where is not needed

* Removing the time from 6-7 to be shown

* Addressing PR Review Comments

* Changing the remote user hour icon

* Changing back to fill and not outline icon

* Addressing PR review comments

* Fixing the RHS showing this

* Removing unneeded check

* Fixing linter error

* Update webapp/channels/src/components/advanced_text_editor/do_not_disturb_warning.tsx

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>

* Addressing PR review comment

* adding consistency to show the DND and Late hours message

---------

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
2024-07-12 20:11:43 +02:00
Christopher Poile
a3edc70019
[MM-58750] Update prepackage calls to v0.29.0 for MM v9.11 (#27642) 2024-07-12 11:46:24 -04:00