Commit Graph
75 Commits
Author SHA1 Message Date
naiba 8b9afbf39c feat: 绑定 oauth2 2024-12-28 23:50:59 +08:00
naiba bbf0f96b8d feat: update language handling and frontend template versions 2024-12-15 17:07:53 +08:00
naiba d0b5549cdb feat: enhance template configuration and update README for translation status 2024-12-10 22:27:06 +08:00
Moraxyc 67190459f8 Refactor: Load UserTemplates from embedded yaml file (#575)
* Refactor: Load UserTemplates from embedded yaml file

* feat: add version field to UserTemplates

* refactor: use shell script to fetch frontends

* chore: add *-dist to .gitignore

* refactor: rename to FrontendTemplates

BREAKING CHANGE: This commit changes the `user_templates` filed
in the communication json between backend and the admin-frontend.

Keep user config.yml `user_template` filed.
2024-12-10 21:57:20 +08:00
naiba dd964f3b26 feat: multi user template 2024-12-06 23:19:28 +08:00
Moraxyc 5a706b05c7 feat: add listen_host (#550) 2024-12-05 17:01:21 +08:00
UUBulb dba9226c7c fix config default value (#538)
* fix config & state fields

* revert state
2024-12-02 21:10:40 +08:00
naiba 53dd09fdad chore: dir perm 2024-11-28 20:15:12 +08:00
naiba a7e4fe0909 rename repo 2024-11-28 19:38:54 +08:00
UUBulb 70ded7760d fix: ensure the configuration path exists (#19) 2024-11-25 20:18:30 +08:00
UUBulb a1fca78dab apply upstream changes (#18)
* apply upstream changes

* update translations, fix i18n script

* remove installation scripts and related files
2024-11-24 01:07:14 +08:00
naiba f5776c7464 feat: grpc / web get real ip 2024-11-22 00:19:36 +08:00
UUBulb 5c1599c88c fix struct tags (#7) 2024-11-16 20:57:03 +08:00
uubulb 48512087b1 set c.Language to zh_CN if not specified 2024-11-01 14:36:14 +08:00
uubulb d56224a118 feat: add i18n support 2024-11-01 05:07:04 +08:00
UUBulb 70b914d535 add setting api (#461) 2024-10-27 13:10:07 +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 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 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
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 75a75758df feat: 管理后台自定义代码 2024-08-14 00:24:17 +08:00
Tao Chen 3364ab9892 添加OIDC支持 (#387)
* add general OIDC

* use "github.com/coreos/go-oidc/v3/oidc" to simplify oidc config

* fix: check if https by X-Forwarded-Proto

* recovery config.yaml
2024-07-13 12:51:59 +08:00
UUBulb 8c909dfb7b chore: fix some typos (#370) 2024-06-16 18:04:27 +08:00
Leon 3a9e8e6181 Add support for sensor temperature in host state (#359)
* feat: Add support for sensor temperature in host state

* chore: Update file permissions for saving config data
2024-06-01 19:11:48 +08:00
Akkia c92e4999bc 支持cloudflare access OIDC认证 (#354) 2024-05-03 08:47:53 +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 fcb98c50f9 后台关闭切换主题功能 2024-02-27 21:05:39 +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
xykt 356076e449 对历史延迟图表进行了相关修复/美化工作 (#321)
* Update network.html

修复以下问题:
- 延迟默认最高300ms,超过后默认抹平
- 曲线上有很多ping值为0的无效散点,导致毛刺很多,干扰效果
- 图标的y轴比例失调,上方大片留白,大大降低了有效显示区域
- 默认只显示最近不到半小时左右的延迟表现,想看全天需要拖动,影响效果
- 曲线不显示极大极小值,不够直观

* Update config.go

修复了以下问题:
- 延迟默认最高300ms,超过后默认抹平
- 曲线上有很多ping值为0的无效散点,导致毛刺很多,干扰效果
- 图标的y轴比例失调,上方大片留白,大大降低了有效显示区域
- 默认只显示最近不到半小时左右的延迟表现,想看全天需要拖动,影响效果
- 曲线不显示极大极小值,不够直观
2024-02-19 13:52:43 +08:00
Ko no dioandLvGJ 7ab36d4e11 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
unclezsandnaiba 0f8bfc21ad 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 d41b21cabc dash: v0.14.12 new theme AngelKanade 2023-04-09 00:28:21 +08:00
rootmelo92118 aca55751c3 Update config.go 2023-02-03 13:12:14 +08:00
naiba 360d30681e 🐛 fix service stats 2022-10-12 23:06:25 +08:00
ysicing bfe8b7e741 feat(oauth2): add gitea oauth2 support
add gitea oauth2 support

Signed-off-by: ysicing <i@ysicing.me>
2022-10-12 19:34:15 +08:00
naiba c8f6c5172e ⬆️ upgrade dependencies 2022-09-14 22:26:14 +08:00
naiba 0f99a30c4c custon dashboard template [no ci] 2022-06-03 09:45:11 +08:00
naiba d58eb460b2 dashboard v0.13.20 Login with Gitlab、Jihulab 2022-05-26 20:00:20 +08:00
naiba 9633662708 🚀 dashboard v0.13.16 自定义外部主题 2022-05-19 09:46:11 +08:00
naiba 8aedc2b6bc ♻️ refactor settings page [skip ci] 2022-04-30 23:02:40 +08:00
naiba 53b6b9fcea 🌐 localization [skip ci] 2022-04-27 23:51:45 +08:00
Akkia f64c7b6301 fix: 修复修改通知方式所在组后 不会移除其原有map映射关系的问题 2022-04-15 23:23:51 +08:00
Akkia a7261b1510 WIP: 补全各模块的通知分组设置 2022-04-15 03:13:53 +08:00
Akkia 2ebcc13ab8 WIP: 通知方式分组 支持将不同的报警|监控|计划任务的通知 发送到指定的通知分组 2022-04-14 21:06:42 +08:00