SilverStripe Development Tools: Tasks

https://ud.tecco.lv/

dev → tasks

Find duplicate image files (by file name)

Finds all image files which have the same file name (regardless of full file path).
Run task

Remove drawings, votes & files

Removes all drawings, votes & files (which are in folder `Drawings`)
Run task

Purge LoginAttempt table

Remove all entries from `LoginAttempt` table.
Run task

Remove users

Remove users from `Members` class above ID 50 that are not extended by `UserMember` class.
Run task

Broken Files Task

Broken files report
Run task

Clean content task

Clean content task
Run task

Dump MySQL Task

Create MySQL dump
Run task

Test server

Test server
Run task

Remove Old Elements

Removes old Elements from DB if there's no such class
Run task

Broken Files Task

Broken files report
Run task

Test server

Test server
Run task

Clean content task

Clean content task
Run task

Dump MySQL Task

Create MySQL dump
Run task

Prune old DataObject versions

Delete old versioned DataObject versions from the database
Run task

MigrateContentToElement

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

Reset Globally Enabled elements

Reset individual elements 'AvailableGlobally' setting with the default_global_elements config
Run task

Flexslider - Default Slide Type Task

No description available
Run task

Flexslider - Slide Link Migration Task

No description available
Run task

FlexSlider - Default Values

Set default values for slider after the thumbnail nav update
Run task

Hydrate the focuspoint extension image size cache

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

Migrate SiteTree Linking Task

Updates legacy SiteTree link tracking into new polymorphic many_many relation
Run task

Checking broken External links in the SiteTree

A task that records external broken links in the SiteTree
Run task

Database Migrations

Provide atomic database changes (subclass this and implement yourself)
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

Test if emails are working

No description available
Run task

Convert Translatable > Fluent Task

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

Initial page 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. Pages which are not published will not be published, only localised. Pages which are already localised will be skipped.
Run task

Clear InterventionBackend cache

Clears caches for InterventionBackend
Run task

Rewrite tags to shortcodes

Rewrites tags to shortcodes in any HTMLText field

Parameters:
- baseClass: The base class that will be used to look up HTMLText fields. Defaults to SilverStripe\ORM\DataObject
- includeBaseClass: Whether to include the base class' HTMLText fields or not
Run task

Migrate versionedfiles

If you had the symbiote/silverstripe-versionedfiles module installed on your 3.x site, it
is no longer needed in 4.x as this functionality is provided by default. This task will remove the old _versions
folders or protect them, depending on the strategy you use. Use ?strategy=delete or ?strategy=protect (Apache
only). [Default: delete]
Run task

Deletes all temporary test databases

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

Migrate File dataobjects from 3.x and successive iterations in 4.x

Imports all files referenced by File dataobjects into the new Asset Persistence Layer introduced in 4.0.
Moves existing thumbnails, and generates new thumbnail sizes for the CMS UI. Fixes file permissions.
If the task fails or times out, run it again and if possible the tasks will start where they left off.
You need to flush your cache after running this task via CLI.
See https://docs.silverstripe.org/en/4/developer_guides/files/file_migration/.
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: FALSE)
Run task

Publish all files

Publish all files
Run task

Remove bad votes

Remove bad votes
Run task

Generate website QR-code

Generate website QR-code
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