mirror of
https://github.com/Mibew/bulk-logs-operations-plugin.git
synced 2025-04-24 19:06:07 +03:00
Compare commits
No commits in common. "master" and "v0.1.0" have entirely different histories.
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,5 @@
|
|||||||
# Do not index node.js modules that are used for building
|
# Do not index node.js modules that are used for building
|
||||||
node_modules
|
node_modules
|
||||||
package-lock.json
|
|
||||||
|
|
||||||
# Do not index releases
|
# Do not index releases
|
||||||
release
|
release
|
||||||
|
@ -40,7 +40,7 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi
|
|||||||
if (array_key_exists(SESSION_PREFIX . 'operator', $_SESSION)
|
if (array_key_exists(SESSION_PREFIX . 'operator', $_SESSION)
|
||||||
&& is_capable(CAN_ADMINISTRATE, operator_by_id($_SESSION[SESSION_PREFIX . 'operator']['operatorid']))) {
|
&& is_capable(CAN_ADMINISTRATE, operator_by_id($_SESSION[SESSION_PREFIX . 'operator']['operatorid']))) {
|
||||||
if (!strcmp('/operator/history', $args['request']->getPathInfo())) {
|
if (!strcmp('/operator/history', $args['request']->getPathInfo())) {
|
||||||
$args['js'][] = str_replace(DIRECTORY_SEPARATOR, '/', $this->getFilesPath()) . '/js/alter_form.js';
|
$args['js'][] = $this->getFilesPath() . '/js/alter_form.js';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -52,6 +52,6 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi
|
|||||||
*/
|
*/
|
||||||
public static function getVersion()
|
public static function getVersion()
|
||||||
{
|
{
|
||||||
return '0.1.1';
|
return '0.1.0';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,12 +16,14 @@ gulp.task('prepare-release', function() {
|
|||||||
.pipe(tar('bulk-logs-operations-plugin-' + version + '.tar'))
|
.pipe(tar('bulk-logs-operations-plugin-' + version + '.tar'))
|
||||||
.pipe(gzip())
|
.pipe(gzip())
|
||||||
)
|
)
|
||||||
.pipe(chmod(0644))
|
.pipe(chmod(644))
|
||||||
.pipe(gulp.dest('release'));
|
.pipe(gulp.dest('release'));
|
||||||
});
|
});
|
||||||
|
|
||||||
// Builds and packs plugins sources
|
// Builds and packs plugins sources
|
||||||
gulp.task('default', gulp.series('prepare-release'));
|
gulp.task('default', ['prepare-release'], function() {
|
||||||
|
// The "default" task is just an alias for "prepare-release" task.
|
||||||
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns files stream with the plugin sources.
|
* Returns files stream with the plugin sources.
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
{
|
{
|
||||||
"name": "bulk-logs-operations-plugin",
|
"name": "bulk-logs-operations-plugin",
|
||||||
"version": "0.1.1",
|
"version": "0.1.0",
|
||||||
"description": "A plugin for Mibew implementing bulk operations over the saved chat logs.",
|
"description": "A plugin for Mibew implementing bulk operations over the saved chat logs.",
|
||||||
"private": true,
|
"private": true,
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/mibew/bulk-logs-operations-plugin/issues"
|
"url": "https://github.com/mibew/bulk-logs-operations-plugin/issues"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"gulp": "~4.0.0",
|
"gulp": "~3.8.10",
|
||||||
"event-stream": "~3.1.7",
|
"event-stream": "~3.1.7",
|
||||||
"gulp-zip": "~2.0.2",
|
"gulp-zip": "~2.0.2",
|
||||||
"gulp-tar": "~3.1.0",
|
"gulp-tar": "~1.3.0",
|
||||||
"gulp-gzip": "~0.0.8",
|
"gulp-gzip": "~0.0.8",
|
||||||
"gulp-chmod": "~3.0.0",
|
"gulp-chmod": "~1.2.0",
|
||||||
"gulp-rename": "~1.2.0"
|
"gulp-rename": "~1.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user