Commit Graph
16 Commits
Author SHA1 Message Date
NanamiAdmin 5c748dafcd fix(user): allow re-login by removing existing session if user is already logged in
fix(main): conditionally initialize and connect to watchdog based on configuration

fix(instance): remove unused userID variable and commented debug logs in ListInstancesHandler
2026-05-10 21:54:49 +08:00
NanamiAdmin ef27e7e0a9 refactor(watchdog): remove tcp socket connection and add local unix sock connection 2026-05-10 14:38:52 +08:00
NanamiAdmin 898b67a24b fix: making sure all users can access all functions of all instances 2026-05-08 14:16:20 +08:00
NanamiAdmin a78e715293 refactor(instance): remove redundant instance ownership checks
The ownership validation is now handled at an earlier stage in the request processing, making these checks redundant. This change simplifies the code by removing duplicate validation logic.
2026-05-08 12:30:31 +08:00
NanamiAdmin 00319d790d chore: change service && filename rule to "superfrpc_instanceID" 2026-05-07 22:46:28 +08:00
NanamiAdmin 6e705ce2f3 fix: change permission level for instance listing to visitor and making sure all instances could be listed for all users 2026-05-07 21:38:52 +08:00
NanamiAdmin 9ffb4263cf feat(sys): add self-check functionality for system settings and frpc binary 2026-05-07 21:07:16 +08:00
NanamiAdmin 44195c9f26 style(service): modify package name "service" to "sys" 2026-05-07 19:28:49 +08:00
NanamiAdmin cdeaa5bacc fix(user): replace 'user' type with 'visitor' in user creation
refactor(session): improve token expiration handling in GetTokenInfo

chore: add /dist to gitignore
2026-05-05 15:35:04 +08:00
NanamiAdmin a2869c1e0e fix(proxy): add "oldName" && "newName" paras to fix unable to modify proxy name 2026-05-05 12:52:04 +08:00
NanamiAdmin e72c142b16 fix(instance): add status verification after service operations
Add verification checks to ensure service is running/stopped after start/stop/restart operations
Fix import order and remove unnecessary whitespace
2026-05-05 12:31:59 +08:00
NanamiAdmin 20c906c8cc fix(settings): fill support for additional configuration options 2026-04-30 18:54:36 +08:00
NanamiAdmin 8108d4d01f fix(watchdog): integrate instance management with watchdog
Add watchdog instance management in Start/StopInstanceHandler to sync with watchdog service
Add notification enabled check in exceptionHandle function
2026-04-28 19:50:52 +08:00
NanamiAdmin ac51641e93 feat(settings): add settings management API endpoints
- Add GET /settings/get and POST /settings/set endpoints for managing system settings
- Implement config file persistence for settings changes
- Update config schema to include notification and webhook settings
- Add API documentation for new endpoints
- Move config path variables to global package for consistency
2026-04-23 12:43:11 +08:00
NanamiAdmin 489c37e095 refactor(global): move config to global package and consolidate handlers
- Move Config struct and related functions to global package
- Consolidate handler utilities into utils package
- Remove deprecated handlers and instance packages
- Add new handlers package with settings and proxy functionality
- Update config.json to include watchdog enabled flag
2026-04-22 19:52:33 +08:00
NanamiAdmin ddf91299e7 refactor: reorganize codebase into modular packages
feat(global): add global package for shared variables and types
refactor(handlers): move handlers to dedicated package and update imports
refactor(session): extract session management to separate package
refactor(config): move config handling to dedicated package
refactor(router): update route handlers to use new package structure
refactor(main): simplify main.go by moving logic to packages
2026-04-22 12:57:04 +08:00