Commit graph

21 commits

Author SHA1 Message Date
Daniel Lavrushin
1f0bfaf8d9 feat: add support for new conversion plan and tool listing in error messages 2026-08-08 22:16:36 +02:00
Daniel Lavrushin
d10095a89b feat: add conversion API and tools support
- Implemented conversion specifications in `src/convert/spec.go` with embedded JSON rules.
- Created HTTP handlers for conversion tools and analysis in `src/http/handler/convert.go`.
- Added unit tests for conversion handlers in `src/http/handler/convert_test.go`.
- Developed TypeScript API client for conversion in `src/http/ui/src/api/convert.ts`.
- Built UI component for importing tools and displaying conversion results in `src/http/ui/src/components/sets/ImportTool.tsx`.
2026-08-08 22:16:36 +02:00
Daniel Lavrushin
ef2e586708 Refactor code structure for improved readability and maintainability 2026-08-02 00:17:16 +02:00
Daniel Lavrushin
3d03e3b38b
Refactor code structure for improved readability and maintainability (#285) 2026-07-30 22:14:37 +02:00
Daniel Lavrushin
dcc0fffa16
feat: implement tunable MTProto connection timeouts and improve sessi… (#269) 2026-07-05 00:12:53 +02:00
Daniel Lavrushin
3bcf08ae47
fix: improve error logging for TUN state marshalling and streamline e… (#263) 2026-06-28 00:32:36 +02:00
Daniel Lavrushin
12696523f6
fix: improve update process by ensuring proper service stop and relau… (#250)
Some checks are pending
Deploy documentation / build-and-deploy (push) Waiting to run
2026-06-10 15:53:03 +02:00
Daniel Lavrushin
c63f5357c1
Refactor code structure for improved readability and maintainability (#232)
Some checks are pending
Deploy documentation / build-and-deploy (push) Waiting to run
2026-05-31 20:50:36 +02:00
Daniel Lavrushin
86e700ffc1
fix: add support for nft_tproxy and nft_socket kernel modules across … (#222)
* fix: add support for nft_tproxy and nft_socket kernel modules across various platform scripts

* Implement WebSocket client in mtproto package with tests

- Added wsdial.go for WebSocket connection handling, including frame reading/writing, connection upgrades, and error handling.
- Introduced wsHandshakeError for managing WebSocket handshake errors.
- Created wsConn struct to manage WebSocket connections with methods for reading, writing, and closing connections.
- Implemented dialWS function to establish a WebSocket connection with optional socket marking.
- Added wsdial_test.go to include unit tests for WebSocket roundtrip communication and error handling for redirects.
- Utilized httptest to create a mock WebSocket server for testing purposes.

* fix: handle error in ensureIPSet when checking for existing sets

* fix: reorder input chain candidates for nft input filter check

* fix: replace boolean closed flag with atomic.Bool for thread safety in wsConn

* fix: simplify WSCustomDomain assignment in handleMTProtoTestWS

* fix: remove unnecessary blank line in localizeFieldError function

* feat: add memory limit configuration and validation, improve logging settings UI

* fix: handle JSON decoding error in handleMTProtoTestWS function

* feat: add ws_fallback_tcp and ws_endpoint_host to MTProto settings

* fix: validate WSEndpointHost format in MTProto settings

* fix: update memory limit help text in English and Russian localization files

* feat: implement msgSplitter for MTProto message handling and enhance FakeTLS error handling

* test: add unit tests for MsgSplitter and FakeTLS handling

* fix: update WSCustomDomain handling and improve related documentation

* fix: ensure proper closure of connections in proxyToMaskingDomain function

* fix: update WSCustomDomain handling and validate upstream mode in handleMTProtoTestWS

* fix: update removeProxyInputAccept to use signature format for mark comparison
2026-05-11 22:00:21 +02:00
Daniel Lavrushin
2637d144d4
Refactor code structure for improved readability and maintainability 2026-05-09 11:05:30 +02:00
Daniel Lavrushin
d1579691ca
Refactor code structure for improved readability and maintainability 2026-05-02 23:36:10 +02:00
Daniel Lavrushin
036de98538
Refactor code structure for improved readability and maintainability 2026-05-02 14:50:56 +02:00
Daniel Lavrushin
5caf321ac8
feat: add SeqOverlapPatternFields component for managing sequence overlap patterns 2026-04-27 15:19:06 +02:00
Daniel Lavrushin
ebd6e1e12c
feat: add /config/reset endpoint to reset configuration to defaults 2026-04-18 20:39:55 +02:00
Daniel Lavrushin
2a069544be
feat(mtproto): add endpoint to refresh MTProto DCs with Bearer authentication [ERROR] MTProto unknown DC 203 from <ip:port>
Fixes #190
2026-04-18 17:59:44 +02:00
Daniel Lavrushin
5711f5056d
Refactor code structure for improved readability and maintainability 2026-04-18 13:22:34 +02:00
Daniel Lavrushin
076ed80206
Refactor code structure for improved readability and maintainability 2026-04-07 23:50:32 +02:00
Daniel Lavrushin
3d18fbf8de
Refactor code structure for improved readability and maintainability 2026-04-04 23:33:59 +02:00
Daniel Lavrushin
d7d6933a0b
fix: correct version number in Swagger documentation and enhance config loading with improved JSON parsing 2026-04-01 13:00:18 +02:00
Daniel Lavrushin
7e43b0b8ee
Refactor code structure for improved readability and maintainability 2026-04-01 12:21:26 +02:00
Daniel Lavrushin
100c5cef3b
Refactor code structure for improved readability and maintainability 2026-03-30 11:20:39 +02:00
Renamed from src/docs/docs.go (Browse further)