Граф коммитов

20315 Коммитов

Автор SHA1 Сообщение Дата
Miguel de la Cruz
0c8e30da4d Move the sanitization and validation of CPA values to the model (#30653)
* Move the sanitization and validation of CPA values to the model

* Fix CI

* Use proper IDs instead of strings

---------

Co-authored-by: Miguel de la Cruz <miguel@ctrlz.es>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-04-10 11:31:40 +02:00
catalintomai
c7165c5ff2 MM-62767: Add Custom Profile Attributes to the SAML synchronization process (#30459) 2025-04-10 08:30:57 +02:00
Scott Bishel
27575d50c2 MM-62703 Implement cpa for ldap/saml in System Console (#30350)
* implement cpa for ldap/saml for System Console

* i18n-extract

* update tests for changes

* revert package-lock.json

* fixes from review commnts

* import link

* fix bad merge

* more fixes

* update tests

* put behind a featureflag

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-04-09 10:36:51 -06:00
Matthew Birtch
b0c403f5d1 MM-62784 added tooltip to hidden formatting controls button (#30545) 2025-04-09 21:38:25 +05:30
Ben Schumacher
02e5c56d22 MM-60797: Fix errcheck issues in support_packet_test.go (#30607)
Fixes https://github.com/mattermost/mattermost/issues/29102

- Fix error handling in fileutils.FindDir() call by properly checking the returned boolean value
- Add proper error handling for SetPhase2PermissionsMigrationStatus calls
- Remove channels/app/support_packet_test.go from the errcheck exception list in .golangci.yml

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-04-09 14:10:08 +02:00
Vishal
204fec42e9 [MM-63582] Recent Mentions Not Properly Handling Hyphenated Custom Keywords (#30578)
* quote all terms for better recent mentions accuracy

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-04-09 10:38:25 +00:00
Ben Schumacher
a6492b5b9f MM-28765: Fix errcheck issues in server/channels/manualtesting/manual_testing.go (#30613)
1. Fixed hasher.Write() to check error return
2. Fixed VerifyEmail() to check error return
3. Fixed SaveMember() to check error return
4. Added typecheck exclusion for testAutoLink in .golangci.yml

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-04-09 11:41:56 +02:00
Ben Schumacher
354d7aeb72 Consistent error wrapping (#30600) 2025-04-09 11:38:36 +02:00
Saket Soni
64ff2434ee [MM-59051] : Email notification setting 'Immediately' is unclear given the help text description [Fixed] (#29940)
* Altered the forms, some little more work to go

* Adjusted the status rendering according to chosed options when email settings dialoge is closed

* addressed linting issues

* Update snapshots

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
2025-04-08 17:32:11 -04:00
Saturnino Abril
cf68cfdf4b bump playwright lib to 10.8.0, update dependencies and update snapshots (#30662) 2025-04-08 16:21:50 +08:00
Tom De Moor
4d093a7795 Fixing typo in en.json (#30649)
More info https://translate.mattermost.com/translate/mattermost/server/en/?checksum=09142512528acc2d#comments
2025-04-08 07:22:51 +00:00
MArtin Johnson
9b79dff123 Translated using Weblate (Swedish)
Currently translated at 99.8% (6092 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sv/
2025-04-08 07:22:06 +00:00
MArtin Johnson
e08b0d20ca Translated using Weblate (Swedish)
Currently translated at 99.8% (6091 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sv/
2025-04-08 07:22:06 +00:00
Hosted Weblate
46929ca69a Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/
2025-04-08 07:22:06 +00:00
MArtin Johnson
035af8e1c2 Translated using Weblate (Swedish)
Currently translated at 99.8% (6088 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sv/
2025-04-08 07:22:06 +00:00
Tom De Moor
eddd486a60 Translated using Weblate (Dutch)
Currently translated at 99.9% (6099 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/
2025-04-08 07:22:06 +00:00
MArtin Johnson
6bf4c2f1b6 Translated using Weblate (Swedish)
Currently translated at 100.0% (2630 of 2630 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/sv/
2025-04-08 07:22:06 +00:00
Tom De Moor
4966ced2ee Translated using Weblate (Dutch)
Currently translated at 99.7% (2624 of 2630 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/nl/
2025-04-08 07:22:06 +00:00
Frank Paul Silye
3421c62a7c Translated using Weblate (Norwegian Bokmål)
Currently translated at 76.5% (4669 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nb_NO/
2025-04-08 07:22:06 +00:00
Benjamin Danon
72bedf6c49 Translated using Weblate (French)
Currently translated at 82.3% (5025 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/
2025-04-08 07:22:06 +00:00
Frank Paul Silye
ac96929073 Translated using Weblate (Norwegian Bokmål)
Currently translated at 76.0% (4639 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nb_NO/
2025-04-08 07:22:06 +00:00
Frank Paul Silye
fd1a4914aa Translated using Weblate (Norwegian Bokmål)
Currently translated at 75.9% (4632 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nb_NO/
2025-04-08 07:22:06 +00:00
Frank Paul Silye
29650e23f1 Translated using Weblate (Norwegian Bokmål)
Currently translated at 75.2% (4590 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nb_NO/
2025-04-08 07:22:06 +00:00
Frank Paul Silye
39bfc2ee47 Translated using Weblate (Norwegian Bokmål)
Currently translated at 75.1% (4587 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nb_NO/
2025-04-08 07:22:06 +00:00
Frank Paul Silye
000f4ef53e Translated using Weblate (Norwegian Bokmål)
Currently translated at 73.8% (4505 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nb_NO/
2025-04-08 07:22:06 +00:00
Frank Paul Silye
74646a1c8b Translated using Weblate (Norwegian Bokmål)
Currently translated at 72.4% (4417 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nb_NO/
2025-04-08 07:22:06 +00:00
MArtin Johnson
8786f80985 Translated using Weblate (Swedish)
Currently translated at 99.5% (2618 of 2630 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/sv/
2025-04-08 07:22:06 +00:00
Frank Paul Silye
2ec5858852 Translated using Weblate (Norwegian Bokmål)
Currently translated at 72.0% (4393 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nb_NO/
2025-04-08 07:22:06 +00:00
Bohdan
fb5b0051f2 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (6100 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/uk/
2025-04-08 07:22:06 +00:00
Benjamin Danon
c56ea61b4f Translated using Weblate (French)
Currently translated at 82.3% (5024 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/
2025-04-08 07:22:06 +00:00
Frank Paul Silye
8f95ac7fd6 Translated using Weblate (Norwegian Bokmål)
Currently translated at 71.4% (4361 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nb_NO/
2025-04-08 07:22:06 +00:00
Bohdan
af8694a188 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (6100 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/uk/
2025-04-08 07:22:06 +00:00
Bohdan
cffcc5f0de Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2630 of 2630 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/uk/
2025-04-08 07:22:06 +00:00
master7
f5d9c9b7fc Translated using Weblate (Polish)
Currently translated at 100.0% (6100 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/
2025-04-08 07:22:06 +00:00
jprusch
9cb1f0b93b Translated using Weblate (German)
Currently translated at 100.0% (6100 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/
2025-04-08 07:22:06 +00:00
master7
25fa2ebba6 Translated using Weblate (Polish)
Currently translated at 100.0% (2630 of 2630 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/pl/
2025-04-08 07:22:06 +00:00
jprusch
db283ab29c Translated using Weblate (German)
Currently translated at 100.0% (2630 of 2630 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/de/
2025-04-08 07:22:06 +00:00
Benjamin Danon
a83416ed76 Translated using Weblate (French)
Currently translated at 82.0% (5008 of 6100 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/
2025-04-08 07:22:06 +00:00
enzowritescode
5d7f985997 Add bidichk to the linters (#30654) 2025-04-07 08:38:18 -06:00
Saturnino Abril
a35a6d7a3a MM-63669 E2E/Playwright: Move "e2e-tests/playwright/test" to "e2e-tests/playwright" folder (#30647)
* move "e2e-tests/playwright/test" to  "e2e-tests/playwright/test" and expose "ensurePluginsLoaded"

* add test setup, and expose ensurePluginsLoaded and ensureServerDeployment to pw
2025-04-07 22:26:29 +08:00
Surya Venkata Sainadh Pichika
62753a1481 [MM-63455] Fix Link previews with brackets when making the request (#30507)
* allow opening angle bracket before links

* cut off link before an angle bracket(both open & close)

* add more test cases for ParseURLAutolink func

* add more test cases for ParseWWWAutolink func

* add more test cases for TrimTrailingCharactersFromLink func

* add more test cases for GetFirstLinkAndImages func

* add test cases for isAllowedBeforeWWWLink func

* allow closing angle bracket and opening paranthesis before links

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-04-07 16:17:46 +05:30
unified-ci-app[bot]
fb301d8b0a chore: Update NOTICE.txt file with updated dependencies (#30657)
Co-authored-by: unified-ci-app[bot] <121569378+unified-ci-app[bot]@users.noreply.github.com>
2025-04-07 13:38:14 +03:00
dependabot[bot]
dafb4edaa8 Bump the github-actions-updates group with 2 updates (#30658)
Bumps the github-actions-updates group with 2 updates: [github/codeql-action](https://github.com/github/codeql-action) and [tj-actions/changed-files](https://github.com/tj-actions/changed-files).


Updates `github/codeql-action` from 3.28.13 to 3.28.14
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](1b549b9259...fc7e4a0fa0)

Updates `tj-actions/changed-files` from 27ae6b33eaed7bf87272fdeb9f1c54f9facc9d99 to 6f67ee9ac810f0192ea7b3d2086406f97847bcf9
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](27ae6b33ea...6f67ee9ac8)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.28.14
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions-updates
- dependency-name: tj-actions/changed-files
  dependency-version: 6f67ee9ac810f0192ea7b3d2086406f97847bcf9
  dependency-type: direct:production
  dependency-group: github-actions-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-07 10:37:49 +00:00
unified-ci-app[bot]
48b1080d51 Update latest minor version to 10.8.0 (#30632)
Automatic Merge
2025-04-07 09:38:41 +03:00
Miguel de la Cruz
03d724b6a6 Adds the CPA property group endpoint (#30620)
* Adds the CPA property group endpoint

* Fix test calls

---------

Co-authored-by: Miguel de la Cruz <miguel@ctrlz.es>
2025-04-04 16:06:55 +00:00
Harshil Sharma
d2173eb664 Show channel banner in channel (#30514)
* Adde MySQL and Postgres migrations

* Replaced select * with column names

* removed all * from channel SQL store

* cleanup

* Fixed a duplicate column

* cleanup

* Added migrations and store support

* WIP

* used channelname slice in a missed place

* Handled patch

* Added app level tests

* Added API layer tests

* Added API layer tests

* WIP

* converted to query builder

* cleanupo

* added not null and default constraints

* Fixed test

* fixed file name

* review fixes

* review fixes

* updated migration file

* fixed text

* Review fixes

* WIP

* rendered banner

* WPI

* Fixed tooltip and markdown styling

* test: Add comprehensive tests for ChannelBanner component

* refactor: Use renderWithContext in channel_banner test

* WIP

* updated channel banner test

* Updated channel view test

* getContrastingSimpleColor tests

* Added tests

* rendered channel banner

* feat: Add comprehensive tests for ChannelBanner component

* Updated tests

* Made a lazy component

* Added underline to links in channel banner

* renamed param

* Created a selector for checking if channel banner is enabled or disabled

* addded test file

* test: Add tests for selectShowChannelBanner selector

* Added tests

* lint fix

* Used premium SKU constants

* Fixed a redux test
2025-04-04 14:53:03 +05:30
Agniva De Sarker
09488558a0 MM-63298: [AI assisted] Elasticsearch add a global search prefix (#30417)
This PR adds functionality to search by a global search prefix.
This allows Mattermost to be used across multiple data centers
with multiple Elasticsearch instances synchronized using
cross-cluster replication.

While here, we also add tests cases to cover for some missing
search interface methods.

For now, no system console setting is exposed. Because IndexPrefix
is also not exposed. It can be added later if a need arises.

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

```release-note
A new config setting ElasticsearchSettings.GlobalSearchPrefix is added
which can be used to search across multiple indices having a common prefix.
This is useful in a scenario with multiple Elasticsearch instances, where
multiple instances are writing to different indices with different prefixes
using the ElasticsearchSettings.IndexPrefix setting.
```

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-04-04 11:42:12 +05:30
Claudio Costa
7250095f86 Fix potential nil dereference in app.isChannelArchivedAndHidden (#30628) 2025-04-03 15:31:09 -06:00
Claudio Costa
a219fbcfa1 Update golang-jwt/jwt dependency to latest (#30625) 2025-04-03 15:30:21 -06:00
Maria A Nunez
e4124ed320 Input Field: Fix accessibility issues with errors not associated to proper form fields (#30430)
* Cursor first pass

* Iterating

* Updated snapshots

* Alert role only for error or warning

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-04-03 15:08:36 -04:00