Commit Graph

18297 Commits

Author SHA1 Message Date
Scott Bishel
5d4abe2790
MM-53557-Remove unsupported prepackaged plugins (#24222)
* remove unsupported prepackaged plugins

* Update Makefile

Fix bad merge

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-02-06 07:39:08 -07:00
M-ZubairAhmed
e7f537e502
[MM-56758] Enhance search implementation for Admin console (#26099) 2024-02-06 12:14:44 +00:00
Elias Nahum
9ff26f7b4f
MM-56513 Prevent deactivated users to be added as channel members (#25954)
* Prevent deactivated users to be added as channel members

* remove "deactivated" from error message
2024-02-06 09:34:19 +08:00
Abdesslam Haouioui
5c63bb7e0f
[MM-54750] Theme color sidebarHeaderTextColor is used with different backgrounds (#26085)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-02-05 18:40:19 +00:00
Harrison Healey
daad3efd92
Rename NewActionFunc* back to ActionFunc* (#26007) 2024-02-05 12:39:35 -05:00
Scott Bishel
8714760ec9
don't add message sender if also in group (#26094) 2024-02-05 10:10:46 -07:00
Weblate (bot)
c5286d90af
Translations update from Mattermost Weblate (#26108)
* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (2586 of 2586 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.9% (5815 of 5817 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (2586 of 2586 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 90.8% (2349 of 2586 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 84.0% (4889 of 5817 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 99.8% (2583 of 2586 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 98.6% (5736 of 5817 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (2586 of 2586 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (5817 of 5817 strings)

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

* Translated using Weblate (Czech)

Currently translated at 94.2% (5482 of 5817 strings)

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

* Translated using Weblate (Czech)

Currently translated at 94.2% (5482 of 5817 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2586 of 2586 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (5817 of 5817 strings)

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

* Translated using Weblate (Czech)

Currently translated at 94.3% (5490 of 5817 strings)

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

* Translated using Weblate (Czech)

Currently translated at 94.3% (5490 of 5817 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (2586 of 2586 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (5817 of 5817 strings)

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

---------

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Csaba Tóth <csaba.toth@odootech.hu>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Petr Chlíbek <p.chlibek@7group.cz>
Co-authored-by: Martin Joneš <m.jones@7group.cz>
Co-authored-by: ThrRip <coding@thrrip.space>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
2024-02-05 11:34:31 -04:00
unified-ci-app[bot]
0ddd1ad542
chore: Update NOTICE.txt file with updated dependencies (#26107)
Automatic Merge
2024-02-05 16:42:05 +02:00
Elias Nahum
8bc3c402d1
MM-56536 Do not update team members scheme roles if user is guest (#25957)
* MM-56536 Do not update team members scheme roles if user is guest

* feedback review

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-02-05 09:05:05 +08:00
Daniel Espino García
2a6d5a1da5
Fix username style in profile popover (#26086) 2024-02-03 09:41:55 +01:00
Harrison Healey
2a3a9df043
MM-56705 Don't send post when clicking on the more formatting options button (#26090) 2024-02-02 16:05:37 -05:00
Harrison Healey
25073a99e4
Improve Redux types part 7/Remove unused actions (#26006)
* Remove unused setFirstChannelName action

* Remove makeOnMoveHistoryIndex

* Remove selectPostFromRightHandSideSearchByPostId

* Remove selectPostAndParentChannel

* Remove searchMoreChannels

* Remove fetchRemoteListing

* Remove sendGenericPostMessage

* Remove unused version of periodic status update code

* Remove unused code around non-global items in storage

Either pre-Redux or early in our usage of Redux, I think this code was
meant to let us store things in localStorage on a per-user basis. If we
ever used it, it hasn't been for a while now.

* Remove unused loadProfilesAndStatusesInChannel action

* Remove collapseCategory and expandCategory

* Removed unused actions from mattermost-redux/actions/channels

* Remove unused getDataRetentionPolicy action and state

* Remove unused getWarnMetricsStatus action

* Remove unused getFirstAdminVisitMarketplaceStatus action

* Remove unused getReactionsForPost action

* Remove now-unused state.entities.posts.selectedPostId

* asdf marketplace stuff in general

* Remove unused makeDirectChannelVisibleIfNecessary and makeGroupMessageVisibleIfNecessary

* Remove old searchFiles action

* Remove unused search actions

* Remove non-graceful addUsersToTeam action

* Remove unused version of joinTeam action

* Remove unused updateTeamMemberRoles action

* Remove another unused verison of the periodic status update code

* Remove unused getUserAccessTokens action

* Fix linting

* Remove unit tests involving recent search results

* Fix another test
2024-02-02 15:59:00 -05:00
Julien Tant
45633198ca
[MM-56680] Use Golang UnixMilli instead of UnixNano in Milli helpers (#26071)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-02-02 09:35:38 -07:00
Arun
419b30b569
[MM-55734] Add Request Context to ChannelStore.SaveMember (#26039)
* added rctx to reuired files

* added more file changes after issues on startup

* added context to draft_store

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-02-02 15:15:17 +01:00
Scott Bishel
a38c1c54b4
MM 55199 Limit User Preferences (#25579)
* limit size and number of preferences in updatePreferences

* update unit tests

* fix another location and add tests

* update utility function to return an error

* update unit tests

* fix review comments

* revert package-lock.json

* more review mods

* update number of preferences allowed

* update unit tests for new limit

* update name of config setting

* Update server/public/model/utils.go

Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>

* add check for error id

* use existing utility function, remove model.ObjectFromJSON()

* Update preference.go - remove blank line

---------

Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-02-01 15:33:24 -07:00
Daniel Espino García
a57be19da4
Fix shortcuts alignment on tooltips (#26087) 2024-02-01 15:20:40 +01:00
Agniva De Sarker
547bcff064
Allow HEAD requests on public files (#26047)
Fixes https://github.com/mattermost/mattermost/issues/25666

```release-note
NONE
```
2024-02-01 09:18:44 +05:30
Asaad Mahmood
8151c011d1
MM-56583 - Updating settings css for only centre content scroll (#26064)
* MM-56583 - Updating settings css

* MM-56637 - Updating license modal padding
2024-01-31 22:15:53 +05:00
Ben Schumacher
8395575d11
[MM-56649 Remove APIv3 deprecation notice (#26012)
* Remove APIv3 deprecation notice

* Update golang driver URL
2024-01-31 13:48:37 +01:00
Ben Schumacher
d9200ab5e9
Space out plugin list in mmctl (#25986)
* Space out plugin list in mmctl

* Fix test

* Fix test part 2
2024-01-31 13:48:00 +01:00
mattermod
ed82ca8d11 Update latest version to 9.4.2 2024-01-31 09:16:46 +00:00
M-ZubairAhmed
85d31e8d5c
[MM-56609] Remove @floating-ui/react-dom & @floating-ui/react-dom-interactions in favour of @floating-ui/react (#26060) 2024-01-30 20:33:05 +00:00
matoro
bcd6699469
Quote CPPFLAGS in webapp Makefile, add corresponding optipng fix for PPC (#26076)
The optipng issue that the CPPFLAGS fix here was working around may have
already been fixed in downstream packaging by overriding CPPFLAGS, so it
should be appended to rather than replaced, this also respects any
existing CPPFLAGS the user has configured.

Also, an identical issue exists on PPC with its corresponding SIMD
extensions (VSX), so add the same workaround there in the upstream
Makefile.

Co-authored-by: matoro <matoro@users.noreply.github.com>
2024-01-30 12:07:36 -05:00
Daniel Espino García
60df49652e
MM-42628 Fix wrong spacing between header and lists when a inline image is used (#26040)
* Fix wrong spacing between header and lists when a inline image is used

* Fix test
2024-01-30 09:42:41 +01:00
Catena cyber
61b1f26411
Bump golang.org/x/image dependency (#25965) 2024-01-30 08:11:35 +05:30
Weblate (bot)
caf341c221
Translations update from Mattermost Weblate (#26066)
* Translated using Weblate (German)

Currently translated at 100.0% (2583 of 2583 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (2583 of 2583 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (2582 of 2583 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (5817 of 5817 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (5817 of 5817 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (5816 of 5817 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (5816 of 5817 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% (2583 of 2583 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 98.4% (2544 of 2583 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (5817 of 5817 strings)

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

* Translated using Weblate (Czech)

Currently translated at 48.9% (2847 of 5817 strings)

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

* Translated using Weblate (Czech)

Currently translated at 48.9% (2847 of 5817 strings)

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

* Translated using Weblate (Russian)

Currently translated at 99.6% (5795 of 5817 strings)

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

* Translated using Weblate (Czech)

Currently translated at 50.0% (2910 of 5817 strings)

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

* Translated using Weblate (Czech)

Currently translated at 57.4% (3344 of 5817 strings)

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

* Translated using Weblate (Czech)

Currently translated at 74.6% (4345 of 5817 strings)

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

* Translated using Weblate (Czech)

Currently translated at 74.6% (4345 of 5817 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.6% (2575 of 2583 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.9% (5816 of 5817 strings)

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

* Translated using Weblate (Czech)

Currently translated at 74.3% (1920 of 2583 strings)

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

* Translated using Weblate (Czech)

Currently translated at 78.3% (4556 of 5817 strings)

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

* Translated using Weblate (Czech)

Currently translated at 78.3% (4556 of 5817 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (5817 of 5817 strings)

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

* Translated using Weblate (Czech)

Currently translated at 79.6% (4634 of 5817 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (2583 of 2583 strings)

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

* Translated using Weblate (Czech)

Currently translated at 82.0% (4773 of 5817 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 0.1% (6 of 5817 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (5817 of 5817 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (5817 of 5817 strings)

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

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

---------

Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: ThrRip <coding@thrrip.space>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: Martin Joneš <m.jones@7group.cz>
Co-authored-by: Petr Chlíbek <p.chlibek@7group.cz>
Co-authored-by: Konstantin <eleferen@gmail.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Abdulaziz <abdulaziz.alfulaij@gmail.com>
2024-01-29 11:32:04 -04:00
Maria A Nunez
9b09652133
Update user limits error code (#26059)
* Updated user limits error code

* Webapp changes
2024-01-29 09:56:49 -05:00
Utsav Ladani
3ac6edb406
[GH-25484] Fix draft removal on post deletion (#25715)
* [GH-25484] Fix draft removal on post deletion

* [GH-25484] Add batch migration to remove orphan drafts

* [GH-25484] Fix tests of migration and draft store

* [GH-25484] Remove translation file changes.

* [GH-25484] Remove translation file changes.

---------

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
2024-01-29 09:55:34 -05:00
Devin Binnie
435da9bea7
[MM-56616] Changes for the DM for batch reporting (#26019)
* [MM-56616] Changes for the DM for batch reporting

* Use requesting user's locale

* Fix lint

* Remove unnecessary test

* Move back to file attachment

* Add default API case

* Fix i18n

* Hardcode the CSV string
2024-01-29 09:52:33 -05:00
unified-ci-app[bot]
d3be94f2b9
chore: Update NOTICE.txt file with updated dependencies (#26065)
Automatic Merge
2024-01-29 16:06:45 +02:00
Daniel Espino García
f50118239a
Add missing comments to types/plugins/user_setttings.ts (#26038)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-29 10:52:41 +01:00
Sapna Sivakumar
98a2fe8e2d
[MM-54745] Fixing inconsistent styles for menu items in profile/accou… (#25719)
* [MM-54745] Fixing inconsistent styles for menu items in profile/account menu

* [MM-54745] Updating the snapshot tests

* [MM-54745] Set a custom status text made to display with full opacity

* [MM-54745] Fixing the CI pipeline lint issues

* [MM-54745] Fixing a few more linter issues blocking the build

* [MM-54745] Fixing type check issue for color parameter

* [MM-54745] ESlint issues for import statements and alignment of closing brackets

* [MM-54745] Updating snapshots and fixing minor ESLint issues on the way in the test file

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-26 14:37:56 -05:00
Ben Schumacher
929ab6b289
Document variable names for request.CTX and mlog.Logger (#26029) 2024-01-26 14:03:35 +01:00
Ben Schumacher
223c9c7426
[MM-56631] Clarify that LDAP profile picture setting is optional (#26014) 2024-01-26 12:08:25 +01:00
Raghav Aggarwal
a88978bbc1
Bump prepackage GitLab plugin version to 1.8.0 (#25789) 2024-01-25 10:43:12 -05:00
Sudhanva-Nadiger
53298a2d60
[MM-47181] Migrate "components/suggestion/at_mention_provider" and associated tests to Typescript (#25342) 2024-01-25 05:28:09 +00:00
Raghav Aggarwal
8f0abc1316
Bump prepackage Jira plugin version to 4.1.0 (#25955) 2024-01-24 14:14:17 -05:00
Harrison Healey
6c0900f1be
Improve Redux types part 6/Remove GenericAction (#26005)
* Remove remaining usage of GenericAction in mapDispatchToProps

* Remove usage of GenericAction when testing initial state

* Remove usage of GenericAction from reducers

* Remove GenericAction
2024-01-24 11:33:59 -05:00
Harrison Healey
8e165c7685
Improve Redux types part 5/Replace DispatchFunc (#26004)
* Remove non-functional code from Login component

* Remove remaining usage of useDispatch<DispatchFunc>

* Remove usage of DispatchFunc from actions/file_actions

* actions/global_actions

* Remove usage of DispatchFunc from actions/marketplace

* Remove DispatchFunc from actions/post_actions

* Remove DispatchFunc from actions/storage

* Remove DispatchFunc from actions/user_actions

* Remove DispatchFunc from actions/views/channel

* Remove DispatchFunc from actions/views/channel_sidebar

* Remove DispatchFunc from actions/views/create_comment

* Remove DispatchFunc from actions/views/lhs.ts

* Remove DispatchFunc from actions/views/rhs.ts

* Remove DispatchFunc from actions/views/onboarding_tasks

* Remove DispatchFunc from actions/views/root

* Remove DispatchFunc from components/logged_in

* Remove DispatchFunc from components/msg_typing

* Remove DispatchFunc from components/permalink_view

* Remove DispatchFunc from components/suggestion

* Remove DispatchFunc from mattermost-redux/actions/posts

* Remove DispatchFunc from mattermost-redux/actions/roles

* Remove DispatchFunc from mattermost-redux/actions/threads

* Remove DispatchFunc from mattermost-redux/actions/timezone

* Remove DispatchFunc from plugins/products

* Make DispatchFunc into Dispatch

* Fix how dispatch is mocked in test for toggleSideBarRightMenuAction
2024-01-24 10:28:38 -05:00
Agniva De Sarker
d8e11fe292
MM-54264: Unblock TestCheckValidSocket (#26021)
The failure seemed to be due to incorect detection from gotestsum
itself rather than any failure in the test.

I note that from that time onwards, gotestsum has had a new release
and we are using that.

I also ran the test several times with gotestsum and could not
repro this. Let's hope that the new version of gotestsum has fixed
the issue. Otherwise, there isn't much we can do.

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

```release-note
NONE
```
2024-01-24 20:43:01 +05:30
Daniel Espino García
409329c3d6
Fix issue where users may not follow links to private messages they belong to (#26001)
* Fix issue where users may not follow links to private messages they belong to

* Update tests
2024-01-24 16:10:01 +01:00
Doug Lauder
a7192dba8c
fix breaking change in Docker 25 by using long form port definition (#26030) 2024-01-24 09:30:37 -05:00
Agniva De Sarker
6d41ee171e
MM-56611: Move license expiration check to be synchronous (#26010)
During server start, runLicenseExpirationCheckJob was being called
from a goroutine which would eventually call SetLicense and iterate
through the ps.licenseListeners.

But at the same time doElasticsearchFixChannelIndex would also
call AddLicenseListener and try to edit the ps.licenseListeners map,
leading to a race condition.

To fix this, we simply move the runLicenseExpirationCheckJob
to be synchronous. This fixes the race, and also improves
the correctness because after 1f431bf722
there was no license check being done synchronously during server boot.

So theoretically, the server might go on doing some stuff
until the Go runtime decides to run the license check goroutine.

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

```release-note
NONE
```
2024-01-24 11:59:42 +05:30
M-ZubairAhmed
2d7a14244f
[MM-56608] Upgrade to "@floating-ui/react" for post_priority/post_priority_picker_overlay component (#25980) 2024-01-24 04:30:34 +00:00
M-ZubairAhmed
686b22a076
[MM-56607] Upgrade to "@floating-ui/react" for acknowledgements/post_acknowledgements component (#25979) 2024-01-24 04:30:13 +00:00
M-ZubairAhmed
df79ebed79
[MM-56606] Upgrade to "@floating-ui/react" for date_picker component (#25978) 2024-01-24 04:29:52 +00:00
M-ZubairAhmed
028ad7d33f
[MM-56600] Upgrade to "@floating-ui/react" for hooks/useTooltip (#25976) 2024-01-24 04:29:32 +00:00
Kapil Dutta
eee5a71e3d
[MM-52828] Migrate "components/admin_console/team_channel_settings/group/index.js" (#25640)
* migrating team_channel_settings/group/index.js to .tsx

* fixing CI/Lint issues

* Fixed eslint issues, changed Props export and usage structure in index.ts and group_list.tsx

* Remove empty array in getData call

* Update promise to void in AbstractList and response to unknown Group | Team

* remove bindActionCreators and dispatch Type from team_channel_settings/group/index.ts

---------

Co-authored-by: Kapil Dutta <duttakapil@Kapils-MacBook-Pro.local>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-23 16:47:43 -05:00
Agniva De Sarker
f246cd26b7
MM-56457: Update LastUpdateAt in UpdateMemberNotifyProps (#25984)
PR https://github.com/mattermost/mattermost/pull/18114
mistakenly left out updating the lastUpdateAt of the field.

We fix that here.

https://mattermost.atlassian.net/browse/MM-56457
```release-note
NONE
```
2024-01-23 16:31:25 -05:00
Nathan
467ab193d3
MM-51463 Only use RhsSuggestionList for RHS advanced text editor (#24175)
* Only use RhsSuggestionList for RHS advanced text editor

- Prevents issues with suggestion list growing downwards on the post editor on small screen sizes

* Makes RhsSuggestionList grow using different breakpoints for mobile

- Allows RhsSuggestionList to flip directions at smaller breakpoints than desktop
- Adds new Constant MOBILE_SUGGESTION_LIST_SPACE_RHS

---------

Co-authored-by: Nathan Geist <ngeist@spiria.com>
Co-authored-by: M-ZubairAhmed <m-zubairahmed@protonmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-23 15:41:16 -05:00