Commit Graph

335 Commits

Author SHA1 Message Date
UUBulb
61e755d2b9
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
c4011934f7 fix agent connect 2024-10-22 23:44:50 +08:00
UUBulb
15585ef12e
ddns: add listProviders api (#446)
* ddns: add listProviders api

* fix swagger
2024-10-22 00:04:17 +08:00
UUBulb
5efd995992
dev: add ddns list api (#445) 2024-10-21 16:22:30 +08:00
naiba
aa20c97312 refactor agent auth & server api 2024-10-20 23:23:04 +08:00
naiba
606e10ca0a refactor: remove pages, combine grpc http port 2024-10-20 11:47:45 +08:00
naiba
843ecdaa33 init jwt 2024-10-20 00:09:16 +08:00
UUBulb
f6531a52bd
ddns: remove ipv6 nameservers, support custom nameservers (#439) 2024-10-18 22:06:01 +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
UUBulb
bdf36276da
improve: use sync.Pool for buffer allocation (#423) 2024-09-27 18:50:19 +08:00
UUBulb
eb6dd2855e
refactor: ddns (#414)
* refactor ddns

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

* 1MB buffer
2024-08-20 22:25:29 +08:00
naiba
6abc0fce51 fix: 流量统计异常 2024-08-12 10:06:55 +08:00
naiba
b1d77a1d27 improve: 优化可能造成流量统计异常的情况 2024-08-11 10:35:19 +08:00
naiba
fe234f4f38 improve: Handle case when host is not found in LookupGeoIP 2024-07-28 15:11:50 +08:00
naiba
df9487b5fc fix: CountryCode 被冲掉 2024-07-28 14:39: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
UUBulb
9d96c58ff9
api: add DisPlayIndex info (#397) 2024-07-28 13:43:28 +08:00
naiba
67b788a969 内置HTTP内网穿透 2024-07-14 19:41:50 +08:00
naiba
ce624a0ca6 fix: loop delay 2024-07-14 13:04:35 +08:00
naiba
1c91fcffac feat: 去除 webTerminal 的 websocket 依赖 2024-07-14 12:47:36 +08:00
UUBulb
4df60c6955
ddns: improve performance (#385) 2024-07-07 10:19:58 +08:00
UUBulb
0501e120f6
fix: timestamp conversion (#383) 2024-07-04 14:32:19 +08:00
UUBulb
aa9eb533ad
Temporary fix for DDNSDomain leaks (#374) 2024-06-23 15:59:03 +08:00
UUBulb
feb4659cab
Hide DDNS domain info for guests (#371) 2024-06-22 22:52:29 +08:00
UUBulb
8475674eb7
chore: fix a typo (#355) 2024-05-05 20:12:54 +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
lvyaoting
d38f611d66
chore: fix some comments (#345) 2024-04-08 22:30:39 +08:00
UUBulb
f647a5f8e6
ddns: Add ability to update IPv4 or IPv6 only (#342)
* ddns: Add ability to resolve IPv4 or IPv6 only

* Fix bugs

* cdn cache
2024-03-30 11:00:55 +08:00
Darc Z
cf9d9bd248
Fix DDNS bugs and split up ddns module (#326)
* fix: webhook retry logic
fix: adjust record type based on ipv4 ipv6
refract: move ddns providers to a new module

* refract: move ddns module to pkg/
2024-02-26 11:49:28 +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
Ko no dio
e8b8e59bd7
feat: add network monitor hitory (#316) · 三网ping
* feat: add network monitor hitory

* fix: revert proto change and add indexStore

* fix: update monitor delete unuse monitor history

* fix: delete unuse monitor type

---------

Co-authored-by: LvGJ <lvgj1998@gmail.com>
2024-02-12 14:16:04 +08:00
naiba
dc94259a56 v0.15.13 generate release 2023-11-28 23:01:37 +08:00
naiba
7a774319dd 🚸 Add location flag to server status page 2023-11-26 22:29:55 +08:00
naiba
1c9bec6ef3 💄 improve server-status home table
responsiveness
2023-11-22 12:45:54 +08:00
naiba
56c66402a2 🚸 [v0.15.11] improve translation and serverstats theme 2023-11-21 09:59:14 +08:00
naiba
64a660ddd2 💄 improve server-status theme 2023-11-09 17:31:26 +08:00
naiba
ce2e5439f7 💄 优化 server status 主题 2023-11-08 13:17:42 +08:00
naiba
b6c2410b41 💄 优化 server-status 主题服务页流量统计 2023-11-07 22:56:59 +08:00
naiba
1c00cc8e3b 💄 优化 server-status 主题 2023-11-07 22:15:13 +08:00
unclezs
470fa69ad9
feat: add server-status theme (#295)
*  feat: add server-status theme

* add `ServerStatus` theme to README

---------

Co-authored-by: naiba <hi@nai.ba>
2023-11-07 13:46:28 +08:00
naiba
641b79bd4c fix theme-angel-kanade byte format 2023-10-22 20:12:38 +08:00
naiba
014abbc41e fix gosec 2023-10-21 18:13:38 +08:00
naiba
ce530705e7 fix theme angel kanade 2023-10-21 18:05:56 +08:00
dependabot[bot]
af3bc66c0c
Bump golang.org/x/net from 0.14.0 to 0.17.0 (#293)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 09:51:31 +08:00
naiba
93bcf833fd v0.15.2 消息模板新增 #DATETIME# 占位符 2023-09-02 00:06:40 +08:00
Akkia
dcbc89c310 不忽略首次请求就出错的情况 2023-06-19 05:13:05 +08:00
Akkia
966dfc0496 始终发送ip变更通知+优化ssl与延迟通知静音缓存规则 2023-06-19 05:02:20 +08:00