Commit Graph

242 Commits

Author SHA1 Message Date
naiba
1827963a8b fix: rule snapshot 2024-12-19 23:21:15 +08:00
naiba
180773a4f3 feat: update language handling and frontend template versions 2024-12-15 17:07:53 +08:00
UUBulb
a24f452b65
fix: custom_nameservers should be dns_servers (#581) 2024-12-13 22:25:20 +08:00
naiba
06738d5d16 feat: enhance template configuration and update README for translation status 2024-12-10 22:27:06 +08:00
Moraxyc
8f8a30c02c
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
5b5e006b97 feat: 优化 GeoIP 更新逻辑 2024-12-07 11:06:42 +08:00
UUBulb
64dde0215a
UserTemplate GitHub -> Repository (#564) 2024-12-06 23:38:20 +08:00
naiba
9b0697491d feat: multi user template 2024-12-06 23:19:28 +08:00
UUBulb
040c8df02e
fix service api (#556)
* fix service api

* update ServiceResponseItem

* fix: ddns lock
2024-12-05 21:00:02 +08:00
Moraxyc
3fb49693d9
feat: add listen_host (#550) 2024-12-05 17:01:21 +08:00
naiba
be51c5a1e6 feat: refactor grpc keepalive 2024-12-05 00:11:34 +08:00
naiba
68e3bb00e4 Revert "feat: grpc keepalive"
This reverts commit b484fe53f0.
2024-12-04 22:46:02 +08:00
naiba
b484fe53f0 feat: grpc keepalive 2024-12-04 21:08:28 +08:00
榆木
0648f61e9c
Update waf.go (#548)
WAF查询IP是否被封禁导致控制台大量报错,换一个查询方式。
2024-12-04 20:00:35 +08:00
UUBulb
872002d938
update ws & settings api (#547) 2024-12-04 20:00:18 +08:00
UUBulb
91a7c934e6
fix config default value (#538)
* fix config & state fields

* revert state
2024-12-02 21:10:40 +08:00
naiba
166f25508c fix: dashboard waf page 2024-11-30 21:33:18 +08:00
naiba
f62934440d feat: 支持修改用户名 2024-11-30 15:05:46 +08:00
naiba
1772de7c5e chore: dir perm 2024-11-28 20:15:12 +08:00
naiba
3cce7ebf01 rename repo 2024-11-28 19:38:54 +08:00
UUBulb
9d45bf6601
fix: server api schema (#23) 2024-11-28 17:06:54 +08:00
UUBulb
e90941f52b
send country code in ws, update profile api (#22)
* send country code in ws

* make ddns_profiles optional field

* update profile api
2024-11-26 21:30:56 +08:00
UUBulb
238ec25314
fix: ensure the configuration path exists (#19) 2024-11-25 20:18:30 +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
UUBulb
a590d3a56e
update setting api (#17) 2024-11-23 16:36:16 +08:00
UUBulb
885330e948
update profile api (#16)
* update profile api

* rename

* fix realip assertion

* add waf api
2024-11-23 16:22:22 +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
naiba
e7679a3fa6 refactor: ip data type 2024-11-23 00:58:15 +08:00
naiba
58cc8aa5df Merge branch 'dev' of github.com:naiba/nezha-v1 into dev 2024-11-22 23:57:48 +08:00
naiba
17b02640a9 feat: waf 🤡 2024-11-22 23:57:25 +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
naiba
d699d0ee87 feat: grpc / web get real ip 2024-11-22 00:19:36 +08:00
UUBulb
9905390ba6
add force update server api (#13) 2024-11-20 21:36:21 +08:00
UUBulb
f6ecd26607
fix alert rule api (#12) 2024-11-20 13:44:15 +08:00
UUBulb
a1bac6e525
remove id field in every form struct, fix cron & ddns db (#11) 2024-11-19 23:34:56 +08:00
UUBulb
3efbf9cce1
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
8eec79d54f fix service tags (#8) 2024-11-17 00:40:40 +08:00
UUBulb
288e1b75e9
fix struct tags (#7) 2024-11-16 20:57:03 +08:00
UUBulb
8640cbbf42
fix: add json tag for service response (#6) 2024-11-16 09:08:18 +08:00
uubulb
d7012e36bf set c.Language to zh_CN if not specified 2024-11-01 14:36:14 +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
naiba
45fcbd029f format: json marshal 2024-10-29 10:21:25 +08:00
naiba
1e3c6b4a66 fix: migration 2024-10-28 14:42:36 +08:00
UUBulb
ff0ff9a9ee
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
b4edb4cc95
add setting api (#461) 2024-10-27 13:10:07 +08:00
UUBulb
68d7e16773
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
ebc4fad9bc
add alert api (#458) 2024-10-26 08:16:57 +08:00
UUBulb
d086e98711
add fm api (#456) 2024-10-25 09:09:08 +08:00