994 Commits (3d04c37f56eed934255d2198d4e0a6a05f68b6cd)
 

Author SHA1 Message Date
Evgeny 3d04c37f56 stcp: add on_close callback to stcp_server_create/stcp_client_connect; member_sync: add join_ts/update_sig/update_ts fields, verify update_sig in apply; topo_node_sqlite: add join_ts/update_sig/update_ts to member_put, add member_get_join, add node_update_verified; chat_sync: include join_ts in join_msg, add update_sig/update_ts to CHANNEL_INFO_RESP; WELCOME verify join_sig; tests: use generated node_ids, reduce max ticks 3 months ago
Evgeny 0137a1bad4 chatgui: preserve input focus on chat refresh (save/restore focusWidget in loadChannel) 3 months ago
Evgeny 51d47ea6a8 chatgui: restore input focus after sending message 3 months ago
Evgeny c4d1f984bd chatgui settings: add Database tab with integrity check (quick/full) and optimize 3 months ago
Evgeny 03310db2cd test_chat_sync_stress: simplify to 20 batches, add profiling (avg per-record time, sync time, total) 3 months ago
Evgeny bb425c6722 db_sync v2: positional sync per-peer (synced_pos), datahash instead of chain_hash, no cascade on PUSH, single cascade after SEND_DATA batch, startup chain verification. PRAGMA synchronous=NORMAL + wal_autocheckpoint=10000 for performance. 3 months ago
Evgeny 0479c309bb Диагностика синхронизации: merkle_sync DEBUG_DEBUG логи обмена; убран спам auto_connect no IPv4; сохранение адреса инвайтера из ETCP; детали DECRYPT FAIL (link_state/enc_errs) 3 months ago
Evgeny 0d5a72c40e chat_sync: node_name теперь в пакетах — CHANNEL_INFO_RESP/JOIN/PEER_UPSERT передают имя, верификация использует имя из пакета (не из БД) 3 months ago
Evgeny 3f0fdad754 config_updater: поддержка создания конфига с нуля (без файла); новый файл — собирается с нуля, существующий — insert_or_replace 3 months ago
Evgeny e325b84a8e config: одно открытие файла — parse_config_from_buf вместо повторного fopen; убран read_file_to_mem 3 months ago
Evgeny ef24af7d24 Ключи: node_id из SHA-256(privkey) через весь конфиг; приоритет privkey — pubkey/node_id всегда выводятся из него; CHANNEL_INFO_RESP: верификация inviter_join_sig через ETCP-ключи 3 months ago
Evgeny da86841516 Диагностика: WARN при мутации конфига (ключи/node_id) + детали при invalid sig в JOIN/CHANNEL_INFO_RESP + предупреждение при расхождении node_id инвайта и ETCP 3 months ago
Evgeny 895eb0abbf Убрал спам-логи ETCP SEND/RECV/DECRYPT OK + добавил диагностику синхронизации мемберов (DEBUG_CATEGORY_DEBUG) в ключевые точки topo_group, merkle_sync, member_sync, chat_sync 3 months ago
Evgeny e708940bcd debug: upgrade router_deliver to DEBUG_INFO, show cb ptr 3 months ago
Evgeny d161782b46 fix: merkle_sync.c linked-list -> queue lookup, upgrade debug logs to INFO 3 months ago
Evgeny d71753fa79 debug: add diagnostic logs for chat invite connect flow 3 months ago
Evgeny a7ecee01f5 etcp: replace connections linked-list with indexed ll_queue, add state/ref_count lifecycle 3 months ago
Evgeny 6902f5fd95 chat: add ll_queue with index for P2P connections (replaces linear search) 3 months ago
Evgeny d0af503d01 config: fix allow_all parsing — accept yes/1/true like other bool options 3 months ago
Evgeny 3368abad2a etcp+chat: add DEBUG_INFO logs for invite/crypto handshake debugging 3 months ago
Evgeny d83d281fa0 config: add [allowed_keys] allow_all=yes by default, add [gui] as valid section 3 months ago
Evgeny 4c8e5f6223 db_sync+chat_sync+etcp: fix conn init race, reduce keepalive log spam 3 months ago
Evgeny 5b749d6cc8 chatgui: db_path is now a directory (chat_data/) with chats.db and sync/ inside 3 months ago
Evgeny 6252556a02 chatgui: migrate message sync from chat_sync to db_sync 3 months ago
Evgeny e86944d661 style: reformat db_sync.c — break 500-char lines into readable ~130-char max 3 months ago
Evgeny acaa3a767c refactor: move chat_sync and member_sync to direct ETCP P2P, bypass etcp_router 3 months ago
Evgeny d840b458a7 fix: pause router retransmits before clearing ETCP queues on reinit 3 months ago
Evgeny 9378b18ce7 fix: defer connection_close in ready_cb using uasync_call_soon 3 months ago
Evgeny f669254da3 feat: hard crash on etcp_connection_close from callback chain 3 months ago
Evgeny 371208d489 chatgui: выпилить все записи в БД из GUI потока (DbManager) 3 months ago
Evgeny 409a99f56b feat: cross-connect collision resolution via is_server master + collision flag 3 months ago
Evgeny 0912499309 fix: segfault in callback chain iteration — save next before invoke 3 months ago
Evgeny abbb6de701 fix: block redundant conn reinit on cross-connect INIT (reset_done flag) 3 months ago
Evgeny 2bf7dcc6f0 debug: comprehensive connection diagnostics — recv/send/reinit paths 3 months ago
Evgeny f7d88e5532 fix segfault in ca_ready_cb: ca_state owns all ca_ctx, single cleanup point 3 months ago
Evgeny 1e7585438d chat_core_connect_auto: add outbound conn to inst->connections 3 months ago
Evgeny a8164baf41 chat_core_connect_auto: set peer_node_id on ETCP_CONN 3 months ago
Evgeny fc6a873b5c etcp_connections: reuse existing outbound link for incoming INIT by addr 3 months ago
Evgeny 0adf7d07ef chat_core_connect_auto: dedup addresses by (addr,port) 3 months ago
Evgeny 33aa6bbd5a auto-connect: cursor-based, no close on timeout, GC every 1s, cancel API 3 months ago
Evgeny dccf54b30b auto-connect + GUI per-channel indicators 3 months ago
Evgeny 1a0229fd4f add NTP time synchronization module 3 months ago
Evgeny f3719a28df fix: change timestamp unit from microseconds to milliseconds 3 months ago
Evgeny 5fc621690a fix: wall-clock timestamps + merkle_sync timeout + build script 3 months ago
Evgeny 4636a69225 fix chatgui: pass chain_hash in PUSH + start member_sync on server join 3 months ago
Evgeny f9f516c2e9 fix chatgui: PUSH new messages to peers + comprehensive debug logging 3 months ago
Evgeny 58b9f28149 fix chatgui: prevent invite deadlock on connection flap 3 months ago
Evgeny 8c41b44718 fix chatgui: repair INIT_RESP handler, add debug logging to all sync handlers 3 months ago
Evgeny 2d179ec41d fix chatgui: message format, member notify, chain_hash sync 3 months ago
Evgeny c4751557b1 fix chatgui: ensure msg table + db_sync instance on join and restart 3 months ago