Skip to content

Release Candidate 1#1

Merged
AHS12 merged 9 commits intomainfrom
dev
Jun 12, 2025
Merged

Release Candidate 1#1
AHS12 merged 9 commits intomainfrom
dev

Conversation

@AHS12
Copy link
Owner

@AHS12 AHS12 commented Jun 10, 2025

Refactor Setanjo package: Remove unused files, implement settings management, and add cache clearing commands

  • Deleted obsolete ModelFactory, migration stubs, and facade files.
  • Introduced Setting model and SettingFactory for managing settings.
  • Created DatabaseSettingsRepository for settings storage and retrieval.
  • Added SetanjoManager for handling tenant-specific settings.
  • Implemented ClearCacheCommand and InstallDefaultsCommand for cache management and default settings installation.
  • Established SettingsRepositoryInterface for consistent settings handling.
  • Added SettingType enum for defining various setting types.
  • Enhanced exception handling with InvalidTenantException for tenant validation.
  • Configured service provider for package registration and model macro support.

AHS12 and others added 9 commits June 11, 2025 02:04
…che clearing command, and restructure settings management
…on, adjust test matrix in run-tests.yml, and clean up Setting model
- Added architectural tests to ensure adherence to coding standards and best practices.
- Removed ExampleTest.php as it was unnecessary.
- Enhanced TestCase.php to set up database tables for testing.
- Created SetanjoManagerFeatureTest.php to cover global and tenant-specific settings functionality.
- Developed Company and User models for testing purposes.
- Implemented DatabaseSettingRepositoryUnitTest.php to validate database interactions for settings.
- Created SetanjoManagerUnitTest.php to test the SetanjoManager's functionality and tenant handling.
- Added SettingModelUnitTest.php to verify the Setting model's behavior and attributes.
- Developed SettingTypeEnumUnitTest.php to ensure correct behavior of the SettingType enum.
…instructions; update config defaults for clarity

refactor: improve cache handling in DatabaseSettingsRepository and ClearCacheCommand
@AHS12 AHS12 merged commit 0f8864c into main Jun 12, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant