aac76f6791
Refactor callTelemtJSON function in main.go to accept multiple success HTTP status codes, enhancing error handling for user creation requests. Introduce httpStatusInList helper function to streamline status code validation.
main
Denozordec2026-04-10 00:47:10 +07:00
6243163232
Update docker-compose.yml to add telemt-panel service and configure telemt-plus network. Modify SYNC_SETUP.md to change ownership settings from 999:999 to 65532:65532 for improved compatibility and document steps for reconfiguring existing B servers.
Denozordec2026-04-10 00:38:16 +07:00
eec4ac8b4f
Update SYNC_SETUP.md to include gt3.ivx.su as a new replica server for config.toml synchronization. Adjust instructions for preparing B servers and initial synchronization to reflect the addition of the new server.
Denozordec2026-03-24 00:01:20 +07:00
dee46f1c37
Refactor health and summary message handling in main.go to utilize HTML formatting for improved readability. Introduce new functions for building health and summary messages in Russian, enhancing user experience and localization.
Denozordec2026-03-22 12:20:43 +07:00
fdaa849494
Refactor user handling in main.go to implement pagination for user lists. Introduce new functions for building user list messages and handling callback queries for page navigation. Enhance message formatting with HTML support for improved user experience.
Denozordec2026-03-22 12:17:00 +07:00
f288667d82
Translate menu options in main.go to Russian for improved localization and user experience.
Denozordec2026-03-22 12:13:31 +07:00
00ec6eb4f4
Enhance bot functionality in main.go by adding support for callback queries and user creation flow. Introduce new types for callback queries and inline keyboard markup, and refactor message handling to accommodate these features. Update allowed updates in getUpdates method to include callback queries.
Denozordec2026-03-22 12:09:07 +07:00
a310d7e6d4
Add telemtClient to bot struct and implement makeDirectTransport function for enhanced HTTP client configuration in main.go.
Denozordec2026-03-21 12:11:36 +07:00
0018b5d8c6
Update Dockerfile to copy both go.mod and go.sum, and combine go mod download and build commands into a single RUN statement for improved efficiency.
Denozordec2026-03-20 18:59:32 +07:00
cd9389e9fd
Implement SOCKS5 and HTTP proxy support in main.go, enhancing outgoing request handling. Update README.md to document new proxy environment variables. Update go.mod to include golang.org/x/net dependency.
Denozordec2026-03-20 18:54:10 +07:00
a68146e028
Add deduplication of strings in link rewriting process in main.go to ensure unique links are returned, enhancing link handling efficiency.
Denozordec2026-03-15 21:33:05 +07:00
02db3a2c91
Refactor user link resolution in main.go to include a new function for rewriting links with a specified host, improving link handling and ensuring consistent server parameters in tg://proxy URLs.
Denozordec2026-03-15 21:22:09 +07:00
f1bcc205cc
Add installation instructions for rsync on B servers in SYNC_SETUP.md to ensure proper synchronization setup.
Denozordec2026-03-11 14:53:39 +07:00
1e18b2cbd3
Update SYNC_SETUP.md to include gt2.ivx.su as an additional replica for config.toml synchronization, enhancing the setup instructions for multiple read-only replicas.
Denozordec2026-03-11 14:47:38 +07:00
f7e8e58262
Update user link handling in main.go to ensure consistent fallback messages and improve error handling for missing links.
Denozordec2026-03-09 19:09:31 +07:00
d8ddc53640
Add configuration options for link generation in .env.example, docker-compose.yml, and main.go; update README.md with new environment variable descriptions.
Denozordec2026-03-09 17:57:34 +07:00
5b5d99f7b1
Enhance user creation response in main.go to fetch and display user links if not provided by API, with a fallback message for missing links.
Denozordec2026-03-09 17:43:05 +07:00
9c3879181b
Refactor formatUserLinks function in main.go to improve link formatting and update link titles for consistency
Denozordec2026-03-09 17:11:32 +07:00
0c93077030
Add user creation functionality and update commands in main.go and README.md
Denozordec2026-03-09 16:44:49 +07:00
43bb8e4f4c
Update README.md to enhance local setup instructions and add Docker Registry usage examples
Denozordec2026-03-09 16:17:01 +07:00
eb07c8c78f
Update cache configuration in docker-publish workflow to use latest tag and inline caching
Denozordec2026-03-09 16:12:18 +07:00
4b54cc4544
Refactor tag generation in docker-publish workflow for improved readability
Denozordec2026-03-09 16:10:07 +07:00
29239ffe04
Update docker-publish workflow to trigger on all branches and tags
Denozordec2026-03-09 16:09:06 +07:00