Devin Binnie
60c15c821f
More notification metrics fixes ( #26889 )
...
* Explicitly have the client tell the server when it should expect an ACK
* Don't count missing profile errors for your own posts, added comment
* Fix test
* Make postedAck a parameter in WebSocketClient
* Snapshot fixes
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-04-25 15:07:12 -04:00
Ben Schumacher
effb374482
[MM-57789] Update mockery version for LDAP mocks ( #26760 )
2024-04-25 12:46:19 +02:00
Ben Schumacher
bac05a273d
[MM-51554] Make LDAP sync job more resilient against errors ( #25496 )
2024-04-25 12:38:19 +02:00
Daniel Espino García
0d9b6b0ec8
Fix MM 56723 ( #26643 )
2024-04-24 17:09:49 +02:00
Ben Schumacher
30d450c4d8
Cleanup usage of global logger ( #26835 )
2024-04-24 11:52:33 +02:00
Ben Schumacher
92a6c6517d
[MM-56854] Add shell completion to mmctl user active|deactivate ( #26358 )
...
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-04-24 10:14:20 +02:00
kshitij katiyar
af8bcc4c6d
Bump prepackage Jira plugin version to 4.1.1 ( #26712 )
...
Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com >
2024-04-23 17:43:47 -04:00
Devin Binnie
9cf5a4bccb
Notification metrics fixes ( #26854 )
...
* Ensure your own posts are never ACKed
* Don't ACK mobile websocket notifications
* Add counter for the unsupported Desktop Apps
* Count only push messages when checking for acks
* Fix generated
* Add tests, fix comment
* Fix help string
* Check for nil session
2024-04-23 21:31:17 +00:00
Nick Misasi
437f90e184
[CLD-7421][CLD-7420] Deprecate Self Serve: First Pass ( #26668 )
...
* Deprecate Self Serve: First Pass
* Fix ci
* Fix more ci
* Remmove outdated server tests
* Fix a missed spot opening purchase modal in Self Hosted
* Fix i18n
* Clean up some more server code, fix webapp test
* Fix alignment of button
* Fix linter
* Fix i18n server side
* Add back translation
* Remove client functions
* Put back client functions
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-04-23 14:25:37 -04:00
Devin Binnie
a40550136f
[MM-56266] Use ListTeamChannels for member count permission for public channels ( #26820 )
2024-04-23 09:24:59 -04:00
Harshil Sharma
04a6b06cff
Fixed racy TestPanicLog test ( #26802 )
...
* Fixed racy TestPanicLog test
* Fixed racy TestPanicLog test
* Fixed test init logic
2024-04-23 10:27:57 +05:30
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
803014240e
Translated using Weblate (Turkish)
...
Currently translated at 94.0% (2433 of 2587 strings)
Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/tr/
2024-04-18 02:30:35 +03:00
Antonis Stamatiou
fae7aa79fc
fix: Remove version dependency from Dockerfile ( #26812 )
2024-04-17 15:19:59 +03:00
Colton Shaw
1530228308
MM-54569 : Update maximum password length on UI to 72 characters ( #26699 )
2024-04-17 11:33:55 +00:00
Colton Shaw
072d9a9c19
Add post priority to incoming and outgoing webhook ( #26671 )
...
* Added priority to incoming and outgoing webhook
* fixed fat finger
* Added priority tests
* fixed golint
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-04-17 13:32:32 +02:00
mattermod
9abdc7a933
Update latest version to 9.7.1
2024-04-17 06:11:42 +00:00
Claudio Costa
4b508eed46
[MM-57010] Include client type in websocket connections metric ( #26763 )
...
* Include client type in websocket connections metric
* Unexport field
2024-04-16 10:49:49 -06:00
Agniva De Sarker
effb99301e
MM-56402: Introduce a pluginID to track RPC DB connections ( #26424 )
...
Previously, we relied on the plugin to close the DB connections
on shutdown. While this keeps the code simple, there is no guarantee
that the plugin author will remember to close the DB.
In that case, it's better to track the connections from the server side
and close them in case they weren't closed already. This complicates
the API slightly, but it's a price we need to pay.
https://mattermost.atlassian.net/browse/MM-56402
```release-note
We close any remaining unclosed DB RPC connections
after a plugin shuts down.
```
Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com >
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-04-16 18:53:26 +05:30
Doug Lauder
6aaabfb376
MM-57786 Fix Shared Channels plugin api ( #26753 )
...
* always ping on plugin registration; SharedChannel.IsValid allow no team for GM
* wait for services to start before ping
* ping plugin remotes synchronously on startup
* remove the waitForInterClusterServices stuff
* don't set remoteid when inviting remote to channel
* Update server/public/model/remote_cluster_test.go
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com >
* address review comments
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com >
2024-04-15 16:18:25 -04:00
Doug Lauder
2825ab689c
Support for additional audit config via env var ( #26785 )
...
* Add support for additional audit config via env var
2024-04-15 12:14:26 -04:00
Agniva De Sarker
870cee30c6
MM-57759: Added mockery support for 1.22 ( #26774 )
...
* Revert "Revert "MM-57759: Bump mockery to version 2.42.2 to support go 1.22^" (#26772 )"
This reverts commit cd3b5b46e1 .
* Added the hooks.go file changes as well
```release-note
NONE
```
2024-04-13 08:15:59 +05:30
Ben Schumacher
df75277a0c
[MM-55323] Allow end users to fetch the group members list of groups which allow @-mentions ( #26551 )
...
* Allow end users to fetch the group members list of groups which allow @-mentions
* Update server/channels/api4/group_test.go
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com >
* Fix test name
* Move into subtest
---------
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com >
2024-04-12 19:41:50 +02:00
Ben Schumacher
b336fb9a45
Fix MM-57090 ( #26589 )
2024-04-12 17:15:01 +02:00
Agniva De Sarker
cd3b5b46e1
Revert "MM-57759: Bump mockery to version 2.42.2 to support go 1.22^" ( #26772 )
2024-04-12 15:31:24 +02:00
Ezekiel
98712737e6
MM-57759: Bump mockery to version 2.42.2 to support go 1.22^ ( #26761 )
2024-04-12 10:38:34 +02:00
Ibrahim Serdar Acikgoz
92f11f8971
Make support packet composable with plugins ( #26403 )
...
---------
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-04-12 10:05:58 +02:00
Devin Binnie
8589476229
[MM-57067][MM-57006][MM-57328] Acknowledge websocket POSTED events that may result in a notification on the web client ( #26604 )
...
* Acknowledge POSTED events that may result in a notification
* Remove temporary metrics
* Add Desktop App support
* Merge'd
* Add some tests
* PR feedback
* Rework window is focused check
* Oops
* Move mentions/followers ACK to posted ACK broadcast hook
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-04-11 20:18:14 +00:00