Cleans up outdated dialogs
Go to file
2021-01-30 00:00:44 +03:00
.gitignore Disable versioning for package-lock.json 2021-01-29 23:57:26 +03:00
gulpfile.js Switch go Gulp 4 for builds 2021-01-30 00:00:44 +03:00
LICENSE Initial commit 2015-02-27 09:56:59 +00:00
package.json Switch go Gulp 4 for builds 2021-01-30 00:00:44 +03:00
Plugin.php Initial commit 2015-02-27 09:56:59 +00:00
README.md Fix plugin's download URL 2015-03-16 13:08:43 +00:00

Mibew Purge History plugin

It cleans up outdated dialogs.

Installation

  1. Get the archive with the plugin sources. You can download it from the official site or build the plugin from sources.

  2. Untar/unzip the plugin's archive.

  3. Put files of the plugins to the <Mibew root>/plugins folder.

  4. (optional) Add plugins configs to "plugins" structure in "<Mibew root>/configs/config.yml". If the "plugins" stucture looks like plugins: [] it will become:

    plugins:
        "Mibew:PurgeHistory": # Plugin's configurations are described below
            timeout: 172800
    
  5. Navigate to "<Mibew Base URL>/operator/plugin" page and enable the plugin.

Important: The plugin uses cron tasks to perform cleaning so you need to make sure the Mibew's cron is and working.

Plugin's configurations

The plugin can be configured with values in "<Mibew root>/configs/config.yml" file.

config.timeout

Type: Integer

Default: 172800

Time in seconds after which a dialog is considered outdated. The default value is 172800 seconds which is equal to two days.

Build from sources

There are several actions one should do before use the latest version of the plugin from the repository:

  1. Obtain a copy of the repository using git clone, download button, or another way.
  2. Install node.js and npm.
  3. Install Gulp.
  4. Install npm dependencies using npm install.
  5. Run Gulp to build the sources using gulp default.

Finally .tar.gz and .zip archives of the ready-to-use Plugin will be available in release directory.

License

Apache License 2.0