Граф коммитов

3404 Коммитов

Автор SHA1 Сообщение Дата
Daniel Espino García
a57be19da4 Fix shortcuts alignment on tooltips (#26087) 2024-02-01 15:20:40 +01:00
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
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
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
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
223c9c7426 [MM-56631] Clarify that LDAP profile picture setting is optional (#26014) 2024-01-26 12:08:25 +01: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
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
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
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
Nathan
5985a0c531 [MM-51521] Prevent adjusting password stength fields when set in environment (#24151)
Co-authored-by: Nathan Geist <ngeist@spiria.com>
2024-01-23 16:52:22 +01:00
Harrison Healey
e98aa55ad7 Improve Redux types part 4 (#26003)
* Fix return type of addUsersToChannel

* Fix type of TeamInviteWithError.error

* Change Constants.Integrations.PAGE_SIZE into a number"
2024-01-23 09:33:03 -05:00
Harrison Healey
8a869b0623 Improve Redux types part 3/Remove old ActionFunc (#25983)
* Remove ActionFunc from actions/apps

* Remove ActionFunc from actions/channel_actions

* actions/cloud

* actions/hosted_customer

* actions/integration_actions

* actions/marketplace

* Replace ActionFuncVariantDoNotUse with ThunkActionFunc

* actions/apps

* actions/new_post and actions/post_actions

* actions/status_actions

* actions/team_actions

* actions/views/drafts

* actions/commands

* components/posts/actions

* actions/views/login

* components/channel_layout/channel_identifier_router/actions

* hooks/usePreference

* components/interactive_dialog/interactive_dialog

* Various tests

* components/team_controller

* components/threading/thread_viewer

* mattermost-redux/actions/admin

* mattermost-redux/actions/boards

* mattermost-redux/actions/channel_categories

* mattermost-redux/actions/channels

* mattermost-redux/actions/emojis

* mattermost-redux/actions/errors

* mattermost-redux/actions/files

* mattermost-redux/actions/general

* mattermost-redux/actions/preferences

* mattermost-redux/actions/search

* mattermost-redux/actions/teams

* mattermost-redux/actions/users

* mattermost-redux/actions/websocket

* Remove ActionFunc

* Remove TODO comments that I'm not going to address

* Remove another TODO comment

* And one last one
2024-01-23 09:05:23 -05:00
M-ZubairAhmed
797fe9b917 [MM-56599] Upgrade to "@floating-ui/react" for advanced_text_editor/formatting_bar component (#25970) 2024-01-23 12:18:22 +00:00
Nick Misasi
09b701204f [CLD-6487] Replace 'Country' with 'Country/Region' in country selectors (#25977)
* Replace 'Country' with 'Country/Region' in countr selectors

* Fix linteR

* Update snapshots
2024-01-22 14:56:01 -05:00
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
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
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
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
Weblate (bot)
81de078e1d Translations update from Mattermost Weblate (#25815) 2024-01-18 05:55:04 -04: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
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
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
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
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
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
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
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
Harrison Healey
978f335925 Improve Redux types part 1 (#25872)
* Always dispatch thunk actions instead of calling them

* Properly dispatch actions in SwitchChannelProvider

* Fix tests relying on bad types

* Properly pass actions into ManageTokens

* Make other logic changes to support new types

* Do the big type migrations without any logic changes

* Revert "Properly dispatch actions in SwitchChannelProvider"

This reverts commit 28c8c7af2ef324c6814087a81baca66c60477daa.

* Revert "Revert "Properly dispatch actions in SwitchChannelProvider""

This reverts commit 47115c5217ae90547040e7b7de32979a33f0845b.
2024-01-10 09:47:05 -05:00