Commit Graph

1386 Commits

Author SHA1 Message Date
80c519a66f feat(telegram): Enhance add user to show Normal-SUB link and QR
Modifies the Telegram bot's 'Add User' functionality.
After adding a user, the bot now attempts to retrieve and display
the Normal-SUB subscription link and its QR code if available.
If Normal-SUB is not found, it falls back to showing the direct
Hysteria2 IPv4 URI and QR code. The direct URI is also provided as a
fallback if Normal-SUB is shown. 
Usernames are quoted in CLI calls
for robustness. Improved input validation for username, traffic,
and expiration days.
2025-05-14 00:34:23 +03:30
4090b8cb03 Merge pull request #150 from ReturnFI/dependabot/pip/aiohappyeyeballs-2.6.1
chore(deps): Bump aiohappyeyeballs from 2.4.4 to 2.6.1
2025-05-13 23:55:17 +03:30
315a9bc6c0 chore(deps): Bump aiohappyeyeballs from 2.4.4 to 2.6.1
Bumps [aiohappyeyeballs](https://github.com/aio-libs/aiohappyeyeballs) from 2.4.4 to 2.6.1.
- [Release notes](https://github.com/aio-libs/aiohappyeyeballs/releases)
- [Changelog](https://github.com/aio-libs/aiohappyeyeballs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aio-libs/aiohappyeyeballs/compare/v2.4.4...v2.6.1)

---
updated-dependencies:
- dependency-name: aiohappyeyeballs
  dependency-version: 2.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-13 20:24:22 +00:00
32e7168e4f Merge pull request #152 from ReturnFI/dependabot/pip/qrcode-8.2
chore(deps): Bump qrcode from 8.0 to 8.2
2025-05-13 23:54:04 +03:30
43d413a3ed Merge pull request #151 from ReturnFI/dependabot/pip/propcache-0.3.1
chore(deps): Bump propcache from 0.2.1 to 0.3.1
2025-05-13 23:53:53 +03:30
56c36dabaa Merge pull request #149 from ReturnFI/dependabot/pip/async-timeout-5.0.1
chore(deps): Bump async-timeout from 4.0.3 to 5.0.1
2025-05-13 23:53:28 +03:30
8f22c0b7eb Merge pull request #148 from ReturnFI/dependabot/pip/aiohttp-3.11.18
chore(deps): Bump aiohttp from 3.11.11 to 3.11.18
2025-05-13 23:53:17 +03:30
42885dd54e chore(deps): Bump qrcode from 8.0 to 8.2
Bumps [qrcode](https://github.com/lincolnloop/python-qrcode) from 8.0 to 8.2.
- [Changelog](https://github.com/lincolnloop/python-qrcode/blob/main/CHANGES.rst)
- [Commits](https://github.com/lincolnloop/python-qrcode/compare/v8.0...v8.2)

---
updated-dependencies:
- dependency-name: qrcode
  dependency-version: '8.2'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-13 20:20:48 +00:00
c8b0535639 chore(deps): Bump propcache from 0.2.1 to 0.3.1
Bumps [propcache](https://github.com/aio-libs/propcache) from 0.2.1 to 0.3.1.
- [Release notes](https://github.com/aio-libs/propcache/releases)
- [Changelog](https://github.com/aio-libs/propcache/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/propcache/compare/v0.2.1...v0.3.1)

---
updated-dependencies:
- dependency-name: propcache
  dependency-version: 0.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-13 20:20:46 +00:00
bd0841e990 chore(deps): Bump async-timeout from 4.0.3 to 5.0.1
Bumps [async-timeout](https://github.com/aio-libs/async-timeout) from 4.0.3 to 5.0.1.
- [Release notes](https://github.com/aio-libs/async-timeout/releases)
- [Changelog](https://github.com/aio-libs/async-timeout/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/async-timeout/compare/v4.0.3...v5.0.1)

---
updated-dependencies:
- dependency-name: async-timeout
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-13 20:20:39 +00:00
1aea99dd16 chore(deps): Bump aiohttp from 3.11.11 to 3.11.18
---
updated-dependencies:
- dependency-name: aiohttp
  dependency-version: 3.11.18
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-13 20:20:37 +00:00
ac5bfd694c Merge pull request #147 from ReturnFI/beta
Refactor QR code generation to use Python
2025-05-13 23:49:38 +03:30
baaf29fcb0 chore(deps): Bump fastapi from 0.115.6 to 0.115.12 2025-05-13 23:46:13 +03:30
12133ac294 Merge pull request #143 from ReturnFI/dependabot/pip/yarl-1.20.0
chore(deps): Bump yarl from 1.18.3 to 1.20.0
2025-05-13 23:30:29 +03:30
cd75b0175b Merge pull request #142 from ReturnFI/dependabot/pip/charset-normalizer-3.4.2
chore(deps): Bump charset-normalizer from 3.4.1 to 3.4.2
2025-05-13 23:30:07 +03:30
525baee6c9 chore(deps): Bump yarl from 1.18.3 to 1.20.0
Bumps [yarl](https://github.com/aio-libs/yarl) from 1.18.3 to 1.20.0.
- [Release notes](https://github.com/aio-libs/yarl/releases)
- [Changelog](https://github.com/aio-libs/yarl/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/yarl/compare/v1.18.3...v1.20.0)

---
updated-dependencies:
- dependency-name: yarl
  dependency-version: 1.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-13 20:00:05 +00:00
275cbb2793 Merge pull request #145 from ReturnFI/dependabot/pip/urllib3-2.4.0
chore(deps): Bump urllib3 from 2.3.0 to 2.4.0
2025-05-13 23:29:01 +03:30
f95ce70696 Merge pull request #146 from ReturnFI/dependabot/pip/starlette-0.46.2
chore(deps): Bump starlette from 0.41.3 to 0.46.2
2025-05-13 23:28:38 +03:30
4a05f82d1c Remove Reviewers 2025-05-13 23:27:33 +03:30
c394238328 Merge pull request #144 from ReturnFI/dependabot/pip/fastapi-0.115.12
chore(deps): Bump fastapi from 0.115.6 to 0.115.12
2025-05-13 23:25:13 +03:30
5dba5952fe chore(deps): Bump starlette from 0.41.3 to 0.46.2
Bumps [starlette](https://github.com/encode/starlette) from 0.41.3 to 0.46.2.
- [Release notes](https://github.com/encode/starlette/releases)
- [Changelog](https://github.com/encode/starlette/blob/master/docs/release-notes.md)
- [Commits](https://github.com/encode/starlette/compare/0.41.3...0.46.2)

---
updated-dependencies:
- dependency-name: starlette
  dependency-version: 0.46.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-13 19:52:00 +00:00
35a545a134 chore(deps): Bump urllib3 from 2.3.0 to 2.4.0
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.3.0...2.4.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-13 19:51:57 +00:00
e766afcf48 chore(deps): Bump fastapi from 0.115.6 to 0.115.12
Bumps [fastapi](https://github.com/fastapi/fastapi) from 0.115.6 to 0.115.12.
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](https://github.com/fastapi/fastapi/compare/0.115.6...0.115.12)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-version: 0.115.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-13 19:51:53 +00:00
972c1d69ca chore(deps): Bump charset-normalizer from 3.4.1 to 3.4.2
Bumps [charset-normalizer](https://github.com/jawah/charset_normalizer) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/jawah/charset_normalizer/releases)
- [Changelog](https://github.com/jawah/charset_normalizer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jawah/charset_normalizer/compare/3.4.1...3.4.2)

---
updated-dependencies:
- dependency-name: charset-normalizer
  dependency-version: 3.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-13 19:51:37 +00:00
185b0a1f4b feat: Add Dependabot configuration 2025-05-13 23:20:45 +03:30
c10fff5f92 Merge pull request #140 from ReturnFI/dependabot/pip/jinja2-3.1.6
Build(deps): Bump jinja2 from 3.1.5 to 3.1.6
2025-05-13 21:56:40 +03:30
3aff647306 Merge pull request #141 from ReturnFI/dependabot/pip/h11-0.16.0
Build(deps): Bump h11 from 0.14.0 to 0.16.0
2025-05-13 21:56:31 +03:30
40109a100c Build(deps): Bump h11 from 0.14.0 to 0.16.0
Bumps [h11](https://github.com/python-hyper/h11) from 0.14.0 to 0.16.0.
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0)

---
updated-dependencies:
- dependency-name: h11
  dependency-version: 0.16.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-13 18:24:45 +00:00
79cce248bb Build(deps): Bump jinja2 from 3.1.5 to 3.1.6
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.5...3.1.6)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-version: 3.1.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-13 18:24:44 +00:00
7605527d72 Remove qrencode 2025-05-10 23:31:54 +03:30
d852c21a9d Refactor QR code generation to use Python 2025-05-10 23:29:05 +03:30
a710d076fd 📦 v1.9.2 Release 🚀 – Smarter CLI, Stronger Setup, Better UX 2025-05-10 14:47:14 +03:30
cd377fcb3f Merge pull request #137 from ReturnFI/beta
Features & Refactors
2025-05-10 14:45:33 +03:30
e69836312f Update Changelog 2025-05-10 14:42:58 +03:30
9b2528235d Update Change log 2025-05-10 14:42:18 +03:30
e28ade4867 Clone Main 2025-05-10 14:39:09 +03:30
1b3b96bf16 Update upgrade script with improved cronjob management 2025-05-10 14:20:54 +03:30
dc49f5d74f feat: Merge traffic collection and user kicking 2025-05-10 14:06:55 +03:30
e581a92b60 Refactored cli_api.run_cmd 2025-05-09 01:22:03 +03:30
9d58ce49db Revert CLI Change 2025-05-09 01:04:05 +03:30
5b04b47e60 feat(frontend): Enhance user management UI and error handling in users.html
-   Added default values for "Traffic Limit" and "Expiration Days" in the "Add User" modal.
2025-05-09 00:12:42 +03:30
69e9605414 feat(api): Implement user existence checks in add user API endpoint 2025-05-09 00:11:10 +03:30
049e3f7601 refactor(cli): Improve script error propagation and handling 2025-05-09 00:07:17 +03:30
4f47edc3ba fix: replace old kick.sh cron job with new kick.py 2025-05-08 20:53:27 +03:30
f656ec7e4e execute permissions for kick.py 2025-05-08 20:28:39 +03:30
f3d3e16a0d Clone Beta 2025-05-08 20:26:41 +03:30
a5dac82255 Refactor: Implement kick users in Python 2025-05-08 20:25:49 +03:30
a25f55bc67 typo 2025-05-06 19:38:38 +03:30
0a05c0897c Enhance setup script with robust error handling and improved UX
- Add comprehensive error handling with detailed failure reporting
- Implement color-coded terminal output for better readability
- Replace emoji with terminal-compatible UTF-8 symbols
- Redirect verbose output to /dev/null for cleaner installation experience
- Organize code into logical functions with proper error checking
- Add interactive prompts for existing installations
- Improve OS version detection and dependency management
- Include proper exit codes and status reporting throughout
- Add short pause before menu launch for better UX flow
2025-05-06 19:34:32 +03:30
5364b29fb2 Update OS 2025-05-06 19:06:34 +03:30