67 Commits (be258eea4d212ba70a3f1658509be9d2f0c192be)

Author SHA1 Message Date
Evgeny be258eea4d fix: remove stale peers_* CREATE TABLE from chat_core, drop ORDER BY node_RTT 2 months ago
Evgeny 6edd40d141 topo_group_connect: авто-подключение CHAT-групп + conn_mgr_connect_from_invite + замена chat_conn_mgr в chatgui 2 months ago
Evgeny 5265783164 fix: self node online=0 after chat_core_init refactor — add topo_node_sqlite_node_set_online(self, 1) 2 months ago
Evgeny e2d9879636 refactor: remove direct nodes table writes from chat_core/conn_mgr, use topo_node_sqlite API 2 months ago
Evgeny a7346c25e3 fix chatgui: members not showing (schema mismatch) and username showing JSON instead of name 2 months ago
Evgeny df809f251c ntp: use NTP-corrected time everywhere instead of unixepoch()/gettimeofday 2 months ago
Evgeny fcf3fb7f51 refactor: move transport (etcp/stcp/normalizer) to transport_layer/, routing (bgp/pings/topo*) to routing_layer/ 2 months ago
Evgeny 3dda701c67 schema: rm is_dm, rename name→userinfo (json_flat), fix join_msg format 2 months ago
Evgeny 88d51349ea statuspage: компактный блок часов, offset в секундах 2 months ago
Evgeny a7d842440c chatgui: split chat_core into chat_conn_mgr — connection manager with rotation, max_parallel slots, background ping, per-connection DOWN callback 2 months ago
Evgeny 98bfb9dcd2 chatgui: per-event sound settings with DB persistence 2 months ago
Evgeny f6f7e12192 refactor: demote high-frequency debug logs (raw_recv/dispatch→TRACE, normalizer→DEBUG), NTP drift→WARN 2 months ago
Evgeny 2e7c32c893 fix(db): use INSERT ... ON CONFLICT instead of INSERT OR REPLACE for nodes table 2 months ago
Evgeny 39a376e255 fix: BGP и чат больше не затирают адреса друг друга в node_addresses 2 months ago
Evgeny 70930b784f chatgui: fix — локальные адреса не записывались (g_cc.initialized до sync_my_addresses) + таймаут коллбэк 12→20 байт 3 months ago
Evgeny 57f861f360 chatgui: диагностические логи ADDR_SYNC во всех точках записи/удаления адресов в БД 3 months ago
Evgeny 20f5e6c953 sqlite: add cache_size/mmap_size/temp_store PRAGMAs to db_sync and topo_group — 159x insert speedup, fix test_chat_sync_stress timeout 3 months ago
Evgeny 29e2527b6b consolidate 3 SQLite connections into 1 shared handle 3 months ago
Evgeny 93665c50f0 etcp: remove dead set_*_cbk functions, use add/remove only 3 months ago
Evgeny ef1922327a rename ready_cbks → init_cbks (connection init, not fully ready) 3 months ago
Evgeny ef3d7c3f37 chat_core: call ensure_channel_ready on invite — create msg/peers tables + register in db_sync 3 months ago
Evgeny a510cb0018 auto_connect: add DB dump diagnostics (node_addresses state, node existence, db path+status) 3 months ago
Evgeny 3aadaa3396 fix: sqlite3_open wrong path in topo_group.c (db_path vs db_path/chats.db), keep separate connections for perf 3 months ago
Evgeny 9245a30fa5 auto_connect: diagnostic logging for early FAIL paths in chat_core_connect_auto 3 months ago
Evgeny e71cae16c1 db_sync: unified msg table — one DB, one table per channel 3 months ago
Evgeny a65478edcc chatgui: fix duplicate connection on invite when node already connected 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 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 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 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 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