feat(ui): 🎉 More ui work
Some checks failed
CI / Test (1.23) (push) Failing after -22m35s
CI / Test (1.22) (push) Failing after -22m33s
CI / Build (push) Failing after -23m42s
CI / Lint (push) Failing after -23m17s

* Implement EventLogsPage for viewing system activity logs with search and filter capabilities.
* Create HooksPage for managing webhook configurations with create, edit, and delete functionalities.
* Develop LoginPage for user authentication with error handling and loading states.
* Add UsersPage for managing system users, including role assignment and status toggling.
* Introduce authStore for managing user authentication state and actions.
* Define TypeScript types for User, Hook, EventLog, and other entities.
* Set up TypeScript configuration for the project.
* Configure Vite for development with proxy settings for API calls.
* Update dependencies for improved functionality and security.
This commit is contained in:
Hein
2026-02-05 19:41:49 +02:00
parent f9773bd07f
commit 8b1eed6c42
32 changed files with 7293 additions and 38 deletions

View File

@@ -26,6 +26,7 @@ type ServerConfig struct {
Password string `json:"password,omitempty"`
AuthKey string `json:"auth_key,omitempty"`
JWTSecret string `json:"jwt_secret,omitempty"` // Secret for JWT signing
UIPath string `json:"ui_path,omitempty"` // Filesystem path to built frontend files (default: web/dist)
TLS TLSConfig `json:"tls,omitempty"`
}
@@ -158,6 +159,9 @@ func Load(path string) (*Config, error) {
if cfg.Server.JWTSecret == "" {
cfg.Server.JWTSecret = "change-me-in-production" // Default for development
}
if cfg.Server.UIPath == "" {
cfg.Server.UIPath = "web/dist" // Default filesystem path to built frontend
}
if cfg.Media.DataPath == "" {
cfg.Media.DataPath = "./data/media"
}