Commit Graph
3988 Commits
Author SHA1 Message Date
77-QiQi f2f10ea7bc Update ddns.go 2026-09-13 20:55:03 +08:00
77-QiQi b18e085a2c Merge branch 'nezhahq:master' into master 2026-09-13 20:53:20 +08:00
naiba 06d387779d fix(tsdb): survive low disk space 2026-09-13 01:15:18 +00:00
github-actions[bot] 1155c17573 update contributors[no ci] 2026-09-12 22:59:36 +08:00
NikoCat233 d19952a834 feat(auth): allow JWT IP changes by configuration (#1236)
* feat(auth): allow JWT IP changes by configuration

* fix(auth): make JWT IP change setting concurrency-safe

* test(auth): move JWT IP change setting tests out of MCP test file
2026-09-12 22:59:17 +08:00
naiba 46d83d6d68 style(ddns): apply gofmt 2026-09-12 13:29:44 +00:00
naiba 8cb86e3853 chore(frontend-templates): update frontend versions 2026-09-12 11:11:22 +00:00
github-actions[bot] 5d5830fef3 update contributors[no ci] 2026-09-12 18:56:54 +08:00
Ryrenz f366677744 feat: surface GPU memory in host state (#1235)
- Add State_GPU message to the proto with utilization and memory fields
- Add HostState.GPUs with conversion in both PB() and PB2State()
- Keep the existing gpu field populated so older agents keep working

Regenerated with protoc-gen-go v1.34.2 / protoc v5.29.3 to match the
existing files; nezha_grpc.pb.go is untouched since the service is
unchanged.

Closes #1217
2026-09-12 18:56:35 +08:00
77-QiQi c684388153 Improve: Delete the corresponding DNS record if the IPv4/IPv6 address is empty. 2026-09-08 12:07:23 +08:00
naiba eb48a178f8 ci: use latest compatible Go patch 2026-09-02 13:45:05 +00:00
naiba f2e8d03667 ci: pin Go 1.26.6 2026-09-02 13:35:11 +00:00
naiba d6d5b9804d chore(frontend-templates): update frontend versions 2026-09-02 13:30:46 +00:00
naiba 19daf4ad3c fix(alert): prevent persisted rule crash loops 2026-09-02 13:30:46 +00:00
naiba 8f1147c800 chore(deps): update direct dependencies 2026-09-02 13:30:46 +00:00
naiba fffbe68650 docs: add AxisNow sponsor 2026-09-01 08:16:45 +00:00
naiba b523961cee docs: add sponsors to README 2026-08-31 07:05:06 +00:00
github-actions[bot] 1405ba76e5 update contributors[no ci] 2026-08-17 11:55:03 +08:00
77-QiQi 28d731265c improve: skip empty addresses during DDNS updates (#1231) 2026-08-17 11:54:39 +08:00
naiba e88650281b ci(release): support registries without attestations 2026-08-15 05:37:12 +00:00
naiba a4f8eaf0ff chore(frontend-templates): update frontend versions 2026-08-15 05:20:28 +00:00
naiba 38824dbc11 fix(security): restrict service monitors to probe tasks 2026-08-15 05:00:28 +00:00
Weblate (bot)andace-consultoria 42d9e4c8c3 Translated using Weblate (Portuguese (Brazil)) (#1228)
Currently translated at 95.0% (57 of 60 strings)


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

Co-authored-by: ace-consultoria <erec.novais@aceconsultoria.org>
2026-08-15 09:34:18 +08:00
naiba c3c165c146 fix(terminal): bound websocket input frames 2026-08-12 02:27:12 +00:00
naiba 71d43c6a6e chore(frontend-templates): update template versions 2026-08-11 14:23:41 +00:00
naiba d1fcde8e9e fix(security): block IPv6 transition ranges for webhooks 2026-08-11 14:23:14 +00:00
github-actions[bot] 27e0a89aa8 update contributors[no ci] 2026-08-11 22:07:37 +08:00
Chraandnaiba c6082abc25 fix: 修复空周期流量规则列表导致流量历史清理失效 (#1226)
* fix: prevent unbounded transfer history growth

* fix: preserve transfer history on alert load errors

* test: close transfer cleanup database

---------

Co-authored-by: naiba <hi@nai.ba>
2026-08-11 22:07:17 +08:00
github-actions[bot] 511a3e8bf5 update contributors[no ci] 2026-08-08 16:54:27 +08:00
naiba 99e19c551a chore(i18n): reconnect Hosted Weblate history 2026-08-08 08:53:18 +00:00
ace-consultoria 45af3d80a3 Added translation using Weblate (Portuguese (Brazil)) 2026-08-08 08:53:18 +00:00
Hosted WeblateandA b2c09443b3 Added translation using Weblate (Romanian)
Co-authored-by: A <cdparanoia@users.noreply.hosted.weblate.org>
2026-08-08 08:53:18 +00:00
github-actions[bot] 5eda3e8c5d update contributors[no ci] 2026-08-07 15:58:55 +08:00
Mubelotix 71e2cbcfea Fixes broken Star History chart
This new provider revives the OG service that's being killed by Github
2026-08-07 15:58:29 +08:00
ace-consultoria 7b8b05b464 Added translation using Weblate (Portuguese (Brazil)) 2026-08-06 15:29:57 +02:00
github-actions[bot] 775b8bedac update contributors[no ci] 2026-08-04 18:42:13 +08:00
Kris 6f7ce9fdec Add Trendshift badge to README (#1224) 2026-08-04 18:41:51 +08:00
naiba eba91d2883 chore: update frontend 2026-08-03 20:17:37 +08:00
naiba a9d14a0dfa chore(frontend-templates): add Nezha-Pixel template 2026-08-01 20:21:57 +08:00
naiba f9e7cfa54b chore(frontend): update bundled template versions 2026-08-01 20:21:57 +08:00
naiba 4776dc9ec6 chore(deps): update direct Go dependencies 2026-08-01 20:21:56 +08:00
naiba 6c5317ba93 fix(security): correct stream quota advisory reference 2026-08-01 20:21:56 +08:00
github-actions[bot] ae87e73f98 update contributors[no ci] 2026-08-01 15:45:40 +08:00
9ec6164f58 fix(security): harden server and service deletion lifecycle (#1220)
* test: TDD regression tests for GHSA-jx78-55p5-rwv5 stream quota enforcement

* Apply remaining changes

* fix: update action SHA allowlist and test assertions to match dependabot bump

* fix: close GHSA-jx78-55p5-rwv5 incomplete fix of GHSA-qjpp-gffx-2wm9

Finding 1 (Moderate): nil-guard reporterServer in delayCheck and notifyCheck.
ServerShared has its own lock independent of serviceResponseDataStoreLock, so
m := ServerShared.GetList() taken inside the worker can return a nil entry for
the reporter if the server was concurrently deleted. Previously this caused an
unrecovered SIGSEGV in the worker goroutine (and in the gRPC layer with no
recovery interceptor), taking down the whole instance.

Finding 2 (Low): nil-guard ss.services[id] in ServiceSentinel.Delete().
A caller-supplied id that is absent from the registry caused
ss.services[id].CronJobID to panic, aborting the Delete loop and leaving every
subsequent valid id as a zombie service (DB row deleted, in-memory entry kept,
cron probe still running).

Regression tests added for both findings following the existing
servicesentinel_lifecycle_test.go patterns.

* Apply remaining changes

* chore: replace commit hashes with version tags in test.yml

* fix(server): serialize authoritative lifecycle changes

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* fix(service): bind reports to reporter lifecycle

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* fix(rpc): reject results from stale task streams

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* fix(agentcompat): allow version-tagged actions

* fix(agentcompat): allow literal checkout refs

* refactor(agentcompat): remove SHA resolver policy

* test(agentcompat): remove resolver SHA fixtures

* test(agentcompat): remove mutable ref fixtures

* test(agentcompat): use tagged actions in secure fixtures

* test(agentcompat): update credential fixtures for tags

* test(agentcompat): update reusable action fixtures

* test(agentcompat): update artifact redaction fixtures

* test(agentcompat): finish artifact fixture tag migration

* test(agentcompat): update workflow validation fixtures

* test(agentcompat): update dependency workflow fixture

* ci(agentcompat): stop pinning cross-repository revisions

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: naiba <hi@nai.ba>
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-08-01 15:45:20 +08:00
dependabot[bot] bb941e4d73 chore(deps): bump the github-actions group with 2 updates
Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-go](https://github.com/actions/setup-go).


Updates `actions/checkout` from 7.0.0 to 7.0.1
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v7...v7.0.1)

Updates `actions/setup-go` from 6 to 7
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/setup-go
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-22 06:56:52 +08:00
github-actions[bot] 9f080a9db5 update contributors[no ci] 2026-07-21 21:12:59 +08:00
naibaandnaiba/CloudCode 5d7e8b58af chore(frontend): update bundled template versions
Co-authored-by: naiba/CloudCode <hi+cloudcode@nai.ba>
2026-07-21 13:11:43 +00:00
naibaandnaiba/CloudCode c893aa5786 fix(service): serialize reports with service lifecycle
Co-authored-by: naiba/CloudCode <hi+cloudcode@nai.ba>
2026-07-21 13:11:05 +00:00
naibaandnaiba/CloudCode 77c298fa80 chore(deps): bump libdns-tencentcloud
Co-authored-by: naiba/CloudCode <hi+cloudcode@nai.ba>
2026-07-21 02:42:47 +00:00
naibaandnaiba/CloudCode 479fcac11c test(agentcompat): wire FD diagnostics into stress
Co-authored-by: naiba/CloudCode <hi+cloudcode@nai.ba>
2026-07-20 22:11:21 +00:00