Commit Graph
25 Commits
Author SHA1 Message Date
evgeny 8af98421a2 Tag DM history snapshots with conversation generation 2026-10-26 22:11:39 +01:00
evgeny 6f2ca113a7 Preserve UTF-8 boundaries in DM peer names 2026-10-26 17:27:18 +01:00
evgeny d372449516 Preserve DM state on database failures and document contracts 2026-10-26 16:55:20 +01:00
evgeny 16c1b64872 Switch message cipher consumers to shared media API 2026-10-18 02:08:52 +02:00
evgeny 5622b9dab9 feat(chat): add local DM deletion and improve Android member list
Delete local conversations atomically, retain replay protection and sequence counters, and guard asynchronous media work by history generation. Add Android avatar menu and confirmation, persistent file cleanup, and regression coverage.

Fix unnamed member wire padding and compact Android member action spacing.

Validation: 158 core tests passed; targeted DM tests, desktop build, Android unit tests and debug APK build passed.
2026-10-18 02:04:05 +02:00
evgeny 9808ea27eb logging: quiet routine audio and route polling, report audio recovery 2026-10-07 21:09:46 +02:00
evgeny dda77a5d7a Size invitation JSON buffers to the escaping contract 2026-10-04 18:11:54 +02:00
evgeny 15fa61d62f Carry encrypted group name metadata in PM invitations 2026-10-04 18:06:26 +02:00
evgeny 5caa699594 Reuse PM automatic route resolution and check persistence after successful send 2026-10-04 15:50:38 +02:00
evgeny b868f1bbf4 Restore PM group route and verify messaging after invite JOIN 2026-10-04 15:46:14 +02:00
evgeny f88d3d5580 Add cancellable PM invitation operation with correlated results 2026-10-04 14:51:33 +02:00
evgeny 09756159b2 Add Android boot startup, lazy settings, emoji and DM calls
Add battery optimization controls and configurable boot startup. Keep message sounds in the application and render general settings lazily to avoid ANRs. Add animated emoji controls and live BGP availability for direct-message calls on Android and desktop.
2026-10-02 17:18:24 +03:00
evgeny 562ea0aa39 Validate PM attachment metadata before committing messages 2026-10-01 17:41:19 +03:00
evgeny 050dfc38bc Bound and safely serialize PM conversation snapshots 2026-10-01 16:25:52 +03:00
evgeny ec20b8d5bf Deliver DM history snapshots asynchronously as JSON events 2026-10-01 16:00:39 +03:00
evgeny c8295b9ad5 Expose bounded DM history snapshots with text and media delivery state 2026-10-01 15:59:38 +03:00
evgeny 8c198520ce Bind signed file descriptors to atomic DM enqueue and receive 2026-10-01 15:28:40 +03:00
evgeny 3d2fd22ba5 Check atomic DM enqueue rollback and explain sequence conflicts 2026-10-01 14:41:33 +03:00
evgeny c902f8a22e Commit DM activity timestamps together with message state 2026-10-01 14:28:47 +03:00
evgeny 8e190fb65e Create DM router streams before checking queue capacity 2026-10-01 14:24:18 +03:00
evgeny fe5c36d534 Persist DM outbox and verify exact delivery receipts 2026-10-01 14:14:46 +03:00
evgeny c0bc9e0a17 dm: заполнять peer_name при автосоздании беседы (иначе в списке 0x...) 2026-09-16 20:26:55 +03:00
evgeny a65453dc0d dm: маршрутизация через общую группу (group_id), JSON-эскейпинг; звонки: иконки/UI в desktop и android 2026-09-16 15:05:48 +03:00
evgeny efa82bacf3 call: P2P аудиозвонки — сигналинг, релей медиа, аудио-контур, headless/desktop/android
- src/call/: сигналинг (call.c, call_proto.h, ETCP_RT_ID_CALL 0x36) + релей медиа
  + headless аудио-сокет (call_headless.c, call_audio_bind) + Opus/jitter/тоны
- chat: события CHAT_EVT_CALL_* (34–40), CHAT_EVT_DM_MESSAGES (41), DM-трамплины
- chatgui: call window, miniaudio I/O, audio_frame_ring, test_audio_jitter
- chatgui-android: CallScreen/IncomingCallDialog, аудио-роутинг, JNI, рингтон
- tests: test_call, test_call_headless
2026-09-16 10:17:57 +03:00
evgeny ef513f9361 dm: прямой обмен сообщениями (DM) + soundtouch + архитектура звонков
- src/dm/: dm_core/dm_crypto/dm_mailbox — прямой обмен сообщениями (DM)
- lib/soundtouch-master/: vendored SoundTouch (изменение темпа/высоты аудио)
- doc/dm_arch.md, doc/chat_call_arch.md: архитектура DM и звонков
- tests: test_dm.c, test_dm_e2e.c
- chat: рефакторинг chat_* модулей, member_sync, invite_build
- chatgui/chatgui-android: синхронизация с новым API чата
- lib/u_async, debug_config, utun_instance: сопутствующие изменения
2026-09-15 21:09:17 +03:00