86 Commits

Author SHA1 Message Date
=
495c0ea2d8 Feat: add app roles management and relationships
- Added `app_roles` migration to manage role assignments for connected apps, supporting role duration and indexing.
- Introduced `AppRole` pivot model for managing `ConnectedApp` and `Role` relationships.
- Updated `ConnectedApp` and `Role` models with `BelongsToMany` relationships for role associations.
- Adjusted `permission` config to use custom `Role` model.
2026-05-19 07:16:17 +00:00
=
a2dbd0713c Merge branch 'chore/add-captain-hook' into dev 2026-05-18 09:51:57 +00:00
=
d63489ea33 refactor: replace flux components with maryUI equivalents and update Blade templates
- Replaced deprecated `flux` components with `maryUI` counterparts (`flux:input` → `x-mary-input`, `flux:button` → `x-mary-button`, etc.).
- Removed unused partials (`settings-heading.blade.php`) and outdated structures from Blade files.
- Adjusted Livewire modal, form, and button implementations for consistency with `maryUI`.
- Streamlined layout and theme styling for improved maintainability and readability.
2026-05-18 09:49:14 +00:00
=
34a3663bfd Deps: add captainhook for Git hooks
Configure pre-commit linting and static analysis checks.commit-msg actions
2026-05-16 10:04:43 +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
=
9b6af8135d refactor: remove unused UI components and factories for cleanup
- Deleted obsolete components (`Choices`, `Input`, `ListItem`, `Table`) and trait (`HasAttributeHelpers`) from the `App\View\Components` namespace.
- Removed `ConnectedAppFactory` as it is no longer utilized in the current workflow.
2026-05-16 09:44:54 +00:00
=
0de768e924 docs: add ConnectionProviderService guidelines and enable detailed activity logging
- Added comprehensive documentation for `ConnectionProviderService`, outlining architectural design, coding standards, and operational flows.
- Enhanced `ConnectionProvider` and `ConnectedApp` models with Spatie activity logging configuration for detailed CRUD activity tracking.
- Updated delete methods in service classes to include audit logs and cascade behavior refinement.
- Revised activity log migration schema for stricter typing and method structure.
2026-05-15 13:02:58 +00:00
=
0a2786165e deps: add spatie/laravel-activitylog for activity logging. Publish migration and config. 2026-05-15 11:56:14 +00:00
=
3c6e4bf4bd feat: add delete confirmation modal for ConnectionProviders
- Introduced a Livewire-powered confirmation modal for deleting connection providers.
- Updated `delete` method to support selected provider deletion and modal interaction.
- Added `connectedApps` relationship to `ConnectionProvider` model for mass soft-deletes.
- Refactored delete logic to handle associated connected apps during provider deletion.
- Updated UI to include modal trigger and actions for enhanced user safety.
2026-05-15 11:52:31 +00:00
=
1c5ab498d7 feat: soft delete and rename service-related models, tables, and columns to connection-focused terms
- Renamed models, migration files, and database tables for greater consistency (e.g., `service_protocols` to `connection_protocols`, `service_providers` to `connection_providers`).
- Enabled `SoftDeletes` trait on core models, including `User`, `ConnectionProvider`, `ConnectedApp`, and others.
- Updated migration schemas to include `softDeletes()` and adjusted `down()` methods accordingly.
- Enhanced indexing in `connected_apps` to optimize query performance.
2026-05-15 10:13:21 +00:00
=
bc69ea2f95 refactor: fix the update validation role to exclude the current provider 2026-05-15 09:35:26 +00:00
=
48d2c1a47e feature: ConnectionProvider integration
- Added `ConnectionProviderData`, `NavItemData`, and `NavSubItemData` DTOs for structured data handling.
- Implemented CRUD operations for `ConnectionProviderService`, including transaction-safe create, update, and delete methods.
- Introduced Livewire components for ConnectionProvider list, edit, and create pages with dynamic and reusable UI elements.
- Refactored routes to consolidate paths under the `apps` prefix and updated navigation to dynamically include new sections for providers.
- Enhanced sidebar with structured submenu for ConnectionProviders and Settings using dynamic collections.
- Updated existing Create and Edit templates to use consistent route naming and validation handling.
- Replaced hardcoded navigation items with dynamically generated structures leveraging the `NavItemData` collection.
2026-05-15 09:18:40 +00:00
=
bbb00c12b0 chore: add larastan 2026-05-15 09:17:27 +00:00
=
092ee0083e feature: add Livewire configuration and extend ConnectedApp management with delete, create, and enhanced UI integration
- Introduced `livewire.php` for customizable Livewire configuration.
- Enhanced ConnectedApp management by adding delete functionality and dynamic navigation handling (`goBack()`).
- Updated forms (`create`, `edit`) with `maryUI` components (`mary-form`, `mary-button`, `mary-input`, `mary-choices`).
- Consolidated provider imports and refactored UI for reusability and improved styling.
- Improved exception handling and validation rules in `ConnectedAppService` and Livewire components.
2026-05-15 05:45:31 +00:00
=
c0086ddb6a feature: implement ConnectedApp management with creation and editing support
- Added `ConnectedAppData` DTO for structured data representation.
- Implemented Livewire components for ConnectedApp list (`index`) and edit (`edit`).
- Integrated `ConnectedAppService` with CRUD operations.
- Updated routing to include ConnectedApp management paths.
- Enhanced UI with reusable components and dynamic dropdowns for protocols, providers, and statuses.
2026-05-14 14:03:53 +00:00
=
7bff74a039 refactor: extract connection status UI into reusable component and update ConnectedApps template 2026-05-14 14:03:31 +00:00
=
7d6f6010f4 refactor: remove DirectiveServiceProvider and its directives from application bootstrap 2026-05-14 14:03:02 +00:00
=
bdffb30b12 feature: add ConnectionProvider creation flow
- Introduced `HandlesOperations` trait for reusable error handling with toasts and logging.
- Added `StoreConnectionProviderForm` Livewire component with validation and slug uniqueness check.
- Implemented `StoreConnectionProviderRequestData` DTO for structured data handling.
- Updated `ConnectionProviderService` to include `create()` method using database transactions.
- Registered new routes for creating connection providers.
- Enhanced `ConnectionProvider` model with `Fillable` attribute for `name` and `slug`.
2026-05-14 10:32:19 +00:00
=
db8e34b622 feat: integrate maryUI and update ConnectedApps handling
- Added `mary.php` configuration file for customizable component and route prefixes.
- Upgraded `livewire/livewire` to v4.3 and added `robsontenorio/mary` v2.8 for maryUI support.
- Updated `ConnectedApps` component to fetch data dynamically via `ConnectedAppService`.
- Replaced static services with computed properties and streamlined data mappings in templates.
- Enhanced frontend styling with `daisyUI` and TailwindCSS v4.3 integration.
- Improved user feedback in `ConnectedAppForm` with success/error toasts.
2026-05-14 08:47:23 +00:00
=
f90655bc43 refactor: enhance ConnectionStatus handling and remove redundant logo field
- Added `ConnectionStatusData` DTO and `ConnectionStatusService` for managing connection statuses with mapped enums.
- Updated `ConnectedAppFactory` and Livewire `StoreConnectedAppForm` to integrate `ConnectionStatusData` and remove `logoUrl` field.
- Adjusted `ConnectedApp` model to rename columns for consistency.
- Implemented error handling in `ConnectedAppService::create()` for improved resilience.
- Updated Blade templates and composer dependencies for compatibility.
2026-05-14 06:22:40 +00:00
=
df3a37d6cb wip: refactor service connection components and add ConnectionProtocol and ConnectionProvider services
- Renamed `ConnectedServicesService` to `ConnectedAppService` and adjusted related factories, DTOs, and forms.
- Introduced `ConnectionProtocolService` and `ConnectionProviderService` for managing protocols and providers.
- Updated Livewire forms to improve validation and allow real-time provider searches.
- Added a `ConnectionStatus` field and related dropdown to service connection forms.
- Enhanced form handling with new services, search functionality, and validation rules.
- Refactored factory and DTO structure for better consistency and modularity.
- Added service layer documentation and streamlined component data mappings.
2026-05-13 13:13:29 +00:00
=
6f07068b1d Refactor: change name of external apps from ConnectedService to ConnectedApp 2026-05-13 10:30:35 +00:00
=
6ddde416cf feature: introduce Choices component and service management entities
- Added `Choices` component for dropdowns with search and multi-selection functionality.
- Implemented foundational classes for service connection:
  - `ConnectServiceData`
  - `ConnectedServiceFactory`
  - `ConnectedServicesService`
- Added `ConnectServiceForm` Livewire component for managing service connections.
- Introduced shared utility traits (`HasAttributeHelpers`) and error components.
- Added components for generic use: `Input` and `ListItem`.
2026-05-13 09:52:03 +00:00
=
77b6008150 chore: component refactoring - badeg, button, card
- fix text truncation in badge component
- simplify tag rendering in button component
- remove padding in card component add space in actions
2026-05-13 09:48:54 +00:00
=
c6b36d27b2 chore: added database diagrams 2026-05-12 05:04:32 +00:00
=
5cadfcc959 feature: add role and permission management functionality
- Implemented migrations to create permission, role, and related pivot tables.
- Added models for `ServiceProtocol`, `ServiceProvider`, `ServiceStatus`, and `ConnectedService`.
- Introduced `spatie/laravel-permission` for managing roles and permissions.
- Created data seeders for `ServiceProtocols` and `ServiceStatuses`.
- Refactored `ConnectionTechTypes` to `ConnectionProtocols` and added Enum utilities.
- Updated `ConnectedService` component to use revised enums and model-backed data.
2026-05-11 13:23:38 +00:00
=
ea6b48b4e9 fix: add middleware in routes
- laravel does not recognize Middleware attribute in Livewire component.
2026-05-11 10:18:00 +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
4a5436a3b4 chore: restructure views and add Livewire components for dashboard functionality
- remove flux dashboard
- add DTOs for the connecter services

Deps:
- spatie/laravel-data
- blade-icons (lucide-icons)
- tailwind-merge
2026-05-08 07:20:59 +00:00
kushal-saha
79c3751d5f chore: pint rules 2026-05-08 07:19:08 +00:00
kushal-saha
145e67ee46 chore: formatting and mcp configurations 2026-05-08 07:08:11 +00:00
kushal-saha
04d7b13543 inital commit 2026-05-06 12:58:53 +00:00