Utility app providing event listeners and extensible tools for system administration and maintenance tasks.
NCW Tools enhances Nextcloud with advanced system utilities including event listeners for monitoring system events, and extensible tools designed to streamline system administration and maintenance workflows.
-
Clone this repository into your Nextcloud apps directory:
cd nextcloud/apps git clone <repository-url> ncw_tools
-
Install dependencies:
cd ncw_tools composer install -
Enable the app in your Nextcloud admin panel or via command line:
php occ app:enable ncw_tools
The app includes a background job that sends a welcome email to the admin user after installation. You can configure how often this job retries by setting the following system configuration value in your config/config.php:
'ncw_tools.post_setup_job.retry_interval' => 5, // Retry every 5 seconds (default: 2)Configuration Options:
- Key:
ncw_tools.post_setup_job.retry_interval - Type: Integer (seconds)
- Default:
2seconds - Description: Interval in seconds between retry attempts for the post-installation welcome email job
- PHP 8.1+
- Composer
- Clone the repository
- Install dependencies:
composer install
composer lint- Lint PHP filescomposer cs:check- Check coding stylecomposer cs:fix- Fix coding stylecomposer psalm- Run static analysiscomposer test:unit- Run unit tests
Run the unit tests:
composer test:unitThis project is licensed under the AGPL-3.0-or-later license. See the LICENSE file for details.