God mode global state + session expiration at zero verification
1. God Mode State (useUserInfo hook): - Move isGodMode to GLOBAL state in hook (not local to NavTop) - Export isGodMode, setIsGodMode for all components ...
Move god mode state to global useUserInfo hook
BREAKING FIX: Properly separates isGod and isGodMode Architecture (as intended): - isGod: Permission from session (GD field) - Can user access god mode? - isGo...
Add explicit handlers and keys to switches
- Add handleAcceptingLeadsToggle and handleGodModeToggle handlers - Add unique keys and names to both switches - Add aria-labels for accessibility - Helps React...
God mode toggle state and add fire icon
Bug fix: - God Mode switch was using isGodModeActive() from hook for 'checked' prop - But onChange was calling setGodModeActive (local state) - This created a d...
Add multi-layer god mode validation
Security enhancements to prevent localStorage manipulation: 1. useUserInfo hook: - Add isGodModeActive() method with dual validation - Check 1: User has ...
Implement god mode toggle in NavTop
Backend changes (app/api/user-info/route.ts): - Read GD field from Redis session data - Map to isGod in API response Frontend changes (app/hooks/useUserInfo.ts...
Implement god mode permission in sessions
Changes to SecurityController: - Query is_god field from users table during login - Pass isGod to kSessionService.createSession Changes to KSessionService: - A...
Aggiungi campo isGod a User.java per il permesso della modalità dio
- Aggiungi la colonna is god con il falso predefinito del database - Il campo indica se l'utente può accedere alla modalità dio da attivare in UI - Utilizzato n...
Impostare *** cookie sul dominio login.* per l'auto-login
BREAKING: Abilita auto-login quando l'utente ha sessione valida Prima: *** cookie creato solo sul dominio interno.* dopo la convalida di OTK Dopo: *** cookie c...
Ensure all session expirations go through /logout endpoint
BREAKING: Fixes improper session expiration flow Before: Various components redirected directly to login site when sessions expired After: All redirects go thr...
Add titleShort to organization API response
- Added titleShort field to /org/domain/{domain} endpoint response - Enables frontend to display organization's short name in UI - Used in session expiration wa...
Dynamically show org short name in session warning
- Added titleShort property to Organization class - Updated SessionExpirationWarning to use organization's short name - Changed text from 'Kamo applications' to...
Remove remaining KTokenSessionService reference in refresh-token endpoint
- Updated /refresh-token endpoint to use **************** - Removed unused KToken import - Changed endpoint to extend session TTL instead of refreshing KToken o...
Consolidate session management into KSessionService
- Deleted duplicate KTokenSessionService - Enhanced KSessionService with: * getSessionTTL() - get Redis key TTL * getSessionInfo() - get session data + TTL ...
Add missing properties to SessionInfo interface
- Added userId, orgId, memberId, tokenExpiration to SessionInfo - These fields are returned by backend getSessionInfo() method - Fixes TypeScript build error in...
Remove problematic timezone endpoint and duplicate getSessionIdFromCookie
- Removed **************** endpoint (no longer needed, timezone is in *** cookie) - Removed duplicate getSessionIdFromCookie method that was causing compilation...
Double-check Redis before showing session warning
- Always verify Redis TTL right before showing expiration warning - Prevents false warnings if another Kamo app extended the session - Ensures warning popup onl...
Implement sliding session expiration - CRITICAL SESSION FIX
- Refresh Redis TTL on every session access (sliding expiration) - Sessions now stay alive as long as user is active in ANY Kamo app - Change Redis key prefix f...
Use correct Redis key format ***{sessionId} instead of SESSION{sessionId}
Correct *** cookie parsing to use pipe delimiter instead of URLSearchParams
Auto-fetch session info on session-debug page load to enable test button
Add delay to session monitor initial check and improve error handling to prevent false-positive logouts
Resolve TypeScript and ESLint errors in session monitoring components
Aggiungere informazioni di sessione e estendere i endpoint per la gestione delle sessioni cross-app
Add session expiration warning system with Redis-based monitoring and animated popup
Aggiornare KTokenSessionService per accettare il parametro timezone per *** cookie
Aggiungi il campo Timezone (TZ) a KToken per il supporto timezone specifico dell'utente in *** cookie
Implement timezone service with IANA zone ID support to fix 'Invalid time zone' error
Aggiungi un punto finale della fuso orario efficace con la cascata di organizzazione
Includere le funzionalità di organizzazione in risposta API per kamo-internal nav
Aggiungere modalità di uscita standalone ed espandere i modelli di immagine remota
Wrap useSearchParams in confine di Suspense per pagina di dispiace
Wrap useSearchParams nel confine di Suspense per convalidare la pagina
Maniglia di rotta di aggiornamento per Next.js 15 params asincroni e saltare i controlli di tempo di costruzione
Aggiungere la dipendenza iredi mancante per l'integrazione redis
Installare tutte le dipendenze nella fase del costruttore e rimuovere l'opzione swcMinify deprecata
Ottimizzare Dockerfile per la produzione con più fasi costruisce e aggiorna il prossimo. config per modalità standalone
Campo di soprannome abilitato automatico quando si fa clic sulla casella di testo disabilitata
Spostare la casella di controllo all'interno del campo soprannome come ornamento sinistro e aumentare la larghezza del campo
Come quello che vedi la spedizione?
Ognuno di questi aggiornamenti atterra automaticamente nello spazio di lavoro. Inizia gratis e guardalo crescere settimana dopo settimana.