Arya Khochare
5eef415a39
Fixed errcheck issues in server/channels/api4/post_test.go ( #29201 )
2024-11-12 10:07:19 +01:00
Harshil Sharma
7c3d71c089
Scheudled post test enhancement ( #29187 )
...
* Added test for user beloonging to channel but not team
* Added test for read onmly channel
* Added test for fetching scheduled posts for team you don;'t belong to
* Added more tests
* test enhancements
* CI
2024-11-12 12:29:29 +05:30
Harshil Sharma
56260e93d4
Added debug settings for testing and e2e tests ( #29175 )
2024-11-12 11:26:14 +05:30
Agniva De Sarker
847f42fd4c
MM-61700: Fix race conditions from web_hub initialization ( #29214 )
...
The Store variable was written to _after_ the server
started which was causing the race.
We simply move it to before we start the server.
While we are here, we fix yet another race condition
which was unrelated, but doing it in one sweep. This
was related to the user props access. When a user is updated,
there was 3 ws events that get sent out, 2 were deep-copied
whereas 1 was not. This led to race condition in postgres
binary-param mode where we were trying to set the user props.
https://mattermost.atlassian.net/browse/MM-61700
2024-11-12 08:46:18 +05:30
Arya Khochare
2461d0fed6
errcheck issues fixed ( #29196 )
2024-11-11 16:55:10 +01:00
Weblate (bot)
89aba8e899
Translations update from Mattermost Weblate ( #29219 )
...
Automatic Merge
2024-11-11 15:17:13 +01:00
Ben Schumacher
d33d7a5ec7
[MM-61441] Don't overwrite plugin secret settings with fake values ( #29029 )
2024-11-11 11:43:26 +01:00
Arya Khochare
ead2a7c018
Fixed errcheck issues in server/channels/app/imaging/decode.go ( #28937 )
2024-11-08 15:39:03 +01:00
Daniel Espino García
118d0346ee
Add test notification tool ( #28334 )
...
* Add test notification tool
* Add frontend styles
* Remove option from admin view
* Refactor create post and add translations
* Fix several CI errors
* Fix API and frontend snapshots
* Refactor trailing and leading icon on buttons
* Add different button states
* i18n-extract
* Fix wrong text
* Add tests
* Fix wrong string
* Fix test
* feat: E2E send test notifications (#28371 )
* Refactor send desktop notification
* Address rest of the feedback
* Fix tests
* Add correct link
* Fix test
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com >
2024-11-08 13:57:06 +01:00
M-ZubairAhmed
30a6ddc995
[MM-61439] New Users: Change default setting for mobile push notifications to 'online, away, or offline'( #29142 )
2024-11-08 12:21:27 +00:00
Pablo Vélez
2593860063
MM-61068 - send ws event on scheduled message job send ( #29153 )
...
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-11-08 10:48:23 +01:00
Niharika Goulikar
f377399c4c
Fixed errcheck isssues in Auto_responder_test.go ( #28987 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-08 08:54:03 +01:00
Agniva De Sarker
bd8774bdce
MM-61130: Use a channelMember map at web_hub level ( #28810 )
...
Tests at very high scale indicates that the iteration
of all connections during websocket broadcast starts
to become a bottleneck.
To optimize this, we move the channelMember cache from
inside web_conn.go to the hubConnectionIndex.
This involves adding a new map keyed by the channelID
and containing all webConns where the user is a member
of that channel. Subsequently, a new method needed to
be added to invalidate the cache which previously
used to happen in web_conn.
And as a last step, we remove the cache from web_conn
to reduce SQL queries to the DB.
https://mattermost.atlassian.net/browse/MM-61130
```release-note
NONE
```
2024-11-08 09:57:54 +05:30
Nicolas Le Cam
c90e562528
Migrate mockery to packages feature ( #29013 )
2024-11-07 12:48:11 +01:00
Nicolas Le Cam
5ebdea506f
MM-39918: mmctl: list archived private channels in channel list command with system admin user ( #28676 )
2024-11-07 12:07:30 +01:00
Ivy Gesare
7846ac86b4
[MM-61506] Fix errcheck issues in server/channels/app/teams/helper_test.go ( #29144 )
2024-11-07 10:11:55 +01:00
Nils
d8f70551bd
[GH-28399] Errcheck jobtest ( #28689 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-07 09:37:07 +01:00
molejnik88
e40d7b442a
[MM-61458] Fix errcheck issues in server/channels/app/plugin_requests.go ( #29121 )
2024-11-07 09:09:11 +01:00
Seth Foss
2117a4ed30
MM-56632 Display warning if requested mage size exceeds max ( #26022 ) ( #27216 )
2024-11-06 15:45:56 +01:00
Arya Khochare
efa93a3dd3
Fixed errcheck issues in server/channels/app/onboarding_test.go ( #29066 )
2024-11-06 11:50:21 +01:00
Harshil Sharma
f812104a92
MM-60331 - Scheduled post telemetry ( #29132 )
...
* Added scheduled posts telemetry
* Tracking scheudled post creation via webapp to filter by platform
* Fixed keys
* Lint fix
2024-11-06 10:39:52 +00:00
Agniva De Sarker
65ed87bda0
Move Elasticsearch to source available 🎉 🎉 ( #29015 )
...
* Move Elasticsearch to source available
2024-11-06 09:26:54 +05:30
Arya Khochare
4d4af7dc39
errcheck issues fixed ( #29061 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-06 00:55:33 +01:00
Alenoda
74b33c73fb
Fix errcheck issues in server/channels/app/plugin_deadlock_test.go ( #29113 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-05 19:17:56 +01:00
Rohan Sharma
6b5732a6af
[MM-61100] Fix errcheck issues in server/channels/app/busy_test.go ( #28786 )
2024-11-05 19:17:22 +01:00
Bernhard Fröhlich
d3c18ee369
Fix mmctl build for FreeBSD ( #29112 )
2024-11-05 17:57:15 +01:00
Guillermo Vayá
751d84bf13
[MM-59363] Shared channel event telemetry ( #29024 )
...
* shared channel event tracking
* Update notification.go
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me >
---------
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me >
2024-11-05 16:26:18 +01:00
Arya Khochare
373e21c5a1
Fixed errcheck issues in server/channels/app/plugin_hooks_test.go ( #29059 )
2024-11-05 15:36:19 +01:00
Pablo Vélez
fbee99e870
MM-60124-emit and read create scheduled post WS event ( #28844 )
...
* MM-60124-emit and read create scheduled post WS event
* fix unit test; reorder get team id logic; use userid for ws events
* MM-60145 - ws events on update scheduled posts (#28871 )
* MM-60145 - ws events on update scheduled posts
* MM-60147 - ws events on delete scheduled posts (#28872 )
* MM-60147 - ws events on delete scheduled posts
* remove unnecessary channelID
* remove unnecesary memoization
2024-11-05 14:24:50 +01:00
Ivy Gesare
cb8f152089
[MM-61094] Fix errcheck issues in server/channels/app/app_test.go ( #29124 )
2024-11-05 12:13:41 +01:00
Alenoda
4b9eb73bd2
Fix errcheck issues in server/channels/app/plugin_reattach ( #29115 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-05 09:59:24 +01:00
Ivy Gesare
795b2ad068
[MM-61488] Fix errcheck issues in server/channels/app/role_test.go ( #29125 )
2024-11-05 09:58:54 +01:00
Arya Khochare
9ecf9f8ade
Fixed errcheck issues in server/channels/app/notification_test.go ( #29068 )
2024-11-05 08:59:48 +01:00
Arya Khochare
6fd464a398
errcheck issues fixed ( #29045 )
2024-11-04 17:38:09 +01:00
Claudio Costa
3752518e36
Fix minio Web UI access ( #29021 )
2024-11-04 09:04:06 -06:00
Weblate (bot)
bfffc2383f
Translations update from Mattermost Weblate ( #29095 )
...
Automatic Merge
2024-11-04 15:47:11 +01:00
Ben Schumacher
63bf746d60
[MM-61523] Skip flaky TestGetUserTeamScheduledPosts/should_get_created_scheduled_posts ( #29104 )
2024-11-04 14:45:22 +01:00
Arya Khochare
ef1be57f64
errcheck issues fixed ( #29063 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-04 14:33:47 +01:00
Arya Khochare
e3f6b16927
errcheck issues fixed ( #29065 )
2024-11-04 07:49:02 -05:00
Kyrillos Isaac
3780887629
[MM-61106] fix server/channels/app/desktop_login.go errcheck issues ( #28818 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-04 13:27:07 +01:00
Arya Khochare
dc5640f134
Fixed errcheck issues in server/channels/api4/file_test.go ( #28559 )
2024-11-04 13:26:03 +01:00
Dishika Vaishkiyar
19865329ca
Fix: authorization-test errcheck issue ( #28788 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-04 13:04:06 +01:00
Ivy Gesare
89ea59f590
[MM-61259] Fix errcheck issues in server/channels/app/import_utils_test.go ( #28955 )
2024-11-04 12:33:53 +01:00
Pratham Mahajan
cb32e8baea
Fix errcheck issues in server/channels/jobs/schedulers_test.go ( #28970 )
2024-11-04 12:25:09 +01:00
Harshit Vashisht
59c42c06ef
Fixes errcheck in email_test.go ( #28910 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-04 12:16:35 +01:00
Arya Khochare
a21e8f9b13
Fixed errcheck issues in server/channels/app/ldap.go ( #29038 )
2024-11-04 12:05:43 +01:00
Arya Khochare
93b0fece12
Fixed errcheck issues in server/channels/app/oauth_test.go ( #29043 )
2024-11-04 11:13:16 +01:00
Samarth Mishra
e86560d04c
Fix errcheck issues in server/channels/app/imaging/decode_test.go ( #28958 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-04 10:55:48 +01:00
TheInvincible
fdd5bb9c02
Update file_helper_test.go (fix errcheck issue) ( #28983 )
2024-11-04 09:31:30 +01:00
TheInvincible
be7a8a17c0
Fix errcheck issue in oauth.go ( #28795 )
2024-11-04 09:07:04 +01:00