Commit Graph
209 Commits
Author SHA1 Message Date
UUBulb 1c3fd9af1c add force update server api (#13) 2024-11-20 21:36:21 +08:00
UUBulb c74987490d fix alert rule api (#12) 2024-11-20 13:44:15 +08:00
UUBulb b80e251f6a remove id field in every form struct, fix cron & ddns db (#11) 2024-11-19 23:34:56 +08:00
UUBulb 50ec515b55 disable soft deletion in group api (#10)
* disable soft deletion in group api

* remove DeleteAt

* remove DeleteAt service
2024-11-19 21:41:21 +08:00
UUBulb ad1c9567ef fix service tags (#8) 2024-11-17 00:40:40 +08:00
UUBulb 5c1599c88c fix struct tags (#7) 2024-11-16 20:57:03 +08:00
UUBulb 580815853b fix: add json tag for service response (#6) 2024-11-16 09:08:18 +08:00
uubulb 48512087b1 set c.Language to zh_CN if not specified 2024-11-01 14:36:14 +08:00
uubulb 96bec45855 add zh_TW locale, rename ssl to tls 2024-11-01 14:32:55 +08:00
uubulb d56224a118 feat: add i18n support 2024-11-01 05:07:04 +08:00
naiba 21bba14a6a format: json marshal 2024-10-29 10:21:25 +08:00
naiba 5aafda95ff fix: migration 2024-10-28 14:42:36 +08:00
UUBulbandnaiba 029457831d add "network page" api (#460)
* add network api

* a minor change

* only show service name if unauthorized

* update

* 除了 load/初始化 避免在 singleton 进行查询等操作

---------

Co-authored-by: naiba <hi@nai.ba>
2024-10-27 14:43:37 +08:00
UUBulb 70b914d535 add setting api (#461) 2024-10-27 13:10:07 +08:00
UUBulb 8bfe70d519 add cron, nat api & refactor alert rule (#459)
* add cron api & refactor alert rule

* add nat api

* fix swagger

* remove unnecessary steps
2024-10-26 23:57:47 +08:00
UUBulb 785b4dce37 add alert api (#458) 2024-10-26 08:16:57 +08:00
UUBulb 800412a2c8 add fm api (#456) 2024-10-25 09:09:08 +08:00
naiba 868c242eb3 refactor: rename monitor -> service 2024-10-25 00:13:45 +08:00
UUBulb ce2b5ed549 update grpc-go & protobuf definition (#455) 2024-10-24 20:41:47 +08:00
naiba 69799c28d4 🚀 monitor api 2024-10-23 23:06:11 +08:00
UUBulb 28b606ef7b implement notification group (#450)
* implement notification group

* some fixes

* fix sql

* add listNotification

* retrieve notification from map

* create notification_group_notification if non-exist

* NotificationIDToGroup -> NotificationIDToGroups

* clean
2024-10-23 21:55:12 +08:00
naiba c5bacf3e84 fix agent connect 2024-10-22 23:44:50 +08:00
naiba 62a0b32577 feat: terminal api 2024-10-22 22:01:01 +08:00
naiba c706950ecc feat: create user, read users, batch delete users 2024-10-22 21:19:30 +08:00
UUBulb 05b716d80f ddns: add listProviders api (#446)
* ddns: add listProviders api

* fix swagger
2024-10-22 00:04:17 +08:00
naiba 821baba639 feat: server group api 2024-10-21 23:00:51 +08:00
UUBulb 4061b847b2 dev: add ddns create, edit and batch delete api (#444) 2024-10-21 14:30:50 +08:00
naiba 80740ddf39 refactor agent auth & server api 2024-10-20 23:23:04 +08:00
naiba 71891b2d61 refactor: login & refresh token 2024-10-20 14:05:43 +08:00
naiba 542f06551e refactor: remove pages, combine grpc http port 2024-10-20 11:47:45 +08:00
naiba 17a04757a0 model redesign 2024-10-20 00:32:55 +08:00
naiba 8849cb51e6 init jwt 2024-10-20 00:09:16 +08:00
naiba 37c87bbc07 🎉 init swaggo 2024-10-19 23:14:53 +08:00
UUBulb efc08bdab7 fix: add custom theme key (#440) 2024-10-19 11:59:31 +08:00
UUBulb 643c6dd3a1 ddns: remove ipv6 nameservers, support custom nameservers (#439) 2024-10-18 22:06:01 +08:00
UUBulb 2ee92ed956 fix(ddns): add missing field WebhookRequestType (#436)
* fix(ddns): add missing field WebhookRequestType

* add missing placeholders
2024-10-17 23:35:28 +08:00
UUBulbandnap0o bf9c6d669a 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 427e0e5449 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
naiba db51b4111b 增加透传给前端的自定义字段方便前端扩展功能 2024-09-28 00:16:54 +08:00
UUBulb 911bce71ff refactor: ddns (#414)
* refactor ddns

* update webhook
2024-08-24 11:11:06 +08:00
UUBulb f60d344635 feat: framed fm for webshell (#411)
* feat: framed fm for webshell

* 1MB buffer
2024-08-20 22:25:29 +08:00
naiba 75a75758df feat: 管理后台自定义代码 2024-08-14 00:24:17 +08:00
hiDandelion 6b3743f39f Add replacing fields to notification content in notification.go (#408) 2024-08-13 13:51:19 +08:00
naiba e0599e7a38 fix: 流量统计异常 2024-08-12 10:06:55 +08:00
naiba 4546524df0 improve: 优化可能造成流量统计异常的情况 2024-08-11 10:35:19 +08:00
UUBulb eb60a1afc8 ws: ignore all DDNS fields (#406) 2024-08-09 21:47:29 +08:00
naiba 322132c26b feat: 在面板重启时通知agent更新信息 2024-08-02 19:41:39 +08:00
UUBulb eed522f30e fix: concurrent write to single WebSocket connection (#392) 2024-07-17 10:06:23 +08:00
naiba 1e704d38ad 内置HTTP内网穿透 2024-07-14 19:41:50 +08:00
naiba 2a35a6f0e5 feat: 去除 webTerminal 的 websocket 依赖 2024-07-14 12:47:36 +08:00