c198fdeaa1
add snmp port
2026-02-03 12:51:50 -06:00
1ba55ce451
mikrotik api update
2026-02-02 10:35:44 -06:00
bd6dad85e1
purge more passkey and gettext updates
2026-02-02 10:20:59 -06:00
2fab08f5f8
forgot password flow
2026-01-31 17:03:22 -06:00
dff9c26905
fix TOTP enrollment with recovery codes
2026-01-31 14:54:44 -06:00
2a36917738
mfa enforced on login
2026-01-29 14:31:13 -06:00
3abd70e133
use password for user regi
2026-01-21 09:13:08 -06:00
c54b5d81bb
more dark mode
2026-01-20 17:23:11 -06:00
4f924ba9a7
add passkey
2026-01-09 12:26:32 -06:00
b0a17e7ea6
Add comprehensive test coverage for LiveView modules and contexts
...
- Add LiveView tests for DashboardLive, AlertLive, SiteLive, EquipmentLive, OrgLive
- Add comprehensive tests for Organizations context (memberships, invitations, auth)
- Add tests for AlertNotifier email delivery
- Improve test coverage from 54.78% to 86.65%
- Add 101 new tests (256 total tests)
2026-01-03 11:21:53 -06:00
dffa46dfde
Improve UI styling and remove DaisyUI dependencies
...
- Remove default Phoenix branding and create custom layouts
- Replace DaisyUI classes with custom Tailwind components throughout
- Add authenticated layout with navigation bar for organization pages
- Redesign all core components (buttons, forms, tables, alerts)
- Make dashboard stat cards clickable to navigate to respective pages
- Update alert acknowledge button to only show for equipment down alerts
- Add consistent dark mode support across all pages
- Implement modern design with zinc color palette and improved spacing
2026-01-03 11:02:38 -06:00
c52f313e2d
1. User Authentication
...
- Full auth system with email/password (using phx.gen.auth)
- Login, registration, password reset
- Session management with remember-me functionality
- Magic link login support
2. Organization Management
- Multi-tenant organization system
- Organizations schema with unique slugs
- Automatic organization creation when users register
- Organization switcher UI at /orgs
3. Membership System
- Users can belong to multiple organizations
- 4 permission levels: Owner, Admin, Member, Viewer
- Complete permission matrix implemented
- Join/leave organizations
4. Invitation System
- Email-based invitations with secure tokens
- 7-day expiration on invites
- Track who invited and who accepted
5. Authorization
- Full policy system (Organizations.Policy)
- can?(membership, :action, :resource) helper
- Enforced via plugs in router
6. LiveView Pages
- /orgs - List all your organizations
- /orgs/new - Create new organization
- /orgs/:slug - Organization dashboard (placeholder)
7. Database Schema
- users table
- organizations table
- organization_memberships table
- organization_invitations table
- All migrations run successfully
2025-12-21 13:31:59 -06:00