Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changelog: #1865

Merged
merged 1 commit into from
Apr 21, 2024
Merged

Changelog: #1865

merged 1 commit into from
Apr 21, 2024

Conversation

Blair2004
Copy link
Owner

  • Added: module can now be autoloaded

- Added: module can no be autoloaded
Copy link

what-the-diff bot commented Apr 21, 2024

PR Summary

  • Modification in scheduling process for Console Kernel
    The method schedule() in app/Console/Kernel.php has been adjusted to utilize the getEnabledAndAutoloadedModules() method instead of getEnabled(). This allows for a more effective arrangement of jobs based on modules that are enabled and also set to autoload.

  • Update Controller Database Enhancement
    In app/Http/Controllers/UpdateController.php, there's a modification to the updateDatabase() method where it now applies the getEnabledAndAutoloadedModules() method rather than getEnabled(). This streamline updates following the active and autoloaded modules.

  • Registration process tweak in CrudServiceProvider
    Updates in app/Providers/CrudServiceProvider.php include a change in the register() method where it now uses getEnabledAndAutoloadedModules(). This allows a smoother registration of services in direct line with the active and autoloaded modules.

  • Streamlined Event Discovery within EventServiceProvider
    app/Providers/EventServiceProvider.php has its method discoverEventsWithin() updated to work with the getEnabledAndAutoloadedModules(). It makes event discovery more fine-tuned in line with enabled and autoloaded modules.

  • Boot and Register method changes in ModulesServiceProvider
    In app/Providers/ModulesServiceProvider.php, both the boot() and register() methods have adjusted to use getEnabledAndAutoloadedModules(), enhancing module management operations.

  • SettingsPageProvider boot method update
    For app/Providers/SettingsPageProvider.php, the boot() method now uses getEnabledAndAutoloadedModules(), giving better control over the configuration page as per the active and autoloaded modules.

  • New method addition to Modules Service
    app/Services/ModulesService.php has a new method getEnabledAndAutoloadedModules() which conveniently returns a collection of all enabled modules and modules that are set to autoload.

  • Conditional button disabling in certain components
    Changes in resources/ts/components/ns-table-row.vue and resources/ts/pages/dashboard/modules.vue include conditionals that disable buttons when a module is set to autoload, offering a more user-friendly interaction.

@Blair2004 Blair2004 merged commit aff9f18 into master Apr 21, 2024
2 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.

None yet

2 participants