11bc5dec4a
no post login page
2026-01-13 12:27:17 -06:00
8291c6092a
Add comprehensive AgentController edge case tests
...
Added 6 new tests covering previously untested scenarios:
- Equipment without SNMP device (nil sensors/interfaces)
- Protobuf metrics with unknown types
- JSON metrics with unknown types
- Metrics with nil timestamps
- Metrics with invalid ISO8601 timestamp strings
Coverage increased from 90.41% to near 100%.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-13 08:37:58 -06:00
f0af777f6e
Add tests for UserSettingsHTML
...
Added 2 tests covering the edit.html settings form template:
- Settings form rendering with email, password, and passkeys sections
- Warning message when user cannot register passkey
This improves UserSettingsHTML coverage from 0% to 100%.
2026-01-13 07:52:46 -06:00
a430d09668
Add test for UserRegistrationHTML
...
Added test to cover the new.html registration form template.
This improves UserRegistrationHTML coverage from 0% to 100%.
2026-01-13 07:52:06 -06:00
29c8e1a8d3
Add comprehensive tests for UserSessionHTML
...
Added 5 tests covering both new.html and confirm.html templates:
- Login form rendering with multiple authentication methods
- Reauthentication message display
- Confirmation form for unconfirmed users
- Login form for confirmed users
- Simplified login for reauthentication with current_scope
This improves UserSessionHTML coverage from 50.00% to 100%.
2026-01-13 07:50:39 -06:00
89b038a14f
Add test for PageHTML home template
...
Added test to cover the home.html template rendering.
This improves PageHTML coverage from 0% to 100%.
2026-01-13 07:49:25 -06:00
6e02dc460a
Add test for ErrorHTML fallback render function
...
Added test to cover the fallback render/2 function that handles
error codes without custom templates (401, 403, 503, etc.).
This improves ErrorHTML coverage from 0% to 100%.
2026-01-13 07:48:23 -06:00
160007cab1
Add HealthController test (0% → 100%)
2026-01-13 07:39:28 -06:00
7cf3e61709
Add comprehensive tests for EquipmentLive.Form and UserCredentialController
...
- EquipmentLive.Form: 46.73% → 92.52% (+45.79%)
- Added 27 tests covering form validation, SNMP testing, site selection
- Tests mount behavior, save/update flows, deletion, and discovery triggers
- Tests SNMP config changes and agent assignment
- UserCredentialController: 33.93% → 64.29% (+30.36%)
- Added 7 tests for WebAuthn registration and authentication flows
- Tests challenge generation, credential registration, and error cases
- Tests discoverable authentication and account-specific auth
Overall coverage: 60.40% → 63.67% (+3.27%)
2026-01-12 18:46:15 -06:00
3ef04f261f
protobufs
2026-01-09 17:33:01 -06:00
cf77949527
add remote agent setup
2026-01-09 13:15:31 -06:00
4f924ba9a7
add passkey
2026-01-09 12:26:32 -06:00
41dcf3084f
add error pages
2026-01-06 14:37:48 -06:00
3b9fffdd07
add marketing site
2026-01-06 14:34:48 -06:00
93e0b869be
more features
2026-01-02 14:06:44 -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
ba463dc5a2
init
2025-12-21 11:10:43 -06:00