naiba
39d398066d
fix(api): redact third-party credentials in ddns/notification list
...
GET /api/v1/ddns and /api/v1/notification returned full objects with
plaintext credentials (Cloudflare/TencentCloud secrets, webhook URLs
with embedded bot tokens, Authorization headers). Redact these fields
in the list responses.
Since the frontend edit form repopulates from the list endpoint, the
update handlers now treat an empty submitted credential as "no change"
and preserve the stored value, preventing accidental secret wipes.
Ref: GHSA-ww5p-j6cj-6mqq
2026-06-20 01:54:50 +00:00
UUBulb
c22446b20c
feat(notification): add option to convert metric units in request body ( #1156 )
...
* feat(notification): add option to convert metric units in request body
* ignore gosec
* rename fields
2026-01-10 17:29:10 +08:00
UUBulb
ea068d4db1
refactor: simplify server & service manipulation ( #993 )
...
* refactor: simplify server & service manipulation
* update
* fix
* update for nat, ddns & notification
* chore
* update cron
* update dependencies
* use of function iterators
* update default dns servers
2025-02-21 23:08:12 +08:00
UUBulb
7cd8387db8
fix: notifier groups cache not initialized ( #995 )
2025-02-17 20:14:38 +08:00
UUBulb
fa30df0320
feat: support id query for "list" apis ( #908 )
...
* feat: support id query for "list" apis
* gosec
2024-12-24 23:23:01 +08:00
UUBulb
dc0132c9aa
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
UUBulb
4ddad9ea00
fix service api ( #556 )
...
* fix service api
* update ServiceResponseItem
* fix: ddns lock
2024-12-05 21:00:02 +08:00
naiba
a7e4fe0909
rename repo
2024-11-28 19:38:54 +08:00
uubulb
96bec45855
add zh_TW locale, rename ssl to tls
2024-11-01 14:32:55 +08:00
uubulb
d56224a118
feat: add i18n support
2024-11-01 05:07:04 +08:00
UUBulb
8bfe70d519
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
d742b605a5
fix swaggo ( #454 )
2024-10-24 14:11:06 +08:00
UUBulb
8b24a30bee
fix list apis ( #453 )
2024-10-24 10:21:59 +08:00
UUBulb
28b606ef7b
implement notification group ( #450 )
...
* implement notification group
* some fixes
* fix sql
* add listNotification
* retrieve notification from map
* create notification_group_notification if non-exist
* NotificationIDToGroup -> NotificationIDToGroups
* clean
2024-10-23 21:55:12 +08:00