172 Commits (fec3ea38a786cbd35cdef4de7f11929ef9ef00f3)

Author SHA1 Message Date
Evgeny 4b7c7738de debug: add DEBUG_CATEGORY_DB_SYNC (26) + TRACE logs for db_sync, merkle_sync, chat_sync, member_sync 3 months ago
Evgeny 9e34e9f838 fix chatgui: self in member list, online status on reconnect, lb spam 3 months ago
Evgeny 3e0b9483b7 fix chatgui: channel persistence & peer list after restart 3 months ago
Evgeny 6354318255 fix: replace arpa/inet.h with platform_compat.h in chat_core.c too 3 months ago
Evgeny 6f4025e420 refactor: move sqlite3 db from topo_group to UTUN_INSTANCE, remove conn_mgr/topo_group deps from chatgui 3 months ago
Evgeny 910cac8dce refactor: separate NAT detection from topology into standalone nat_detection module 3 months ago
Evgeny 8180676120 fix: peers table schema mismatch causing silent member write failures 3 months ago
Evgeny 960cde3eda chatgui: add Status page in settings (NTP + connections status) 3 months ago
Evgeny f0bb03c2cf db_sync: datahash removed, Ed25519 signature mandatory, PK=(timestamp,author_signature), chain_hash includes signature, signed message=ts||json 3 months ago
Evgeny 2792586de7 db_sync: add INFO diagnostics for message sync flow tracing 3 months ago
Evgeny 55e3a7af94 fix: getInviteAddresses — use active direct-IP connections instead of DB peer list 3 months ago
Evgeny 5b88d58dae fix: demote spam auto_connect logs to DEBUG_DEBUG 3 months ago
Evgeny c3354938e1 fix: peers_* table creation + GUI_ERROR to log + cross-connect conn reuse 3 months ago
Evgeny f3ac1cbb06 chat_sync: fix double-free in auto_connect — clear ca_state in ac_result_cb on success 3 months ago
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 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 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 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 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 acaa3a767c refactor: move chat_sync and member_sync to direct ETCP P2P, bypass etcp_router 3 months ago
Evgeny 9378b18ce7 fix: defer connection_close in ready_cb using uasync_call_soon 3 months ago
Evgeny 371208d489 chatgui: выпилить все записи в БД из GUI потока (DbManager) 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 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 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
Evgeny 4254ab97bb fix chatgui: db_sync_stub + chat_sync_init for invite link join 3 months ago
Evgeny ccd25813f6 refactor: extract merkle_sync — universal Merkle-tree sync module 3 months ago
Evgeny f617dcd68e db_sync: LMDB→SQLite, multi-instance, etcp_api, chatgui integration 3 months ago
Evgeny cca3511503 fix: replace deprecated SHA256 API with EVP, conditional dl linkage for Windows 3 months ago