Commit Graph

17351 Commits

Author SHA1 Message Date
Doug Lauder
5e7d1c6f9e
MM-37511 Add userid to http logs (#24516)
* include user_id in http logs
2023-09-08 18:24:34 -04:00
Christopher Poile
5ccc039278
MM-54176 - Update prepackaged calls to v0.19.0 (#24518) 2023-09-08 13:51:13 -04:00
Harrison Healey
86689b7ee6
MM-54399 Move resizable sidebar handles to not overlap scrollbars (#24491)
* MM-54399 Move resizable sidebar handles to not overlap scrollbars

* Disable RHS resizing in mobile view

* Fix snapshots

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Devin Binnie <devin.binnie@mattermost.com>
2023-09-08 11:50:47 -04:00
Ben Schumacher
42e988132c
[MM-46134] Add additional checks for PostStore/PostgreSQL/GetForThread/Pagination (#24458)
* Use require

* Add additonal length checks

* Remove Skip

* Manually set CreateAt
2023-09-08 16:50:53 +02:00
Ben Schumacher
a32e793982
Fix logger panic in migration scheduler (#24509)
Automatic Merge
2023-09-08 17:27:36 +03:00
Scott Bishel
15faf4a69c
update to use AppError.Where() to differentiate errors (#24379)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-08 08:17:58 -06:00
Jesse Hallam
2d1848bf14
fix TestGetServiceEnvironment (#24506)
A late change to the service environment functionality had us defaulting to `dev` instead of `test` without the `production` build tag. Unfortunately, because these tests were unintentionally being skipped within the submodule, the failure wasn't caught at the time. A simple update addresses the unit tests.

Fixes: https://mattermost.atlassian.net/browse/MM-54197
2023-09-08 11:00:48 -03:00
Christopher Poile
4022d2e762
MM-54443 - Fix: registerDesktopNotificationHook is missing (#23884) (#24497)
(cherry picked from commit 46a659e06d)
2023-09-08 08:16:26 -04:00
Doug Lauder
924cc0ec1a
Fix race in JobServer.HandleJobPanic (#24502)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2023-09-08 11:09:37 +02:00
David Janda
afeeacb94a
Use GetBuilder and SelectBuilder to remove some boilerplate in group_store.go (#24255) 2023-09-07 18:28:39 +03:00
Agniva De Sarker
acdfefe456
Revert "MM-53879: Fix recursive loading of license (#24200)" (#24498)
This reverts commit dd73c2af0f.
2023-09-07 20:58:20 +05:30
Devin Binnie
01cf4b459f
[MM-54402] Change protocol transform method for Desktop Auth to be compliant with web standards (#24479) 2023-09-07 09:03:39 -04:00
Ben Schumacher
c656ca3fe3
Remove unused err field from request.Context (#24471) 2023-09-07 12:12:25 +02:00
Ben Schumacher
5f868e2469
Cleanup mlog levels (#24459) 2023-09-07 12:11:57 +02:00
Ibrahim Serdar Acikgoz
0e84ccb383
Bump Go version to v1.20 (#24439) 2023-09-07 13:06:18 +03:00
Ben Schumacher
30b12f199b
[MM-54132] Use annotated logger for log messages from jobs (#24275) 2023-09-07 08:50:22 +02:00
Nick Misasi
fcfcbd9909
[CLD-6219] Add Company Name field to Purchase Modal (#24428)
Automatic Merge
2023-09-06 23:27:35 +03:00
M-ZubairAhmed
b540ed5d30
Remove leftover Gitlab CI files (#24472) 2023-09-06 23:45:48 +05:30
Ben Cooke
791ee40568
[MM-53291] Data retention improvements (#24253)
* adding new migration for RetentionIdsForDeletion, changing logic for deleting orphaned reactions. Updating delete user and channel endpoints to remove respective reactions
2023-09-06 08:25:27 -04:00
Daniel Espino García
d13429aa92
Enable import order (#24091)
* Enable import order

* Add new order groups and add consistent-type-imports

* Remove types group, move react to top and fix issues

* Add store and reducers to the redux group and move imports from types folder to the end

* Fix tsc

* Remove react rule

* Fix test

* Fix eslint disable
2023-09-06 12:51:55 +02:00
Ben Schumacher
b2f36c7cdf
[MM-54318] Add file storage information to support package (#24474)
* Reorder stats in support package struct

* Add file storage information to support package

* Add clusterID

* Change method name to DriverName

* Ordering

* Fix test
2023-09-06 09:21:25 +02:00
Agniva De Sarker
4482ba0fd0
MM-43341: Allow test to run (#24470)
When I fixed the flaky test in https://github.com/mattermost/mattermost/pull/20140,
I actually forgot to uncomment this line to allow the test to run.

Thanks to @hanzei for spotting this.

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

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-06 10:39:58 +05:30
Ben Schumacher
2c893d8c05
[MM-43252] Fix flaky TestPreparePostListForClient (#24407)
* Fix flaky TestPreparePostListForClient

* Ignore order of returned elements

* Revert timeout increase
2023-09-06 07:07:58 +02:00
M-ZubairAhmed
bac317dfe5
MM-54181 : Clean up code around deprecated Gfycat (#24343)
* first pass of removal

* first pass of removal

* Update admin_console.js

* rev beta

* remove more

* Update initial_state.ts

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-05 16:40:37 -04:00
Mario Vitale
77fa1c5824
Use .nvmrc for determining the node image used for E2E tests (#24446)
* Use .nvmrc for determining the node image used for E2E tests

* Rename E2E rundir from /app to /cypress for consistency
2023-09-05 15:32:23 -04:00
Harrison Healey
0338ec8fdc
Update subpackage versions to 9.1 (#24445) 2023-09-05 15:19:55 -04:00
Christopher Poile
b6f2c8205e
MM-54219 - Fix: Improve limits on redirectLocationDataCache (#24429)
* ignore redirect locations over certain length

* maybe the link isn't necessary

* remove unrelated debugging line

* PR comments
2023-09-05 14:04:14 -04:00
mattermod
1fb8772ef9 Update latest version to 8.1.1 2023-09-05 17:03:02 +00:00
Scott Bishel
f4b58d602b
update video link (#24433) 2023-09-05 08:45:35 -06:00
M-ZubairAhmed
2789ee4dae
Go Mod Tidy on v9 (#24473) 2023-09-05 14:08:06 +02:00
KyeongSoo Kim
de000e888d
MM-53687: Block changes to name, display name or purpose for direct and group messages (#24199)
* block changes to name, display name or purpose for direct and group messages

* add test

* fix condition

* update patch_channel

* update error message

* fix message

* fix lint

* fix i18n

```release-note
NONE
```

---------

Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-05 15:00:32 +05:30
AsisRout
947f71ae74
MM-53945 : Server logs page shows incorrect message "No channels found" (#24281) 2023-09-05 13:58:04 +05:30
Felipe Martin
9f7521d003
Move request package into public/shared folder (#24420)
* move request package to public/shared

* updated app-layers

* update app layer

* remove original package location
2023-09-05 09:47:30 +02:00
Ben Schumacher
01e7e96448
Migrate to idiomatic error handling in support_package.go (#24382) 2023-09-04 19:36:46 +02:00
Antonis Stamatiou
dfbe0c14e7
fix: Update scorecard workflow (#24457) 2023-09-04 13:49:49 +03:00
abhinav700
5443f9d371
MM-47110 : Migrate "components/advanced_create_comment/advanced_create_comment.test.jsx" to Typescript (#24257) 2023-09-04 14:15:00 +05:30
Ben Schumacher
918fff378d
[MM-47612] Fix flaky TestPluginAPIDeleteUserPreferences (#24406) 2023-09-04 10:41:05 +02:00
Harshil Sharma
4dfe790a72
Fixed a bug where unread badge was hidden in LHS (#24440) 2023-09-04 09:43:51 +05:30
Amy Blais
d2ce252cf5
Update NOTICE.txt (#24426)
* Update NOTICE.txt

* Update NOTICE.txt

* Update NOTICE.txt

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-01 12:32:06 -04:00
Pablo Andrés Vélez Vidal
7a0c7a5f3f
MM-53639 - fix firefox not detecting non-formatted paste action on ctrl|cmd+shift+v (#24384)
* MM-53639 - fix firefox not detecting non-formatted paste action on ctrl+shift+v

* cover ctrl + cmd keypress

* port the changes to advance create comment component

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-01 12:30:31 -04:00
Harrison Healey
3828446abd
Update version of JS subpackages to 9.0.0 (#24438) 2023-09-01 12:25:16 -04:00
Harrison Healey
b17daf79b1
MM-49393 Remove Utils.isMobile (#24271)
* Switch Utils.isMobile to getIsMobileView in most places

* Copy Utils.isMobile into menu widgets

* Actually remove Utils.isMobile

* Remove pointless checkAndSetMobileView action

* Fix incorrect import of UserProfile

* Fix unit test
2023-09-01 12:20:45 -04:00
Harrison Healey
47e18ea829
MM-49393 Remove more code from utils.tsx (#24266)
* Remove unused Utils.scrollbarWidth

* Remove pointless checkAndSetMobileView action

* Fix CommentedOn using un-connected version of UserProfile component

* Turn Utils.getMenuItemIcon into ActionsMenuIcon component

* Remove Utils.isPostEphemeral in favour of mattermost-redux version

* Remove Utils.getRootId and Utils.getRootPost

* Move Utils.compareChannels into ChannelSelectorModal

* Address feedback

* Revert "Fix CommentedOn using un-connected version of UserProfile component"

This reverts commit bdd113ee95.
2023-09-01 11:56:23 -04:00
Pablo Andrés Vélez Vidal
4f0f3845e4
MM-54182 - add correct information to session table from mobile devices (#24353)
* MM-54182 - add correct information to session table from mobile devices

* improve comments around helper function

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-01 14:25:07 +02:00
Jian Lim
8c2fc88471
Refactor: func StringInSlice to slices.Contains (#24262)
* Refactor: Use generic to change func StringInSlice to Contains

* Refactor: Use generic to change func stringNotInSlice to Contains

Make utils.go (dir server/public/utils) and func Contains

* Refactor: Move func Contains from channels/utils to public/utils

Move func Contains from channels/utils to public/utils

Fix import declarations line

* Docs: Add a description of the Contains function

* Test: add TestContains

Add a test code for a Contain function
2023-09-01 12:35:27 +05:30
TheRealJoeFriel
831a7db73d
MM-39161 : Show more recently used reactions in the RHS hover menu (#23937) 2023-09-01 09:16:26 +05:30
Ross Baquir
a2adc0e33e
MM-54173 group mention punctuation (#24402)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-08-31 14:41:01 -05:00
Harrison Healey
f2fcf3d839
MM-53107 Add setting to limit the max number of markdown nodes (#24414)
* MM-53107 Add setting to limit the max number of markdown nodes

* Add extra validation for a couple config fields

* Add new setting to telemetry
2023-08-31 14:36:24 -04:00
Ibrahim Serdar Acikgoz
47b51ff696
updates on the migration template (#24430) 2023-08-31 20:24:08 +03:00
Michael Kochell
07bea8792e
Update GitLab plugin to 1.7.0 (#24394) 2023-08-31 12:51:01 -04:00