Commit Graph

1691 Commits

Author SHA1 Message Date
quanljh
cea4031da3
fix: return 404 when page not found (#927) 2024-12-30 20:43:37 +08:00
naiba
18020939da feat: 绑定 oauth2
Some checks failed
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Contributors / contributors (push) Has been cancelled
Sync / sync-to-jihulab (push) Has been cancelled
Run Tests / tests (macos) (push) Has been cancelled
Run Tests / tests (ubuntu) (push) Has been cancelled
Run Tests / tests (windows) (push) Has been cancelled
2024-12-28 23:50:59 +08:00
naiba
8554f3eba7 fix: 修复因采样不足导致的告警
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-28 00:29:58 +08:00
naiba
09b570aa3e improve: check performance 2024-12-28 00:07:07 +08:00
naiba
0ba6fde027 fix: rule check
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-27 00:07:44 +08:00
naiba
33115bb221 chore: fix index bug & upgrade frontend 2024-12-26 23:52:44 +08:00
github-actions[bot]
0c0143170d update contributors[no ci] 2024-12-26 23:38:57 +08:00
UUBulb
85818c2630
bug fixes (#918)
* bug fixes

* fix for backward compatibility

* fix init

* cleanup

* possible fix

* optimize permission check

* Revert "possible fix"

This reverts commit 003f1bbb2a.
2024-12-26 23:38:40 +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
87e01a532e feat: upgrade frontend
Some checks failed
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Contributors / contributors (push) Has been cancelled
Sync / sync-to-jihulab (push) Has been cancelled
Run Tests / tests (macos) (push) Has been cancelled
Run Tests / tests (ubuntu) (push) Has been cancelled
Run Tests / tests (windows) (push) Has been cancelled
2024-12-25 21:02:54 +08:00
UUBulb
7d15838548
chore: simplify some steps (#912) 2024-12-25 20:24:13 +08:00
UUBulb
6cf0e7f1cf
issue template 必须填写配置 (#913) 2024-12-25 20:19:26 +08:00
naiba
5128bfff61 feat: show online user id
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-24 23:28:37 +08:00
UUBulb
d50605d668
feat: support id query for "list" apis (#908)
* feat: support id query for "list" apis

* gosec
2024-12-24 23:23:01 +08:00
naiba
672063f4de feat: block user manual & upgrade frontend
Some checks failed
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Contributors / contributors (push) Has been cancelled
Sync / sync-to-jihulab (push) Has been cancelled
Run Tests / tests (macos) (push) Has been cancelled
Run Tests / tests (ubuntu) (push) Has been cancelled
Run Tests / tests (windows) (push) Has been cancelled
2024-12-23 19:50:41 +08:00
naiba
4952151281 feat: upgrade frontend
Some checks failed
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
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
2024-12-23 00:40:38 +08:00
github-actions[bot]
a9768aaa0b update contributors[no ci] 2024-12-22 23:38:43 +08:00
naiba
b288d10f48 feat: upgrade frontend 2024-12-22 23:38:18 +08:00
naiba
7540e80f20 chore: api doc 2024-12-22 23:20:49 +08:00
仓鼠
3c6dc2c87e
fix: batch-block online-user request method (#903) 2024-12-22 23:18:08 +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
naiba
a550709c95 fix: install host 2024-12-22 16:25:00 +08:00
naiba
dc957a3b81 Merge branch 'master' of github.com:nezhahq/nezha 2024-12-22 16:17:19 +08:00
naiba
1395438dee fix: install host 2024-12-22 16:17:13 +08:00
github-actions[bot]
d05d0091c5 update contributors[no ci] 2024-12-22 15:52:07 +08:00
naiba
1a21abddcf fix: create user form 2024-12-22 15:51:37 +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
naiba
f10e048bec feat: enhance authorization check for settings access 2024-12-22 12:20:18 +08:00
naiba
4af7e83004 feat: list & block online users
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 01:08:07 +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
naiba
50ee62172f feat: upgrade frontend
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
2024-12-21 14:42:08 +08:00
naiba
f212144310 feat: add online user count
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-21 10:59:05 +08:00
naiba
3227e30b3e feat: upgrade frontend
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
2024-12-20 23:34:59 +08:00
naiba
75a7b6da79 feat: upgrade frontend 2024-12-20 22:53:40 +08:00
naiba
6fdecbd6bc shit tp-link 2024-12-20 22:44:14 +08:00
github-actions[bot]
404374f82f update contributors[no ci] 2024-12-20 22:37:54 +08:00
UUBulb
0b73577c36
chore: update admin frontend screenshot (#893) 2024-12-20 22:37:28 +08:00
github-actions[bot]
964525f2f2 update contributors[no ci] 2024-12-19 23:22:15 +08:00
naiba
8b959b213f refactor: fallback agent ip to connecting ip 2024-12-19 23:21:31 +08:00
naiba
1827963a8b fix: rule snapshot 2024-12-19 23:21:15 +08:00
naiba
d835aeb486 feat: upgrade frontend
Some checks failed
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Contributors / contributors (push) Has been cancelled
Sync / sync-to-jihulab (push) Has been cancelled
Run Tests / tests (macos) (push) Has been cancelled
Run Tests / tests (ubuntu) (push) Has been cancelled
Run Tests / tests (windows) (push) Has been cancelled
2024-12-17 22:20:02 +08:00
naiba
c952ed0e38 feat: upgrade frontend 2024-12-17 22:05:41 +08:00
github-actions[bot]
35d137d4ea update contributors[no ci] 2024-12-17 21:46:43 +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
naiba
a9c2abe71e feat: upgrade frontend
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
2024-12-16 23:44:51 +08:00
naiba
65d7e4cb98 feat: upgrade frontend 2024-12-16 21:29:23 +08:00
naiba
c1fdd00cf0 feat: upgrade frontend 2024-12-16 21:10:10 +08:00
naiba
1acb4d0330 feat: upgrade frontend
Some checks failed
Contributors / contributors (push) Waiting to run
Sync / sync-to-jihulab (push) Waiting to run
Run Tests / tests (macos) (push) Has been cancelled
Run Tests / tests (ubuntu) (push) Has been cancelled
Run Tests / tests (windows) (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
2024-12-16 00:05:55 +08:00
naiba
eab319e9c1 feat: upgrade frontend 2024-12-15 20:29:51 +08:00