Commit Graph

18458 Commits

Author SHA1 Message Date
Matthew Birtch
7429ddaf04
MM-37809 Theming tweaks (#26289)
* tweaked dark themes and quartz theme

* refinements to themes

* tweaked denim global header color

* updates to quartz and sapphire themes

* tweaked quartz theme

* tweaks to indigo theme

* minor tweaks to themes

* update snapshots

* updated hex colors to consistent casing and updated snapshots
2024-04-22 14:07:59 -04:00
Harrison Healey
b091ef5686
Remove access to global state from i18n/i18n (#26750) 2024-04-22 13:32:55 -04:00
Harrison Healey
f3b80f77a6
Remove global state access from components/root (#26751)
* root part 1 - rudder

* root part 2 - luxon

* root part 3 - recent emojis

* root part 4 - redirect to onboarding

* root part 5 - login logout handler

* Fix indentation
2024-04-22 13:31:27 -04:00
Doug Lauder
39ba2e72c0
Fix flaky ping test for remote clusters service (#26821)
* fix flaky ping test for remote clusters service

* refactor ping test

* Update server/platform/services/remotecluster/ping_test.go
2024-04-22 17:33:37 +02:00
Weblate (bot)
5aa31d5081
Translations update from Mattermost Weblate (#26834)
* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (2594 of 2594 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 98.7% (5874 of 5946 strings)

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

* Translated using Weblate (Czech)

Currently translated at 93.0% (5530 of 5946 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 98.8% (5876 of 5946 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 98.8% (5878 of 5946 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (5946 of 5946 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (2594 of 2594 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (2594 of 2594 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (2594 of 2594 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 99.8% (2591 of 2594 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (5946 of 5946 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 98.9% (5886 of 5946 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (5946 of 5946 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 99.1% (5897 of 5946 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (2594 of 2594 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (5946 of 5946 strings)

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

* Translated using Weblate (Croatian)

Currently translated at 10.5% (274 of 2594 strings)

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

* Translated using Weblate (Croatian)

Currently translated at 34.1% (2031 of 5946 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2594 of 2594 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.0% (5888 of 5946 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (2594 of 2594 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.2% (5904 of 5946 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (5946 of 5946 strings)

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

* Translated using Weblate (Russian)

Currently translated at 97.2% (5784 of 5946 strings)

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

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

---------

Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: Martin Joneš <m.jones@7group.cz>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Sharuru <mave@foxmail.com>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: ThrRip <coding@thrrip.space>
Co-authored-by: Konstantin <eleferen@gmail.com>
2024-04-22 08:34:11 -04:00
Syed Ali Abbas Zaidi
603c26a5bc
[MM-57723] Convert ./components/admin_console/system_user_detail/team_list/team_list_dropdown.tsx from Class Component to Function Component (#26720)
* [MM-57723] Convert `./components/admin_console/system_user_detail/team_list/team_list_dropdown.tsx` from Class Component to Function Component

* 🎨 Improve code quality
2024-04-22 12:45:27 +02:00
Aaron Hopkins
632b231283
[MM-52675] Use message_source in copy text action (#26674) (#26789) 2024-04-22 12:45:06 +02:00
Daniel Espino García
4b934d2a62
Make sure the RHS does not get focused when coming back from suppressed (#26816)
* Make sure the RHS does not get focused when coming back from suppressed

* Fix missing line break

* fix tests
2024-04-22 12:42:54 +02:00
Daniel Espino García
d0a67cd84a
Fix types so the store can return undefined teams (#26386)
* Fix types so the store can return undefined teams

* Fix post test

* fix snapshots

* Address feedback
2024-04-22 12:42:13 +02:00
Syed Ali Abbas Zaidi
7b90b7c2e0
[MM-57708] Convert ./components/copy_url_context_menu/copy_url_context_menu.tsx from Class Component to Function Component (#26716)
* Convert `./components/copy_url_context_menu/copy_url_context_menu.tsx` from Class Component to Function Component

* 🎨 Improve code quality
2024-04-22 12:39:33 +02:00
Ben Schumacher
3dae305dc7
[MM-56000] Add LDAP job command to mmctl (#25633) 2024-04-22 12:19:53 +02:00
Ben Schumacher
8348acac49
[MM-57826] Make sure the original errors are wrapped when AppErrors are returned (#26771)
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
2024-04-22 12:03:28 +02:00
Ben Schumacher
423809e0d0
Using correct type for websocket events (#26825) 2024-04-22 11:06:58 +02:00
pacop
9e6da03ab1
MM-57391: improve error message (#26630)
The error reporte when moving channels and failing has been improved to show
that the problem was the repeated name on the team.
The error message has been unified with MM-53756

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-22 07:40:08 +00:00
Saturnino Abril
e73a9512f6
Cypress/E2E: Upgrade cypress to 13.7.3 and its dependencies (#26801)
* upgrade cypress to 13.7.3

* fix @typescript-eslint

* revert axios-retry
2024-04-22 09:28:45 +08:00
Antonis Stamatiou
4fd704d09b
fix: Migrate notifications to reusable actions (#26792) 2024-04-21 21:10:50 -04:00
Claudio Costa
446c763fa8
[MM-57500] Streaming support for importing file attachments (#26629)
* Bulk import: stream file attachments uploads

* Add comment with context on buffer size

* Add file name to logs

* Use sha256 to do checksum

* Fix bad merge

* Fix import file

* Update test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-19 15:49:33 -06:00
Julien Tant
ffc08858cf
[MM-54730] Don't use old hardcoded rule for validating imported posts (#25823)
* don't use old hardcoded rule for validating imported posts

* fix http verb in doc

* Use client config

* Handle local mode

* E2E tests

* Enforce default if unable to use real limit

* Unit tests

* Fix tests

* Use model.PostMessageMaxRunesV2 as lower default

* Update direct post message length validation

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: streamer45 <cstcld91@gmail.com>
2024-04-19 11:45:32 -06:00
Agniva De Sarker
389990ebe5
Import_process: Pass the right variable for error (#26819)
We were passing the incorrect variable, which printed nil
in the logs

```release-note
NONE
```
2024-04-19 08:28:12 +05:30
Lars Bo Rasmussen
b4b760274d
Fix calling wrong method in README for ws (#26631)
The documentation is wrong. The WebSocketClient.authorize() is not a method of WebSocketClient. The right method is WebSocketClient.initialize()
2024-04-18 14:23:59 -04:00
Devin Binnie
02e23a3275
[MM-57066][MM-57329] Added metrics for all notification stopping points, consolidated categories between metrics and logging (#26799)
* [MM-57066] Add metric counters for notification events

* Some small changes

* Account for Metrics() sometimes being nil

* Fix test (again)

* Fix more tests

* A few changes from testing - added success counter

* Missed a mock

* Lint

* Add feature flag for notification monitoring
2024-04-18 10:30:08 -04:00
Matthew Birtch
0ce5def8e2
[MM-57186] Update System Console Header Font (#26749) 2024-04-18 10:53:31 +00:00
Harshil Sharma
b4a1b33d39
Added post limit warning (#26793)
* Renamed user limit API to app limit API

* Added post warning limit

* Added tests

* Fixed types

* Renamed AppLimits to ServerLimits

* Fixed tests and review fixes

* Updated generated code

* Updated server i18n

* Fixed TestCreateUserOrGuest test

* Exclude deleted posts from post count for liims

* Reduced limits for ease of testing

* Restored original limts
2024-04-18 11:50:30 +05:30
Kaya Zeren
4571c6e3a3 Translated using Weblate (Turkish)
Currently translated at 100.0% (5944 of 5944 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/tr/
2024-04-18 02:30:35 +03:00
Kaya Zeren
ed307bf2ad Translated using Weblate (Turkish)
Currently translated at 100.0% (2587 of 2587 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/tr/
2024-04-18 02:30:35 +03:00
kaakaa
a60897d25c Translated using Weblate (Japanese)
Currently translated at 100.0% (5944 of 5944 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ja/
2024-04-18 02:30:35 +03:00
Kaya Zeren
303960fbdc Translated using Weblate (Turkish)
Currently translated at 100.0% (2587 of 2587 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/tr/
2024-04-18 02:30:35 +03:00
Kaya Zeren
3e7cf0570e Translated using Weblate (Turkish)
Currently translated at 100.0% (5944 of 5944 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/tr/
2024-04-18 02:30:35 +03:00
kaakaa
f966e1a9dd Translated using Weblate (Japanese)
Currently translated at 100.0% (2587 of 2587 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/ja/
2024-04-18 02:30:35 +03:00
Kaya Zeren
a2be73eb2a Translated using Weblate (Turkish)
Currently translated at 100.0% (5944 of 5944 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/tr/
2024-04-18 02:30:35 +03:00
Kaya Zeren
7b81791fa5 Translated using Weblate (Turkish)
Currently translated at 100.0% (2587 of 2587 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/tr/
2024-04-18 02:30:35 +03:00
Kaya Zeren
668025f08d Translated using Weblate (Turkish)
Currently translated at 100.0% (5944 of 5944 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/tr/
2024-04-18 02:30:35 +03:00
Kaya Zeren
c9f101e9e3 Translated using Weblate (Turkish)
Currently translated at 100.0% (2587 of 2587 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/tr/
2024-04-18 02:30:35 +03:00
Kaya Zeren
34023534ad Translated using Weblate (Turkish)
Currently translated at 100.0% (5944 of 5944 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/tr/
2024-04-18 02:30:35 +03:00
Kaya Zeren
1810ccce5f Translated using Weblate (Turkish)
Currently translated at 100.0% (2587 of 2587 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/tr/
2024-04-18 02:30:35 +03:00
Kaya Zeren
bf9b3b7753 Translated using Weblate (Turkish)
Currently translated at 100.0% (5944 of 5944 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/tr/
2024-04-18 02:30:35 +03:00
master7
dd09ddc756 Translated using Weblate (Polish)
Currently translated at 100.0% (5944 of 5944 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/
2024-04-18 02:30:35 +03:00
Kaya Zeren
6dbe50788a Translated using Weblate (Turkish)
Currently translated at 100.0% (2587 of 2587 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/tr/
2024-04-18 02:30:35 +03:00
Kaya Zeren
d055dd8931 Translated using Weblate (Turkish)
Currently translated at 100.0% (5944 of 5944 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/tr/
2024-04-18 02:30:35 +03:00
Kaya Zeren
af535a9084 Translated using Weblate (Turkish)
Currently translated at 100.0% (2587 of 2587 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/tr/
2024-04-18 02:30:35 +03:00
Kaya Zeren
9808a07f39 Translated using Weblate (Turkish)
Currently translated at 100.0% (5944 of 5944 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/tr/
2024-04-18 02:30:35 +03:00
Tom De Moor
dc3c2888e5 Translated using Weblate (Dutch)
Currently translated at 98.8% (5874 of 5944 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/
2024-04-18 02:30:35 +03:00
Kaya Zeren
12fe7c2bab Translated using Weblate (Turkish)
Currently translated at 94.5% (2447 of 2587 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/tr/
2024-04-18 02:30:35 +03:00
Kaya Zeren
4047132d99 Translated using Weblate (Turkish)
Currently translated at 99.3% (5904 of 5944 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/tr/
2024-04-18 02:30:35 +03:00
master7
1ec0133012 Translated using Weblate (Polish)
Currently translated at 99.4% (5914 of 5944 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/
2024-04-18 02:30:35 +03:00
jprusch
aa115bcb97 Translated using Weblate (German)
Currently translated at 100.0% (5944 of 5944 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/
2024-04-18 02:30:35 +03:00
Kaya Zeren
3fcbd54efa Translated using Weblate (Turkish)
Currently translated at 94.2% (2439 of 2587 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/tr/
2024-04-18 02:30:35 +03:00
master7
f568f4c650 Translated using Weblate (Polish)
Currently translated at 100.0% (2587 of 2587 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/pl/
2024-04-18 02:30:35 +03:00
jprusch
a2a28ced98 Translated using Weblate (German)
Currently translated at 100.0% (2587 of 2587 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/de/
2024-04-18 02:30:35 +03:00
Kaya Zeren
c0561ed0da Translated using Weblate (Turkish)
Currently translated at 97.3% (5789 of 5944 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/tr/
2024-04-18 02:30:35 +03:00