mirror of
https://github.com/Mibew/bulk-logs-operations-plugin.git
synced 2025-04-12 05:20:11 +03:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
e4118d0b64 | |||
9897490fe0 | |||
5f807c29a3 | |||
81e1e76bbf |
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
@ -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';
|
||||
}
|
||||
}
|
||||
|
@ -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.
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user