Commit Graph

18238 Commits

Author SHA1 Message Date
Asaad Mahmood
16d80e61a2
MM-56593 - Fixing app button styles (#25962)
Automatic Merge
2024-01-22 19:05:38 +02:00
Weblate (bot)
8d5671dd4a
Translations update from Mattermost Weblate (#25989)
* Translated using Weblate (Japanese)

Currently translated at 100.0% (2572 of 2572 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (5815 of 5815 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (2571 of 2572 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% (5814 of 5815 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% (2572 of 2572 strings)

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

* Translated using Weblate (Polish)

Currently translated at 99.6% (2563 of 2572 strings)

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

* Translated using Weblate (Lithuanian)

Currently translated at 91.4% (5316 of 5815 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (2572 of 2572 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.9% (5814 of 5815 strings)

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

* Translated using Weblate (Czech)

Currently translated at 74.0% (1905 of 2572 strings)

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

* Translated using Weblate (Lithuanian)

Currently translated at 7.4% (192 of 2572 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 99.7% (2566 of 2572 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 99.9% (5812 of 5815 strings)

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

* Update translation files

Updated by "Remove blank strings" hook in Weblate.

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

* Update translation files

Updated by "Remove blank strings" hook in Weblate.

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

* Translated using Weblate (German)

Currently translated at 100.0% (2572 of 2572 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (2572 of 2572 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (5815 of 5815 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (5815 of 5815 strings)

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

---------

Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: ThrRip <coding@thrrip.space>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: N <normanas.zem5@gmail.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: SkyDusH <giris@seznam.cz>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
2024-01-22 12:38:42 -04:00
Vishal Bisht
d2da8d3a50
[MM-56512] Impossible to set a custom reminder on the same day of following months (#25918)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-22 08:46:37 -06:00
Matthew Straughn
ae33de57ff
Mm 16623 fix all initialism errors in channels/app and channels/api4 and /store dir (#25787) 2024-01-22 14:35:16 +01:00
Daniel Espino García
2415438d88
Fix MM56373 (#25946)
* Fix MM56373

* Fix typo

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-22 13:13:09 +01:00
mattermod
b668c9b048 Update latest version to 9.4.1 2024-01-22 07:41:42 +00:00
Agniva De Sarker
1f431bf722
MM-53879: Fix duplicate loading of license (#25442)
We take a second stab at fixing the issue. Last time,
we were a bit too aggressive in trying to fix a lot of stuff.

I believe changing the cluster event handler had an edge case
somewhere which caused things to fail. Taking a very conservative
approach this time to only fix what is obviously wrong.

Also tested locally in a HA setup.

https://mattermost.atlassian.net/browse/MM-53879
```release-note
NONE
```

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-22 11:04:15 +05:30
Agniva De Sarker
8364e30a2a
MM-55524: Include deactivated users in DM export (#25695)
We were incorrectly excluding deactivated users
while getting channel members for a DM channel, whereas
we were actually exporting all users in the users array.

We fix this and also correctly honor the includeArchivedChannels
flag as well.

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

```release-note
Include deactivated members in a favorited DM channel export.
```


---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-20 08:47:47 +05:30
Devin Binnie
f7446d7443
[MM-55726] Create batch report worker, add batch report job for exporting users to CSV (#25832)
* Split out migration logic and create generic BatchWorker

* WIP

* WIP

* POC batch reporting

* Oops

* Job hookup

* Working export to file

* PR feedback

* Merge'd

* Fix error handling

* Add API to start report, translations, couple fixes

* Add DMs to send reports to users

* Merge'd

* Update types

* A bit of cleanup

* Some fixes

* Add missing API doc

* PR feedback

* Fix generated

* Fix bug with post creation

* PR feedback

* Add some tests

* PR feedback

* Fix lint

* Some test changes

* Fix tests

* Add comment to explain why we forcibly stop

* Rework of some tests

* Batch report test

* Restrict batch exports to Pro and Enterprise licenses

* Fix erroneous comment

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-19 15:22:17 -05:00
Harrison Healey
eac9a39677
Allow NPM v10 when working on the web app (#25959) 2024-01-19 09:43:51 -05:00
Christopher Poile
60252d4857
upgrade calls to 0.23.1 (#25963)
Automatic Merge
2024-01-19 16:35:38 +02:00
Daniel Espino García
f8dbb2e168
Update text for activated users in team statistics (#25921)
* Update text for activated users in team statistics

* Fix lint

* Generalize tooltip and make it show according to the designs

* Fix lint

* Fix test

* Generalize even more overlay trigger

* Update snapshot

* Update link
2024-01-19 10:49:47 +01:00
Saturnino Abril
7833dd2c1c
Cypress/E2E: Upgrade Cypress to 13.6.2 and its dependencies (#25932)
* upgrade cypress to 13.6.2 and its dependencies

* revert axios-retry to 3.8.0

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-19 12:15:27 +08:00
Devin Binnie
bbe432b3b0
[MM-56398] Fix date range query for user reporting (#25960)
* [MM-56398] Fix date range query for user reporting

* Missing debug stuff

* Fix tests
2024-01-18 14:06:30 -05:00
Weblate (bot)
81de078e1d
Translations update from Mattermost Weblate (#25815) 2024-01-18 05:55:04 -04:00
Harrison Healey
fd3a3081d4
Remove accidentally included trace logs (#25939) 2024-01-17 16:18:01 -05:00
Harrison Healey
21e82c4a8b
MM-56565 Add filter to connectFakeWebSocket to fix flakiness (#25938) 2024-01-17 16:17:14 -05:00
Harrison Healey
c4cc2db0ff
MM-54468 Fix code blocks being misaligned in search results (#25950) 2024-01-17 16:17:06 -05:00
Devin Binnie
2d71258834
[MM-56522] Fix margin on landing page remember preference checkbox (#25941) 2024-01-17 15:14:26 -05:00
Doug Lauder
8cf4f2d23b
Fix channel switcher routing for DMs with remote users (#25887) 2024-01-17 14:39:36 -05:00
Harrison Healey
584c2e766c
Improve typing of bindClientFunc/Improve Redux types part 2 (#25915)
* Improve typing of bindClientFunc

* Slight logic changes

* Remove unused import
2024-01-17 13:06:46 -05:00
Daniel Espino García
ce8cf7e8db
Change active to activated in user list (#25923) 2024-01-17 12:17:36 +01:00
Saturnino Abril
9a066b0390
make pushNotificationServer configurable in E2E (#25929) 2024-01-17 16:54:05 +08:00
Agniva De Sarker
f4fbc90e23
Move all PR tests to free tier (#25930)
After moving only contributor PRs to free tier it was
observed that the tests actually finish faster in free tier
than with larger runners. We have let the change soak for about
a month now without any issues.

Therefore we move to free tier runners for all PRs.
```release-note
NONE
```

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-17 09:10:38 +05:30
Nick Misasi
7039176d31
[CLD-6536] Adjustments to cloud annual renewal announcement bar (#25927)
* Adjustments to cloud annual renewal announcement bar

* Add exclusion for trials

* Add more exceptions for when on trial during renewal period

* Add support for simulated_current_time_ms

* A few more changes to allow us to test this post-merge

* Fix tests, pipeline

* Final fix around emails

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-16 17:48:59 -05:00
Claudio Costa
d1e37783cc
Include session id in request payload of WebSocketMessageHasBeenPosted plugin hook (#25928) 2024-01-16 14:17:31 -06:00
Agniva De Sarker
ff741a76e6
Skip flaky test SendNotifications_MentionsFollowers (#25931)
https://mattermost.atlassian.net/browse/MM-56565
```release-note
NONE
```
2024-01-16 14:46:36 -05:00
Doug Lauder
a07097ed57
Plugin API hook for Shared Channel file attachment sync (#25874)
* option for auto inviting plugin to all shared channels.

* auto-invite remotes to shared channels when flag set

* fix unit test

* immediately ping new remotes; fix unique siteurl bug

* make i18n-extract

* fix translations

* plugin hooks for file attachments

* hook for profile image sync

* fix profile image sync

* fix unit test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-16 15:48:51 +01:00
unified-ci-app[bot]
d90d3e4036
chore: Update NOTICE.txt file with updated dependencies (#25920)
Automatic Merge
2024-01-16 16:24:57 +02:00
lindalumitchell
1e184df414
Update channel_settings_spec.js (#25580)
Error text updated to `A channel with that name already exists on the same team.`

MM-T882 Channel URL validation works properly

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-16 11:58:05 +01:00
Daniel Espino García
8818141dae
Remove t function from admin_definition.tsx (and more) (#25406)
* Remove t function from schema_admin_settings

* i18n

* Fix import

* Use always string or descriptor and more improvements

* i18n-extract

* Remove t function for roles

* Remove more t functions

* Address feedback

* i18n-extract fix

* Fix tests

* Fix tests

* Remove translation of team edition notice

* Remove unexpected file in the commit

* Address feedback

* Fix search in admin console

* Fix test
2024-01-16 10:10:24 +01:00
Julien Tant
6f1bbcd8ec
[MM-54770] Add ability to export profile pictures and fix importing them (#25042)
* add ability to export pp and fix import

* remove unused nopSeeker

* remove debug log

* fix shadow vars

* generate a warning instead of an error when unable to export profile picture

* fix merge conflicts

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-15 14:29:45 -07:00
Trang
f72aed2263
Extend message tying of RHS threads the entire width of the right post textbox (#25857) 2024-01-15 16:00:30 -05:00
Scott Bishel
68be318fa2
MM-55608:check invite guest permission (#25708)
* check for invite_guest permission when inviting guests

* update description for invite_guest

* check team permission first

* update returned error

* update from review comments

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-15 08:51:50 -08:00
Christopher Poile
b162267387
MM-56163 - Update prepackaged calls to v0.23.0 (#25922) 2024-01-15 11:10:48 -05:00
Dinesh A
f8b2d1bd86
[GH-25023] Add in-product Academy link to Search training (#25509)
* Feat - Added product academy link to search training

* Fix - Added hover effect on product-Academy-link-to-Search-training

* Fix CI

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
2024-01-15 08:53:11 -05:00
Daniel Espino García
77bdeb1c2b
Migrate profile popover from class to functional component (#25608)
* Migrate profile popover from class to functional component

* Fix lint

* Fix tests and minor fixes

* Address feedback

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-15 09:28:43 +01:00
mkaraki
23fcb7728f
[MM-11777] Add WebP preview support on web (#25784)
* Add webp to webapp image extension list

* Add test webp image and test code

* Change webp test image and move path

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-15 14:30:22 +08:00
Agniva De Sarker
f2b488932d
MM-56355: Use same number of hubs as CPUs (#25798)
We randomly used double the number of hubs. A proper test indicates
that using the same number of hubs as CPUs gives better performance.

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

```release-note
NONE
```
2024-01-13 08:56:16 +05:30
Maria A Nunez
f857af64f2
Fixed actived users and added mau in true up report (#24921)
* Fixed actived users and added mau in true up report

* Temp disable of true up calendar checks for testing

* Revert "Temp disable of true up calendar checks for testing"

This reverts commit 73055bdb25.

* Added unit test

* Linting

* Typo

* Forgot the pain of linting

* Added dau

* Create imports.go

* Fix merge error

* Fixed test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-11 21:28:58 -05:00
Harshil Sharma
3047700c0b
Added count exceeded warning (#25817)
* Added count exceeded warning

* lint fix

* Updated message

* Update server/channels/app/user.go

Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com>

* added check for activating user

* Updated copy

---------

Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com>
2024-01-12 06:48:52 +05:30
Harrison Healey
4d96c11314
MM-56083 Add PatchMultipleMembersNotifyProps plugin API (#25690)
* Add ChannelStore.UpdateMultipleMembersNotifyProps

* Make UpdateMultipleMembersNotifyProps return updated values from the DB

* Add UpdateChannelMembersNotifications plugin API

* Extract i18n

* Fix style

* Make layers

* Change to PatchMultipleMembersNotifyProps

* Add limit to PatchChannelMembersNotifyProps

* Add additional unit tests

* Address feedback

* Lowercase decodeJSON

* Have PatchMultipleMembersNotifyProps update LastUpdateAt

* Fix tests that relied on unreliable return order

* Fix i18n
2024-01-11 13:24:52 -05:00
Nick Misasi
aafe7439af
[CLD-6894] Add 60, 30, and 7 day reminder emails for Cloud Renewals (#25883)
* Add email notifications for Cloud Renewals

* Updates

* Updates

* Update app-layers

* make build-templates

* Add ability to set an env variable as a unix timestamp in s as the current date when getting DaysToExpiration

* Add a mechanism to ensure at least one admin receives every email

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Gabe Jackson <3694686+gabrieljackson@users.noreply.github.com>
2024-01-11 13:07:41 -05:00
Agniva De Sarker
04cf1ed114
Bump up the minimum required MySQL version (#25465)
MySQL 5.7 is at end of life.

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

```release-note
We bump up minimum MySQL version to be 8.0.0
```


Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
2024-01-11 22:18:20 +05:30
Miguel de la Cruz
4ab6b98c63
Removes enterprise deletion from nuke make target (#25896) 2024-01-11 16:04:55 +01:00
M-ZubairAhmed
2676caa52f
[MM-56318] Global warning banners of user limit for admins (#25797)
* get data to store

* inin

* added inside loadme

* useCWSAvailabilityCheck hook improve

* modal airgap

* the bar

* Update announcement_bar_controller.tsx

* Update true_up_review.tsx

* csw

* fixes

* fixed

* more tests

* icon changed

* changes

* Extended tests

* Update index.ts

* redux harrison changes

* Updated copy

* Lint fixes

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: harshil Sharma <harshilsharma63@gmail.com>
2024-01-11 19:41:04 +05:30
Daniel Espino García
539412b353
Fix MM53643 (#25683)
* Fix MM53643

* Add test

* Remove unneeded part of a test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-11 10:52:39 +01:00
Agniva De Sarker
1d879ed0f4
MM-55295: Improve DB performance of some (Take 2) (#25865)
* Revert "Revert "MM-55295: Improve DB performance of some APIs (#25318)" (#25852)"

This reverts commit 077221a940.

* Fix the issue

```release-note
NONE
```

* lint fix

```release-note
NONE
```
2024-01-11 10:18:36 +05:30
Devin Binnie
43cca04f04
[MM-56174] Account for archived channels in channel member for post permission check (#25837)
* [MM-56174] Account for archived channels in channel member for post permission check

* Add tests
2024-01-10 15:50:00 -05:00
Nick Misasi
1d108f0d9f
[CLD-6538] Renewal Card for Cloud Purchase Modal, remove unnecessary components (#25606)
* Add renewal card component to purchase modal, remove some unneeded components

* Add back commented code

* Fixes for pipelines

* Delinquency modal skips invoice summary table if there is only one invoice

* Updates

* Fixes from ms precision changes

* Fixes for tests after ms precision changes

* A couple more occurrences

* Removal of a bunch of code that's no longer necessary

* Fix linter

* Fix i18n

* Fix

* More fixing

* Updates

* Updates based on PR feedback

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-10 14:19:29 -05:00