Commit graph

41 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
9861339741
feat: implement WebSocket connection pooling and improve MTProto tran… (#229) 2026-05-31 20:36:55 +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
a08aeef0c4
feat: add MTProtoRelayHelpDialog component for DC relay setup instructions 2026-05-07 12:45:50 +02:00
Daniel Lavrushin
d1579691ca
Refactor code structure for improved readability and maintainability 2026-05-02 23:36:10 +02:00
Daniel Lavrushin
e5872f17b0
Implement code changes to enhance functionality and improve performance 2026-05-02 22:10:59 +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
ca4aca6823
Refactor code structure for improved readability and maintainability 2026-04-23 14:10:58 +02:00
Daniel Lavrushin
0aa73d5393
Refactor code structure for improved readability and maintainability 2026-04-18 23:55:45 +02:00
Daniel Lavrushin
5e3d38b0f6
Refactor code structure for improved readability and maintainability 2026-04-18 23:25:34 +02:00
Daniel Lavrushin
ede863a777
chore: clean up empty code change sections in the changes log 2026-04-18 22:31:56 +02:00
Daniel Lavrushin
389887a87f
Refactor code structure for improved readability and maintainability 2026-04-18 22:02:30 +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
67ab57b58a
Refactor code structure for improved readability and maintainability 2026-04-04 23:47:03 +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
Daniel Lavrushin
346713bf32
Refactor code structure for improved readability and maintainability 2026-03-26 23:10:26 +01:00
Daniel Lavrushin
9c405cdd39
Add new image for splitting documentation
This commit introduces a new PNG image file to the documentation related to the splitting feature. The image captures the relevant visual information needed to enhance the understanding of the feature.
2026-03-23 23:17:44 +01:00
Daniel Lavrushin
ca37ea794a
Refactor code structure for improved readability and maintainability 2026-03-23 22:06:12 +01:00
Daniel Lavrushin
52c6554499
docs rework 2026-03-23 21:46:22 +01:00
Daniel Lavrushin
e1b8c7e74e
Remove unused SVG file, optimize TLS record writing, and clean up MTProto logging
- Deleted the unused SVG file `undraw_docusaurus_tree.svg` from the documentation assets.
- Refactored the `Write` method in `faketls.go` to optimize the TLS record writing process by reducing the number of write calls.
- Removed unnecessary verification logging in `obfuscated2.go` to streamline the handshake process.
- Updated logging in `server.go` to simplify the output when a new MTProto secret is generated and saved.
2026-03-23 21:45:55 +01:00
Daniel Lavrushin
043e7d7f6c
Refactor code structure for improved readability and maintainability 2026-03-22 13:52:17 +01:00
Daniel Lavrushin
c74b330a0c
feat(ui): enhance ConnectionsPage with pause/resume functionality and redesign ControlBar 2026-02-16 22:23:44 +01:00
Daniel Lavrushin
ac6b47a833
feat(orientation): add quick start guide and related images for Facebook unblocking 2025-12-03 23:16:37 +01:00
Daniel Lavrushin
322053d56c
Refactor code structure for improved readability and maintainability 2025-11-26 00:23:57 +01:00
Daniel Lavrushin
2d1c973adf
Remove web interface documentation and update favicon; add new images for various sections 2025-11-25 22:03:27 +01:00
Daniel Lavrushin
1abbb47095
Add SVG illustration and TypeScript configuration file
- Added a new SVG file for "Focus on What Matters" to the static images directory.
- Created a TypeScript configuration file to enhance editor experience, extending from Docusaurus' default configuration.
2025-11-12 16:55:16 +01:00