mattermost/server/channels/app/platform
Ibrahim Serdar Acikgoz 084006c0ea
Some checks are pending
API / build (push) Waiting to run
Server CI / Compute Go Version (push) Waiting to run
Server CI / Check mocks (push) Blocked by required conditions
Server CI / Check go mod tidy (push) Blocked by required conditions
Server CI / check-style (push) Blocked by required conditions
Server CI / Check serialization methods for hot structs (push) Blocked by required conditions
Server CI / Vet API (push) Blocked by required conditions
Server CI / Check migration files (push) Blocked by required conditions
Server CI / Generate email templates (push) Blocked by required conditions
Server CI / Check store layers (push) Blocked by required conditions
Server CI / Check mmctl docs (push) Blocked by required conditions
Server CI / Postgres with binary parameters (push) Blocked by required conditions
Server CI / Postgres (push) Blocked by required conditions
Server CI / Postgres (FIPS) (push) Blocked by required conditions
Server CI / Generate Test Coverage (push) Blocked by required conditions
Server CI / Run mmctl tests (push) Blocked by required conditions
Server CI / Run mmctl tests (FIPS) (push) Blocked by required conditions
Server CI / Build mattermost server app (push) Blocked by required conditions
Web App CI / check-lint (push) Waiting to run
Web App CI / check-i18n (push) Blocked by required conditions
Web App CI / check-types (push) Blocked by required conditions
Web App CI / test (platform) (push) Blocked by required conditions
Web App CI / test (mattermost-redux) (push) Blocked by required conditions
Web App CI / test (channels shard 1/4) (push) Blocked by required conditions
Web App CI / test (channels shard 2/4) (push) Blocked by required conditions
Web App CI / test (channels shard 3/4) (push) Blocked by required conditions
Web App CI / test (channels shard 4/4) (push) Blocked by required conditions
Web App CI / upload-coverage (push) Blocked by required conditions
Web App CI / build (push) Blocked by required conditions
[MM-61758] Burn on read feature (#34703)
* Add read receipt store for burn on read message types

* update mocks

* fix invalidation target

* have consistent case on index creation

* Add temporary posts table

* add mock

* add transaction support

* reflect review comments

* wip: Add reveal endpoint

* user check error id instead

* wip: Add ws events and cleanup for burn on read posts

* add burn endpoint for explicitly burning messages

* add translations

* Added logic to associate files of BoR post with the post

* Added test

* fixes

* disable pinning posts and review comments

* MM-66594 - Burn on read UI integration (#34647)

* MM-66244 - add BoR visual components to message editor

* MM-66246 - BoR visual indicator for sender and receiver

* MM-66607 - bor - add timer countdown and autodeletion

* add the system console max time to live config

* use the max expire at and create global scheduler to register bor messages

* use seconds for BoR config values in BE

* implement the read by text shown in the tooltip logic

* unestack the posts from same receiver and BoR  and fix styling

* avoid opening reply RHS

* remove unused dispatchers

* persis the BoR label in the drafts

* move expiration value to metadata

* adjust unit tests to metadata insted of props

* code clean up and some performance improvements; add period grace for deletion too

* adjust migration serie number

* hide bor messages when config is off

* performance improvements on post component and code clean up

* keep bor existing post functionality if config is disabled

* Add read receipt store for burn on read message types

* Add temporary posts table

* add transaction support

* reflect review comments

* wip: Add reveal endpoint

* user check error id instead

* wip: Add ws events and cleanup for burn on read posts

* avoid reacting to unrevealed bor messages

* adjust migration number

* Add read receipt store for burn on read message types

* have consistent case on index creation

* Add temporary posts table

* add mock

* add transaction support

* reflect review comments

* wip: Add reveal endpoint

* user check error id instead

* wip: Add ws events and cleanup for burn on read posts

* add burn endpoint for explicitly burning messages

* adjust post reveal and type with backend changes

* use real config values, adjust icon usage and style

* adjust the delete from from sender and receiver

* improve self deleting logic by placing in badge, use burn endpoint

* adjust websocket events handling for the read by sender label information

* adjust styling for concealed and error state

* update burn-on-read post event handling for improved recipient tracking and multi-device sync

* replace burn_on_read with type in database migrations and model

* remove burn_on_read metadata from PostMetadata and related structures

* Added logic to associate files of BoR post with the post

* Added test

* adjust migration name and fix linter

* Add read receipt store for burn on read message types

* update mocks

* have consistent case on index creation

* Add temporary posts table

* add mock

* add transaction support

* reflect review comments

* wip: Add reveal endpoint

* user check error id instead

* wip: Add ws events and cleanup for burn on read posts

* add burn endpoint for explicitly burning messages

* Added logic to associate files of BoR post with the post

* Added test

* disable pinning posts and review comments

* show attachment on bor reveal

* remove unused translation

* Enhance burn-on-read post handling and refine previous post ID retrieval logic

* adjust the returning chunk to work with bor messages

* read temp post from master db

* read from master

* show the copy link button to the sender

* revert unnecessary check

* restore correct json tag

* remove unused error handling  and clarify burn-on-read comment

* improve type safety and use proper selectors

* eliminate code duplication in deletion handler

* optimize performance and add documentation

* delete bor message for sender once all receivers reveal it

* add burn on read to scheduled posts

* add feature enable check

* use master to avoid  all read recipients race condition

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>

* squash migrations into single file

* add configuration for the scheduler

* don't run messagehasbeenposted hook

* remove parallel tests on burn on read

* add clean up for closing opened modals from previous tests

* simplify delete menu item rendering

* add cleanup step to close open modals after each test to prevent pollution

* streamline delete button visibility logic for Burn on Read posts

* improve reliability of closing post menu and modals by using body ESC key

---------

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Pablo Vélez <pablovv2012@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-12-11 07:59:50 +01:00
..
mocks MM-64395: Remove unused searchArchivedChannelsForTeam API and implementations (#33885) 2025-09-16 09:51:37 -03:00
.mockery.yaml Migrate mockery to packages feature (#29013) 2024-11-07 12:48:11 +01:00
busy.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
busy_test.go [MM-62408] Server Code Coverage with Fully Parallel Tests (#30078) 2025-05-30 13:58:26 +02:00
cluster.go [MM-53156] Remove Multi-Product architecture (#25669) 2024-02-15 13:01:44 +01:00
cluster_discovery.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
cluster_discovery_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
cluster_handlers.go fix errcheck in server/channels/app/platform/session.go (#30595) 2025-05-05 12:18:47 +02:00
config.go MM-64878: FIPS Build (#33809) 2025-09-15 10:53:28 -03:00
config_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
enterprise.go [MM-61756] Attribute Based Access Control - Phase 1 (#30785) 2025-05-15 11:33:08 +02:00
errors.go Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
feature_flags.go GH-29265: Fix errcheck errors in server/channels/app/platform/feature_flags.go (#29269) 2024-11-15 09:32:11 +01:00
goroutines.go Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
helper_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
license.go Message History Limits in Entry Edition (#33831) 2025-09-10 22:52:19 -04:00
license_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
link_cache.go [MM-61766] Fix errcheck issues in server/channels/app/platform/link_cache.go (#29363) 2024-11-25 13:41:16 +01:00
log.go [MM-64485] Remove separate notification log file (#33473) 2025-08-20 10:17:45 +02:00
log_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
main_test.go MM-63368: Remove MySQL (#33458) 2025-07-22 20:40:55 +05:30
metrics.go [MM-54288] Support Packet V2 (#29403) 2025-01-13 20:23:09 +01:00
metrics_test.go Remove unnecessary copies of loop variables (#28138) 2024-09-11 16:51:30 +02:00
options.go Disable morph logging during TestMain (#30948) 2025-05-21 17:31:18 +00:00
searchengine.go MM-61407: Remove Bleve (#33430) 2025-07-31 09:35:29 +05:30
service.go [MM-64485] Remove separate notification log file (#33473) 2025-08-20 10:17:45 +02:00
service_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
session.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
session_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
shared_channel_notifier.go MM-57326: [Shared Channels] Message priority, acknowledgement and persistent notifications need to be synced (#30736) 2025-06-16 02:30:21 +02:00
shared_channel_notifier_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
shared_channel_service_iface.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
status.go [AI assisted] MM-64298: Process setting status offline in batches (#31065) 2025-06-17 09:20:34 +05:30
status_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
support_packet.go Migrate from gopkg.in/yaml.v3 to github.com/goccy/go-yaml (#34510) 2025-11-18 08:52:05 +01:00
support_packet_test.go Migrate from gopkg.in/yaml.v3 to github.com/goccy/go-yaml (#34510) 2025-11-18 08:52:05 +01:00
utils.go [MM-64654] Migrate to modern Go features (#31820) 2025-07-18 12:54:51 +02:00
web_broadcast_hook.go [MM-61775] Fix errcheck issues in server/channels/app/platform/web_broadcast_hook.go (#29514) 2025-01-27 11:26:28 +00:00
web_broadcast_hook_test.go Introduce model.AssertNotSameMap (#34058) 2025-10-27 13:16:59 -03:00
web_conn.go [MM-61758] Burn on read feature (#34703) 2025-12-11 07:59:50 +01:00
web_conn_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
web_hub.go [MM-61758] Burn on read feature (#34703) 2025-12-11 07:59:50 +01:00
web_hub_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
websocket_reliable.go [AI assisted] MM-63304: Wrap around dqPtr while unmarshalling (#30371) 2025-03-04 13:36:04 +05:30
websocket_reliable_test.go [MM-64654] Migrate to modern Go features (#31820) 2025-07-18 12:54:51 +02:00
websocket_router.go MM-61130: Use a channelMember map at web_hub level (#28810) 2024-11-08 09:57:54 +05:30