Commit Graph
214 Commits
Author SHA1 Message Date
naiba ca35040d0b feat: upgrade frontend 2025-03-22 22:44:25 +08:00
UUBulb ed533e52d9 fix packaging script (#1037) 2025-03-19 23:33:58 +08:00
UUBulb f34b263b69 improve transfer record logic (#1033)
* improve transfer record logic

* refactor

* modernize loops

* remove unused type conversions

* update dependencies

* script: keep .gitkeep files

* fix

* remove clear
2025-03-19 22:21:21 +08:00
UUBulb 178d847836 fix windows ci (#934)
* fix windows ci

* perm

* use custom writer

* remove patches

* fuck codeql
2025-01-01 00:58:57 +08:00
naiba fcb0ced018 improve: 404 status code 2024-12-31 23:58:44 +08:00
Moraxyc 67190459f8 Refactor: Load UserTemplates from embedded yaml file (#575)
* Refactor: Load UserTemplates from embedded yaml file

* feat: add version field to UserTemplates

* refactor: use shell script to fetch frontends

* chore: add *-dist to .gitignore

* refactor: rename to FrontendTemplates

BREAKING CHANGE: This commit changes the `user_templates` filed
in the communication json between backend and the admin-frontend.

Keep user config.yml `user_template` filed.
2024-12-10 21:57:20 +08:00
naiba 4861b3e013 feat: refactor grpc keepalive 2024-12-05 00:11:34 +08:00
卖女孩的小火柴andgithub-actions[bot] 95f49bdb0b Feature/v0 scripts (#512)
* update contributors[no ci]

* Add v0 release

* Add install.sh to keep the v0 panel functioning properly

* Modify sync.py

* Remove release-v0.yaml

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-01 21:52:38 +08:00
严浩 fbb96f2e27 fix: use exec to properly handle container signals (#501)
- Replace direct command execution with exec to make app PID 1
- Ensures proper signal propagation in container
- Follows container best practices for process management
2024-12-01 00:47:41 +08:00
naiba a3a7d70c8c fix: swago 2024-11-29 21:55:29 +08:00
UUBulb a1fca78dab apply upstream changes (#18)
* apply upstream changes

* update translations, fix i18n script

* remove installation scripts and related files
2024-11-24 01:07:14 +08:00
UUBulb 0775a1a388 swag: add --requiredByDefault option (#5) 2024-11-15 20:45:27 +08:00
uubulb 96bec45855 add zh_TW locale, rename ssl to tls 2024-11-01 14:32:55 +08:00
naiba c333f350c0 Merge branch 'master' into dev 2024-10-23 21:44:54 +08:00
UUBulb 1ada3f5b8b installer: fix download service scripts (#449) 2024-10-22 13:02:54 +08:00
UUBulb 1ad7dcffd2 installer: fix format (#448) 2024-10-22 10:25:31 +08:00
naiba 71891b2d61 refactor: login & refresh token 2024-10-20 14:05:43 +08:00
naiba eabe55a753 Merge branch 'master' into dev 2024-10-20 11:51:58 +08:00
UUBulb ab817e9ddd fix installer (#442)
* fix installer

* version
2024-10-20 00:33:28 +08:00
naiba 8849cb51e6 init jwt 2024-10-20 00:09:16 +08:00
naiba 37c87bbc07 🎉 init swaggo 2024-10-19 23:14:53 +08:00
UUBulb ca16505dee installer: fix some style issues (#441)
* installer: fix some style issues

* translate

* translate

* replace cf-ns
2024-10-19 22:03:00 +08:00
UUBulbandnap0o bf9c6d669a ddns: store configuation in database (#435)
* ddns: store configuation in database

Co-authored-by: nap0o <144927971+nap0o@users.noreply.github.com>

* feat: split domain with soa lookup

* switch to libdns interface

* ddns: add unit test

* ddns: skip TestSplitDomainSOA on ci

network is not steady

* fix error handling

* fix error handling

---------

Co-authored-by: nap0o <144927971+nap0o@users.noreply.github.com>
2024-10-17 21:03:03 +08:00
UUBulb 47f961f530 installer: fix docker-compose detection logic (#428) 2024-10-06 09:35:12 +08:00
UUBulb 5a31feb364 installer: fix docker-compose detection (#427) 2024-10-05 23:43:16 +08:00
UUBulb f80927b75e fix dashboard install script (#419) 2024-09-03 08:54:07 +08:00
UUBulb 5c3f68d34d installer: fix geo_check (#404) 2024-08-05 10:21:14 +08:00
UUBulbandnaiba 2eb8417b24 feat: use embed geoip database (#396)
* feat: use embed geoip database

* mention ipinfo

* only read once

* comments

comments

* chore: installer version

---------

Co-authored-by: naiba <hi@nai.ba>
2024-07-28 13:59:58 +08:00
MadDogOwner 72f7b9261c installer: improve region detection reliability using multiple APIs (#394) 2024-07-23 18:26:45 +08:00
UUBulb 208c51f5c8 installer: use multiple geoip api to determine location (#393) 2024-07-20 06:48:53 +08:00
Spetrum c8f61983c1 Switch IP checking service to ip-api.com (#391) 2024-07-17 21:21:04 +08:00
naiba 02e87d9b4d fix: dashboard standalon-alone install 2024-07-15 16:01:24 +08:00
naiba 34d467b69a feat: fetch version from api for dashboard standalone install 2024-07-14 22:52:53 +08:00
UUBulb 380568795a ci: sync release to gitee (#390) 2024-07-14 14:38:12 +08:00
naiba 2a35a6f0e5 feat: 去除 webTerminal 的 websocket 依赖 2024-07-14 12:47:36 +08:00
UUBulb b7a94a0474 installer: restore the China mirror of agent (#389) 2024-07-14 07:34:45 +08:00
UUBulb 209fb96a84 fix: EUID is a readonly variable on some shells (#379) 2024-06-25 23:00:30 +08:00
UUBulb 417f314f2f refactor: make the installer script POSIX compliant (#376) 2024-06-25 22:15:49 +08:00
UUBulb 22242e967e ci: using time/tzdata package to provide zoneinfo (#365) 2024-06-14 10:24:58 +08:00
Coming c7bdd3181c Update GPG key for libsepol (#360) 2024-05-31 22:05:05 +08:00
UUBulb 4ba374d80c Use agent's builtin support for services instead (#357) 2024-05-21 23:11:43 +08:00
eya46 fc2fdf0554 删除多余空格 (#358) 2024-05-19 22:34:57 +08:00
UUBulb 3e51bce224 Add DDNS Profiles, use publicsuffixlist domain parser (#350)
* Add DDNS Profiles, use publicsuffixlist domain parser

* Add Tencent Cloud DNS Provider

* Restore validate DDNS provider function

* chore: fmt & upgrade dependencies
2024-04-27 13:36:36 +08:00
naiba 54eebc3efd daocloud github 镜像已经被打废了 2024-04-18 21:42:04 +08:00
Nanjing Hopefun Network Technology Co. Ltd 23c9b47772 Update install.sh (#347)
修改自动安装超时时间-T 10为-T 60,10秒超时在wget那一步经常连接探针下载失败。
2024-04-13 11:14:46 +08:00
UUBulb f0b7f46b1d fix installer bugs & improve (#341)
* fix installer bugs && improve

* Update install_en.sh
2024-03-30 11:08:29 +08:00
naiba ee265741b2 kkgithub 已失效 2024-02-28 23:30:59 +08:00
Darc Z f9c0bb2240 Add DDNS support (#324)
* feat: add ddns updater framework

Note: no functionality implemented yet

* feat: add webhook ddns provider

* feat: update dashboard template

* fix: check nil and cron task string

* fix: webhook string formated with unexcepted param

* fix: webhook header split error

* feat: cloudflare ddns provider

* refract: move ddns update trigger into ReportSystemInfo

* lang: update other languages text

* fix: clear codes and logics

* fix: move update ddns to goroutine to avoid blocking

* fix: clear unused codes

* fix: update timestamp to prevent cache
2024-02-24 21:10:27 +08:00
1ridic f6536418cc 优化安装逻辑 (#325)
* Optimize install process

If `getenforce` is not exist, then do not execute
it. This fixes the `command not found` error on
Arch Linux systems without SELinux installed.

* bump installer version
2024-02-23 22:55:42 +08:00
d48be0c29f Arch 修复 nezha-agent 主目录遗留问题 (#323)
* Arch 修复 nezha-agent 主目录遗留问题

使用useradd -m创建的用户会产生主目录文件夹,使用userdel需要添加-r参数

* Update install_en.sh

* bump installer version
2024-02-21 20:19:34 +08:00