Commit Graph

830 Commits

Author SHA1 Message Date
Daniel Espino García
917a032baf Fix MM53181 (#25684)
* Fix MM53181

* Add tests
2023-12-14 09:32:41 +01:00
Ibrahim Serdar Acikgoz
62a359299a bump the server/public module revision to an existing commit (#25701) 2023-12-13 14:45:09 +01:00
Agniva De Sarker
c42ae47948 MM-56071: Thread presence indicator (#25694)
We also track the channelID of the thread opened.

Additionally on every connection create or re-connect
with an existing queue, we reset the active state to empty
to avoid any edge-cases.

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

```release-note
NONE
```
2023-12-13 13:58:40 +05:30
Agniva De Sarker
45ba1dc196 MM-55655: Fix unbounded concurrency in outgoing webhooks (#25511)
We were simply spawning goroutines within goroutines.

For each post, we would spawn one goroutine per hook,
and then one goroutine per callback URL within that hook.
And to top it off, this whole thing was itself within
a goroutine.

To fix it, we remove the goroutine spawning at a per
hook level. And then use a waitgroup to wait
until all hooks from each callback URL is complete.

While here, some other optimizations that we do:
1. We already had the channel object, but inspite of
that, we were calling channel.get again in CreatePostMissingChannel.
We just use CreatePost now and pass the channel.
2. We pre-compile the regex.
3. We store the http.Client in the server to reuse TCP connections.

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

```release-note
NONE
```
2023-12-13 09:39:22 +05:30
Agniva De Sarker
b946dad78d MM-55987: Bypass uploading to S3 for local mode mmctl import (#25591)
We directly instruct the server to read from the local filesystem
in case the local_mode key is set.

There is now no need to upload the file in --local mode and a warning
is thrown accordingly.

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

```release-note
Now the mmctl bulk import process command in local mode supports processing an import file without actually uploading it to the server. Simply pass the file path to the import file and the server will directly read from it, and pass the --bypass-upload flag. There is no need to use the import upload command. NOTE: all of this is applicable only in local mode.
```

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-12-13 09:38:00 +05:30
Christopher Poile
ad1236f26f MM-56178 - Update prepackaged calls to v0.22.1 (#25710) 2023-12-12 15:53:30 -05:00
Agniva De Sarker
e0b5b951f1 MM-56060: Create base scaffolding for websocket pub-sub (#25654)
We create a new websocket action called "presence" which
can contain the active_channel and the active_team for a given
client connection.

On the client side, for every channel or team switch, we send
out this message.

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

```release-note
NONE
```
2023-12-12 08:49:09 +05:30
Christopher Poile
f35b0a3781 MM-56164 - Update prepackaged calls to v0.22.0 (#25691) 2023-12-11 18:19:44 -05:00
Nick Misasi
f0a336ba07 Feature: Wrangler (#23602)
* Migrate feature/wrangler to mono-repo

* Add wrangler files

* Fix linters, types, etc

* Fix snapshots

* Fix playwright

* Fix pipelines

* Fix more pipeline

* Fixes for pipelines

* More changes for pipeline

* Fix types

* Add support for a feature flag, but leave it defaulted on for spinwick usage for now

* Update snapshot

* fix js error when removing last value of multiselect, support CSV marshaling to string array for textsetting

* Fix linter

* Remove TODO

* Remove another TODO

* fix tests

* Fix i18n

* Add server tests

* Fix linter

* Fix linter

* Use proper icon for dot menu

* Update snapshot

* Add Cypress UI tests for various entrypoints to move thread modal, split SCSS out from forward post into its own thing

* clean up

* fix linter

* More cleanup

* Revert files to master

* Fix linter for e2e tests

* Make ForwardPostChannelSelect channel types configurable with a prop

* Add missing return

* Fixes from PR feedback

* First batch of PR Feedback

* Another batch of PR changes

* Fix linter

* Update snapshots

* Wrangler system messages are translated to each user's locale

* Initially translate Wrangler into system locale rather than initiating user

* More fixes for PR Feedback

* Fix some server tests

* More updates with master. Fixes around pipelines. Enforce Enterprise license on front/back end

* Add tests for dot_menu

* More pipeline fixes

* Fix e2etests prettier

* Update cypress tests, change occurrences of 'Wrangler' with 'Move Thread'

* Fix linter

* Remove enterprise lock

* A couple more occurrences of wrangler strings, and one more enterprise lock

* Fix server tests

* Fix i18n

* Fix e2e linter

* Feature flag shouldn't be on by default

* Enable move threads feature in smoke tests (#25657)

* enable move threads feature
* add @prod tag

* Fix move_thread_from_public_channel e2e test

* Fix e2e style

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
2023-12-11 15:27:34 -05:00
Weblate (bot)
bfb8320afd Translations update from Mattermost Weblate (#25671)
* Translated using Weblate (Polish)

Currently translated at 100.0% (2518 of 2518 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (5785 of 5785 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (2518 of 2518 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (2518 of 2518 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (5780 of 5780 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (2518 of 2518 strings)

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

* Translated using Weblate (French)

Currently translated at 83.0% (4801 of 5780 strings)

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

Translated using Weblate (French)

Currently translated at 82.7% (4783 of 5780 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (5783 of 5783 strings)

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2519 of 2519 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% (5780 of 5780 strings)

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2519 of 2519 strings)

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (5775 of 5780 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (5785 of 5785 strings)

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

Translated using Weblate (Japanese)

Currently translated at 100.0% (2519 of 2519 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (5785 of 5785 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (2519 of 2519 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (5785 of 5785 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (2519 of 2519 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 100.0% (5783 of 5783 strings)

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (2519 of 2519 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.9% (5783 of 5785 strings)

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

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

* Translated using Weblate (Kazakh)

Currently translated at 6.0% (348 of 5792 strings)

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

Translated using Weblate (Kazakh)

Currently translated at 5.4% (314 of 5792 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (5783 of 5783 strings)

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

Translated using Weblate (English (Australia))

Currently translated at 99.9% (2518 of 2519 strings)

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

* Translated using Weblate (Lithuanian)

Currently translated at 92.7% (5365 of 5783 strings)

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

Translated using Weblate (Lithuanian)

Currently translated at 0.6% (16 of 2519 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (2519 of 2519 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (5792 of 5792 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (5792 of 5792 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (5792 of 5792 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (5792 of 5792 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (2518 of 2518 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (5792 of 5792 strings)

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

* Translated using Weblate (German)

Currently translated at 99.9% (2518 of 2520 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.8% (2516 of 2520 strings)

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

* 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% (5799 of 5799 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (5799 of 5799 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (2527 of 2527 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (5799 of 5799 strings)

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

* Translated using Weblate (German)

Currently translated at 99.9% (2526 of 2527 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 99.9% (2526 of 2527 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (2527 of 2527 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (2527 of 2527 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (5799 of 5799 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (5799 of 5799 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (5799 of 5799 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (5799 of 5799 strings)

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

---------

Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Arthur <arthur.hareng@gmail.com>
Co-authored-by: ThrRip <coding@thrrip.space>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: Konstantin <eleferen@gmail.com>
Co-authored-by: Kap Dev <admin@kapdev.ru>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Akbar Abdrakhmanov <kz.akbar@gmail.com>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: Andrius Petrauskis <andrius@petrauskis.com>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: DevLine <SeregaAlain@gmail.com>
2023-12-11 16:21:35 -04:00
Ben Schumacher
5b6b425cfc [MM-56061] Only render where field in model.AppError when it's present (#25648)
* Only render where field in model.AppError when it's present

* Remove trailing comma from permission error
2023-12-11 10:27:51 +01:00
Agniva De Sarker
a54f927e3d MM-56039: Skip flaky test TestUserStore/LocalCache+PostgreSQL/SearchNotInTeam/ (#25638)
https://mattermost.atlassian.net/browse/MM-56039

```release-note
NONE
```
2023-12-11 10:25:39 +01:00
Agniva De Sarker
88bd7b65f0 MM-55589: Throw warn logs for MySQL < 8 (#25637)
We just throw a warn log for now. Support will be completely
removed next ESR.

https://mattermost.atlassian.net/browse/MM-55589
```release-note
MySQL 5.7 is at EOL. We recommend all customers to upgrade to atleast 8.x. For now, we are logging a warning. From version 9.5 onwards, which is the next ESR, we will stop supporting 5.7 altogether.
```


Co-authored-by: Neil B <93996140+nab-77@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-12-11 09:21:18 +05:30
Harrison Healey
b1e745894b MM-55468 Ensure custom status emojis exist (#25501)
* MM-55468 Ensure custom status emojis exist

* Fix plugin API unit test

* Print underlying error as detailed error message

* Convert CustomStatusModal tests to React Testing Library and improve a11y

* Don't suggest custom statuses with non-existent emojis

* Silence test error by providing fake translation strings
2023-12-08 10:35:15 -05:00
Devin Binnie
109f4643c6 [MM-55017] Add API method to get users for Admin Reporting (#25499)
* Add store method to get reporting data

* Some store changes

* Added app layer

* Added API call, some miscellaneous fixes

* Fix lint

* Fix serialized check

* Add API docs

* Fix user store tests leaking users

* Fix test

* PR feedback

* Add filtering for role/team/activated user, filter out bot users

* Fix mock

* Fix test

* Oops

* Switch to using struct filter

* More PR feedback

* Fix gen

* Fix test

* Fix API docs

* Fix test

* Fix possible SQL injection, some query optimization

* Fix migrations

* Oops

* Add role to API

* Fix check

* Add Client4 API call for load testing

* Fix test

* Update server/channels/store/storetest/user_store.go

Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>

* PR feedback

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
2023-12-08 10:30:08 -05:00
Ben Cooke
a11b27d1f2 [MM-54594] Adding new global relay type (#24672)
* adding new global relay type, custom
2023-12-07 16:39:10 -05:00
Adam Warner
3fe68e73bf [MM-48860] / [GH-21863] Change regex to reduce false positive transforms on incoming webhook text (#21852)
* Change regex to reduce false positive transforms on incoming webhook text

Adds an additional condition to the 2nd capture group to ensure we don't match another `|` char

See https://github.com/mattermost/mattermost-server/issues/21800 for details

* Add test per suggested comment (switch Pi-hole URL out for Mattermost one 😉)

Signed-off-by: Adam Warner <me@adamwarner.co.uk>

---------

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>
2023-12-06 11:12:31 -08:00
unified-ci-app[bot]
1ea8f2bc8f Update latest minor version to 9.4.0 (#25641)
Automatic Merge
2023-12-06 17:10:07 +02:00
Joram Wilander
e0a36cf60a mmctl: add listing oauth apps (#25497)
* mmctl: add listing oauth apps

* Fix tests

* Update mmctl docs

* Fix tests

* Update server/cmd/mmctl/commands/oauth.go

Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>

* Update server/cmd/mmctl/commands/oauth.go

Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>

* Add paging

* Update docs

---------

Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
2023-12-05 12:25:35 -05:00
Andrius Petrauskis
df6c8c5f5e Translated using Weblate (Lithuanian)
Currently translated at 92.7% (5365 of 5783 strings)

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

Translated using Weblate (Lithuanian)

Currently translated at 0.6% (16 of 2519 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/lt/
2023-12-05 16:10:07 +02:00
Matthew Williams
ee19af566d Translated using Weblate (English (Australia))
Currently translated at 100.0% (5783 of 5783 strings)

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

Translated using Weblate (English (Australia))

Currently translated at 99.9% (2518 of 2519 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/en_AU/
2023-12-05 16:10:07 +02:00
MArtin Johnson
1cbd0e5c99 Translated using Weblate (Swedish)
Currently translated at 100.0% (5783 of 5783 strings)

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (2519 of 2519 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/sv/
2023-12-05 16:10:07 +02:00
Kap Dev
65079d3c64 Translated using Weblate (Russian)
Currently translated at 100.0% (5785 of 5785 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (2519 of 2519 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/ru/
2023-12-05 16:10:07 +02:00
Konstantin
73daaa6388 Translated using Weblate (Russian)
Currently translated at 100.0% (5785 of 5785 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (2519 of 2519 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/ru/
2023-12-05 16:10:07 +02:00
kaakaa
86e3d7e9ec Translated using Weblate (Japanese)
Currently translated at 100.0% (5785 of 5785 strings)

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

Translated using Weblate (Japanese)

Currently translated at 100.0% (2519 of 2519 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/ja/
2023-12-05 16:10:07 +02:00
ThrRip
c13e3ec67c Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (5783 of 5783 strings)

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2519 of 2519 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% (5780 of 5780 strings)

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2519 of 2519 strings)

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (5775 of 5780 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/
2023-12-05 16:10:07 +02:00
master7
cb236c2a68 Translated using Weblate (Polish)
Currently translated at 100.0% (2518 of 2518 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (5785 of 5785 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (2518 of 2518 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (2518 of 2518 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (5780 of 5780 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (2518 of 2518 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/pl/
2023-12-05 16:10:07 +02:00
Doug Lauder
8bf9e4c481 Prep for MS Teams plugin API (#25565)
* - columns added to ShareChannelRemotes: lastpostcreateat, lastpostupdateat
- SyncMsg and SyncResponse moved to `model` package
- field added to RemoteCluster struct: PluginID

* sync new posts before updated posts to ensure post order in MS Teams

* add plugid to remoteclusters table and store

* don't sync history by default
2023-12-04 13:10:20 -05:00
Ben Schumacher
b2ec1ff8ae [MM-55595] Use annotated logger in search layer (#25468) 2023-12-04 18:34:57 +01:00
M-ZubairAhmed
c441f536b8 [MM-56017] Remove prereq-check.sh redantant script from Make (#25529) 2023-12-02 17:50:15 +05:30
Doug Lauder
ce7259ddc5 fix mung of usernames on collision in shared channels; tilde is not a valid character (#25575) 2023-12-01 17:33:13 +01:00
Doug Lauder
57a87d8ca5 Fix username collision for shared channels sync update (#25578)
* fix username collision for shared channels sync update

* ensure both return types are handled

* remove unused interface
2023-12-01 17:32:14 +01:00
Daniel Espino García
f6d41bcf5b Fix 55496 (#25585) 2023-12-01 10:50:57 +01:00
mattermod
a7f8347f01 Update latest version to 9.2.3 2023-11-30 18:36:28 +00:00
Devin Binnie
639181dcc1 [MM-55631] Remove extra call to Draft().Get() (#25563) 2023-11-30 10:45:32 -05:00
Daniel Espino García
2ff0fe343e [MM-45272] Fix MM-45272 (#24701)
* Fix MM-45272

* Properly handle permalinks

* Fix

* Fix tests

* Handle only not found case for team member

* Fix lint

* Use proper config value

* Separate permission in several statements

* Add tests

* Fix lint

* Revert changes on utils

* Address feedback and more fixes

* Address feedback

* Fix test

* Fix test and related bug

* Fix and reorder test

* Address feedback

* Address feedback

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-30 11:43:51 +01:00
Ben Schumacher
c395ec6245 [MM-55990] Logger improvements for tests (#25467) 2023-11-30 10:47:04 +01:00
Thomas Brq
6cf7115e1f [GH-25492] Add the request context to all public methods in server/channels/app/admin.go (#25498) 2023-11-29 17:07:54 +01:00
Sudheer Tripathi
6e3f0ab928 [MM-55606]: add the request context to all public methods in server/channels/app/brand.go (#25542)
Co-authored-by: Sudheer Tripathi <sudheer@clearglass.com>
2023-11-29 17:07:16 +01:00
Ben Schumacher
18c6d37551 Remove unused MFA interface (#25525) 2023-11-29 07:56:18 -08:00
Nick Misasi
8b07655a65 [CLD-6537] Cloud Annual Renewals - Banners Implementation (#25267)
* Initial implementation of Cloud Annual Renewal flow - system banners for admins and end users

* Actually add the file

* Add AlertBanner to system console billing_subscriptions page

* Fixes for non-admin banner and pipeline

* Updates to coincide with the CWS side of thigns

* Add a feature flag for the 60 day experience to ensure banners don't show accidentally

* Fix tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-29 09:10:17 -05:00
Nick Misasi
95670abcea [CLD-6678] Various improvements for IP filtering feature (#25485)
* Add GetInstallation function, allow IP Filtering page to fetch installation state, other fixes for IP filter feature

* Fix pipelines

* Run make build-templates

* Fixing i18n

* Fix openapi docs

* Fix openapi docs again

* make build-templates

* Update test to ensure that spinner is removed after installation becomes stable

* Fix types, style

* update openapi because I can't validate locally...

* Updates according to Matt's feedback

* Add a limit to number of times installation is requested before an error is displayed

* Make button disable immediately

* Updates based on PR feedback

* A couple missed occurrences of whitespace

* Grammar fix in failed to fetch error

---------

Co-authored-by: Gabe Jackson <3694686+gabrieljackson@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-28 09:09:50 -05:00
Konstantin
cdc30ff07d Translated using Weblate (Russian)
Currently translated at 99.5% (2506 of 2518 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/ru/
2023-11-27 21:30:14 +02:00
Milo Ivir
01f79a3959 Translated using Weblate (Croatian)
Currently translated at 36.2% (2095 of 5772 strings)

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

Translated using Weblate (Croatian)

Currently translated at 10.9% (276 of 2518 strings)

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

Translated using Weblate (Croatian)

Currently translated at 10.9% (275 of 2518 strings)

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

Translated using Weblate (Croatian)

Currently translated at 36.2% (2094 of 5771 strings)

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

Translated using Weblate (Croatian)

Currently translated at 10.8% (274 of 2518 strings)

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

Translated using Weblate (Croatian)

Currently translated at 33.8% (1956 of 5771 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/hr/
2023-11-27 21:30:14 +02:00
ThrRip
72bf5a2037 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (5772 of 5772 strings)

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (5771 of 5771 strings)

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2518 of 2518 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% (5771 of 5771 strings)

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2518 of 2518 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/zh_Hans/
2023-11-27 21:30:14 +02:00
MArtin Johnson
6d83c9e1e8 Translated using Weblate (Swedish)
Currently translated at 100.0% (5772 of 5772 strings)

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

Translated using Weblate (Swedish)

Currently translated at 99.4% (5739 of 5771 strings)

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (2518 of 2518 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/sv/
2023-11-27 21:30:14 +02:00
Frantisek Grezo
c23918209d Translated using Weblate (Czech)
Currently translated at 74.8% (1885 of 2518 strings)

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

Translated using Weblate (Czech)

Currently translated at 74.0% (1864 of 2518 strings)

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

Translated using Weblate (Czech)

Currently translated at 48.6% (2810 of 5771 strings)

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

Translated using Weblate (Czech)

Currently translated at 73.8% (1860 of 2518 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/cs/
2023-11-27 21:30:14 +02:00
master7
e86fe3fcd6 Translated using Weblate (Polish)
Currently translated at 100.0% (5772 of 5772 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (2518 of 2518 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (2518 of 2518 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (5771 of 5771 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (2518 of 2518 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/pl/
2023-11-27 21:30:14 +02:00
Tom De Moor
594922ba88 Translated using Weblate (Dutch)
Currently translated at 99.7% (5758 of 5772 strings)

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

Translated using Weblate (Dutch)

Currently translated at 98.3% (5678 of 5772 strings)

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

Translated using Weblate (Dutch)

Currently translated at 99.9% (2517 of 2518 strings)

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

Translated using Weblate (Dutch)

Currently translated at 99.5% (2506 of 2518 strings)

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

Translated using Weblate (Dutch)

Currently translated at 98.3% (5675 of 5771 strings)

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

Translated using Weblate (Dutch)

Currently translated at 99.4% (2504 of 2518 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/nl/
2023-11-27 21:30:14 +02:00
kaakaa
b2fb2fc5d1 Translated using Weblate (Japanese)
Currently translated at 100.0% (5771 of 5771 strings)

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

Translated using Weblate (Japanese)

Currently translated at 100.0% (2518 of 2518 strings)

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

Translated using Weblate (Japanese)

Currently translated at 98.8% (5702 of 5771 strings)

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

Translated using Weblate (Japanese)

Currently translated at 100.0% (2518 of 2518 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/ja/
2023-11-27 21:30:14 +02:00