Commit Graph

194 Commits

Author SHA1 Message Date
UUBulb
d5744d0c73
fix installer (#442)
* fix installer

* version
2024-10-20 00:33:28 +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
naiba
83efdc6258 replace statifile cdn with bytedance cdn 2023-12-11 21:53:56 +08:00
spiritlhl
53581d48fc
更新判断面板是否是通过docker安装的逻辑 (#311)
* 更新判断面板是否是通过docker安装的逻辑

* Updated logic for determining whether a panel is installed via docker or not
2023-12-08 21:16:36 +08:00
Applexad
1bcddf1944
installer: fix docker compose command determination (#307) 2023-12-06 22:42:22 +08:00
卖女孩的小火柴
d790ca04d6
Fix select_version (#306) 2023-12-06 21:35:24 +08:00
naiba
3059bf2d49 Update installer version to v0.15.2 2023-12-04 10:23:56 +08:00
Applexad
b3e38e8924
Exit after installing agent (#303)
If entered with install_agent argument, variable IS_DOCKER_NEZHA will not be set, thus leading select menu to appear, which could be annoying.
2023-11-30 13:16:39 +08:00
Applexad
1871c481e4
Fix various bugs in fresh installation (#302) 2023-11-30 10:49:06 +08:00
Applexad
52703f38cd
Add standalone installation method & OpenRC support for nezha-agent (#300)
* Add standalone installation method & OpenRC support for nezha-agent

* Add missing translations & more precise query

* bump installer version
2023-11-30 09:39:00 +08:00
卖女孩的小火柴
d0707b9b05
Fix: get.daocloud.io 503 (#301) 2023-11-30 09:31:39 +08:00
naiba
ad99a5d032 Export custom static folder 2023-11-29 17:13:45 +08:00
fscarmen
cb785e5031
[agent] Alpine 系统增加 SSL/TLS加密 (--tls) 支持。 (#297) 2023-11-13 16:10:09 +08:00
naiba
dc8943e782 update install script URL 2023-10-26 23:32:24 +08:00
naiba
a6fb3d494a
Update install.ps1 [no ci] 2023-05-11 09:39:38 +08:00
naiba
65afad89eb [agent] splitting the agent into separate repositories 2023-05-11 00:08:54 +08:00
naiba
7b99f84022 upgrade protoc && protoc-gen-go 2023-04-26 11:16:36 +08:00
spiritLHLS
7f7229dd19
Update install_en.sh 2023-03-06 15:49:18 +08:00
spiritLHLS
fff6627600
Update install_en.sh 2023-03-06 10:21:15 +08:00