diff --git a/.editorconfig b/.editorconfig old mode 100644 new mode 100755 diff --git a/.env.example b/.env.example old mode 100644 new mode 100755 diff --git a/.gitattributes b/.gitattributes old mode 100644 new mode 100755 diff --git a/.github/dependabot.yml b/.github/dependabot.yml old mode 100644 new mode 100755 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.junie/mcp/mcp.json b/.junie/mcp/mcp.json old mode 100644 new mode 100755 diff --git a/.npmrc b/.npmrc old mode 100644 new mode 100755 diff --git a/.scannerwork/.sonar_lock b/.scannerwork/.sonar_lock old mode 100644 new mode 100755 diff --git a/.scannerwork/report-task.txt b/.scannerwork/report-task.txt old mode 100644 new mode 100755 diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..3f9edd2 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,168 @@ + +=== foundation rules === + +# Laravel Boost Guidelines + +The Laravel Boost guidelines are specifically curated by Laravel maintainers for this application. These guidelines should be followed closely to ensure the best experience when building Laravel applications. + +## Foundational Context + +This application is a Laravel application running on PHP 8.5. You are an expert with the Laravel ecosystem. Always use the APIs that match the installed major version of each package — do not assume a version. + +Before relying on a package's API, confirm its installed version: +- PHP packages: run `composer show --direct` to list direct dependencies with versions, or `composer show ` for a single package. +- JS packages: check `package.json` for the installed versions. + +## Skills Activation + +This project has domain-specific skills available in `**/skills/**`. You MUST activate the relevant skill whenever you work in that domain—don't wait until you're stuck. + +## Conventions + +- You must follow all existing code conventions used in this application. When creating or editing a file, check sibling files for the correct structure, approach, and naming. +- Use descriptive names for variables and methods. For example, `isRegisteredForDiscounts`, not `discount()`. +- Check for existing components to reuse before writing a new one. + +## Verification Scripts + +- Do not create verification scripts or tinker when tests cover that functionality and prove they work. Unit and feature tests are more important. + +## Application Structure & Architecture + +- Stick to existing directory structure; don't create new base folders without approval. +- Do not change the application's dependencies without approval. + +## Frontend Bundling + +- If the user doesn't see a frontend change reflected in the UI, it could mean they need to run `npm run build`, `npm run dev`, or `composer run dev`. Ask them. + +## Documentation Files + +- You must only create documentation files if explicitly requested by the user. + +## Replies + +- Be concise in your explanations - focus on what's important rather than explaining obvious details. + +=== boost rules === + +# Laravel Boost + +## Tools + +- Laravel Boost is an MCP server with tools designed specifically for this application. Prefer Boost tools over manual alternatives like shell commands or file reads. +- Use `database-query` to run read-only queries against the database instead of writing raw SQL in tinker. +- Use `database-schema` to inspect table structure before writing migrations or models. +- Use `get-absolute-url` to resolve the correct scheme, domain, and port for project URLs. Always use this before sharing a URL with the user. +- Use `browser-logs` to read browser logs, errors, and exceptions. Only recent logs are useful, ignore old entries. + +## Searching Documentation (IMPORTANT) + +- Always use `search-docs` before making code changes. Do not skip this step. It returns version-specific docs based on installed packages automatically. +- Pass a `packages` array to scope results when you know which packages are relevant. +- Use multiple broad, topic-based queries: `['rate limiting', 'routing rate limiting', 'routing']`. Expect the most relevant results first. +- Do not add package names to queries because package info is already shared. Use `test resource table`, not `filament 4 test resource table`. + +### Search Syntax + +1. Use words for auto-stemmed AND logic: `rate limit` matches both "rate" AND "limit". +2. Use `"quoted phrases"` for exact position matching: `"infinite scroll"` requires adjacent words in order. +3. Combine words and phrases for mixed queries: `middleware "rate limit"`. +4. Use multiple queries for OR logic: `queries=["authentication", "middleware"]`. + +## Project Rules + +- This project contains committed, area-grouped rules in `.ai/rules` when that directory exists (settled decisions, non-obvious traps, standing constraints). Framework and package guidelines that only apply to specific paths (testing, frontend, components) also live there, under `.ai/rules/boost` — this is not just recorded decisions, it is load-bearing guidance you have not seen inline. Before you enter plan mode or create/edit any file, you MUST first: open @.ai/rules/index.md (it maps file globs to rule files), read every rule file whose globs cover the path(s) in scope, and run `grep -rin 'keyword' .ai/rules` to catch what a path match alone misses. Do not write code until you have read and are following every matching rule. If `.ai/rules` does not exist, continue without it. +- Record durable rules with `record-rule` so the next agent or teammate inherits them instead of working them out again. Pass a `glob` (e.g. `app/Http/Controllers/**`), a short `title`, and a few-line `note`. Always use `record-rule`, never your native memory or notes tool — native memory is personal and session-scoped; only `.ai/rules` is shared with the team and persists in the repo. + +## Artisan + +- Run Artisan commands directly via the command line (e.g., `php artisan route:list`). Use `php artisan list` to discover available commands and `php artisan [command] --help` to check parameters. +- Inspect routes with `php artisan route:list`. Filter with: `--method=GET`, `--name=users`, `--path=api`, `--except-vendor`, `--only-vendor`. +- Read configuration values using dot notation: `php artisan config:show app.name`, `php artisan config:show database.default`. Or read config files directly from the `config/` directory. + +## Tinker + +- Execute PHP in app context for debugging and testing code. Do not create models without user approval, prefer tests with factories instead. Prefer existing Artisan commands over custom tinker code. +- Always use single quotes to prevent shell expansion: `php artisan tinker --execute 'Your::code();'` + - Double quotes for PHP strings inside: `php artisan tinker --execute 'User::where("active", true)->count();'` + +=== php rules === + +# PHP + +- Always use curly braces for control structures, even for single-line bodies. +- Use PHP 8 constructor property promotion: `public function __construct(public GitHub $github) { }`. Do not leave empty zero-parameter `__construct()` methods unless the constructor is private. +- Use explicit return type declarations and type hints for all method parameters: `function isAccessible(User $user, ?string $path = null): bool` +- Use TitleCase for Enum keys: `FavoritePerson`, `BestLake`, `Monthly`. +- Prefer PHPDoc blocks over inline comments. Only add inline comments for exceptionally complex logic. +- Use array shape type definitions in PHPDoc blocks. + +=== deployments rules === + +# Deployment + +- Laravel can be deployed using [Laravel Cloud](https://cloud.laravel.com/), which is the fastest way to deploy and scale production Laravel applications. + +=== tests rules === + +# Test Enforcement + +- Every change must be programmatically tested. Write a new test or update an existing test, then run the affected tests to make sure they pass. +- Run the minimum number of tests needed to ensure code quality and speed. Use `php artisan test --compact` with a specific filename or filter. + +=== laravel/core rules === + +# Do Things the Laravel Way + +- Use `php artisan make:` commands to create new files (i.e. migrations, controllers, models, etc.). You can list available Artisan commands using `php artisan list` and check their parameters with `php artisan [command] --help`. +- If you're creating a generic PHP class, use `php artisan make:class`. +- Pass `--no-interaction` to all Artisan commands to ensure they work without user input. You should also pass the correct `--options` to ensure correct behavior. + +### Model Creation + +- When creating new models, create useful factories and seeders for them too. Ask the user if they need any other things, using `php artisan make:model --help` to check the available options. + +## APIs & Eloquent Resources + +- For APIs, default to using Eloquent API Resources and API versioning unless existing API routes do not, then you should follow existing application convention. + +## URL Generation + +- When generating links to other pages, prefer named routes and the `route()` function. + +## Testing + +- When creating models for tests, use the factories for the models. Check if the factory has custom states that can be used before manually setting up the model. +- Faker: Use methods such as `$this->faker->word()` or `fake()->randomDigit()`. Follow existing conventions whether to use `$this->faker` or `fake()`. +- When creating tests, make use of `php artisan make:test [options] {name}` to create a feature test, and pass `--unit` to create a unit test. Most tests should be feature tests. + +## Vite Error + +- If you receive an "Illuminate\Foundation\ViteException: Unable to locate file in Vite manifest" error, you can run `npm run build` or ask the user to run `npm run dev` or `composer run dev`. + +=== livewire/core rules === + +# Livewire + +- Livewire allow to build dynamic, reactive interfaces in PHP without writing JavaScript. +- You can use Alpine.js for client-side interactions instead of JavaScript frameworks. +- Keep state server-side so the UI reflects it. Validate and authorize in actions as you would in HTTP requests. + +=== pint/core rules === + +# Laravel Pint Code Formatter + +- If you have modified any PHP files, you must run `vendor/bin/pint --dirty --format agent` before finalizing changes to ensure your code matches the project's expected style. +- Do not run `vendor/bin/pint --test --format agent`, simply run `vendor/bin/pint --format agent` to fix any formatting issues. + +=== pest/core rules === + +## Pest + +- This project uses Pest for testing. Create tests: `php artisan make:test --pest {name}`. +- The `{name}` argument should not include the test suite directory. Use `php artisan make:test --pest SomeFeatureTest` instead of `php artisan make:test --pest Feature/SomeFeatureTest`. +- Run tests: `php artisan test --compact` or filter: `php artisan test --compact --filter=testName`. +- Do NOT delete tests without approval. + + diff --git a/Modules/Stylist/Config/config.php b/Modules/Stylist/Config/config.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Console/CreateThemeCommand.php b/Modules/Stylist/Console/CreateThemeCommand.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Console/FindDuplicateViewsCommand.php b/Modules/Stylist/Console/FindDuplicateViewsCommand.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Console/InspectThemesCommand.php b/Modules/Stylist/Console/InspectThemesCommand.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Console/PublishAssetsCommand.php b/Modules/Stylist/Console/PublishAssetsCommand.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Console/ThemeDoctorCommand.php b/Modules/Stylist/Console/ThemeDoctorCommand.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Console/ValidateThemeCommand.php b/Modules/Stylist/Console/ValidateThemeCommand.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Database/Migrations/2026_07_08_000000_add_stylist_fields_to_companies_table.php b/Modules/Stylist/Database/Migrations/2026_07_08_000000_add_stylist_fields_to_companies_table.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Database/Migrations/2026_07_21_000001_create_stylist_theme_settings_table.php b/Modules/Stylist/Database/Migrations/2026_07_21_000001_create_stylist_theme_settings_table.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Diagnostics/ThemeInspector.php b/Modules/Stylist/Diagnostics/ThemeInspector.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Facades/StylistFacade.php b/Modules/Stylist/Facades/StylistFacade.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Facades/ThemeFacade.php b/Modules/Stylist/Facades/ThemeFacade.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Helpers/helpers.php b/Modules/Stylist/Helpers/helpers.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Html/ThemeHtmlBuilder.php b/Modules/Stylist/Html/ThemeHtmlBuilder.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Html/ThemeSeoBuilder.php b/Modules/Stylist/Html/ThemeSeoBuilder.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Http/Controllers/StylistController.php b/Modules/Stylist/Http/Controllers/StylistController.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Http/Controllers/ThemeAssetController.php b/Modules/Stylist/Http/Controllers/ThemeAssetController.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Http/Controllers/ThemeManagementController.php b/Modules/Stylist/Http/Controllers/ThemeManagementController.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Livewire/ThemePreview.php b/Modules/Stylist/Livewire/ThemePreview.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Models/ThemeSetting.php b/Modules/Stylist/Models/ThemeSetting.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Providers/RouteServiceProvider.php b/Modules/Stylist/Providers/RouteServiceProvider.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Providers/StylistServiceProvider.php b/Modules/Stylist/Providers/StylistServiceProvider.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/README.md b/Modules/Stylist/README.md old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Resources/assets/css/app.css b/Modules/Stylist/Resources/assets/css/app.css old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Resources/assets/js/app.js b/Modules/Stylist/Resources/assets/js/app.js old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Resources/lang/en/messages.php b/Modules/Stylist/Resources/lang/en/messages.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Resources/views/.gitkeep b/Modules/Stylist/Resources/views/.gitkeep old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Routes/assets.php b/Modules/Stylist/Routes/assets.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Routes/web.php b/Modules/Stylist/Routes/web.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Services/FrontendContent.php b/Modules/Stylist/Services/FrontendContent.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Services/TenantThemeResolver.php b/Modules/Stylist/Services/TenantThemeResolver.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Services/ThemeAccessibilityValidator.php b/Modules/Stylist/Services/ThemeAccessibilityValidator.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Services/ThemeOptimizer.php b/Modules/Stylist/Services/ThemeOptimizer.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Services/ThemePackageManager.php b/Modules/Stylist/Services/ThemePackageManager.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Services/ThemeSettings.php b/Modules/Stylist/Services/ThemeSettings.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Services/ThemeValidator.php b/Modules/Stylist/Services/ThemeValidator.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Support/FrontendNavigation.php b/Modules/Stylist/Support/FrontendNavigation.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Support/ModuleInfo.php b/Modules/Stylist/Support/ModuleInfo.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Tests/Feature/LegacyThemeNamespaceAliasTest.php b/Modules/Stylist/Tests/Feature/LegacyThemeNamespaceAliasTest.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Tests/Feature/StylistModuleTest.php b/Modules/Stylist/Tests/Feature/StylistModuleTest.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Tests/Feature/TenantThemeResolverTest.php b/Modules/Stylist/Tests/Feature/TenantThemeResolverTest.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Tests/Feature/ThemeAccessibilityValidatorTest.php b/Modules/Stylist/Tests/Feature/ThemeAccessibilityValidatorTest.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Tests/Feature/ThemeAssetControllerTest.php b/Modules/Stylist/Tests/Feature/ThemeAssetControllerTest.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Tests/Feature/ThemeHtmlBuilderTest.php b/Modules/Stylist/Tests/Feature/ThemeHtmlBuilderTest.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Tests/Feature/ThemeInheritanceTest.php b/Modules/Stylist/Tests/Feature/ThemeInheritanceTest.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Tests/Feature/ThemeManifestTest.php b/Modules/Stylist/Tests/Feature/ThemeManifestTest.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Tests/Feature/ThemePackageRoundTripTest.php b/Modules/Stylist/Tests/Feature/ThemePackageRoundTripTest.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Tests/Feature/ThemeViewResolverTest.php b/Modules/Stylist/Tests/Feature/ThemeViewResolverTest.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Tests/Feature/WelcomeThemeViewTest.php b/Modules/Stylist/Tests/Feature/WelcomeThemeViewTest.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Theme/Exceptions/InvalidThemeManifestException.php b/Modules/Stylist/Theme/Exceptions/InvalidThemeManifestException.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Theme/Exceptions/ThemeJsonNotFoundException.php b/Modules/Stylist/Theme/Exceptions/ThemeJsonNotFoundException.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Theme/Exceptions/ThemeNotFoundException.php b/Modules/Stylist/Theme/Exceptions/ThemeNotFoundException.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Theme/Json.php b/Modules/Stylist/Theme/Json.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Theme/Loader.php b/Modules/Stylist/Theme/Loader.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Theme/ManifestValidator.php b/Modules/Stylist/Theme/ManifestValidator.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Theme/Stylist.php b/Modules/Stylist/Theme/Stylist.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Theme/Theme.php b/Modules/Stylist/Theme/Theme.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/Theme/UrlGenerator.php b/Modules/Stylist/Theme/UrlGenerator.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/View/ThemeViewResolver.php b/Modules/Stylist/View/ThemeViewResolver.php old mode 100644 new mode 100755 diff --git a/Modules/Stylist/changelog.yaml b/Modules/Stylist/changelog.yaml old mode 100644 new mode 100755 diff --git a/Modules/Stylist/composer.json b/Modules/Stylist/composer.json old mode 100644 new mode 100755 diff --git a/Modules/Stylist/module.json b/Modules/Stylist/module.json old mode 100644 new mode 100755 diff --git a/Modules/Stylist/package.json b/Modules/Stylist/package.json old mode 100644 new mode 100755 diff --git a/Modules/Stylist/vite.config.js b/Modules/Stylist/vite.config.js old mode 100644 new mode 100755 diff --git a/ad_test b/ad_test new file mode 100644 index 0000000..ef300bb Binary files /dev/null and b/ad_test differ diff --git a/app/Actions/Fortify/CreateNewUser.php b/app/Actions/Fortify/CreateNewUser.php old mode 100644 new mode 100755 diff --git a/app/Actions/Fortify/ResetUserPassword.php b/app/Actions/Fortify/ResetUserPassword.php old mode 100644 new mode 100755 diff --git a/app/Concerns/PasswordValidationRules.php b/app/Concerns/PasswordValidationRules.php old mode 100644 new mode 100755 diff --git a/app/Concerns/ProfileValidationRules.php b/app/Concerns/ProfileValidationRules.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php old mode 100644 new mode 100755 diff --git a/app/Livewire/Actions/Logout.php b/app/Livewire/Actions/Logout.php old mode 100644 new mode 100755 diff --git a/app/Livewire/Settings/Appearance.php b/app/Livewire/Settings/Appearance.php old mode 100644 new mode 100755 diff --git a/app/Livewire/Settings/DeleteUserForm.php b/app/Livewire/Settings/DeleteUserForm.php old mode 100644 new mode 100755 diff --git a/app/Livewire/Settings/Profile.php b/app/Livewire/Settings/Profile.php old mode 100644 new mode 100755 diff --git a/app/Livewire/Settings/Security.php b/app/Livewire/Settings/Security.php old mode 100644 new mode 100755 diff --git a/app/Livewire/Settings/TwoFactor/RecoveryCodes.php b/app/Livewire/Settings/TwoFactor/RecoveryCodes.php old mode 100644 new mode 100755 diff --git a/app/Models/User.php b/app/Models/User.php old mode 100644 new mode 100755 diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php old mode 100644 new mode 100755 diff --git a/app/Providers/FortifyServiceProvider.php b/app/Providers/FortifyServiceProvider.php old mode 100644 new mode 100755 diff --git a/boost.json b/boost.json old mode 100644 new mode 100755 diff --git a/bootstrap/app.php b/bootstrap/app.php old mode 100644 new mode 100755 diff --git a/bootstrap/cache/.gitignore b/bootstrap/cache/.gitignore old mode 100644 new mode 100755 diff --git a/bootstrap/providers.php b/bootstrap/providers.php old mode 100644 new mode 100755 diff --git a/composer.json b/composer.json old mode 100644 new mode 100755 index 0e4fa2b..cc493bf --- a/composer.json +++ b/composer.json @@ -10,6 +10,7 @@ "license": "MIT", "require": { "php": "^8.3", + "directorytree/ldaprecord-laravel": "^4.0", "laravel/chisel": "^0.1.0", "laravel/fortify": "^1.37.2", "laravel/framework": "^13.17", @@ -17,8 +18,8 @@ "livewire/blaze": "^1.0", "livewire/flux": "^2.13.1", "livewire/livewire": "^4.1", - "predis/predis": "^3.5", - "mpba/laravel-modules": "dev-main" + "mpba/laravel-modules": "dev-main", + "predis/predis": "^3.5" }, "require-dev": { "deployer/deployer": "^8.0", diff --git a/composer.lock b/composer.lock old mode 100644 new mode 100755 index 7e26f50..2e69d73 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "26f6a407b1691a705ed51437c1714947", + "content-hash": "abd5b59842cd5652cba2ce4dced6aa81", "packages": [ { "name": "bacon/bacon-qr-code", @@ -314,6 +314,149 @@ }, "time": "2024-07-08T12:26:09+00:00" }, + { + "name": "directorytree/ldaprecord", + "version": "v4.1.1", + "source": { + "type": "git", + "url": "https://github.com/DirectoryTree/LdapRecord.git", + "reference": "589dddf46c1ece00933268bcdc4ec7a0769eed9b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/DirectoryTree/LdapRecord/zipball/589dddf46c1ece00933268bcdc4ec7a0769eed9b", + "reference": "589dddf46c1ece00933268bcdc4ec7a0769eed9b", + "shasum": "" + }, + "require": { + "ext-iconv": "*", + "ext-json": "*", + "ext-ldap": "*", + "illuminate/collections": "^8.0|^9.0|^10.0|^11.0|^12.0|^13.0", + "illuminate/contracts": "^8.0|^9.0|^10.0|^11.0|^12.0|^13.0", + "nesbot/carbon": "*", + "php": ">=8.1", + "psr/log": "*", + "psr/simple-cache": "^1.0|^2.0|^3.0" + }, + "require-dev": { + "fakerphp/faker": "^1.21", + "laravel/pint": "^1.6", + "mockery/mockery": "^1.0", + "phpunit/phpunit": "^9.0", + "spatie/ray": "^1.24" + }, + "type": "library", + "autoload": { + "psr-4": { + "LdapRecord\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Steve Bauman", + "email": "steven_bauman@outlook.com", + "role": "Developer" + } + ], + "description": "A fully-featured LDAP ORM.", + "homepage": "https://www.ldaprecord.com", + "keywords": [ + "active directory", + "ad", + "adLDAP", + "adldap2", + "directory", + "ldap", + "ldaprecord", + "orm", + "windows" + ], + "support": { + "docs": "https://ldaprecord.com", + "email": "steven_bauman@outlook.com", + "issues": "https://github.com/DirectoryTree/LdapRecord/issues", + "source": "https://github.com/DirectoryTree/LdapRecord" + }, + "funding": [ + { + "url": "https://github.com/stevebauman", + "type": "github" + } + ], + "time": "2026-10-08T15:26:21+00:00" + }, + { + "name": "directorytree/ldaprecord-laravel", + "version": "v4.0.5", + "source": { + "type": "git", + "url": "https://github.com/DirectoryTree/LdapRecord-Laravel.git", + "reference": "e52ee08744327317cef17abcdb8a22bb079085da" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/DirectoryTree/LdapRecord-Laravel/zipball/e52ee08744327317cef17abcdb8a22bb079085da", + "reference": "e52ee08744327317cef17abcdb8a22bb079085da", + "shasum": "" + }, + "require": { + "directorytree/ldaprecord": "^4.0", + "ext-json": "*", + "ext-ldap": "*", + "illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0|^13.0", + "php": ">=8.1", + "ramsey/uuid": "*" + }, + "require-dev": { + "laravel/pint": "^1.9", + "laravel/sanctum": "*", + "mockery/mockery": "^1.0", + "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "phpunit/phpunit": "^8.0|^9.0|^10.0|^11.0", + "spatie/ray": "^1.28" + }, + "type": "project", + "extra": { + "laravel": { + "providers": [ + "LdapRecord\\Laravel\\LdapServiceProvider", + "LdapRecord\\Laravel\\LdapAuthServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "LdapRecord\\Laravel\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "LDAP Authentication & Management for Laravel.", + "keywords": [ + "adldap2", + "laravel", + "ldap", + "ldaprecord" + ], + "support": { + "issues": "https://github.com/DirectoryTree/LdapRecord-Laravel/issues", + "source": "https://github.com/DirectoryTree/LdapRecord-Laravel/tree/v4.0.5" + }, + "funding": [ + { + "url": "https://github.com/stevebauman", + "type": "github" + } + ], + "time": "2026-08-10T14:24:38+00:00" + }, { "name": "doctrine/deprecations", "version": "1.1.6", @@ -12376,6 +12519,6 @@ "platform": { "php": "^8.3" }, - "platform-dev": [], - "plugin-api-version": "2.6.0" + "platform-dev": {}, + "plugin-api-version": "2.9.0" } diff --git a/config/app.php b/config/app.php old mode 100644 new mode 100755 diff --git a/config/auth.php b/config/auth.php old mode 100644 new mode 100755 diff --git a/config/cache.php b/config/cache.php old mode 100644 new mode 100755 diff --git a/config/database.php b/config/database.php old mode 100644 new mode 100755 diff --git a/config/filesystems.php b/config/filesystems.php old mode 100644 new mode 100755 diff --git a/config/fortify.php b/config/fortify.php old mode 100644 new mode 100755 diff --git a/config/ldap.php b/config/ldap.php new file mode 100644 index 0000000..99c8705 --- /dev/null +++ b/config/ldap.php @@ -0,0 +1,81 @@ + env('LDAP_CONNECTION', 'default'), + + /* + |-------------------------------------------------------------------------- + | LDAP Connections + |-------------------------------------------------------------------------- + | + | Below you may configure each LDAP connection your application requires + | access to. Be sure to include a valid base DN - otherwise you may + | not receive any results when performing LDAP search operations. + | + */ + + 'connections' => [ + + 'default' => [ + 'hosts' => [env('LDAP_HOST', '127.0.0.1')], + 'username' => env('LDAP_USERNAME', 'cn=user,dc=local,dc=com'), + 'password' => env('LDAP_PASSWORD', 'secret'), + 'port' => env('LDAP_PORT', 389), + 'base_dn' => env('LDAP_BASE_DN', 'dc=local,dc=com'), + 'timeout' => env('LDAP_TIMEOUT', 5), + 'use_tls' => env('LDAP_TLS', false), + 'use_starttls' => env('LDAP_STARTTLS', false), + 'use_sasl' => env('LDAP_SASL', false), + 'sasl_options' => [ + // 'mech' => 'GSSAPI', + ], + ], + + ], + + /* + |-------------------------------------------------------------------------- + | LDAP Logging + |-------------------------------------------------------------------------- + | + | When LDAP logging is enabled, all LDAP search and authentication + | operations are logged using the default application logging + | driver. This can assist in debugging issues and more. + | + */ + + 'logging' => [ + 'enabled' => env('LDAP_LOGGING', true), + 'channel' => env('LOG_CHANNEL', 'stack'), + 'level' => env('LOG_LEVEL', 'info'), + ], + + /* + |-------------------------------------------------------------------------- + | LDAP Cache + |-------------------------------------------------------------------------- + | + | LDAP caching enables the ability of caching search results using the + | query builder. This is great for running expensive operations that + | may take many seconds to complete, such as a pagination request. + | + */ + + 'cache' => [ + 'enabled' => env('LDAP_CACHE', false), + 'driver' => env('CACHE_DRIVER', 'file'), + ], + +]; diff --git a/config/logging.php b/config/logging.php old mode 100644 new mode 100755 diff --git a/config/mail.php b/config/mail.php old mode 100644 new mode 100755 diff --git a/config/modules.php b/config/modules.php old mode 100644 new mode 100755 diff --git a/config/queue.php b/config/queue.php old mode 100644 new mode 100755 diff --git a/config/services.php b/config/services.php old mode 100644 new mode 100755 diff --git a/config/session.php b/config/session.php old mode 100644 new mode 100755 diff --git a/database/.gitignore b/database/.gitignore old mode 100644 new mode 100755 diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php old mode 100644 new mode 100755 diff --git a/database/migrations/0001_01_01_000000_create_users_table.php b/database/migrations/0001_01_01_000000_create_users_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/0001_01_01_000001_create_cache_table.php b/database/migrations/0001_01_01_000001_create_cache_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/0001_01_01_000002_create_jobs_table.php b/database/migrations/0001_01_01_000002_create_jobs_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2024_01_01_000000_create_passkeys_table.php b/database/migrations/2024_01_01_000000_create_passkeys_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2025_08_14_170933_add_two_factor_columns_to_users_table.php b/database/migrations/2025_08_14_170933_add_two_factor_columns_to_users_table.php old mode 100644 new mode 100755 diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php old mode 100644 new mode 100755 diff --git a/deploy.php b/deploy.php old mode 100644 new mode 100755 diff --git a/modules_statuses.json b/modules_statuses.json old mode 100644 new mode 100755 index 431fdbb..573ab01 --- a/modules_statuses.json +++ b/modules_statuses.json @@ -1 +1,5 @@ -{"Stylist":true} +{ + "Stylist": true, + "M3": true, + "OTM": true +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json old mode 100644 new mode 100755 index b988217..2bf6185 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "standard_install", + "name": "AD_Testing", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package.json b/package.json old mode 100644 new mode 100755 diff --git a/phpstan.neon b/phpstan.neon old mode 100644 new mode 100755 diff --git a/phpunit.xml b/phpunit.xml old mode 100644 new mode 100755 diff --git a/pint.json b/pint.json old mode 100644 new mode 100755 diff --git a/provision/.gitignore b/provision/.gitignore old mode 100644 new mode 100755 diff --git a/provision/AGENTS.md b/provision/AGENTS.md old mode 100644 new mode 100755 diff --git a/public/.htaccess b/public/.htaccess old mode 100644 new mode 100755 diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png old mode 100644 new mode 100755 diff --git a/public/favicon.ico b/public/favicon.ico old mode 100644 new mode 100755 diff --git a/public/favicon.svg b/public/favicon.svg old mode 100644 new mode 100755 diff --git a/public/index.php b/public/index.php old mode 100644 new mode 100755 diff --git a/public/robots.txt b/public/robots.txt old mode 100644 new mode 100755 diff --git a/readme.md b/readme.md old mode 100644 new mode 100755 diff --git a/resources/themes/backend/assets/css/app.css b/resources/themes/backend/assets/css/app.css old mode 100644 new mode 100755 diff --git a/resources/themes/backend/assets/js/passkeys.js b/resources/themes/backend/assets/js/passkeys.js old mode 100644 new mode 100755 diff --git a/resources/themes/backend/theme.json b/resources/themes/backend/theme.json old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/components/app-logo-icon.blade.php b/resources/themes/backend/views/components/app-logo-icon.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/components/app-logo.blade.php b/resources/themes/backend/views/components/app-logo.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/components/auth-header.blade.php b/resources/themes/backend/views/components/auth-header.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/components/auth-session-status.blade.php b/resources/themes/backend/views/components/auth-session-status.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/components/desktop-user-menu.blade.php b/resources/themes/backend/views/components/desktop-user-menu.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/components/passkey-registration.blade.php b/resources/themes/backend/views/components/passkey-registration.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/components/passkey-verify.blade.php b/resources/themes/backend/views/components/passkey-verify.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/components/placeholder-pattern.blade.php b/resources/themes/backend/views/components/placeholder-pattern.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/components/settings/layout.blade.php b/resources/themes/backend/views/components/settings/layout.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/dashboard.blade.php b/resources/themes/backend/views/dashboard.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/flux/icon/book-open-text.blade.php b/resources/themes/backend/views/flux/icon/book-open-text.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/flux/icon/chevrons-up-down.blade.php b/resources/themes/backend/views/flux/icon/chevrons-up-down.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/flux/icon/folder-git-2.blade.php b/resources/themes/backend/views/flux/icon/folder-git-2.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/flux/icon/layout-grid.blade.php b/resources/themes/backend/views/flux/icon/layout-grid.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/flux/navlist/group.blade.php b/resources/themes/backend/views/flux/navlist/group.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/layouts/app.blade.php b/resources/themes/backend/views/layouts/app.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/layouts/app/header.blade.php b/resources/themes/backend/views/layouts/app/header.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/layouts/app/sidebar.blade.php b/resources/themes/backend/views/layouts/app/sidebar.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/layouts/auth.blade.php b/resources/themes/backend/views/layouts/auth.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/layouts/auth/card.blade.php b/resources/themes/backend/views/layouts/auth/card.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/layouts/auth/simple.blade.php b/resources/themes/backend/views/layouts/auth/simple.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/layouts/auth/split.blade.php b/resources/themes/backend/views/layouts/auth/split.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/livewire/auth/confirm-password.blade.php b/resources/themes/backend/views/livewire/auth/confirm-password.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/livewire/auth/forgot-password.blade.php b/resources/themes/backend/views/livewire/auth/forgot-password.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/livewire/auth/login.blade.php b/resources/themes/backend/views/livewire/auth/login.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/livewire/auth/register.blade.php b/resources/themes/backend/views/livewire/auth/register.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/livewire/auth/reset-password.blade.php b/resources/themes/backend/views/livewire/auth/reset-password.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/livewire/auth/two-factor-challenge.blade.php b/resources/themes/backend/views/livewire/auth/two-factor-challenge.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/livewire/auth/verify-email.blade.php b/resources/themes/backend/views/livewire/auth/verify-email.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/livewire/settings/appearance.blade.php b/resources/themes/backend/views/livewire/settings/appearance.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/livewire/settings/delete-user-form.blade.php b/resources/themes/backend/views/livewire/settings/delete-user-form.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/livewire/settings/profile.blade.php b/resources/themes/backend/views/livewire/settings/profile.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/livewire/settings/security.blade.php b/resources/themes/backend/views/livewire/settings/security.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/livewire/settings/two-factor/recovery-codes.blade.php b/resources/themes/backend/views/livewire/settings/two-factor/recovery-codes.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/partials/head.blade.php b/resources/themes/backend/views/partials/head.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/backend/views/partials/settings-heading.blade.php b/resources/themes/backend/views/partials/settings-heading.blade.php old mode 100644 new mode 100755 diff --git a/resources/themes/frontend/theme.json b/resources/themes/frontend/theme.json old mode 100644 new mode 100755 diff --git a/resources/themes/frontend/views/welcome.blade.php b/resources/themes/frontend/views/welcome.blade.php old mode 100644 new mode 100755 diff --git a/routes/console.php b/routes/console.php old mode 100644 new mode 100755 diff --git a/routes/settings.php b/routes/settings.php old mode 100644 new mode 100755 diff --git a/routes/web.php b/routes/web.php old mode 100644 new mode 100755 diff --git a/storage/app/.gitignore b/storage/app/.gitignore old mode 100644 new mode 100755 diff --git a/storage/app/private/.gitignore b/storage/app/private/.gitignore old mode 100644 new mode 100755 diff --git a/storage/app/public/.gitignore b/storage/app/public/.gitignore old mode 100644 new mode 100755 diff --git a/storage/debugbar/.gitignore b/storage/debugbar/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/.gitignore b/storage/framework/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/cache/.gitignore b/storage/framework/cache/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/cache/data/.gitignore b/storage/framework/cache/data/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/sessions/.gitignore b/storage/framework/sessions/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/testing/.gitignore b/storage/framework/testing/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/views/.gitignore b/storage/framework/views/.gitignore old mode 100644 new mode 100755 diff --git a/storage/logs/.gitignore b/storage/logs/.gitignore old mode 100644 new mode 100755 diff --git a/tests/Feature/Auth/AuthenticationTest.php b/tests/Feature/Auth/AuthenticationTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/Auth/EmailVerificationTest.php b/tests/Feature/Auth/EmailVerificationTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/Auth/PasswordConfirmationTest.php b/tests/Feature/Auth/PasswordConfirmationTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/Auth/PasswordResetTest.php b/tests/Feature/Auth/PasswordResetTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/Auth/RegistrationTest.php b/tests/Feature/Auth/RegistrationTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/Auth/TwoFactorChallengeTest.php b/tests/Feature/Auth/TwoFactorChallengeTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/DashboardTest.php b/tests/Feature/DashboardTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/Settings/ProfileUpdateTest.php b/tests/Feature/Settings/ProfileUpdateTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/Settings/SecurityTest.php b/tests/Feature/Settings/SecurityTest.php old mode 100644 new mode 100755 diff --git a/tests/Pest.php b/tests/Pest.php old mode 100644 new mode 100755 diff --git a/tests/TestCase.php b/tests/TestCase.php old mode 100644 new mode 100755 diff --git a/tests/Unit/ExampleTest.php b/tests/Unit/ExampleTest.php old mode 100644 new mode 100755 diff --git a/vite.config.js b/vite.config.js old mode 100644 new mode 100755