Commit Graph

1486 Commits

Author SHA1 Message Date
naiba
c4011934f7 fix agent connect 2024-10-22 23:44:50 +08:00
naiba
f99edfd7bd feat: terminal api 2024-10-22 22:01:01 +08:00
naiba
387da11f1b feat: create user, read users, batch delete users 2024-10-22 21:19:30 +08:00
naiba
73e3e4f3a1 fix login / refresh 2024-10-22 21:07:41 +08:00
UUBulb
65aa18300d
use plain error type for expected behaviors (#447) 2024-10-22 10:25:45 +08:00
UUBulb
15585ef12e
ddns: add listProviders api (#446)
* ddns: add listProviders api

* fix swagger
2024-10-22 00:04:17 +08:00
naiba
7e6864fa8c fix ci 2024-10-21 23:14:31 +08:00
naiba
ae4fd35a01 fix ci 2024-10-21 23:04:38 +08:00
naiba
9c08ebe956 feat: server group api 2024-10-21 23:00:51 +08:00
UUBulb
5efd995992
dev: add ddns list api (#445) 2024-10-21 16:22:30 +08:00
UUBulb
aa0d570b2b
dev: add ddns create, edit and batch delete api (#444) 2024-10-21 14:30:50 +08:00
UUBulb
cf5408751e
add a helper function (#443) 2024-10-21 12:11:02 +08:00
naiba
aa20c97312 refactor agent auth & server api 2024-10-20 23:23:04 +08:00
naiba
d3f907b5c3 fix ci 2024-10-20 14:09:29 +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
naiba
7fb015b07d refactor graceful shutdown 2024-10-20 11:50:02 +08:00
naiba
606e10ca0a refactor: remove pages, combine grpc http port 2024-10-20 11:47:45 +08:00
UUBulb
d5744d0c73
fix installer (#442)
* fix installer

* version
2024-10-20 00:33:28 +08:00
naiba
4fc0aad7a0 model redesign 2024-10-20 00:32:55 +08:00
naiba
843ecdaa33 init jwt 2024-10-20 00:09:16 +08:00
naiba
6cd243ea40 fix ci 2024-10-19 23:17:14 +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
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