Compare commits

...

4 Commits

4 changed files with 9 additions and 10 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
# Do not index node.js modules that are used for building
node_modules
package-lock.json
# Do not index releases
release

View File

@ -40,7 +40,7 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi
if (array_key_exists(SESSION_PREFIX . 'operator', $_SESSION)
&& is_capable(CAN_ADMINISTRATE, operator_by_id($_SESSION[SESSION_PREFIX . 'operator']['operatorid']))) {
if (!strcmp('/operator/history', $args['request']->getPathInfo())) {
$args['js'][] = $this->getFilesPath() . '/js/alter_form.js';
$args['js'][] = str_replace(DIRECTORY_SEPARATOR, '/', $this->getFilesPath()) . '/js/alter_form.js';
}
}
}
@ -52,6 +52,6 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi
*/
public static function getVersion()
{
return '0.1.0';
return '0.1.1';
}
}

View File

@ -16,14 +16,12 @@ gulp.task('prepare-release', function() {
.pipe(tar('bulk-logs-operations-plugin-' + version + '.tar'))
.pipe(gzip())
)
.pipe(chmod(644))
.pipe(chmod(0644))
.pipe(gulp.dest('release'));
});
// Builds and packs plugins sources
gulp.task('default', ['prepare-release'], function() {
// The "default" task is just an alias for "prepare-release" task.
});
gulp.task('default', gulp.series('prepare-release'));
/**
* Returns files stream with the plugin sources.

View File

@ -1,18 +1,18 @@
{
"name": "bulk-logs-operations-plugin",
"version": "0.1.0",
"version": "0.1.1",
"description": "A plugin for Mibew implementing bulk operations over the saved chat logs.",
"private": true,
"bugs": {
"url": "https://github.com/mibew/bulk-logs-operations-plugin/issues"
},
"devDependencies": {
"gulp": "~3.8.10",
"gulp": "~4.0.0",
"event-stream": "~3.1.7",
"gulp-zip": "~2.0.2",
"gulp-tar": "~1.3.0",
"gulp-tar": "~3.1.0",
"gulp-gzip": "~0.0.8",
"gulp-chmod": "~1.2.0",
"gulp-chmod": "~3.0.0",
"gulp-rename": "~1.2.0"
}
}