Commit Graph

211 Commits

Author SHA1 Message Date
UUBulb
3c72d6ce64
fix windows ci (#934)
* fix windows ci

* perm

* use custom writer

* remove patches

* fuck codeql
2025-01-01 00:58:57 +08:00
naiba
828588eef1 improve: 404 status code 2024-12-31 23:58:44 +08:00
Moraxyc
8f8a30c02c
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
be51c5a1e6 feat: refactor grpc keepalive 2024-12-05 00:11:34 +08:00
卖女孩的小火柴
dae8f7f24e
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
严浩
b994a52422
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
b78c92b2df fix: swago 2024-11-29 21:55:29 +08:00
UUBulb
626a7d6059
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
3a09ec94e8
swag: add --requiredByDefault option (#5) 2024-11-15 20:45:27 +08:00
uubulb
ca997cc994 add zh_TW locale, rename ssl to tls 2024-11-01 14:32:55 +08:00
naiba
e792215f6e Merge branch 'master' into dev 2024-10-23 21:44:54 +08:00
UUBulb
67b003a27d
installer: fix download service scripts (#449) 2024-10-22 13:02:54 +08:00
UUBulb
99aeda7939
installer: fix format (#448) 2024-10-22 10:25:31 +08:00
naiba
53f1abb7c8 refactor: login & refresh token 2024-10-20 14:05:43 +08:00
naiba
41391989e7 Merge branch 'master' into dev 2024-10-20 11:51:58 +08:00
UUBulb
d5744d0c73
fix installer (#442)
* fix installer

* version
2024-10-20 00:33:28 +08:00
naiba
843ecdaa33 init jwt 2024-10-20 00:09:16 +08:00
naiba
9e6bbd3386 🎉 init swaggo 2024-10-19 23:14:53 +08:00
UUBulb
e7837d8eaf
installer: fix some style issues (#441)
* installer: fix some style issues

* translate

* translate

* replace cf-ns
2024-10-19 22:03:00 +08:00
UUBulb
a503f0cf40
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
ebcc8a6efb
installer: fix docker-compose detection logic (#428) 2024-10-06 09:35:12 +08:00
UUBulb
c4d8b63d32
installer: fix docker-compose detection (#427) 2024-10-05 23:43:16 +08:00
UUBulb
511f43784e
fix dashboard install script (#419) 2024-09-03 08:54:07 +08:00
UUBulb
f289b76f47
installer: fix geo_check (#404) 2024-08-05 10:21:14 +08:00
UUBulb
26d81f6d7a
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
ed96432b79
installer: improve region detection reliability using multiple APIs (#394) 2024-07-23 18:26:45 +08:00
UUBulb
6005004681
installer: use multiple geoip api to determine location (#393) 2024-07-20 06:48:53 +08:00
Spetrum
d8f4236404
Switch IP checking service to ip-api.com (#391) 2024-07-17 21:21:04 +08:00
naiba
34fedd91d2
fix: dashboard standalon-alone install 2024-07-15 16:01:24 +08:00
naiba
f675b884f5 feat: fetch version from api for dashboard standalone install 2024-07-14 22:52:53 +08:00
UUBulb
05d69d5c07
ci: sync release to gitee (#390) 2024-07-14 14:38:12 +08:00
naiba
1c91fcffac feat: 去除 webTerminal 的 websocket 依赖 2024-07-14 12:47:36 +08:00
UUBulb
417f972659
installer: restore the China mirror of agent (#389) 2024-07-14 07:34:45 +08:00
UUBulb
61e16f96c5
fix: EUID is a readonly variable on some shells (#379) 2024-06-25 23:00:30 +08:00
UUBulb
8805dffe85
refactor: make the installer script POSIX compliant (#376) 2024-06-25 22:15:49 +08:00
UUBulb
a9da084711
ci: using time/tzdata package to provide zoneinfo (#365) 2024-06-14 10:24:58 +08:00
Coming
0331db2c12
Update GPG key for libsepol (#360) 2024-05-31 22:05:05 +08:00
UUBulb
eaba7abd35
Use agent's builtin support for services instead (#357) 2024-05-21 23:11:43 +08:00
eya46
d5e7b22fc6
删除多余空格 (#358) 2024-05-19 22:34:57 +08:00
UUBulb
5c7652f047
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
890616f52a daocloud github 镜像已经被打废了 2024-04-18 21:42:04 +08:00
Nanjing Hopefun Network Technology Co. Ltd
7fcd4398ea
Update install.sh (#347)
修改自动安装超时时间-T 10为-T 60,10秒超时在wget那一步经常连接探针下载失败。
2024-04-13 11:14:46 +08:00
UUBulb
0373d03fb2
fix installer bugs & improve (#341)
* fix installer bugs && improve

* Update install_en.sh
2024-03-30 11:08:29 +08:00
naiba
77de1b44bc kkgithub 已失效 2024-02-28 23:30:59 +08:00
Darc Z
3b5ee464a7
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
0835f13f28
优化安装逻辑 (#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
604fc7d4c0
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
naiba
c9bcba6f28 ♻️ 更换可用镜像地址 2024-02-09 20:59:22 +08:00
黑歌
8539fb6559
replace daocloud with fgit (#315)
* Update add custom mirror

* Update add custom mirror

* bump install version
2024-01-18 13:34:58 +08:00
Crazy
bb789f7652
add supervise daemon for alpine (#313)
alpine在自动更新agent以后不会自动重启agent,导致批量掉线,添加守护进程以后问题解决
2023-12-26 10:26:11 +08:00