1029 Commits (8f695cc828a7ce3f20904880a4cdbf3556479873)
 

Author SHA1 Message Date
Evgeny 8f695cc828 AGENTS.md: add chatgui config and log file paths 3 months ago
Evgeny 3bf5a7b01d Revert hardcoded default for db_sync in chatgui — enabled via config file instead 3 months ago
Evgeny 2a826b62bc chatgui: enable db_sync=info debug category by default 3 months ago
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 93f265c0a9 fix: replace <arpa/inet.h> with platform_compat.h in chatgui (cross-platform ntohs) 3 months ago
Evgeny c594375023 fix: derive node_id from pubkey instead of privkey 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 52587c4f2b move ETCP_ID_NAT_DETECTION to etcp_api.h alongside other ETCP_IDs 3 months ago
Evgeny b238089678 refactor(nat_detection): remove BGP dependency, auto trigger on conn_up, clean API 3 months ago
Evgeny 90363650e3 refactor(nat_detection): self-sufficient module with own ETCP_ID (0x02) and docs 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 0381f4df89 Убраны TCP_TIMESTAMPS и TCP_KEEPALIVE из lwip_tcp_opts.h (не используются, конфликтовали с ws2ipdef.h на Windows) 3 months ago
Evgeny 706ef5b472 etcp_connections.h: data[0] -> data[] (C99 flexible array, fix -Wstringop-overflow) 3 months ago
Evgeny 3884af7eb8 ntp_time.h: replace netinet/in.h with platform_compat.h for Windows build 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 05b24d36bb db_sync: fix dh_match premature sync complete — send tail when mc > tp+1 3 months ago
Evgeny 2792586de7 db_sync: add INFO diagnostics for message sync flow tracing 3 months ago
Evgeny db67767405 fix: demote 6 crypto diagnostic logs from INFO to DEBUG 3 months ago
Evgeny 4fa5b0361f feat: show decoded invite details (node id, address:port) in JoinDialog 3 months ago
Evgeny 55e3a7af94 fix: getInviteAddresses — use active direct-IP connections instead of DB peer list 3 months ago
Evgeny 2aa559acaf debug: add full ECDH/session-key diagnostics (6 points) 3 months ago
Evgeny cdcc32cf84 fix: move DECRYPT FAIL/collision/reinit logs from DEBUG_CATEGORY_DEBUG to proper categories 3 months ago
Evgeny 95061d3723 fix: demote INIT retry spam (link/send logs) to DEBUG_DEBUG 3 months ago
Evgeny 5b88d58dae fix: demote spam auto_connect logs to DEBUG_DEBUG 3 months ago
Evgeny f039031883 fix: check conn_queue_entry->peer_node_id instead of conn->peer_node_id 3 months ago
Evgeny c3354938e1 fix: peers_* table creation + GUI_ERROR to log + cross-connect conn reuse 3 months ago
Evgeny abee0ef3a9 chatgui: add --asan flag to build_linux.sh 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 bfa3e666d4 fix test_uasync_socket_race: increase listen() backlog from 32 to 1024 3 months ago
Evgeny a8ce7d47b7 test_bgp_triangle: reduce keepalive_timeout from 2000ms to 200ms (10x speedup, 13.2s -> 1.27s) 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 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