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

3375 Коммитов

Автор SHA1 Сообщение Дата
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
Devin Binnie
0a4e9eeb92 [MM-56399][MM-56397][MM-56456][MM-56269] Various changes for user reporting for admins (#25839)
* [MM-56399] Add user count endpoint for reporting

* [MM-56397] Added search term to user report filter

* Missing translation

* [MM-56456] Rename up/down to prev/next for reporting cursoring

* [MM-56269] Add DeleteAt, MfaActive and AuthService fields to UserReport

* PR feedback

* Fix test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-10 09:08:23 -05:00
Ben Cooke
bb88b92b4c [MM-53990] Support a global retention time of less than 1 day (#25196)
* adding new MessageRetentionHours config

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-09 14:10:22 -05:00
Syed Ali Abbas Zaidi
4f0598d592 [MM-56296] Convert ./components/sidebar/sidebar_channel/sidebar_group_channel/sidebar_group_channel.tsx from Class Component to Function Component (#25768)
* [MM-56296] Convert `./components/sidebar/sidebar_channel/sidebar_group_channel/sidebar_group_channel.tsx` from Class Component to Function Component

* refactor: remove unnecessary callback
2024-01-09 15:24:43 +01:00
Thomas Brq
eca13a947b Convert class to function component (#25769)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-09 15:24:12 +01:00
Jesús Espino
e959d9e4ea Simplifying the channel_header component (#25795)
* Simplifying the channel_header component

* Addressing PR Review Comments

* Addressing PR Review Comments

* Addressing linter errors

* Fixing CI

* Fixing CI

* Addressing PR Review Comments
2024-01-09 13:05:50 +01:00
Syed Ali Abbas Zaidi
a1bdbe9875 [MM-56004] Convert ./components/post_view/new_message_separator/new_message_separator.tsx from Class Component to Function Component (#25647)
* [MM-56004] Convert `./components/post_view/new_message_separator/new_message_separator.tsx` from Class Component to Function Component

* refactor: update snapshot

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-08 11:13:56 +01:00
Nick Misasi
e52940cd08 Lock wrangler behind enterprise (#25703)
* Lock wrangler behind enterprise

* Run tests with SetupEnterprise so Thread Moving is unlocked. Tweak NewTestLicense to include a SkuShortName for 'enterprise'

* Don't set SkuShortName in NewTestLicense just in case. Fix up some old debug code in tests

* Remove checks on enterprise/e20 and just enforce that the workspace has any license

* Update admin_definition.tsx accordingly

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-05 13:20:37 -05:00
Syed Ali Abbas Zaidi
d9c2a8825b [MM-56290] Convert ./components/channel_header_dropdown/menu_items/toggle_favorite_channel/toggle_favorite_channel.tsx from Class Component to Function Component (#25762)
* [MM-56290] Convert `./components/channel_header_dropdown/menu_items/toggle_favorite_channel/toggle_favorite_channel.tsx` from Class Component to Function Component

* fix: update snapshots and check-types issue
2024-01-05 11:57:19 -05:00
M-ZubairAhmed
4b88bfd5fb [MM-53149] White Screen when replying to a thread (#25818) 2024-01-05 06:47:23 +00:00
M-ZubairAhmed
18f0d8d88f [MM-55407] Remove deprecated LocalizedIcon component (#25828) 2024-01-03 05:25:26 +00:00
M-ZubairAhmed
47bf846731 [MM-56387] Replace missed usage of LocalizedIcon in 'search_results_header.tsx' with i/span tags (#25826) 2024-01-02 10:36:33 +00:00
Sudhanva-Nadiger
64232a106e [MM-47083] Migrate "components/pdf_preview.jsx" and tests to Typescript (#25211) 2024-01-02 10:33:42 +00:00
Kapil Dutta
b4ee90afca [MM-55101] Replace usage of LocalizedIcon in 'multiselect.tsx' with i/span tags (#25665) 2024-01-01 12:12:03 +00:00
Sudhanva-Nadiger
ef0c5e2125 [MM-47086] Migrate "components/size_aware_image.jsx" and tests to Typescript (#25230) 2023-12-30 12:52:27 +00:00
M-ZubairAhmed
1af0782991 [MM-55307] Make AdminConsole/TeamFilterDropdown use AsyncSelect instead of LegacyInfiniteScroll (#25294) 2023-12-28 10:09:35 +00:00
Zubair Imtiaz
287cbad2d5 [MM-55974] Theme is not used in notification selector box in user notification settings (#25689) 2023-12-26 09:24:33 +00:00
Asaad Mahmood
8f0d2b05ea MM-56352 - Making modals consistent overall (#25622)
* Modal UI Improvements

* Updating modal header

* Updating modals

* Updating invite as a guest

* Updating modals

* Modal fixes

* Updating modal footer DMs

* Updating footer buttons next prev

* Updating tests

* Updating tests

* Updating modal css

* Updating modal

* Updating UI

* Updating modal snap

* Updating modal issues

* Updating modal

* Updating modal scss

* Updating modal changes

* Updating sys console modal

* Updating modal css

* Updating modal issue

* Removing css file

* Updating test

* Updating modal

* Updating test spec
2023-12-26 12:36:22 +05:00
Syed Ali Abbas Zaidi
02e27f78b2 [MM-56291] Convert ./components/widgets/icons/checkbox_checked_icon.tsx from Class Component to Function Component (#25763)
* [MM-56291] Convert `./components/widgets/icons/checkbox_checked_icon.tsx` from Class Component to Function Component

* refactor: update snapshots
2023-12-26 09:04:36 +05:30
Syed Ali Abbas Zaidi
55e222a9e2 [MM-56019] Move the deactivate account section to the last, and change the button to danger (#25697)
* [MM-56019] 🎨 Move the deactivate account section to the last, and change the button to danger

* refactor: remove unnecessary divider
2023-12-26 09:04:03 +05:30
Harshil Sharma
bc1a53472a Added air-gapped contact sales modal (#25807) 2023-12-25 09:42:17 +00:00
Syed Ali Abbas Zaidi
77161715fc [MM-56042] Show full timestamp with seconds in tooltip of post date (#25699) 2023-12-25 07:35:39 +00:00
Harshil Sharma
6520e570e0 Updated tier wording (#25808) 2023-12-25 07:09:20 +00:00
Syed Ali Abbas Zaidi
11ae867ce3 [MM-56294] Convert ./components/admin_console/group_settings/group_details/group_profile.tsx from Class Component to Function Component (#25766)
* [MM-56294] Convert `./components/admin_console/group_settings/group_details/group_profile.tsx` from Class Component to Function Component

* refactor: update snapshots
2023-12-22 10:35:17 +01:00
Daniel Espino García
ec4fdba04e Fix auto delete post when dismissed by a plugin (#25791) 2023-12-22 10:34:32 +01:00
Miguel de la Cruz
0e60f3d542 Improves validation in getRolesByName endpoint (#25215)
* Improves validation in getRolesByName endpoint

* Updates the max constant and fixes linter

* Adds a mechanism to split roles in chunks in the webapp client

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-12-22 10:29:51 +01:00
Harshil Sharma
a59f5ccded Added API to return user count bands and user count (#25796) 2023-12-21 13:00:19 +00:00
Syed Ali Abbas Zaidi
cac50f593b [MM-56298] Convert ./components/file_attachment/file_thumbnail/file_thumbnail.tsx from Class Component to Function Component (#25761)
* [MM-56298] Convert `./components/file_attachment/file_thumbnail/file_thumbnail.tsx` from Class Component to Function Component

* refactor: implement code review changes
2023-12-21 15:43:08 +05:30
Syed Ali Abbas Zaidi
ab6e206a51 [MM-56292] Convert ./components/widgets/icons/checkbox_partial_icon.tsx from Class Component to Function Component (#25764)
* [MM-56292] Convert `./components/widgets/icons/checkbox_partial_icon.tsx` from Class Component to Function Component

* refactor: update snapshots
2023-12-21 15:42:38 +05:30
Syed Ali Abbas Zaidi
4fb3d7a349 [MM-56295] Convert ./components/post_view/message_attachments/message_attachment_list.tsx from Class Component to Function Component (#25767)
* [MM-56295] Convert `./components/post_view/message_attachments/message_attachment_list.tsx` from Class Component to Function Component

* refactor: update default prop

* refactor: update snapshot

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-12-21 15:42:11 +05:30