Ben Cooke
9187c772b6
[MM-56074] mmctl job commands ( #26855 )
...
* add job list and update job status command to mmctl
2024-06-17 12:07:05 -04:00
Rajat Dabade
5894abc36e
[MM-58315]: prepackage boards to v9.5+ ( #27307 )
...
* [MM-58315]: prepackage boards to v9.5+
* chore: changes the name of focalboard artifacts
2024-06-17 18:30:06 +05:30
Weblate (bot)
e92de72cfc
Translations update from Mattermost Weblate ( #27378 )
...
* Translated using Weblate (French)
Currently translated at 83.2% (4806 of 5772 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/
* Translated using Weblate (Polish)
Currently translated at 100.0% (2506 of 2506 strings)
Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/pl/
* Translated using Weblate (German)
Currently translated at 100.0% (2506 of 2506 strings)
Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/de/
* Translated using Weblate (Swedish)
Currently translated at 100.0% (2506 of 2506 strings)
Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/sv/
* Translated using Weblate (Japanese)
Currently translated at 100.0% (2506 of 2506 strings)
Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/ja/
* Translated using Weblate (Japanese)
Currently translated at 100.0% (5772 of 5772 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ja/
* Translated using Weblate (Norwegian Bokmål)
Currently translated at 3.7% (215 of 5772 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nb_NO/
* Translated using Weblate (Norwegian Bokmål)
Currently translated at 3.9% (228 of 5772 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nb_NO/
* Translated using Weblate (Norwegian Bokmål)
Currently translated at 4.3% (252 of 5772 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nb_NO/
* Translated using Weblate (Norwegian Bokmål)
Currently translated at 4.3% (252 of 5772 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nb_NO/
* Translated using Weblate (French)
Currently translated at 83.2% (4808 of 5772 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/
* Translated using Weblate (French)
Currently translated at 83.4% (4815 of 5772 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/
---------
Co-authored-by: boristrbrt <boris.trombert@gmail.com>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: Frank Paul Silye <frankps@uio.no>
Co-authored-by: Zenocode <zenocode@protonmail.com>
2024-06-17 09:46:03 -03:00
Ben Schumacher
01958bb5dc
[MM-58039] Enable errcheck linter for enterprise/saml package ( #26909 )
2024-06-17 05:10:39 +02:00
Christopher Poile
a316dfb80b
[MM-58296] Update prepackage calls to v0.28.1 for MM v9.10 ( #27352 )
...
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-06-15 10:12:06 -04:00
Claudio Costa
958a403537
[MM-53491] Fix rendering of active call icon in sidebar's channel link ( #27172 )
...
Automatic Merge
2024-06-14 19:41:30 +03:00
Matthew Birtch
1fd346f28e
fixed wrapping button label for followed threads ( #27330 )
...
Automatic Merge
2024-06-14 17:11:30 +03:00
M-ZubairAhmed
0d5e30dddb
[MM-58456] Make react library be loaded at DOMContentLoaded instead of onload ( #27192 )
2024-06-13 17:37:41 -04:00
Matthew Birtch
a88f283ef7
MM-58685 Fix Channel Header Icon Button Spacing ( #27313 )
...
Automatic Merge
2024-06-13 21:11:30 +03:00
Alejandro García Montoro
d81ce03168
MM-57839: Rewrite static assets only if needed ( #27076 )
...
* Rewrite static assets only if needed
Refactor UpdateAssetsSubpathInDir so that the actual rewriting of files
happen in two different functions: one for root.html, another for
manifest.json and *.css files.
I would have wanted to simply do a
if pathToReplace == newPath { return nil }
when those two variables are defined, but the logic for root.html is not
that simple, and that may miss some edge cases, so I opted out for
simply moving the actual rewriting to individual functions, which check
for their corresponding conditions to perform the update:
1. for root.html, check that the edited file is indeed different than
the original one
2. for manifest.json and *.css files, rewrite them only if
pathToReplace != newPath, which in this case is clear that that's the
only modification we do
* Fix expected error msg in test
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-06-13 12:01:57 +02:00
Doug Lauder
bf8ddb4bdc
MM-57873 Check user visibility when accepting channel invites for DMs ( #27331 )
...
* check user visibility when accepting channel invites for DMs
* stronger visibility checking for DM users
* check for correct remoteid for remote user in DM invite
* fix unit test
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-06-13 11:40:31 +02:00
Miguel de la Cruz
9733694854
Updates remote user creation process to preserve username and email ( #27334 )
...
This change makes sure that the original username and email are always
preserved when creating a user coming from a remote cluster.
2024-06-13 09:56:39 +02:00
Claudio Costa
4b0ae20ef7
Pass remote address in WebSocketMessageHasBeenPosted plugin hook ( #27332 )
2024-06-13 09:01:49 +02:00
Claudio Costa
d2c3710265
[MM-58017] Allow plugins to use more visualization types for admin statistics ( #27188 )
...
* Allow plugins to use more visualization types for admin statistics
* Fix translations failure in test
* Review types and better tests
2024-06-12 14:55:55 +02:00
Daniel Espino García
1ec2de4a95
Add mobile metrics ( #27045 )
...
* Add mobile metrics
* Fix mocks
* Add tests
* Fix lint
* Address feedback
* Fix lint
* Fix test
* Fix CI
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-06-12 11:33:04 +02:00
Ibrahim Serdar Acikgoz
691386a814
[MM-53356] server/app/migrations: refactor app migrations ( #23958 )
2024-06-12 10:08:57 +02:00
Harrison Healey
dfdb6e9ece
Improve isolation of PerformanceReporter tests to increase their stability ( #27275 )
...
* Improve isolation of PerformanceReporter tests to increase their stability
* Change how PerformanceReporter.sendBeacon is defined
2024-06-11 17:05:29 -04:00
Eva Sarafianou
1d704745b7
Remove gobom files ( #27140 )
2024-06-11 19:15:24 +03:00
Doug Lauder
594ba6e665
MM-58577 Check remote ownership for posts and reactions ( #27317 )
...
* - ensure that posts and reactions can only be added via sync when coming from a remote that the target channel is shared with.
- ensure that posts and reactions are only modified/deleted by the remote that owns them.
* check that reaction belongs to post that belongs to channel that is shared with remote; check that posts belong to channel shared with remote
* check for correct error type in unit test
* tweak unit test
2024-06-11 17:51:00 +02:00
Weblate (bot)
6f8de3449a
Translations update from Mattermost Weblate ( #27306 )
...
* Translated using Weblate (German)
Currently translated at 100.0% (2505 of 2505 strings)
Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/de/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (2505 of 2505 strings)
Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/nl/
* Translated using Weblate (Polish)
Currently translated at 100.0% (2505 of 2505 strings)
Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/pl/
* Translated using Weblate (Swedish)
Currently translated at 100.0% (2505 of 2505 strings)
Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/sv/
* Translated using Weblate (German)
Currently translated at 100.0% (5772 of 5772 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/
* Translated using Weblate (Dutch)
Currently translated at 99.9% (5769 of 5772 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/
* 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 (Swedish)
Currently translated at 99.9% (5769 of 5772 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sv/
* Translated using Weblate (Persian)
Currently translated at 84.7% (2122 of 2505 strings)
Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/fa/
* Translated using Weblate (Japanese)
Currently translated at 99.7% (5760 of 5772 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ja/
* Translated using Weblate (Japanese)
Currently translated at 100.0% (2505 of 2505 strings)
Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/ja/
* 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% (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% (5772 of 5772 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/
* Translated using Weblate (Swedish)
Currently translated at 99.9% (5771 of 5772 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sv/
* 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 (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 (Swedish)
Currently translated at 100.0% (2505 of 2505 strings)
Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/sv/
---------
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: Mo Jahani <only_maj@yahoo.com>
Co-authored-by: maruTA-bis5 <bis5.wsys@gmail.com>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: aeomin <lin@aeomin.net>
2024-06-11 10:09:16 -03:00
Aditya Pratap Singh Hada
075e0df5df
[MM-57034]: Check for s3 object is File or Directory ( #26837 )
...
* check for path when number of object is one
* add test and updated condition to check for path
* updated test and removed string trim
* using exported method
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-06-11 17:32:57 +05:30
Nick Misasi
b86ba51efd
Add check to not send license expiration email when in Cloud ( #27308 )
2024-06-10 11:20:44 -04:00
Domenico Rizzo
4acc4796ed
Added GetPluginID method and tests ( #27281 )
...
A new method, GetPluginID, has been added to the Manifest model. This function returns the ID of a plugin. Corresponding unit tests have also been implemented to ensure that this function works as expected. The test cases cover scenarios where IDs are the same and different.
2024-06-10 11:11:47 -04:00
Christopher Speller
cebe7e0315
Update Copilot plugin prepackaged version ( #27296 )
2024-06-10 07:13:36 -07:00
M-ZubairAhmed
e2abac5486
[MM-58445] Try deferring plugins scripts loading ( #27179 )
2024-06-09 07:16:14 +00:00
Devin Binnie
f3e760008c
[MM-58355] Send invalidate cache message across the cluster so that websocket connections on other instances are invalidated correctly ( #27204 )
...
* [MM-58355] Send invalidate cache message across the cluster so that websocket connections on other instances are invalidated correctly
* Add suggestion to clear the session cache on the local node as well
* Force read from master DB when gettting channel members for websocket to avoid any DB sync issues
* PR feedback
* Missed generated files
2024-06-07 09:38:53 -04:00
Christopher Poile
91741a7fa4
[MM-58008] Calls Mobile: Settings for DM/GM ringing ( #27213 )
...
* prevent webapp from erasing new mobile notify props
* allow blank, will be used on mobile to default to desktop setting
* update snapshots
* Revert "update snapshots"
This reverts commit 0bcd515de8
.
* Revert "allow blank, will be used on mobile to default to desktop setting"
This reverts commit 56e16e887f
.
* Revert "prevent webapp from erasing new mobile notify props"
This reverts commit e983d7b8f4
.
* simplify how we handle mobile notification props
* linting
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-06-06 15:32:01 -04:00
Harrison Healey
65f7a623ce
Remove t from utils/emojis and related code ( #27273 )
...
* Update make_emojis.mjs and remove unused field
* Remove skin tone translations from emojis.ts
* Remove category name translations from emojis.ts
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-06-06 12:25:33 -04:00
Doug Lauder
a3bc73c1dc
MM-58253 Ensure remotes can only update users belonging to them ( #27290 )
...
* - ensure new users get correct remoteID
- ensure remotes can only update users belonging to them
- ensure user remoteIDs cannot be changed once set
* make modules-tidy
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-06-06 10:28:02 -04:00
Christopher Speller
04181247f8
Move HTTP service to public for plugin use ( #27284 )
...
* Move httpservice for use in plugins
* Adapt httpservice for plugin use
* Fix lint
2024-06-05 09:58:04 -07:00
Ibrahim Serdar Acikgoz
bff2989d95
Prevent null unicode character errors during the migration ( #26974 )
2024-06-05 18:53:16 +02:00
Ibrahim Serdar Acikgoz
179d28ee3f
[MM-58341] db/migrations: mysql-8.4 fix for 000027_create_status ( #27080 )
2024-06-05 18:52:53 +02:00
Ibrahim Serdar Acikgoz
53bd7a73a4
[MM-58086] platform/busy_test.go: increase test busy duration time ( #27082 )
2024-06-05 18:52:38 +02:00
M-ZubairAhmed
7b2c314448
[MM-58463] Remove defer for main/entry JS scripts ( #27272 )
2024-06-05 03:06:54 +00:00
Matthew Birtch
aa5b8bf549
fix bolded icon issue ( #27222 )
2024-06-04 14:23:54 -04:00
Harrison Healey
2bcaa42dc0
MM-58275 Ensure image proxy site URL is updated when that changes ( #27214 )
...
* MM-58275 Ensure image proxy site URL is updated when that changes
* Check if proxy settings changed using reflection
2024-06-04 14:06:37 -04:00
Scott Bishel
206ff6e697
add translation for errors checking group name ( #27196 )
...
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-06-04 07:57:55 -06:00
Doug Lauder
5114c3b7cd
when sync'ing users make sure the user's remoteid matches the remote issuing the update ( #27203 )
2024-06-04 11:30:18 +02:00
M-ZubairAhmed
11c2951afa
[MM-58402] Migrate tooltips of 'components/emoji_picker_skin.tsx' & 'components/emoji_picker_category' to WithTooltip ( #27146 )
2024-06-03 18:03:36 +00:00
Harrison Healey
76774e61b6
MM-58354 Fix numbered Markdown lists not wrapping long words ( #27186 )
2024-06-03 11:44:07 -04:00
Harrison Healey
527fe4a654
Update ChannelHeaderPlug tests to not use snapshots and ensure its more accessible ( #26784 )
...
* Update ChannelHeaderPlug tests to not use snapshots
* Change HeaderIconWrapper to always set aria-label based off tooltip
* Re-add shortcut to Recent Mentions button
* Remove unneeded div
2024-06-03 11:43:25 -04:00
Doug Lauder
d40cc68b1c
MM-58349 Don't allow remote user to create sessions or reset password ( #27215 )
...
Automatic Merge
2024-06-03 17:11:30 +03:00
Devin Binnie
4ec50a7ddd
[MM-58500] Turn off PostedAck when the connection is no longer registered ( #27212 )
...
* [MM-58500] Turn off PostedAck when the connection is no longer registered
* Expose active and just check for active instead
2024-06-03 19:14:53 +05:30
Weblate (bot)
4163db4e5e
Translations update from Mattermost Weblate ( #27251 )
...
* Translated using Weblate (Dutch)
Currently translated at 99.9% (5767 of 5770 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/
* Translated using Weblate (Swedish)
Currently translated at 100.0% (2503 of 2503 strings)
Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/sv/
* Translated using Weblate (French)
Currently translated at 83.0% (4792 of 5770 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/
* Translated using Weblate (Swedish)
Currently translated at 99.4% (5741 of 5770 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sv/
* Translated using Weblate (German)
Currently translated at 100.0% (5770 of 5770 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/
* Translated using Weblate (French)
Currently translated at 83.2% (4805 of 5770 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/
* Translated using Weblate (Russian)
Currently translated at 100.0% (2503 of 2503 strings)
Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/ru/
* Translated using Weblate (Russian)
Currently translated at 98.2% (5671 of 5770 strings)
Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ru/
---------
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: Benjamin Danon <b@bndn.fr>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: Konstantin <eleferen@gmail.com>
2024-06-03 10:39:18 -03:00
ahmadJT
58b7032a8c
[MM-58406] Migrate tooltips of 'components/custom_status/custom_status_text' to WithTooltip ( #27168 )
2024-06-01 03:27:10 +00:00
Ashish Dhama
b7cc4cb412
[MM-58413] Migrate various components to use WithTooltip ( #27163 )
2024-06-01 03:25:38 +00:00
unified-ci-app[bot]
6593773959
Update latest minor version to 9.10.0 ( #27224 )
...
Automatic Merge
2024-05-31 23:41:31 +03:00
Pavel Mokeev
66a3eba2cf
Add ctx usage in Client4 methods ( #26973 )
...
* Add ctx usage in Client4 methods
* Add ctx usage to more Client4 methods
* fix missing ctx usage
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-31 13:24:00 -04:00
Harrison Healey
6166f4e7d3
MM-58459 Fix unread threads not always being loaded correctly ( #27200 )
2024-05-31 11:07:35 -04:00
Scott Bishel
b788760e17
MM-52638- Last admin cannot be demoted ( #24087 )
...
* don't allow last sysadmin to change roles
* cleanup, add comment
* only allow admin downgrade if more than one admin
* remove unused variable
* i18n-extract, unit test fixes
* Update user.go
* remove blank line
* update tests check all return values
* revert channel_store.go
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-05-31 14:13:46 +02:00