Compare commits

..

No commits in common. "master" and "v0.1.0" have entirely different histories.

5 changed files with 15 additions and 14 deletions

1
.gitignore vendored
View File

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

View File

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

View File

@ -5,7 +5,7 @@ A plugin to broadcast a message.
At the moment there are four broadcasting modes available:
* 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 operators involved in chats (i.e. to operators in active chats or in active invitations).

View File

@ -21,7 +21,9 @@ gulp.task('prepare-release', function() {
});
// 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.

View File

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