eaef80b80e
feat: Add function to cli_api to get current NormalSub subpath
2025-05-17 23:54:32 +03:30
d86087cf74
feat: Add API endpoint to edit NormalSub subpath
...
This commit introduces a new PUT endpoint `/api/v1/config/normalsub/edit_subpath`
to allow modification of the NormalSub service's subpath.
- Added `EditSubPathInputBody` Pydantic model for request validation.
- Implemented the API endpoint in `normalsub.py` router, calling the
corresponding `cli_api.edit_normalsub_subpath` function.
- Includes error handling for validation and general exceptions.
2025-05-17 23:27:17 +03:30
edcc4e32e2
feat: Add CLI command to edit NormalSub subpath
...
- Added `edit_normalsub_subpath` function to `cli_api.py` to
interact with the `normalsub.sh edit_subpath` command, including
input validation for the new subpath.
- Updated the `normal-sub` command in `cli.py`:
- Added 'edit_subpath' as a valid action.
- Introduced a '--subpath' option for specifying the new path.
- Modified the command logic to call the new API function when
the 'edit_subpath' action is selected.
2025-05-17 23:24:43 +03:30
6c5486eafc
feat: Add function to edit Normalsub subpath
...
This commit introduces a new 'edit_subpath' command to the
normalsub.sh script. This allows users to change the SUBPATH
variable in the .env file and automatically restarts the
hysteria-normal-sub service to apply the changes.
2025-05-17 23:20:04 +03:30
ad8faae3aa
Update README.md
2025-05-17 13:14:10 +03:30
af198c5b71
Update README-fa.md
2025-05-16 22:36:52 +03:30
a6e80d2c28
Update README.md
2025-05-16 22:36:21 +03:30
c66ea43c7d
fix: correct systemd service target for hysteria-ip-limit
2025-05-16 22:09:59 +03:30
d4f86dd30a
📦 v1.9.3 Release 🚀 – Reliable Scheduling & Smarter Scripts
2025-05-16 13:33:20 +03:30
dfe6bc0675
Update changelog
2025-05-16 13:28:00 +03:30
475776b16a
Merge pull request #169 from ReturnFI/beta
...
Reliable Scheduling & Smarter Scripts
2025-05-16 13:25:07 +03:30
ceeea306fc
Update changelog
2025-05-16 13:22:56 +03:30
1084b89183
Clone main
2025-05-16 13:08:34 +03:30
c42bf83b34
Update changelog
2025-05-16 13:07:15 +03:30
8de1bedb34
Remove wait
2025-05-16 12:28:23 +03:30
94842aa2dc
wait process
2025-05-16 12:26:04 +03:30
3680117f24
revert changes
2025-05-16 12:19:20 +03:30
b759f98620
Refactor hysteria scheduler setup: consolidate functions and add automatic execution
2025-05-16 12:10:00 +03:30
8c43375519
Fix(upgrade): Improve scheduler setup
2025-05-16 11:54:45 +03:30
9926021ed4
fix scheduler
2025-05-16 11:43:33 +03:30
fe7fa3cd2d
Add service verification to confirm successful installation
2025-05-16 11:42:22 +03:30
2e35c62c48
Fix scheduler service installation to ensure stable upgrade process
2025-05-16 11:36:47 +03:30
1a257fe027
less sleep better life :)
2025-05-16 00:44:44 +03:30
37aafa8c61
refactor: enhance upgrade script with backup, color UI, service checks, and error handling
2025-05-16 00:42:02 +03:30
cfd29c458d
Add service status for scheduler
...
Add a default user
2025-05-15 23:50:09 +03:30
ec81500e85
typo
2025-05-15 23:40:41 +03:30
0f6b5442a6
Update requirements (schedule)
2025-05-15 23:31:13 +03:30
eeec0e4250
Clone Beta
2025-05-15 23:28:27 +03:30
1e94e08ffb
Improve uninstall script
2025-05-15 23:25:54 +03:30
61874a4acc
hysteria-scheduler service setup
...
- Create installation script to automate setup and migration from cron
- Update both install.sh and upgrade.sh to use the shared functions
2025-05-15 23:10:08 +03:30
08f90a3246
Implement robust scheduler for traffic monitoring and backups
...
- Replace cron jobs with a systemd service for better reliability
- Add file locking mechanism to prevent conflicts on users.json
- Schedule traffic status updates every minute with proper error handling
- Maintain 6-hour backup schedule with independent lock management
- Add comprehensive logging for easier troubleshooting
This change resolves issues where system updates or other programs
would cause conflicts with the traffic monitoring process accessing
the users.json file simultaneously.
2025-05-15 21:18:23 +03:30
70b16efedf
Update CODEOWNERS
2025-05-14 21:58:48 +03:30
68d16155b6
Merge pull request #168 from ReturnFI/beta
...
feat(telegram): Enhance add user to show Normal-SUB link and QR
2025-05-14 21:58:21 +03:30
0ac101c43b
Fix : Restart normal-sub service after change path
2025-05-14 21:57:00 +03:30
dcb41ebab1
Delete python-app.yml
2025-05-14 21:54:27 +03:30
4943ab2e7f
Create python-app.yml
2025-05-14 21:50:47 +03:30
a1ae44549b
useless
2025-05-14 21:47:51 +03:30
81ae08ae1d
Merge pull request #163 from ReturnFI/dependabot/pip/python-dotenv-1.1.0
...
chore(deps): Bump python-dotenv from 1.0.1 to 1.1.0
2025-05-14 21:47:00 +03:30
0b89355ff0
Merge pull request #164 from ReturnFI/dependabot/pip/anyio-4.9.0
...
chore(deps): Bump anyio from 4.8.0 to 4.9.0
2025-05-14 21:46:47 +03:30
2a9084a15e
Merge pull request #165 from ReturnFI/dependabot/pip/frozenlist-1.6.0
...
chore(deps): Bump frozenlist from 1.5.0 to 1.6.0
2025-05-14 21:46:32 +03:30
b0361056ec
Merge pull request #166 from ReturnFI/dependabot/pip/pillow-11.2.1
...
chore(deps): Bump pillow from 11.1.0 to 11.2.1
2025-05-14 21:46:19 +03:30
4d755d4fa1
Update dependabot.yml
2025-05-14 21:44:44 +03:30
f6383c5b18
Update dependabot_tests.yml
2025-05-14 21:43:07 +03:30
8ad93aea5d
Move to workflows
2025-05-14 21:42:32 +03:30
8acf09a80d
chore(deps): Bump pillow from 11.1.0 to 11.2.1
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 11.1.0 to 11.2.1.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/11.1.0...11.2.1 )
---
updated-dependencies:
- dependency-name: pillow
dependency-version: 11.2.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-14 18:08:58 +00:00
638f168de3
chore(deps): Bump frozenlist from 1.5.0 to 1.6.0
...
Bumps [frozenlist](https://github.com/aio-libs/frozenlist ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/aio-libs/frozenlist/releases )
- [Changelog](https://github.com/aio-libs/frozenlist/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/frozenlist/compare/v1.5.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: frozenlist
dependency-version: 1.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-14 18:08:52 +00:00
e58bc4f99a
chore(deps): Bump anyio from 4.8.0 to 4.9.0
...
Bumps [anyio](https://github.com/agronholm/anyio ) from 4.8.0 to 4.9.0.
- [Release notes](https://github.com/agronholm/anyio/releases )
- [Changelog](https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst )
- [Commits](https://github.com/agronholm/anyio/compare/4.8.0...4.9.0 )
---
updated-dependencies:
- dependency-name: anyio
dependency-version: 4.9.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-14 18:08:47 +00:00
d5d59750d2
chore(deps): Bump python-dotenv from 1.0.1 to 1.1.0
...
Bumps [python-dotenv](https://github.com/theskumar/python-dotenv ) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/theskumar/python-dotenv/releases )
- [Changelog](https://github.com/theskumar/python-dotenv/blob/main/CHANGELOG.md )
- [Commits](https://github.com/theskumar/python-dotenv/compare/v1.0.1...v1.1.0 )
---
updated-dependencies:
- dependency-name: python-dotenv
dependency-version: 1.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-14 18:08:44 +00:00
b3d2bff4d6
Update dependabot.yml
2025-05-14 21:37:51 +03:30
b46d956205
Create dependabot_tests.yml
2025-05-14 21:36:28 +03:30