Admin protetto, dashboard KPI e aggiornamenti sito marketing.

Login admin con cambio password, metriche server (CPU/RAM/disco/banda), grafici e statistiche streaming; sezione piani ridimensionata.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-26 18:18:47 +02:00
parent 3d3420cc4a
commit 3a5649f482
26 changed files with 983 additions and 55 deletions

View File

@@ -54,7 +54,13 @@ Rails.application.routes.draw do
post "internal/validate_publish", to: "webhooks/mediamtx#validate_publish"
namespace :admin do
get "login", to: "auth#new", as: :login
post "login", to: "auth#create"
delete "logout", to: "auth#destroy", as: :logout
resource :password, only: %i[edit update], controller: "passwords"
root to: "dashboard#index"
get "metrics", to: "dashboard#metrics"
resources :teams, only: %i[index show]
resources :sessions, only: %i[index show]
end