Commit Graph

3234 Commits

Author SHA1 Message Date
LeonardJouve
3f641588fa handleFileUploadComplete updates wrong draft (#23983) 2023-11-27 10:52:56 +01:00
Daniel Espino García
49919d2be5 MM-55438 Fix app bar divider (#25425)
* Fix spacing before the app bar divider

* Adjust bottom margin

* Fix lint

* Align appbar lines

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-27 10:50:15 +01:00
Asaad Mahmood
37ce3e6398 Emoji picker hover fix (#25530) 2023-11-26 20:26:03 +05:00
Gabriel Akinyosoye
208b3fdb65 [MM-55135] Show header status width despite long header (#25138)
* use flex-shrink to retain header status width

* update header

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-24 09:26:38 +05:30
Harrison Healey
5a37630058 Update subpackages to 9.3.0 (#25503)
Automatic Merge
2023-11-23 15:30:14 +02:00
Arya Khochare
1f37254579 [MM-55140] Spacing between buttons is incorrect in channel dropdown > convert to private channel in mobile web view (#25491)
* button gap fixed for mobile modal

* modal footer button gap fixed for mobile (Web App)

* modal footer button gap fixed for mobile (Web App).

* changes to fix ci/lint

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-23 12:48:35 +01:00
Asaad Mahmood
371ad738d9 MM-55714 - Updating suggestion list height as before (#25516)
* MM-55714 - Updating suggestion list height

* Removing margin on status
2023-11-23 15:57:44 +05:00
Asaad Mahmood
7848ea8e19 [MM-55293 & MM-36719] Updating emoji icon on hover and on popover (#25440) 2023-11-23 11:37:27 +05:30
Umar Abid
70e3a01f2d [GH-25022]: Add Academy links to Teams training (#25150)
* feat: add link to teams dropdown menu

* fix: refactor link to separate component and update styles

* feat: add academy link to team's join page and settings modal

* fix: i18n and update test snapshots

* fix link styles & update test snapshot

* add state for unit tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2023-11-22 13:36:52 -08:00
Christopher Speller
5862213fd4 Adding support for thread viewer to not have a root post fetched. (#25502)
* Adding support for thread viewer to not have a root post fetched.

* Fix type
2023-11-22 14:40:14 -05:00
Akbar Abdrakhmanov
52b485b369 [MM-54637] Channel header popover that displays overflow on hover, is not aligned or the right width (#25038) 2023-11-22 18:23:23 +05:30
Arslan Butt
bdb1b8d376 [MM-42752] Channel header icons impacted by long channel name in mobile view (#25450) 2023-11-22 18:22:40 +05:30
Nicolas Le Cam
88520e6740 MM-54814: Convert ./components/widgets/menu/menu_group.tsx from Class Component to Function Component (#25183)
* MM-54814: Convert ./components/widgets/menu/menu_group.tsx from Class Component to Function Component

Signed-off-by: Nicolas Le Cam <niko.lecam@gmail.com>

* review: Don't rerender component if props are unchanged

Signed-off-by: Nicolas Le Cam <niko.lecam@gmail.com>

* Fix tests

Signed-off-by: Nicolas Le Cam <niko.lecam@gmail.com>

---------

Signed-off-by: Nicolas Le Cam <niko.lecam@gmail.com>
2023-11-21 11:25:54 +01:00
Jesse Hallam
d5c04f5d95 resolve weblate merge conflicts (#25500) 2023-11-20 17:03:04 -04:00
M-ZubairAhmed
bbfb2f11bc [MM-55455] Add "no-constant-binary-expression" eslint rule (#25410) 2023-11-20 12:04:20 +05:30
Ashish Dhama
a9a879d00d MM-40414: Add empty state icons (#25282)
Automatic Merge
2023-11-20 06:00:14 +02:00
KyeongSoo Kim
34ce0d00d4 [MM-42586] Reaction toggle behavior (#25412)
* add toggle_reaction action

* change to use toggle_reaction action instead of add_reaction

* add submit_reaction action

* add a selector to check if a reaction has already been added

* update test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-17 12:07:03 +01:00
ludvigbolin
2184876c77 [MM-55335] Convert ./components/admin_console/filter/filter_checkbox.tsx from Class Component to Function Component (#25416)
* migrate filter_checkbox to function from class component

* Update webapp/channels/src/components/admin_console/filter/filter_checkbox.tsx

Co-authored-by: Daniel Espino García <larkox@gmail.com>

* adjust after feedback

* adjust input element to not have conditional rendering

* Revert "adjust input element to not have conditional rendering"

This reverts commit 9d252eb995.

---------

Co-authored-by: Daniel Espino García <larkox@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-17 10:10:00 +01:00
Matthew Williams
7a4284b4b0 Translated using Weblate (English (Australia))
Currently translated at 100.0% (5709 of 5709 strings)

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

Translated using Weblate (English (Australia))

Currently translated at 99.9% (2491 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/en_AU/
2023-11-16 13:17:27 -04:00
DimitriDR
ffc20d2346 Translated using Weblate (French)
Currently translated at 83.7% (4779 of 5709 strings)

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

Translated using Weblate (French)

Currently translated at 92.9% (2317 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/fr/
2023-11-16 13:17:27 -04:00
CI-YU
dc9273c07f Translated using Weblate (Chinese (Traditional))
Currently translated at 62.8% (3588 of 5709 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hant/
2023-11-16 13:17:27 -04:00
Csaba Tóth
c16b94d2d4 Translated using Weblate (Hungarian)
Currently translated at 87.0% (4971 of 5709 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 93.7% (2337 of 2492 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 93.5% (2331 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/hu/
2023-11-16 13:17:27 -04:00
MArtin Johnson
f932f156b0 Translated using Weblate (Swedish)
Currently translated at 100.0% (2492 of 2492 strings)

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (5709 of 5709 strings)

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (2492 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/sv/
2023-11-16 13:17:27 -04:00
Arthur
bbcf153c40 Translated using Weblate (French)
Currently translated at 83.7% (4779 of 5709 strings)

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

Translated using Weblate (French)

Currently translated at 82.2% (4696 of 5708 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/
2023-11-16 13:17:27 -04:00
Nathanaël
d2d277f999 Translated using Weblate (French)
Currently translated at 82.2% (4696 of 5708 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/
2023-11-16 13:17:27 -04:00
Konstantin
22b047fb14 Translated using Weblate (Russian)
Currently translated at 99.7% (5691 of 5707 strings)

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

Translated using Weblate (Russian)

Currently translated at 99.2% (5664 of 5709 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (2492 of 2492 strings)

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

Translated using Weblate (Russian)

Currently translated at 98.7% (5636 of 5708 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (2492 of 2492 strings)

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

Translated using Weblate (Russian)

Currently translated at 98.6% (5632 of 5708 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ru/
2023-11-16 13:17:27 -04:00
amigo7kr
891bfa39a5 Translated using Weblate (Korean)
Currently translated at 60.9% (3481 of 5708 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ko/
2023-11-16 13:17:27 -04:00
Kaya Zeren
920416b9a0 Translated using Weblate (Turkish)
Currently translated at 100.0% (5707 of 5707 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (2492 of 2492 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (5708 of 5708 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (2492 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/tr/
2023-11-16 13:17:27 -04:00
Hosted Weblate
27ff70a005 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

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

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/
2023-11-16 13:17:27 -04:00
ThrRip
853d81c98b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (5709 of 5709 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% (2490 of 2492 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% (2490 of 2492 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% (5708 of 5710 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/
2023-11-16 13:17:27 -04:00
Huailong Xu
bb8f083cbd Translated using Weblate (Chinese (Simplified))
Currently translated at 99.9% (5708 of 5710 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/
2023-11-16 13:17:27 -04:00
Tomer Ben-Rachel
ca8dac06d4 Translated using Weblate (Hebrew)
Currently translated at 0.8% (51 of 5707 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/he/
2023-11-16 13:17:27 -04:00
Milo Ivir
e886f42ce1 Translated using Weblate (Croatian)
Currently translated at 32.0% (1831 of 5709 strings)

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

Translated using Weblate (Croatian)

Currently translated at 10.0% (250 of 2492 strings)

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

Translated using Weblate (Croatian)

Currently translated at 28.3% (1621 of 5709 strings)

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

Translated using Weblate (Croatian)

Currently translated at 9.8% (246 of 2492 strings)

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

Translated using Weblate (Croatian)

Currently translated at 25.9% (1479 of 5709 strings)

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

Translated using Weblate (Croatian)

Currently translated at 8.9% (224 of 2492 strings)

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

Translated using Weblate (Croatian)

Currently translated at 22.9% (1311 of 5709 strings)

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

Translated using Weblate (Croatian)

Currently translated at 8.7% (219 of 2492 strings)

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

Translated using Weblate (Croatian)

Currently translated at 16.1% (922 of 5709 strings)

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

Translated using Weblate (Croatian)

Currently translated at 16.0% (918 of 5708 strings)

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

Translated using Weblate (Croatian)

Currently translated at 8.5% (212 of 2492 strings)

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

Translated using Weblate (Croatian)

Currently translated at 12.5% (717 of 5708 strings)

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

Translated using Weblate (Croatian)

Currently translated at 7.8% (195 of 2492 strings)

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

Translated using Weblate (Croatian)

Currently translated at 6.6% (382 of 5708 strings)

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

Translated using Weblate (Croatian)

Currently translated at 5.9% (338 of 5707 strings)

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

Translated using Weblate (Croatian)

Currently translated at 6.9% (173 of 2490 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/hr/
2023-11-16 13:17:27 -04:00
Tom De Moor
f6a51542d8 Translated using Weblate (Dutch)
Currently translated at 100.0% (5707 of 5707 strings)

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

Translated using Weblate (Dutch)

Currently translated at 100.0% (2492 of 2492 strings)

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

Translated using Weblate (Dutch)

Currently translated at 100.0% (2492 of 2492 strings)

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

Translated using Weblate (Dutch)

Currently translated at 100.0% (5709 of 5709 strings)

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

Translated using Weblate (Dutch)

Currently translated at 100.0% (2492 of 2492 strings)

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

Translated using Weblate (Dutch)

Currently translated at 100.0% (5710 of 5710 strings)

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

Translated using Weblate (Dutch)

Currently translated at 100.0% (5707 of 5707 strings)

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

Translated using Weblate (Dutch)

Currently translated at 100.0% (2490 of 2490 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/nl/
2023-11-16 13:17:27 -04:00
jprusch
573b4633b5 Translated using Weblate (German)
Currently translated at 100.0% (2492 of 2492 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (5709 of 5709 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (2492 of 2492 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (5710 of 5710 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (2492 of 2492 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (5707 of 5707 strings)

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

Translated using Weblate (German)

Currently translated at 99.9% (5705 of 5707 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/
2023-11-16 13:17:27 -04:00
ThrRip
4c68582d76 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.9% (5708 of 5710 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% (5705 of 5710 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% (2490 of 2492 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% (5707 of 5707 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% (5707 of 5707 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% (5707 of 5707 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% (5707 of 5707 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/
2023-11-16 13:17:27 -04:00
master7
7460214386 Translated using Weblate (Polish)
Currently translated at 100.0% (5710 of 5710 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (2492 of 2492 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (5707 of 5707 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/
2023-11-16 13:17:27 -04:00
Ben Cooke
2a896f8420 [MM-54933] Add the ability to @ mention custom groups in group constrained teams and channels (#24987)
* add the ability to @ mention custom groups in group constrained teams
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-16 11:24:20 -05:00
Harshil Sharma
51715d5ed6 [MM-55336] Fixed teamname alignment in channel switcher (#25429) 2023-11-16 09:58:39 +05:30
Caleb Roseland
22190c13dd MM-55403: fix remote marketplace visibility (#25426) 2023-11-15 10:08:16 -06:00
Syed Ali Abbas Zaidi
6343e0e89f [MM-55331] Convert ./components/channel_header_dropdown/menu_items/view_pinned_posts/view_pinned_posts.tsx from Class Component to Function Component (#25400)
* [MM-55331] Convert `./components/channel_header_dropdown/menu_items/view_pinned_posts/view_pinned_posts.tsx` from Class Component to Function Component

* refactor: Implement useCallback to avoid unwanted renders

* refactor: import mouse event type from react

* refactor: deprecate localizeMessage with intl

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-14 17:35:19 +01:00
Devin Binnie
1bd72bdb99 [MM-55014][MM-55015] Add last login timestamp for users, add materialized view and refresh job to keep track of post stats for Postgres (#25152)
* [MM-55014][MM-55015] Add last login timestamp for users, add materialized view and refresh job for Postgres

* Check fixes

* Fix type issue

* Add verification that lastlogin was updated

* PR feedback

* Morge'd

* Morge'd again

* Merge'd

* Update admin setting strings

* WIP

* PR feedback

* Oops

* Fix i18n

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-14 11:26:27 -05:00
Umar Abid
41c08a3715 [GH-25020] Add new resource links to [Help (?) drop-down menu] & icons (#25070)
* fix: add resource links Help (?) dropdown

* fix: refactor styles and update link url

* update: i18n and snapshot

* fix: update style and refactor

* fix: i18n

* fix: update test snapshot

* Update webapp/channels/src/components/global_header/center_controls/user_guide_dropdown/__snapshots__/user_guide_dropdown.test.tsx.snap

* Update webapp/channels/src/components/global_header/center_controls/user_guide_dropdown/__snapshots__/user_guide_dropdown.test.tsx.snap

* Update webapp/channels/src/components/global_header/center_controls/user_guide_dropdown/__snapshots__/user_guide_dropdown.test.tsx.snap

* Update webapp/channels/src/components/global_header/center_controls/user_guide_dropdown/user_guide_dropdown.tsx

---------

Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-14 07:42:56 -08:00
Harshal sanghvi
d34683f91d [MM-52941] Adds from: suggestion when typing @ in search (#24168)
* migrated session_length_settings, settings_group to typescript

* migrated cluster_table_container to typescript

* resolved linter and non null assertions

* fixed settings_group import

* fixed cluster_table_container import

* fixed CI CD errors

* fixed names and added in built type for license

* fixed consitency and mouse event

* fixed type annotations and imports

* added search by @

* handle case by replacing

* fixed implementation and added tests

* new implementation to search with @

* fix space

* fixed comments

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-14 07:38:05 -08:00
Nick Misasi
e1c851a3ca [CLD-6324] Cloud IP Filtering (#24726)
* Initial comit for ip filtering service implementation

* Add audit logs for IP Filters

* start of webapp work

* Stashing

* Updates based on Agniva's feedback around service vs einterface

* Updates completed

* Commit before refactoring, everything's working

* First pass of cleanup complete, front-end tests added

* actually add files

* Updates to some translation strings, running i18n-extract

* Lock everything behind a feature flag

* Fix tests, try to fix some linter stuff

* Fixed linter for JS, on to scss

* Fixed linter for scss

* Fix linter

* More fixes for pipeline

* Support for IPV6

* Remove tsx file that was removed in masteR

* Revert package.json and package-lock.json to master, add cidr-regex dep into channels/package.json

* Another commit to force fix Github

* Fixes around IPV6. Some suggestions from Matt re: UX review. Fixing pipelines for tests and types on new cidr-regex package

* Changes to address Matt's feedback

* A few more changes for clean up

* Add support for permissions

* Fix vet for OpenAPI spec

* Actually add the yaml file for openapi

* Add permission migration to allow support for IP Filtering

* Fix tests

* Final fixes from Matt

* Remove cancel button from page, update link outs to documentation

* Update test to account for removed cancel button

* Adjustments based on feedback from Harrison

* More fixes from PR feedback

* Add a t to fix translations that doesn't seem to be breaking anyone else?

* More fix

* updates for PR feedback

* Fix linter

* Fix types

* Now fix the linter again

* Add back tests because Harrison was able to get them running

* Adjustments for PR feedback

* Remove admin_definition.jsx

* Fix linter

* [CLD-6453] IP Filtering notification email for sysadmins (#25224)

* Initial commit for IP filtering alert email

* Updates to style for email, addition of ip_filtering email:

* Fix pipelines

* Adjustments from Matt's feedback

* Padding changes

* template diff (#25249)

Co-authored-by: Gabe Jackson <3694686+gabrieljackson@users.noreply.github.com>

* Fix hardcoded true, remove bool return value

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Gabe Jackson <3694686+gabrieljackson@users.noreply.github.com>

* Lock feature behind enterprise license. Drop cidr-regex in favour of ipaddr.js dependency. Refactor isIpAddressWithinRanges to use ipaddr.js

* Add a couple server tests

* fix linter

* Fix types from merge conflicts

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Gabe Jackson <3694686+gabrieljackson@users.noreply.github.com>
2023-11-14 09:12:04 -05:00
Syed Ali Abbas Zaidi
620acc029a [MM-55334] Migrate ./components/admin_console/blockable_link/blockab_link.tsx from Class Component to Function Component (#25386)
* [MM-55334] Migrate `./components/admin_console/blockable_link/blockable_link.tsx` from Class Component to Function Component

* refactor: use prop destructuring

* fix: Implement useCallback to avoid unwanted renders

* refactor: import mouse event type from react

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-14 10:02:09 +01:00
Syed Ali Abbas Zaidi
b5bbe278eb [MM-55333] Convert ./components/post_view/floating_timestamp/floating_timestamp.tsx from Class Component to Function Component (#25401)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-14 10:01:10 +01:00
Syed Ali Abbas Zaidi
71ea829328 [MM-55332] Convert ./components/permissions_gates/channel_permission_gate.tsx from Class Component to Function Component (#25399)
* [MM-55332] Convert `./components/permissions_gates/channel_permission_gate/channel_permission_gate.tsx` from Class Component to Function Component

* refactor: unify the if conditions

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-13 15:37:24 -05:00
Sudhanva-Nadiger
9156770b25 [MM-55326] Convert ./components/post_view/commented_on_files_message/commented_on_files_message.tsx from Class Component to Function Component (#25407)
* covert to func component

* update snap

* minor fix
2023-11-13 15:33:40 -05:00
M-ZubairAhmed
5a14575dee snapshot (#25411) 2023-11-13 15:13:58 -05:00