evgeny
c4b4230bbc
Own and bind desktop radio call commands inside the bridge
2026-10-28 00:59:00 +01:00
evgeny
cf766a55b5
Own desktop call commands and bind them atomically to the core
2026-10-28 00:58:59 +01:00
evgeny
ae30145b27
Allow cancellation of an empty file operation as a no-op
2026-10-28 00:58:59 +01:00
evgeny
d6f0a41784
Own desktop file commands and report cancellation through Qt
2026-10-28 00:58:59 +01:00
evgeny
49bc0aa730
Report cancelled composer submissions before releasing their owned requests
2026-10-28 00:58:59 +01:00
evgeny
c4821a3570
Document cancellation acknowledgments for member edit commands
2026-10-28 00:58:59 +01:00
evgeny
aec4d5a6d6
Centralize owned settings and name requests in the GUI bridge
2026-10-27 17:27:04 +01:00
evgeny
e9676e861e
Own and cancel desktop bridge commands before core teardown
2026-10-27 02:25:05 +01:00
evgeny
f112f0004c
Reserve desktop edit dispatch and reject malformed update events
2026-10-26 22:49:45 +01:00
evgeny
df2d250e70
Deliver committed edits to desktop without message notifications
2026-10-26 22:38:17 +01:00
evgeny
7a204d21fa
Bridge desktop DM deletion requests and results
2026-10-26 22:11:39 +01:00
evgeny
bf799e563b
Add local channel deletion to desktop channel settings
2026-10-26 10:47:39 +01:00
evgeny
edab625966
Make chat joins atomic and test invitation lifecycle failures
2026-10-26 09:19:35 +01:00
evgeny
ea73fa271c
Use channel member snapshots for desktop participant details
2026-10-25 20:04:59 +01:00
evgeny
77af45649c
Expose phone busy event to desktop call interface
2026-10-19 14:54:01 +02:00
evgeny
a5671e2c42
Deliver radio invitation events to desktop UI
2026-10-19 13:57:29 +02:00
evgeny
1643817498
Add local UDP discovery and invitation delivery for chat clients
2026-10-18 14:46:04 +02:00
evgeny
4bc70e62ea
Deliver attachment key state changes to desktop UI
2026-10-18 02:15:25 +02:00
evgeny
7ecfdd5385
Connect desktop stream bridge to core lifecycle and events
2026-10-12 22:09:39 +02:00
evgeny
71d19013c0
Measure uasync CPU load and display it in desktop and Android GUIs
...
Sample thread CPU usage without waking idle loops, expose a one-second moving average, and refresh compact GUI indicators at 3 Hz while visible on Android. Add load and bridge regression coverage, streaming notes, and task list cleanup.
2026-10-10 12:31:13 +02:00
evgeny
3898f635df
Deliver channel submission acknowledgements to the desktop composer
2026-10-08 00:24:35 +02:00
evgeny
72e043d208
Expose initial synchronization in channel message events
2026-10-07 15:53:39 +02:00
evgeny
6dfb522522
Add local per-member radio mute controls on desktop and Android
2026-10-07 13:35:25 +02:00
evgeny
188ce92cd3
Route feedback state and command results to the desktop thread
2026-10-06 21:34:38 +02:00
evgeny
62ffe0f3d1
Deliver group avatar publication results through the GUI bridge
2026-10-06 13:44:49 +02:00
evgeny
f68cddb50a
Test avatar immutability, hash validation and quota accounting
2026-10-06 12:40:07 +02:00
evgeny
d7a7bfe3a9
Route avatar events alongside file browser events in ChatGUI
2026-10-06 12:32:02 +02:00
evgeny
c8c5d80684
Add asynchronous member file storage and desktop browser
2026-10-05 18:44:58 +02:00
evgeny
e61aaf060e
Dispatch PM invitation results to desktop UI
2026-10-04 14:53:58 +02:00
evgeny
7c4b909bc7
docs: update file inventory and module header contracts
...
Refresh both AGENTS guides and clarify module purpose, usage, ownership, threading, return values and wire formats in headers. Remove the unused timeout_heap freed_count field and unimplemented getter.
2026-10-04 13:10:01 +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
8bb3af6b82
Forward pinned attachment preparation events to Qt
2026-10-01 18:37:49 +03:00
evgeny
fb0e0c0404
conn_mgr: race connection probes and report call path with correct RTT
2026-10-01 00:42:47 +03:00
evgeny
b6af21fc01
Improve call buffering, CM handle lifecycle and radio PTT controls
2026-09-30 17:31:53 +03:00
evgeny
10562224d7
Fix ETCP session recovery and router lifecycle; confirm chat invites before publishing
2026-09-27 02:51:47 +03:00
evgeny
1610ad9aa6
call: две фазы исходящего вызова — индикация + разные гудки (desktop/Android)
2026-09-23 19:16:53 +03:00
evgeny
2ac04de295
radio: PTT-радио в каналах (src/radio + chatgui + chatgui-android)
...
Новый модуль src/radio (radio/radio_audio/radio_headless) — push-to-talk
радио поверх topo-групп, доставка аудио в канал, headless-режим и тесты.
Интеграция в chatgui (ptt_hotkey_manager, radio_audio_engine, радионастройки,
вызовы) и chatgui-android (RadioAudioEngine, RadioOverlayService, UI).
2026-09-19 17:09:00 +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
evgeny
c9bfbdbc12
chat: invite-ссылки с несколькими адресами + ncd-адреса узлов (join)
2026-09-15 05:16:04 +03:00
evgeny
e1304114f9
chat: invite-ссылки с выбором достижимого узла + tcp_io фикс half-close FIN
...
- Общий модуль invite_build: сборка utun://-ссылок, авто-выбор лучшего
достижимого узла, список кандидатов (вынесено из android jni_bridge)
- chatgui: диалог invite с выбором узла (комбобокс), события INVITE_CANDIDATES /
INVITE_LINK_READY через gui_bridge
- headless/chatcli: invite <ch_id> [node_id], команда invite_nodes
- tcp_io: error_cb отличает грациозный EPOLLHUP (SO_ERROR==0) от реальной ошибки —
при приостановленном чтении FIN не роняет недослейные данные (фикс flaky half-close)
- run_test.sh: half-close echo на выделенном порту 19190 + отдельный DNAT (был недостижим)
2026-09-07 13:59:15 +03:00
evgeny
897dba46d9
chat: права админа + member tags (verified/deleted) + ncd revive
...
- chat_admin: передача канальных privkey другому узлу (encrypted+signed,
ETCP_RT_ID_ADMIN_KEY), событие ADMIN_KEY_RECEIVED
- member_sync/bridge: tags verified/deleted, is_channel_owner, transfer_admin
(android JNI + chatgui memberpropsdialog)
- node_conn_direct: оживление timed_out entry — обновление линков в существующем
conn (убрать старые, добавить новые) + немедленная очистка не поднявшегося
conn без fin_wait — фикс invite/reconnect
2026-09-07 00:53:41 +03:00
evgeny
b5346165e6
member detail: structured display with addresses, connections, BGP summary and socket names
...
- Extend MEMBER_DETAIL_LINK_SIZE to 63B with 20B sock_name per link
- Replace link_count with links_up/links_down (two uint16) in sock snap
- Add BGP hop list collection via topo_node_best_hop_list, post as CHAT_EVT_BGP_INFO
- Add direct RTT summary text via same event
- Rework AccountList detail panel: header + QTextEdit with monospace layout
- Display protocol (TCP/UDP), socket name line, colored dots for connections
- Show [up/down] link counts for self listen sockets
- Remove * prefix from link count display in Android
2026-08-11 16:05:35 +03:00
evgeny
eea0ce5175
keepalive handshake: device_type + keepalive negotiation in UDP/TCP INIT
...
- Добавлен device_type (1 байт, CLIENT_TYPE_*) в INIT_REQUEST и INIT_RESPONSE
- Добавлен keepalive_interval (2 байта) в INIT_RESPONSE
- STCP handshake расширен с 43 до 46 байт (device_type+keepalive)
- negotiate_keepalive(): оба desktop/server → min, иначе (есть mobile) → max
- keepalive_interval вынесен в UTUN_INSTANCE для использования в handshake
- stcp_client_connect() принимает device_type и keepalive_interval
- peer_device_type/peer_keepalive_interval передаются через stcp_link в ETCP_LINK
2026-08-11 11:16:27 +03:00
evgeny
367d5564e4
unify TCP_SOCKET into ETCP_SOCKET with is_tcp flag; add local+remote addr to member detail links with arrow display
2026-08-10 12:06:32 +03:00
evgeny
7eb10aaadb
move is_server indicator from per-connection to per-link in member detail and links JSON
2026-08-10 10:58:14 +03:00
evgeny
2eb7ce7c1e
etcp: переупорядочить close + защита state==2 во всех API-точках; topo: правильная очистка group nodes и registry; chat/member: новый модуль member_sync; chatgui: обновления транспорта и UI
2026-08-09 12:39:53 +03:00
evgeny
691ec8046f
encrypt overhead fix (33→36, noencrypt_len), mtu default 1280, connmonitor window, total_decrypted for TCP, check.sh
2026-08-08 16:56:32 +03:00
evgeny
451021b292
stcp: ed25519 pubkey exchange in handshake, fix instance destroy segfault, fix chat_tcp_test
...
- u_async.c: process immediate_queue BEFORE epoll_wait in uasync_poll
- stcp_link.c: defensive NULL etcp_conn/etcp_link in stcp_link_close
- utun_instance.c: move stcp_server_list_destroy_all to Phase J (before ETCP),
add deferred drain in both Phase J and L
- stcp.h/c: STCP_HS_ENC_CLIENT 6→38, STCP_HS_ENC_SERVER 7→39,
exchange ed25519_pubkey in both handshake directions
- etcp_connections.c: copy peer_ed25519 from STCP to ETCP_CONN in
etcp_link_enter_ready_tcp; guard link->etcp in tcp_link_close_cb
- chat_sync.c: fix lk->conn NULL dereference for TCP links
- test_stcp.c: update stcp_server_create/stcp_client_connect callsites
- tools/chat_tcp_test: change transport udp→tcp
2026-08-07 00:48:27 +03:00
evgeny
4405bc5b9e
refactor: STCP connections as ETCP links (is_tcp)
...
- Add is_tcp, tcp_link, tcp_reconnect_* fields to ETCP_LINK
- Remove transport_link from ETCP_CONN, add tcp_link_count
- stcp_link: replace embedded etcp_conn with pointer; add etcp_link backpointer
- stcp_link: link_rx_cb routes ETCP data to etcp_conn_input
- stcp_link: call on_close_cb in close
- New TCP functions: etcp_link_enter_ready_tcp, etcp_tcp_link_start_connect,
etcp_tcp_link_start_reconnect, tcp_link_close_cb, etcp_tcp_send
- etcp_link_new: handle NULL conn for TCP links; skip enter_init for TCP
- etcp_link_close: close stcp_link for TCP
- etcp_encrypt_send: redirect TCP to etcp_tcp_send (skips AES-CCM)
- tcp_server_on_link: create ETCP_LINK(is_tcp=1) + enter_ready_tcp
- etcp_connect: TCP addrs -> etcp_tcp_link_start_connect
- Remove ctx->tcp_link/tcp_ready
- test_stcp_traffic: find stcp_link via links->is_tcp instead of transport_link
- 66/68 tests pass; 2 STCP tests expected to fail (integration not complete)
2026-08-06 22:14:32 +03:00