SilverStripe Development Tools: Tasks

https://dev.bvhm.quinn.com

dev → tasks

MigrateContentToElement

When installing Elemental this task converts content in the $Content field to an ElementContent
Run task

Hydrate the focuspoint extension image size cache

Run this task to cache all image sizes, and speed up image generation
Run task

Linux reboot needed

Detects /var/run/reboot-required and notifies specified email addresses if needed
Run task

Login Session Garbage Collection Task

Removes expired login sessions and “remember me” hashes from the database
Run task

Invalidate All Login Sessions Task

Removes all login sessions and "remember me" hashes (including yours) from the database
Run task

Convert Translatable > Fluent Task

Migrates site DB from SS3 Translatable DB format to SS4 Fluent.
Run task

Initial DataObject localisation (excludes SiteTree)

Intended for projects which already have data when Fluent module is added. This dev task will localise / publish all DataObjects in the default locale. Locale setup has to be done before running this task. Pass limit=N to limit number of records to localise. Pass publish=1 to enable publishing of localised Versioned DataObjects. Regardless, Versioned DataObjects which were not already published will not be published, only localised. DataObjects which were already localised will always be skipped. This class may be extended to create custom initialization tasks targeting or excluding specific classes.
Run task

Clear InterventionBackend cache

Clears caches for InterventionBackend
Run task

Deletes all temporary test databases

Cleans up leftover databases from aborted test executions (starting with ss_tmpdb)
Run task

i18n Textcollector Task

Traverses through files in order to collect the 'entity master tables'
stored in each module.

Parameters:
- locale: Sets default locale
- writer: Custom writer class (defaults to i18nTextCollector_Writer_RailsYaml)
- module: One or more modules to limit collection (comma-separated)
- merge: Merge new strings with existing ones already defined in language files (default: TRUE)
Run task

Migrate Focus-Point Field-Values.

Migrate Focus-Point fields from v2 to v3 or vice-versa.
Run task

UserForms EditableFormField Column Clean task

Removes unused columns from EditableFormField for MySQL databases;
Run task

Initial SiteTree localisation

Intended for projects which already have some Pages when Fluent module is added. This dev task will localise / publish all Pages in the default locale. Locale setup has to be done before running this task. Pass limit=N to limit number of records to localise. Pass publish=1 to force publishing of localised Pages. Regardless, Pages which were not already published will not be published, only localised. Pages which were already localised will always be skipped.
Run task