Commit Graph

1483 Commits

Author SHA1 Message Date
卖女孩的小火柴
9c25540e15
重定向v0安装脚本 (#509) 2024-12-01 16:38:53 +08:00
会飞的猫
a9d521cada
fix: use v0 install script (#503) 2024-12-01 08:30:00 +08:00
naiba
60bfb4cb65 fix: config persistence 2024-11-14 20:21:02 +08:00
github-actions[bot]
9e730cc2cb update contributors[no ci] 2024-11-13 15:18:13 +00:00
naiba
08d9d14161 fix: remove debug code 2024-11-13 23:17:52 +08:00
Chotow
9b6d8ad0f2
feat(config): reading from env variables (#474)
* chore(config): remove agent config

* feat(config): support env variables

* refactor(config): ordinal priority
2024-11-13 23:12:48 +08:00
github-actions[bot]
bd0d355bd6 update contributors[no ci] 2024-11-13 15:03:51 +00:00
006lp
40ae067f99
为Hotaru和DayNight主题添加南极洲地区图片 (#473)
* 为Hotaru主题上传南极洲地区图片

发现Hotaru主题不能显示南极洲服务器的图片,
![我的服务器状态](https://pan.006lp.top:5245/d/temp/nezha-AQ/%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE%202024-11-09%20165621.png?sign=XIRYPIJ5Q_QXmD588OC2Hszy1TS9XyQ3Xw3mOf49X8w=:0)
于是索性自己做了一张图片。
[原图](https://pan.006lp.top:5245/temp/nezha-AQ/aq.svg)已存档于我的网盘,由于是640*480分辨率,与主题文件夹下其他图片70*47不同,于是我通过PS先扩展成710*480分辨率再通过二次立方重新采样成70*47分辨率。

* 为daynight主题添加南极洲地区图片

由原图640*480扩展成700*480,再经过二次立方重新采样成35*24分辨率
2024-11-13 23:03:28 +08:00
github-actions[bot]
11c29d14ad update contributors[no ci] 2024-11-06 15:38:33 +00:00
Tao Chen
f4b7483807
Add API to register server (#472) 2024-11-06 23:38:15 +08:00
UUBulb
3d6edd602c
ci: fix permission when packaging; move installer to another repository (#470)
* installer: fix permission & move to another repository

* update gitee url

* update resource

* ci: fix permission
2024-11-06 16:44:31 +08:00
UUBulb
2590815a6c
ci: fix arm64 path parsing (#468) 2024-11-05 22:54:02 +08:00
nap0o
c20dfdc7a3
improve: status-server主题日常优化 (#467)
* improve: status-server主题日常优化
1.首页vps套餐流量增加一种类型max(in,out)类型,感谢@hi2global
2.network页修复逻辑缺陷
3.一些其他小优化

演示地址 https://dev.nezha.pp.ua/

* 修正 NetTransfer 展示方式
2024-11-04 23:11:24 +08:00
nap0o
96c3fd433f
feat: status-server主题增加套餐信息展示 (#464)
* feat: status-server主题增加套餐信息展示
1. 首页通过在后台配置PublicNote字段,实现agent套餐信息展示
2. 一些其他小优化

* 1.未获取agent国家时,默认彩虹旗修改为联合国旗
2024-11-01 21:28:14 +08:00
github-actions[bot]
45b0f1edfc update contributors[no ci] 2024-10-30 16:15:58 +00:00
Moraxyc
61fdcd2a9e
fix(cli): display version before init app (#463) 2024-10-31 00:15:41 +08:00
UUBulb
a474b8484b
ddns: replace tencentcloud implemention (#462) 2024-10-29 21:39:45 +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
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
aa81fc02ab
fix: add custom theme key (#440) 2024-10-19 11:59:31 +08:00
UUBulb
f6531a52bd
ddns: remove ipv6 nameservers, support custom nameservers (#439) 2024-10-18 22:06:01 +08:00
UUBulb
c58c4f866a
do not check description file for theme-custom (#437)
* do not check description file for theme-custom

* deprecation note
2024-10-18 12:26:59 +08:00
UUBulb
fc9f1b6bcc
fix(ddns): handle second-level domain correctly (#438) 2024-10-18 12:26:43 +08:00
UUBulb
be7b6e9c5e
fix(ddns): add missing field WebhookRequestType (#436)
* fix(ddns): add missing field WebhookRequestType

* add missing placeholders
2024-10-17 23:35:28 +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
0b7f43b149
fix dashboard custom theme, expose HideForGuest for api (#434)
* fix: dashboard custom theme

* api: expose HideForGuest
2024-10-10 13:38:09 +08:00
UUBulb
55f5c89c1c
feat: description file for custom theme; use gjson (#433)
* feat: description file for custom theme; use gjson

* fix gosec

* remove outdated stuff
2024-10-10 00:08:16 +08:00
nap0o
937696c26d
improve: status-server主题日常优化 (#432)
* improve: status-server主题日常优化
1. 首页账单信息:价格设置成“-1”前台展示为”PAYG“,自动续期(autoRenewal)功能增加支持付费周期yr,mo;
2. 当未获取到国旗图标时,默认彩虹旗;
3. 当未获取到os(操作系统)信息时,默认linux
4. 一些其他优化

* 修改表达不准确的语言文件
2024-10-08 11:39:44 +08:00
github-actions[bot]
08aaea8244 update contributors[no ci] 2024-10-06 12:54:13 +00:00
UUBulb
b886f70e48
chore: l10n: improve translation (#431)
* l10n: improve translation

* refine

---------

Co-authored-by: naiba <hi@nai.ba>
2024-10-06 20:53:55 +08:00
zhucaidan
12c6b8a6f6
Update en-US.toml (#429)
* Update en-US.toml

Optimize translation

* refine

---------

Co-authored-by: naiba <hi@nai.ba>
2024-10-06 11:41:19 +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
nap0o
318da135b9
improve: status-server主题agent账单信息展示 (#425)
1. 支持价格和期限单独设置
2. 账单信息附加到group分组控制
3. 一些其他优化
2024-10-04 23:35:44 +08:00
github-actions[bot]
da74bf4749 update contributors[no ci] 2024-10-04 15:33:58 +00:00
lyj
3250283ef9
fix: 允许更新默认分组 (#426)
* fix: 允许更新默认分组

* improve: check null

---------

Co-authored-by: naiba <hi@nai.ba>
2024-10-04 23:33:40 +08:00
naiba
2b40040ec5 chore: ignore gosec errors 2024-10-02 10:10:06 +08:00
nap0o
60ada33ee9
feat: status-server主题增加agent账单信息展示 (#424)
1. 首页通过在后台配置PublicNote字段,实现agent账单信息展示
2. 优化顶部导航,增加当前位置标识
3. 优化network页移动端样式
4. 优化后台server页展示,隐藏掉一些不重要的信息
5. 一些其他小优化
使用说明:https://github.com/naiba/nezha/pull/424#issuecomment-2386837658
2024-10-02 10:05:53 +08:00
naiba
7940e010e0 Refactor file compression logic in release workflow 2024-09-30 20:49:51 +08:00
naiba
2df57e6249 🐛 修复展示对游客隐藏服务器 2024-09-28 01:19:02 +08:00
naiba
106d58575b 增加透传给前端的自定义字段方便前端扩展功能 2024-09-28 00:16:54 +08:00
UUBulb
bdf36276da
improve: use sync.Pool for buffer allocation (#423) 2024-09-27 18:50:19 +08:00
nap0o
f32f127dfc
improve: status-server主题network页 (#422) 2024-09-11 21:50:40 +08:00
nap0o
f78ba281fb
Default主题fixbug (#421)
* default主题fixbug
1.补上误删的网页title
2.修复network页纵坐标数值显示不全
3.修复network,多个legend导致的遮挡主图表问题

* fix

* fix

* fix

* fix

* fix

* fix
2024-09-07 14:44:30 +08:00
github-actions[bot]
7f9f9a9129 update contributors[no ci] 2024-09-06 15:31:54 +00:00
nap0o
b701efd9b5
server-status和default主题:feat & improve & fix (#420)
* feat & improve & fix
1. 增加WebAppManifest文件,实现把哪吒监控网页伪装成app放在移动端桌面
2. vps地图分布图增加数据异步加载loading效果
3. 修复echart图表纵坐标轴因数值过大显示不全bug

* 刷新CDN缓存

* fix footer

* 4.提升service页echarts图表相关体验
5.用设置基准1vh的方法解决footer页脚位置在移动端各种浏览器显示不一致的问题
6.修复section标签的使用位置

* 刷新CDN缓存
2024-09-06 23:31:38 +08:00
UUBulb
511f43784e
fix dashboard install script (#419) 2024-09-03 08:54:07 +08:00
UUBulb
3f6112a919
fix: docker image (#418) 2024-09-02 23:19:43 +08:00