mattermost/server/i18n
Mattermost Build 36999886dd
Content flagging thread fixes (#34162) (#34389)
* created new API to fetch flagged posts

* lint fix

* Added new client methods

* test: add comprehensive tests for content flagging APIs

* Added new API tests

* fixed openapi spec

* Fixed DataSpillageReport tests

* Fixed PostMarkdown test

* Fixed PostPreviewPropertyRenderer test

* Added metadata to card renderer

* test fixes

* Added no comment placeholder

* Added view detail button

* Created RemoveFlaggedMessageConfirmationModal modal

* Added key and remove flag request modal

* IMplemented delete flagged post

* Handled edge cases of deleting flagged post

* keep message

* UI integration

* Added WS event for post report update and handled deleted files of flagged post

* Added error handling in keep/remove forms

* i18n fixes

* Fixed test

* Updated OpenAPI specs

* fixed types

* fixed types

* refactoring

* refactor: improve test mocking for data spillage report component

* test mock updates

* Fixed tests

* Updated reducer

* not resetting mocks

* Added migrations for content flagging tables

* Created new structure

* review fixes

* Used correct ot name

* WIP

* review fixes

* review fixes

* Added new property translations

* CI

* CI

* CI

* Improved test

* fixed test

* CI

* New UI component

* WIP

* Updated settings APIs

* cached DB data

* used cached reviewer data

* Updated tests

* Lint fixes

* test: add tests for saveContentFlaggingSettings and getContentFlaggingSettings APIs

* test fix

* test: add tests for SaveContentFlaggingConfig and GetContentFlaggingConfigReviewerIDs

* Updated tests

* test: add content flagging test for local cache layer

* test: add comprehensive tests for content flagging store cache

* Updated tests

* lint fix

* Updated mobile text

* Added content flagging SQL store mocks

* Added API specs for new APIs

* fixed tests

* feat: add TestContentFlaggingStore function for content flagging store testing

* feat: add comprehensive tests for content flagging store

* Added SQL store tests

* test: add content flagging test for local cache layer

* test: add tests for content flagging store caching

* Added cache layer tests

* Updated tests

* Fixed

* Handled JSON error

* fixes

* fixes

* Fixed retry layer test

* fixerdf i18n

* Fixed test

* CI

* building index concurrently

* CI

* fixed a test

* CI

* cleanup

* Implemented reviewer search API

* feat: add tests for SearchCommonContentFlaggingReviewers and SearchTeamContentFlaggingReviewers

* Added store tests

* test: add comprehensive tests for SearchReviewers function

* feat: add comprehensive tests for searchReviewers endpoint

* API tests

* Integrate flag post api (#33798)

* WIP

* WIP

* Added API call

* test: add test for Client4.flagPost API call in FlagPostModal

* fix: remove userEvent.setup() from flag post modal test

* test: wrap submit button click in act for proper state updates

* Updated tests

* lint fix

* CI

* Updated to allow special characters in comments

* Handled empty comment

* Used finally

* CI

* Fixed test

* Spillage card integration (#33832)

* Created getContentFlaggingFields API

* created getPostPropertyValues API

* WIP

* Created useContentFlaggingFields hook

* WIP

* WIP

* Added option to retain data for reviewers

* Displayed deleted post's preview

* DIsplayed all properties

* Adding field name i18n

* WIP - managing i18n able texts

* Finished displaying all fields

* Manual cleanup

* lint fixes

* team role filter logic fix

* Fixed tests

* created new API to fetch flagged posts

* lint fix

* Added new client methods

* test: add comprehensive tests for content flagging APIs

* Added new API tests

* fixed openapi spec

* Fixed DataSpillageReport tests

* Fixed PostMarkdown test

* Fixed PostPreviewPropertyRenderer test

* Added metadata to card renderer

* test fixes

* Added no comment placeholder

* Fixed test

* refactor: improve test mocking for data spillage report component

* test mock updates

* Updated reducer

* not resetting mocks

* WIP

* review fixes

* CI

* Fixed

* fixes

* Content flagging actions implementation (#33852)

* Added view detail button

* Created RemoveFlaggedMessageConfirmationModal modal

* Added key and remove flag request modal

* IMplemented delete flagged post

* Handled edge cases of deleting flagged post

* keep message

* UI integration

* Added WS event for post report update and handled deleted files of flagged post

* Added error handling in keep/remove forms

* i18n fixes

* Updated OpenAPI specs

* fixed types

* fixed types

* refactoring

* Fixed tests

* review fixes

* Added new property translations

* Improved test

* fixed test

* CI

* fixes

* CI

* fixed a test

* fixed  abad commit

* CI

* WIP

* IMplemented assign reviewer API

* Display reviewers

* Review fixes

* UI integration

* lint fix

* Added API docs

* test: add comprehensive tests for assignFlaggedPostReviewer function

* test: add comprehensive tests for AssignFlaggedPostReviewer

* Added tests

* Fixed test

* Sequential tests

* minor improvemenmts

* WIP

* Added keep/delete message notifications

* refactor: update AssignFlaggedPostReviewer method signature to include context

* test: add tests for getReviewerPostsForFlaggedPost and postReviewerMessage

* lint fixes

* handled reviewer updates

* Handled preference

* Implemented notifications

* test: add comprehensive tests for content flagging notification functions

* refactor: Replace th.UpdateConfig with SaveContentFlaggingConfig in tests

* test: add test case for content flagging with string comparison

* refactor: simplify content flagging test config setup

* refactor: Update content flagging notification settings types in test cases

* refactor: Update content flagging tests to use exact message matching

* Added tests

* lint fixes

* Added new hooks

* lint fixes

* feat: add API specs for getPostChannel and getPostTeam endpoints

* lint fixes

* test: add tests for getPostChannel and getPostTeam APIs

* Added API tests

* test: add empty test files for property card view loaders

* test: add comprehensive tests for property card view hooks

* refactor: replace waitForNextUpdate with waitFor in test files

* Added hook tests

* fixed test

* review fixes

* Fixed a test

* Fixed a test

* Fixed for default state

* lint fixes

* migration update

* review fixes

* Reduced code duplication

* Refactored tests to reduce duplication

* review fixes

* lint fix

* WIP

* Updated existing APIs instead of creating new API

* Lint fix

* Added new tests

* Fixed a test

* Review fixes

* WIP

* test: add comprehensive tests for sendFlaggedPostRemovalNotification and sendKeepFlaggedPostNotification

* Updated tests

* review fixes

* review fixes

* test update

* fixed a test

* Updated logs

* i18n fixes

* Restore replies when restoring root post

* Finalized the function

* Fixed threads issue

* Removed unused functions

* fixed a test

* Refactored to use properties for replies

* Updated test

* lint fix

* Test fix

* reverted unintentional refactoring

* removed a query change that is no longer used

(cherry picked from commit 519fb5faf0)

Co-authored-by: Harshil Sharma <18575143+harshilsharma63@users.noreply.github.com>
2025-11-05 08:10:30 +02:00
..
am.json Update translation files 2025-08-04 20:18:28 +02:00
ar.json Translated using Weblate (Arabic) 2025-09-29 14:32:46 +02:00
ar_SA.json Translations update from Mattermost Weblate (#30091) 2025-02-03 21:50:09 +02:00
be.json Translations update from Mattermost Weblate (#33792) 2025-08-29 09:05:08 +00:00
bg.json Translations update from Mattermost Weblate (#33792) 2025-08-29 09:05:08 +00:00
br.json Update translation files 2023-10-10 18:21:15 +03:00
ca.json Translations update from Mattermost Weblate (#33792) 2025-08-29 09:05:08 +00:00
cs.json Translations update from Mattermost Weblate (#34070) 2025-10-06 15:09:01 +00:00
da.json Translations update from Mattermost Weblate (#31099) 2025-05-19 14:38:23 +00:00
de.json Translations update from Mattermost Weblate (#34070) 2025-10-06 15:09:01 +00:00
el.json Translations update from Mattermost Weblate (#33792) 2025-08-29 09:05:08 +00:00
en-AU.json Translations update from Mattermost Weblate (#33792) 2025-08-29 09:05:08 +00:00
en.json Content flagging thread fixes (#34162) (#34389) 2025-11-05 08:10:30 +02:00
es.json Translations update from Mattermost Weblate (#34070) 2025-10-06 15:09:01 +00:00
et.json integrating WIP-languages (#24683) 2023-10-03 22:56:23 -03:00
eu.json integrating WIP-languages (#24683) 2023-10-03 22:56:23 -03:00
fa.json Translations update from Mattermost Weblate (#33792) 2025-08-29 09:05:08 +00:00
fi.json Translations update from Mattermost Weblate (#33792) 2025-08-29 09:05:08 +00:00
fr.json Translated using Weblate (French) 2025-09-08 17:58:29 +02:00
gl.json Translations update from Mattermost Weblate (#31099) 2025-05-19 14:38:23 +00:00
gu.json Translated using Weblate (Gujarati) 2023-10-10 18:21:15 +03:00
he.json Fix vi merge issues (#25001) 2023-10-18 14:20:14 -03:00
hi.json Translations update from Mattermost Weblate (#33792) 2025-08-29 09:05:08 +00:00
hr.json Translations update from Mattermost Weblate (#31099) 2025-05-19 14:38:23 +00:00
hu.json Translations update from Mattermost Weblate (#33792) 2025-08-29 09:05:08 +00:00
id.json Translations update from Mattermost Weblate (#33792) 2025-08-29 09:05:08 +00:00
it.json Translations update from Mattermost Weblate (#33792) 2025-08-29 09:05:08 +00:00
ja.json Translations update from Mattermost Weblate (#34070) 2025-10-06 15:09:01 +00:00
ka.json Translations update from Mattermost Weblate (#31099) 2025-05-19 14:38:23 +00:00
km.json integrating WIP-languages (#24683) 2023-10-03 22:56:23 -03:00
ko.json Translated using Weblate (Korean) 2025-09-29 14:32:46 +02:00
lo.json integrating WIP-languages (#24683) 2023-10-03 22:56:23 -03:00
lt.json Translations update from Mattermost Weblate (#31099) 2025-05-19 14:38:23 +00:00
mk.json Translations update from Mattermost Weblate (#31099) 2025-05-19 14:38:23 +00:00
ml.json Translations update from Mattermost Weblate (#31099) 2025-05-19 14:38:23 +00:00
mn.json integrating WIP-languages (#24683) 2023-10-03 22:56:23 -03:00
nb-NO.json Translated using Weblate (Norwegian Bokmål) 2025-09-29 14:32:46 +02:00
ne.json Update translation files 2023-10-10 18:21:15 +03:00
nl.json Translations update from Mattermost Weblate (#34070) 2025-10-06 15:09:01 +00:00
pl.json Translations update from Mattermost Weblate (#34070) 2025-10-06 15:09:01 +00:00
pt-BR.json Translations update from Mattermost Weblate (#33792) 2025-08-29 09:05:08 +00:00
pt.json Translated using Weblate (Portuguese) 2025-09-08 17:58:29 +02:00
ro.json Translations update from Mattermost Weblate (#33792) 2025-08-29 09:05:08 +00:00
ru.json Translations update from Mattermost Weblate (#33792) 2025-08-29 09:05:08 +00:00
si.json integrating WIP-languages (#24683) 2023-10-03 22:56:23 -03:00
sl.json Translations update from Mattermost Weblate (#33792) 2025-08-29 09:05:08 +00:00
sq.json integrating WIP-languages (#24683) 2023-10-03 22:56:23 -03:00
sr.json Translations update from Mattermost Weblate (#33792) 2025-08-29 09:05:08 +00:00
sv.json Translations update from Mattermost Weblate (#34070) 2025-10-06 15:09:01 +00:00
th.json Translations update from Mattermost Weblate (#26577) 2024-03-27 10:31:48 -03:00
tr.json Translations update from Mattermost Weblate (#34070) 2025-10-06 15:09:01 +00:00
uk.json Translations update from Mattermost Weblate (#34070) 2025-10-06 15:09:01 +00:00
vi.json Translations update from Mattermost Weblate (#33792) 2025-08-29 09:05:08 +00:00
zh-CN.json Translations update from Mattermost Weblate (#34070) 2025-10-06 15:09:01 +00:00
zh-TW.json Translations update from Mattermost Weblate (#33792) 2025-08-29 09:05:08 +00:00