mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 23:14:03 +00:00
* This adds support for tenancy aware Storage::url() method * Trigger CI build * Fixed Link command for Laravel v6, added StorageLink Events, more StorageLink tests, added RemoveStorageSymlinks Job, added Storage Jobs to TenancyServiceProvider stub, renamed misleading config example. * Fix typo * Fix code style (php-cs-fixer) * Update config comments * Format code in Link command, make writing more concise * Change "symLinks" to "symlinks" * Refactor Link command * Fix test name typo * Test fetching files using the public URL * Extract Link command logic into actions * Fix code style (php-cs-fixer) * Check if closure is null in CreateStorageSymlinksAction * Stop using command terminology in CreateStorageSymlinksAction * Separate the Storage::url() test cases * Update url_override comments * Remove afterLink closures, add types, move actions, add usage explanation to the symlink trait * Fix code style (php-cs-fixer) * Update public storage URL test * Fix issue with using str() * Improve url_override comment, add todos * add todo comment * fix docblock style * Add link command tests back * Add types to $tenants in the action handle() methods * Fix typo, update variable name formatting * Add tests for the symlink actions * Change possibleTenantSymlinks not to prefix the paths twice while tenancy is initialized * Fix code style (php-cs-fixer) * Stop testing storage directory existence in symlink test * Don't specify full namespace for Tenant model annotation * Don't specify full namespace in ActionTest * Remove "change to DI" todo * Remove possibleTenantSymlinks return annotation * Remove symlink-related jobs, instantiate and use actions * Revert "Remove symlink-related jobs, instantiate and use actions" This reverts commit |
||
|---|---|---|
| .. | ||
| Contracts | ||
| BootstrappingTenancy.php | ||
| CreatingDatabase.php | ||
| CreatingDomain.php | ||
| CreatingStorageSymlink.php | ||
| CreatingTenant.php | ||
| DatabaseCreated.php | ||
| DatabaseDeleted.php | ||
| DatabaseMigrated.php | ||
| DatabaseRolledBack.php | ||
| DatabaseSeeded.php | ||
| DeletingDatabase.php | ||
| DeletingDomain.php | ||
| DeletingTenant.php | ||
| DomainCreated.php | ||
| DomainDeleted.php | ||
| DomainSaved.php | ||
| DomainUpdated.php | ||
| EndingTenancy.php | ||
| InitializingTenancy.php | ||
| MigratingDatabase.php | ||
| RemovingStorageSymlink.php | ||
| RevertedToCentralContext.php | ||
| RevertingToCentralContext.php | ||
| RollingBackDatabase.php | ||
| SavedDomain.php | ||
| SavedTenant.php | ||
| SavingDomain.php | ||
| SavingTenant.php | ||
| SeedingDatabase.php | ||
| StorageSymlinkCreated.php | ||
| StorageSymlinkRemoved.php | ||
| SyncedResourceChangedInForeignDatabase.php | ||
| SyncedResourceSaved.php | ||
| TenancyBootstrapped.php | ||
| TenancyEnded.php | ||
| TenancyInitialized.php | ||
| TenantCreated.php | ||
| TenantDeleted.php | ||
| TenantSaved.php | ||
| TenantUpdated.php | ||
| UpdatingDomain.php | ||
| UpdatingTenant.php | ||