12 Commits

Author SHA1 Message Date
=
fb7b1e3721 Feat: Configure Laravel Passport for API authentication
- Added `PassportServiceProvider` to configure token expiration intervals.
- Updated `User` model with `HasApiTokens` trait and `OAuthenticatable` interface for Passport support.
- Registered `PassportServiceProvider` in `bootstrap/providers.php`.
2026-06-18 10:33:58 +00:00
=
02455fc71c Feat: Implement OpenID Connect nonce handling
- Added `CustomAuthCodeRepository` to cache and store nonces during authorization.
- Introduced `CustomTokenResponseType` to resolve cached nonces during token exchange.
- Created `oidc-server.php` configuration for OpenID Connect support, including scopes, claims, and token lifetimes.
- Registered custom implementations in `AppServiceProvider` with bindings for `AuthCodeRepository` and `TokenResponseType`.
- Added feature tests to validate nonce caching and resolution logic.
2026-06-17 07:22:26 +00:00
=
f02caef80c Feat: add role seeding, dashboard routing
- Added `DefaultUserRole` and permissions enums (`AccessManager`, `Apps`, `Settings`) for centralizing role and permission constants.
- Implemented `DashboardRoute` helper to resolve routes dynamically based on user roles.
- Introduced seeders for default roles (`DefaultRoleWithPermissionSeeder`, `PermissionSeeder`, `ExampleUserWithRoleSeeder`) with role-permission assignments.
- Created `EnumExtractor` utility for parsing enums and generating permissions.
- Customized dashboard routes with role-based redirection logic.
- Updated sidebar navigation to display role-based menu items with permission checks.
2026-05-21 10:24:57 +00:00
=
3d086b2821 revert: add Blade directive for rendering user initials
- Introduced `DirectiveServiceProvider` to register custom Blade directives.
- Added `@initials` directive to generate and display uppercase initials from a given string.
- Registered the service provider in `bootstrap/providers.php`.
2026-05-16 09:50:00 +00:00
=
7d6f6010f4 refactor: remove DirectiveServiceProvider and its directives from application bootstrap 2026-05-14 14:03:02 +00:00
=
c8e950bb79 feature: add user assignments component
- add title, placeholder and subtitle in avatar component
- add role collection in users dto
- make show empty text on table by default
2026-05-11 09:44:59 +00:00
=
9443ac181c chore: format and refactor the Connected Service component to use dto collection 2026-05-11 07:42:09 +00:00
=
ca628fb009 feature: add role permission table for HR Manager
- Add TableHeader DTO
- Refactor Toggle component to have checked prop, as wire:model does not work
- add null collasing for php 8.5 strict compatibility in scope directive
- refactor card component so that actions stay on the right
- make button component scaled small on active and change color on hover
2026-05-11 07:17:03 +00:00
=
ede0064b54 refactor: simplify data objects and improve role management components
- Removed redundant custom collections and `Wireable` trait from DTOs.
- Replaced custom collection properties with `DataCollection`.
- Updated role management views to use improved components, including avatars and toggle.
- Refined Blade directives for scoped slots.
- Minor cleanup in configuration and dependencies.
2026-05-11 05:51:25 +00:00
=
105123bb74 chore: introduce role management functionality with DTOs and Livewire components
- Added Role and User DTOs for dynamic role handling.
- Implemented table and badge components for displaying role data.
- Registered a Blade directive for scoped slots in `ScopeServiceProvider`.
- Updated dashboard views to include role management section.
2026-05-08 13:15:00 +00:00
kushal-saha
79c3751d5f chore: pint rules 2026-05-08 07:19:08 +00:00
kushal-saha
04d7b13543 inital commit 2026-05-06 12:58:53 +00:00