Compare commits

..

6 Commits

5 changed files with 14 additions and 15 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
# 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

View File

@ -126,7 +126,7 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi
{ {
if ($this->checkAdmin()) { if ($this->checkAdmin()) {
if (!strcmp('/operator/users', $args['request']->getPathInfo())) { if (!strcmp('/operator/users', $args['request']->getPathInfo())) {
$args['js'][] = $this->getFilesPath() . '/js/broadcast.js'; $args['js'][] = str_replace(DIRECTORY_SEPARATOR, '/', $this->getFilesPath()) . '/js/broadcast.js';
} }
} }
} }
@ -161,7 +161,7 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi
*/ */
public static function getVersion() public static function getVersion()
{ {
return '0.1.0'; return '0.1.1';
} }
/** /**

View File

@ -5,7 +5,7 @@ A plugin to broadcast a message.
At the moment there are four broadcasting modes available: At the moment there are four broadcasting modes available:
* to all active chats (i.e. to chats with an operator connected); * to all active chats (i.e. to chats with an operator connected);
* to all waiting chats (i.e. to chats in a queue and chats where an operator has been disconnected) * to all waiting chats (i.e. to chats in a queue and chats where an operator has been disconnected);
* to all chats except for closed ones; * to all chats except for closed ones;
* to all operators involved in chats (i.e. to operators in active chats or in active invitations). * to all operators involved in chats (i.e. to operators in active chats or in active invitations).

View File

@ -21,9 +21,7 @@ gulp.task('prepare-release', function() {
}); });
// Builds and packs plugins sources // Builds and packs plugins sources
gulp.task('default', ['prepare-release'], function() { gulp.task('default', gulp.series('prepare-release'));
// 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.

View File

@ -1,12 +1,12 @@
{ {
"version": "0.1.0", "version": "0.1.1",
"devDependencies": { "devDependencies": {
"gulp": ">3.8.10", "gulp": "~4.0.0",
"event-stream": ">3.1.7", "event-stream": "~3.1.7",
"gulp-zip": ">2.0.2", "gulp-zip": "~2.0.2",
"gulp-tar": ">1.3.1", "gulp-tar": "~3.1.0",
"gulp-gzip": ">0.0.8", "gulp-gzip": "~0.0.8",
"gulp-chmod": ">1.2.0", "gulp-chmod": "~3.0.0",
"gulp-rename": ">1.2.0" "gulp-rename": "~1.2.0"
} }
} }