Commit Graph

19308 Commits

Author SHA1 Message Date
Nils
ac30b9d468
Fixed errcheck in server/channel/api4/job.go (#28420) 2024-10-04 17:50:14 +02:00
TheInvincible
0c8212078c
Filter archived channel from webhooks dropdown (#28427) 2024-10-04 10:54:22 -04:00
Arya Khochare
b859ca2d90
errcheck issues fixed (#28416) 2024-10-04 09:35:53 +02:00
Arya Khochare
7e62197520
errcheck issues fixed (#28476) 2024-10-04 09:34:29 +02:00
fume4mattermost
5f48a359ca
[MM-56033]Added unit tests for UpdateUserCustomStatus and RemoveUserCustomStatu… (#28216)
* added unit tests for UpdateUserCustomStatus and RemoveUserCustomStatus functions

* stylistic improvements in status endpoint tests

* linting fix

---------

Co-authored-by: Fume <contact@fumedev.com>
2024-10-04 13:02:53 +05:30
Pablo Vélez
0f6f47d6b4
MM 60445 - fix preparing workspace wrong redirect (#28332)
* MM-60445 - fix preparing workspace wrong redirect

* add unit tests

* update unit tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-04 08:32:06 +02:00
Arya Khochare
295ae8baed
Errcheck issues fixed (#28406)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-04 07:14:48 +02:00
Arya Khochare
cab714a629
errcheck issues fixed (#28477) 2024-10-04 07:11:24 +02:00
Ben Schumacher
f3eee28f56
[MM-60253] Avoid unnecessary cache clearing during LDAP sync (#28300) 2024-10-03 16:26:53 +02:00
Daniel Espino García
da6b40665a
Avoid resetting device id when removed from push proxy (#28269)
* Avoid resetting device id when removed from push proxy

* Fix test and minor improvements

* Add MySQL support
2024-10-03 10:09:25 +02:00
Harrison Healey
c15c924c49
Disable PerformanceReporter tests (#28426) 2024-10-03 02:27:44 +00:00
unified-ci-app[bot]
b7f337a87c
Update latest minor version to 10.2.0 (#28429)
Automatic Merge
2024-10-03 01:14:32 +02:00
Harrison Healey
394f625bcb
MM-50347 Make desktop app landing page optional (#28421)
* fix: Make desktop app landing page optional

* Update i18n strings

* Fix linting and unit test

---------

Co-authored-by: Kiran <kiran@krinati.co>
2024-10-02 15:48:54 -04:00
Scott Bishel
0048723ccd
MM-60679 - Validate playbook plugin version, based on license (#28366)
Automatic Merge
2024-10-02 20:14:32 +02:00
Ibrahim Serdar Acikgoz
1ea854438a
server/Makefile: bump mattermost-metrics-plugin version (#28413)
Automatic Merge
2024-10-02 18:14:32 +02:00
Arya Khochare
9c2a9c7f26
Fixed errcheck issues (#28405) 2024-10-02 15:32:49 +02:00
Pablo Vélez
1690e48db6
MM 60222 - apply filter to export csv (#28212)
* MM-60222_apply filter to export csv

* get the report exporting with the filters ready

* add unit tests

* cover one more file with some tests

* style the confirm modal note

* add translations

* remove unnecessary print line

* disable export button if there is no data to export

* fix linter issues

* fix linter errors

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-02 12:23:39 +02:00
Tanishq Agarwal
5098669cfb
[MM57343] Add unit tests to Team Groups Management Modal (#28272)
* added basic unit tests for team_groups_manage_modal

* removed errorenously added getIntlMock from test_helpers

* added additional general tests

* updated test suite

* updated snapshot update using jest

* fixed minor linting problems

* fixed unintended snapshot changes

* modified test case to wait for element removal
2024-10-02 12:22:48 +02:00
Arya Khochare
2b03afdfc2
Fixed errcheck issues (#28403) 2024-10-02 12:16:10 +02:00
Nils
887c3a800d
[GH-28355] Fixed errcheck issues in server/channels/api4/channel_category.go (#28357) 2024-10-02 09:50:43 +02:00
Miguel de la Cruz
acc9093072
Error when generating invite codes for a confirmed remote cluster (#28337) 2024-10-02 00:37:04 -05:00
Harrison Healey
76021c76a0
MM-60351 Use oEmbed for YouTube links (#28312)
* Split up handling of permalinks and other links in getLinkMetadata

* MM-60351 Use oEmbed for YouTube links

* Explicitly request json from the oEmbed provider

* Fix linter

* Fix type of CacheAge field

* Address feedback
2024-10-01 14:06:45 -04:00
Andrew Zigler
d53a2ef4df
Add Hacktoberfest 2024 Holopin badge to holopin.yml (#28288)
See https://github.com/marketplace/holopin for usage
2024-10-01 13:55:09 -04:00
Arya Khochare
23d06d4520
Errcheck issues fixed in server/channels/api4/brand_test.go (#28364) 2024-10-01 16:34:01 +02:00
Jesse Hallam
edf5610b48
Update LICENSE.txt to reflect new paths (#28241)
* Update LICENSE.txt to reflect new paths

Various paths changed after last year's monorepo transition. Update our
license to reflect these, and simplify to reference all of the public
module (already under the Apache 2.0 license).

* fix apparent typo in AGPL license version
2024-10-01 09:47:09 -03:00
CarlssonFilip
c5a504883d
[GH-28353] Fix errcheck issues in server/channels/api4/channel_bookmark_test.go (#28358) 2024-10-01 13:02:56 +02:00
Ibrahim Serdar Acikgoz
076a3cb0d5
cmd/mmctl/user: attempt to improve migrate-auth documentation (#28330) 2024-10-01 12:46:06 +02:00
Weblate (bot)
f190375403
Translations update from Mattermost Weblate (#28356)
Automatic Merge
2024-09-30 16:14:32 +02:00
Ben Schumacher
a30e19cce8
Explicitly list ignored files for errcheck linter (#28329) 2024-09-30 08:54:51 +02:00
M-ZubairAhmed
4c6ac0a432
[MM-60218] Resettting to default doesnt reset to user's global notification setting in a channel's setting (#28046) 2024-09-27 18:17:23 +00:00
Felipe Martin
bb4d7de2b5
fix: dm shared channel indicator (#28302)
* fix: dm shared channel indicator
2024-09-27 12:31:03 -04:00
Julien Tant
d1cad8c692
add reuse check on update MFA (#28304) 2024-09-27 17:35:36 +02:00
Aditya Soni
f97cd9ea5b
MM-51091: Fixed the checkmarks bug (#28287)
* Fixed the checkmarks bug

* Fixed indentation

* Fixing the snapshots

* resolving the comments

* check-lint issues

* react fragment removal

* Fixing the .snap files
2024-09-27 11:17:30 -04:00
Ben Schumacher
2b426573cd
[MM-60619] Annotate cluster logs messages (#28268) 2024-09-27 09:17:16 +02:00
Matthew Birtch
bd61f1484b
MM-60604 Hide pinned icon in channel header when no pinned posts (#28276) 2024-09-26 20:24:07 -04:00
Daniel Espino García
0676d300de
Fix draft sent to show and rise errors (#28097)
* Fix draft sent to show and rise errors

* Remove event and set skipCommands

* Fix tests

* Improve error styles

* Fix lint

* Fix lint

* Fix tests

* Various fixes

* Fix lint

* fix test

* Extract onSubmit options type

* Address feedback

* Fix text
2024-09-26 16:59:20 +02:00
Devin Binnie
d58b048965
[MM-60603] Don't follow threads when marking them as read on focus (#28263)
* [MM-60603] Don't follow threads when marking them as read on focus

* Fix tests

* Fix lint

* Fix the original bug in the API call
2024-09-26 09:02:11 -04:00
Ben Schumacher
3428cd15b6
[MM-60648] Don't start server until all routes are registered (#28291) 2024-09-26 13:57:48 +02:00
Ben Schumacher
20ed58906a
[MM-60307] Check if session is nil before calling UpdateLastActivityAtIfNeeded (#28254) 2024-09-26 13:52:59 +02:00
Agniva De Sarker
9900151fb6
Remove some dead code from Redis (#28313)
I forgot to remove this method in my
earlier refactoring. A bit weird that no linter
caught this. 🤔

```release-note
NONE
```
2024-09-25 22:05:46 +05:30
Daniel Espino García
1e8ef05338
Fix missing profile messages on notification dashboards (#28297) 2024-09-25 12:07:24 +02:00
Nikhil Kulkarni
6d51307ddf
[MM-57711] Convert ./components/latex_inline/latex_inline.tsx from Class Component to Function Component (#28129)
* Changed the class component to functional

* Updated the tests for latex_inline

* Updated the snapshots and tests

* Updated the tests, snapshots and changed div to span

* Updated snapshots and tests

* used renderWithContext instead of render in tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-25 11:59:33 +02:00
Agniva De Sarker
5a511a14ee
MM-60606: Respect allowFromCache flag in Channelstore.GetMany (#28290)
Setting the flag to false never worked, and it was never
caught because there wasn't an instance when this method
was called with allowFromCache=false.

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

```release-note
NONE
```
2024-09-25 13:54:57 +05:30
Agniva De Sarker
9447cb9074
MM-60171: Using a generic function to allocate values (#28245)
We sprinkle a bit of generic magic to refactor a lot
of duplicate code.

To avoid exposing unnecessary code, I duplicated the function
twice. But let me know if you have strong opinions about this.

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

```release-note
NONE
```


---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-25 10:00:14 +05:30
Caleb Roseland
e0e0b57b8b
MM-54022: add warning when deleting a remote post (#28284) 2024-09-24 12:04:26 -05:00
Harrison Healey
e080f9f5ed
Change localizeMessage to take a MessageDescriptor as a parameter (#28141)
* Change localizeAndFormatMessage to take a MessageDescriptor

* Change localizeMessage to take a MessageDescriptor as a parameter

* Update mmjstool to support new localizeMessage signature

* Change mmjstool commit back to master branch
2024-09-24 12:07:51 -04:00
Mario Vitale
8e2dc45841
Re-enable postgres migration tests (#28270)
* Utilize separate image for migration tests
* Re-enable migration tests
* Apply Ibrahim's suggestion
* Apply Saturn's suggestion
2024-09-24 17:50:12 +02:00
Caleb Roseland
355dd18e52
MM-60335: Upgrade to typescript 5.5.4 (#28099)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-24 10:39:35 -05:00
Harrison Healey
46cad5c552
MM-59854 Fully allow at mentions in message attachment field values and add E2E tests (#28018)
* Add descriptions to test cases for getNeededAtMentionedUsernames

* MM-59854 Load users who are at-mentioned in message attachment fields

* MM-59854 Add server support for at-mentioning users in message attachment fields

* Migrate support/external_commands from JS to TS

* MM-59584 Ensure that at-mentions never show in other message attachment fields

* MM-59584 Add E2E tests for how we load users based on at mentions

* Use new E2E test helpers in other places

* Update snapshots
2024-09-24 09:41:03 -04:00
yasserfaraazkhan
3e84d20dbe
E2E: Add delay to slow down cypress and depict end user's speed. (#28113) 2024-09-24 19:07:17 +05:30