Commit Graph

95 Commits

Author SHA1 Message Date
Weblate (bot)
64ac2db62b
Translated using Weblate (Chinese (Traditional Han script)) (#933)
Currently translated at 100.0% (57 of 57 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (57 of 57 strings)

Translated using Weblate (English (United States))

Currently translated at 100.0% (57 of 57 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" add-on in Weblate.



Translate-URL: https://hosted.weblate.org/projects/nezha/nezha-dashboard/
Translate-URL: https://hosted.weblate.org/projects/nezha/nezha-dashboard/en_US/
Translate-URL: https://hosted.weblate.org/projects/nezha/nezha-dashboard/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/nezha/nezha-dashboard/zh_Hant/
Translation: Nezha/Nezha Dashboard

Co-authored-by: UUBulb <uub@kuzu.uk>
2025-01-01 00:01:55 +08:00
UUBulb
553f8e58d4
fix: oauth2 redirect url not consistent (#930)
* fix: oauth2 redirect url not consistent

* only use one redirect uri

* feat: allow to disable password authentication

* generate translation template

* update error

* redirect

* query
2024-12-31 22:29:29 +08:00
Weblate (bot)
b876909a8a
Translated using Weblate (Spanish) (#916)
Currently translated at 100.0% (49 of 49 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (49 of 49 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (49 of 49 strings)

Translated using Weblate (German)

Currently translated at 100.0% (49 of 49 strings)




Translate-URL: https://hosted.weblate.org/projects/nezha/nezha-dashboard/de/
Translate-URL: https://hosted.weblate.org/projects/nezha/nezha-dashboard/es/
Translation: Nezha/Nezha Dashboard

Co-authored-by: Kris <krishoodbyair@gmail.com>
Co-authored-by: UUBulb <uub@kuzu.uk>
2024-12-26 22:32:36 +08:00
naiba
7c8ac7ae5a refactor: improve performance
Some checks are pending
CodeQL / Analyze (go) (push) Waiting to run
CodeQL / Analyze (javascript) (push) Waiting to run
Contributors / contributors (push) Waiting to run
Sync / sync-to-jihulab (push) Waiting to run
Run Tests / tests (macos) (push) Waiting to run
Run Tests / tests (ubuntu) (push) Waiting to run
Run Tests / tests (windows) (push) Waiting to run
2024-12-22 17:23:55 +08:00
Weblate (bot)
75101d860f
Translated using Weblate (Chinese (Traditional Han script)) (#901)
Currently translated at 100.0% (49 of 49 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (49 of 49 strings)

Translated using Weblate (English (United States))

Currently translated at 100.0% (49 of 49 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" add-on in Weblate.



Translate-URL: https://hosted.weblate.org/projects/nezha/nezha-dashboard/
Translate-URL: https://hosted.weblate.org/projects/nezha/nezha-dashboard/en_US/
Translate-URL: https://hosted.weblate.org/projects/nezha/nezha-dashboard/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/nezha/nezha-dashboard/zh_Hant/
Translation: Nezha/Nezha Dashboard

Co-authored-by: UUBulb <uub@kuzu.uk>
2024-12-22 13:03:27 +08:00
UUBulb
d4c13a7c90
chore: update translation template (#900) 2024-12-22 12:24:39 +08:00
UUBulb
653d0cf2e9
feat: user roles (#852)
* [WIP] feat: user roles

* update

* update

* admin handler

* update

* feat: user-specific connection secret

* simplify some logics

* cleanup

* update waf

* update user api error handling

* update waf api

* fix codeql

* update waf table

* fix several problems

* add pagination for waf api

* update permission checks

* switch to runtime check

* 1

* cover?

* some changes
2024-12-22 00:05:41 +08:00
Weblate (bot)
c32dd4cd75
Translations update from Hosted Weblate (#580)
* Translated using Weblate (Spanish)

Currently translated at 100.0% (45 of 45 strings)

Translated using Weblate (German)

Currently translated at 100.0% (45 of 45 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (45 of 45 strings)

Added translation using Weblate (Spanish)

Translated using Weblate (German)

Currently translated at 100.0% (45 of 45 strings)

Added translation using Weblate (German)

Co-authored-by: Barium <peter.kuehfuss+weblate@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Kris <krishoodbyair@gmail.com>
Co-authored-by: UUBulb <uub@kuzu.uk>
Translate-URL: https://hosted.weblate.org/projects/nezha/nezha-dashboard/de/
Translate-URL: https://hosted.weblate.org/projects/nezha/nezha-dashboard/es/
Translation: Nezha/Nezha Dashboard

* feat: add german support

---------

Co-authored-by: Barium <peter.kuehfuss+weblate@gmail.com>
Co-authored-by: Kris <krishoodbyair@gmail.com>
Co-authored-by: UUBulb <uub@kuzu.uk>
2024-12-17 21:46:25 +08:00
Weblate (bot)
858c88275a
Translated using Weblate (Chinese (Traditional Han script)) (#570)
Currently translated at 100.0% (45 of 45 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (45 of 45 strings)


Translate-URL: https://hosted.weblate.org/projects/nezha/nezha-dashboard/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/nezha/nezha-dashboard/zh_Hant/
Translation: Nezha/Nezha Dashboard

Co-authored-by: UUBulb <uub@kuzu.uk>
2024-12-08 22:27:00 +08:00
UUBulb
2bc3d38b83
chore: use cmp (#568) 2024-12-08 20:21:35 +08:00
naiba
3cce7ebf01 rename repo 2024-11-28 19:38:54 +08:00
UUBulb
f853cd9ec9
fix netip parsing (#20) 2024-11-25 21:20:08 +08:00
UUBulb
626a7d6059
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
22738b6244 improve: use stream reduce auth check time 2024-11-23 12:43:02 +08:00
naiba
cd42b1b9d5 fix: waf condition 2024-11-23 10:21:01 +08:00
UUBulb
867f840265
optimize sorting, fix a bug (#15) 2024-11-23 01:13:39 +08:00
UUBulb
fc98c0919f
report geoip separately, fix server creation & deletion bugs (#14)
* new geoip method

* report geoip separately, fix server creation & deletion bugs

* fix struct tag

* fix write name

* remove deleteion list

* remove rpc realip header

* Revert "remove rpc realip header"

This reverts commit 8a5f86cf2d7df87f28cfa2a3b3430f449dd6ed73.
2024-11-22 22:40:43 +08:00
uubulb
ca997cc994 add zh_TW locale, rename ssl to tls 2024-11-01 14:32:55 +08:00
uubulb
5114fc2854 feat: add i18n support 2024-11-01 05:07:04 +08:00
uubulb
6eb28d03b3 merge upstream, improve geoip pkg 2024-10-31 03:34:25 +08:00
naiba
c9ec634857 refactor nat 2024-10-23 20:37:29 +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
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
naiba
9e6bbd3386 🎉 init swaggo 2024-10-19 23:14:53 +08:00
UUBulb
f6531a52bd
ddns: remove ipv6 nameservers, support custom nameservers (#439) 2024-10-18 22:06:01 +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
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
eb6dd2855e
refactor: ddns (#414)
* refactor ddns

* update webhook
2024-08-24 11:11:06 +08:00
naiba
daab64d232 feat: 管理后台自定义代码 2024-08-14 00:24:17 +08:00
naiba
6abc0fce51 fix: 流量统计异常 2024-08-12 10:06:55 +08:00
naiba
b1d77a1d27 improve: 优化可能造成流量统计异常的情况 2024-08-11 10:35:19 +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
f95191c8af
fix: concurrent write to single WebSocket connection (#392) 2024-07-17 10:06:23 +08:00
naiba
67b788a969 内置HTTP内网穿透 2024-07-14 19:41:50 +08:00
naiba
1c91fcffac feat: 去除 webTerminal 的 websocket 依赖 2024-07-14 12:47:36 +08:00
Tao Chen
e1513203b4
添加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
4df60c6955
ddns: improve performance (#385) 2024-07-07 10:19:58 +08:00
Akkia
25e7f8a912
支持cloudflare access OIDC认证 (#354) 2024-05-03 08:47:53 +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
naiba
7d85c4c4a5 Update dependencies and fix test assertions 2024-03-23 13:00:47 +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
naiba
5e528c42c7 🐛 查看密码逻辑修复 2024-02-26 10:11:02 +08:00
nap0o
ab39782c78
fix bug (#328)
* fix bugs

1. 修复default主题mixin.js文件丢失
2. 修复主题默认值为后台设置值
3. default主题样式优化

* 修复前台切换 theme-custom 不生效
2024-02-26 09:31:16 +08:00
naiba
07e0382598 🚸 校验自定义主题、将 Theme 列表插入所有页面 2024-02-25 14:15:19 +08:00
naiba
8dd509aa08 🔒️ 增强 ping 历史 API 鉴权 2024-02-24 23:21:33 +08:00
naiba
99ac12c9fd 前端切换模板 2024-02-24 22:28:07 +08:00