Commit Graph
180 Commits
Author SHA1 Message Date
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
naiba 7b4671fe83 ♻️ 更换可用镜像地址 2024-02-09 20:59:22 +08:00
黑歌 8e64524978 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 9c91bf0112 add supervise daemon for alpine (#313)
alpine在自动更新agent以后不会自动重启agent,导致批量掉线,添加守护进程以后问题解决
2023-12-26 10:26:11 +08:00
naiba 51360bf98c replace statifile cdn with bytedance cdn 2023-12-11 21:53:56 +08:00
spiritlhl 79aebb1f87 更新判断面板是否是通过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 a74024eda7 installer: fix docker compose command determination (#307) 2023-12-06 22:42:22 +08:00
卖女孩的小火柴 82d768e4ee Fix select_version (#306) 2023-12-06 21:35:24 +08:00
naiba 0d24b232d8 Update installer version to v0.15.2 2023-12-04 10:23:56 +08:00
Applexad 10ede65390 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 d1e4b76328 Fix various bugs in fresh installation (#302) 2023-11-30 10:49:06 +08:00
Applexad 6b8f549bf4 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
卖女孩的小火柴 52511b71c4 Fix: get.daocloud.io 503 (#301) 2023-11-30 09:31:39 +08:00
naiba 040270e3ab Export custom static folder 2023-11-29 17:13:45 +08:00
fscarmen 11ef263350 [agent] Alpine 系统增加 SSL/TLS加密 (--tls) 支持。 (#297) 2023-11-13 16:10:09 +08:00
naiba 669c2a64ee update install script URL 2023-10-26 23:32:24 +08:00
naiba d7ffffcbf1 Update install.ps1 [no ci] 2023-05-11 09:39:38 +08:00
naiba ad32426ab0 [agent] splitting the agent into separate repositories 2023-05-11 00:08:54 +08:00
naiba 8aba0516b3 upgrade protoc && protoc-gen-go 2023-04-26 11:16:36 +08:00
spiritLHLS c8ab55f5e9 Update install_en.sh 2023-03-06 15:49:18 +08:00
spiritLHLS 21b5a4e009 Update install_en.sh 2023-03-06 10:21:15 +08:00
spiritLHLS a419df90d7 Update install_en.sh 2023-03-05 22:09:24 +08:00
spiritLHLS 3ba2b953a1 Update install_en.sh 2023-03-05 22:08:41 +08:00
Akkia 89dcacf528 update: 使用jsdelivr替代jihulab 2023-02-04 20:36:29 +08:00
naiba cbe21877ff ️ 支持未 root 的 Android 设备 close #270 2023-01-25 16:14:08 +08:00
iridiumR 8901590b8f 修复小错误
似乎并不需要在这里再次安装 git
2023-01-22 09:49:40 +08:00
iridiumR fe46cbd113 fix arch installation error for en script 2023-01-22 09:02:58 +08:00
iridiumR 0ef7de141d 修正 Arch 的安装错误
Arch 的官方源中不含有`yay`,安装脚本亦没有检查`base-devel`包和`git`包是否存在,正确方法是克隆仓库后使用`makepkg`安装`libselinux`
2023-01-21 21:22:05 +08:00
naiba 15f4816e1f 🔒️ more secure token generation 2022-12-16 23:34:14 +08:00
naiba 5a291cbc18 Merge pull request #264 from dysf888/patch-3 [no ci]
Fix fatal permission issue
2022-12-13 13:45:05 +08:00
黑歌-共穷国际大中华区CFO ce1c0835b1 Fix fatal permission issue
Fix non-arch system execution installation arch system related software errors
Fix the problem that the created user has login permissions, etc.
2022-12-12 22:50:36 +08:00
黑歌-共穷国际大中华区CFO d4e54521b9 Fix fatal permission issue
Fix non-arch system execution installation arch system related software errors
Fix the problem that the created user has login permissions, etc.
2022-12-12 22:36:18 +08:00
naiba 4a5b7ebfcd Revert "Merge pull request #262 from dysf888/patch-2 [no ci]"
This reverts commit c58af25414, reversing
changes made to 405f852c7d.
2022-12-11 14:57:23 +08:00
naiba 0604b2799d Revert "Merge pull request #263 from dysf888/patch-1 [no ci]"
This reverts commit 405f852c7d, reversing
changes made to 2f7fd589bf.
2022-12-11 14:57:09 +08:00
naiba c6cf33e073 Merge pull request #262 from dysf888/patch-2 [no ci]
更好的支持archlinux
2022-12-11 12:11:11 +08:00