mirror of https://github.com/sualko/cloud_bbb
Compare commits
No commits in common. "a16ba7c460f9c67119b30060d9acfd6b60d88716" and "5669340d464260c4aa9a4ad915eec4d8993e5418" have entirely different histories.
a16ba7c460
...
5669340d46
|
@ -39,7 +39,7 @@ jobs:
|
||||||
path: nextcloud/apps/bbb
|
path: nextcloud/apps/bbb
|
||||||
- name: Update test stub
|
- name: Update test stub
|
||||||
working-directory: nextcloud/apps/bbb
|
working-directory: nextcloud/apps/bbb
|
||||||
run: composer update friendsofphp/php-cs-fixer christophwurst/nextcloud -W
|
run: composer update christophwurst/nextcloud -W
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
working-directory: nextcloud/apps/bbb
|
working-directory: nextcloud/apps/bbb
|
||||||
run: composer install
|
run: composer install
|
||||||
|
|
|
@ -16,12 +16,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
php-version: 7.4
|
php-version: 7.4
|
||||||
coverage: none
|
coverage: none
|
||||||
- name: Update php-cs-fixer
|
|
||||||
run: composer update friendsofphp/php-cs-fixer -W
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer i
|
run: composer i
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer require --dev christophwurst/nextcloud:${{ matrix.ocp-version }}
|
run: composer require --dev christophwurst/nextcloud:${{ matrix.ocp-version }}
|
||||||
- name: Run coding standards check
|
- name: Run coding standards check
|
||||||
run: composer run psalm
|
run: composer run psalm
|
||||||
|
|
||||||
|
|
|
@ -6,11 +6,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
## 2.3.1 (2022-07-28)
|
|
||||||
### Fixed
|
|
||||||
- broken build
|
|
||||||
- convert boolean columns to not nullable
|
|
||||||
|
|
||||||
## 2.3.0 (2022-07-24)
|
## 2.3.0 (2022-07-24)
|
||||||
### Added
|
### Added
|
||||||
- [#191](https://github.com/sualko/cloud_bbb/issues/191) clone rooms
|
- [#191](https://github.com/sualko/cloud_bbb/issues/191) clone rooms
|
||||||
|
|
|
@ -22,7 +22,7 @@ Developer wanted! If you have time it would be awesome if you could help to enha
|
||||||
|
|
||||||
*This app integrates BigBlueButton and is not endorsed or certified by BigBlueButton Inc. BigBlueButton and the BigBlueButton Logo are trademarks of BigBlueButton Inc.*
|
*This app integrates BigBlueButton and is not endorsed or certified by BigBlueButton Inc. BigBlueButton and the BigBlueButton Logo are trademarks of BigBlueButton Inc.*
|
||||||
]]></description>
|
]]></description>
|
||||||
<version>2.3.1</version>
|
<version>2.3.0</version>
|
||||||
<licence>agpl</licence>
|
<licence>agpl</licence>
|
||||||
<author mail="klaus@jsxc.org">Klaus Herberth</author>
|
<author mail="klaus@jsxc.org">Klaus Herberth</author>
|
||||||
<namespace>BigBlueButton</namespace>
|
<namespace>BigBlueButton</namespace>
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,49 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace OCA\BigBlueButton\Migration;
|
|
||||||
|
|
||||||
use Closure;
|
|
||||||
use OCP\DB\ISchemaWrapper;
|
|
||||||
use OCP\Migration\IOutput;
|
|
||||||
use OCP\Migration\SimpleMigrationStep;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Auto-generated migration step: Please modify to your needs!
|
|
||||||
*/
|
|
||||||
class Version000000Date20220728083700 extends SimpleMigrationStep {
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param IOutput $output
|
|
||||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
|
||||||
* @param array $options
|
|
||||||
* @return null|ISchemaWrapper
|
|
||||||
*/
|
|
||||||
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
|
|
||||||
/** @var ISchemaWrapper $schema */
|
|
||||||
$schema = $schemaClosure();
|
|
||||||
|
|
||||||
$this->convertToNotNullable($schema, 'bbb_rooms', 'record');
|
|
||||||
$this->convertToNotNullable($schema, 'bbb_rooms', 'everyone_is_moderator');
|
|
||||||
$this->convertToNotNullable($schema, 'bbb_rooms', 'require_moderator');
|
|
||||||
$this->convertToNotNullable($schema, 'bbb_rooms', 'listen_only');
|
|
||||||
$this->convertToNotNullable($schema, 'bbb_rooms', 'media_check');
|
|
||||||
$this->convertToNotNullable($schema, 'bbb_rooms', 'clean_layout');
|
|
||||||
|
|
||||||
$this->convertToNotNullable($schema, 'bbb_restrictions', 'allow_recording');
|
|
||||||
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private function convertToNotNullable(ISchemaWrapper $schema, string $table, string $column): void {
|
|
||||||
if ($schema->hasTable($table)) {
|
|
||||||
$table = $schema->getTable('bbb_rooms');
|
|
||||||
|
|
||||||
if ($table->hasColumn($column) && $table->getColumn($column)->getNotnull()) {
|
|
||||||
$table->getColumn($column)->setNotnull(false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@sualko/cloud_bbb",
|
"name": "@sualko/cloud_bbb",
|
||||||
"description": "Nextcloud Integration for BigBlueButton",
|
"description": "Nextcloud Integration for BigBlueButton",
|
||||||
"version": "2.3.1",
|
"version": "2.3.0",
|
||||||
"author": "Klaus Herberth <klaus@jsxc.org>",
|
"author": "Klaus Herberth <klaus@jsxc.org>",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/sualko/cloud_bbb/issues"
|
"url": "https://github.com/sualko/cloud_bbb/issues"
|
||||||
|
@ -28,8 +28,8 @@
|
||||||
"lint:fix:style": "stylelint 'ts/**/*.scss' --fix",
|
"lint:fix:style": "stylelint 'ts/**/*.scss' --fix",
|
||||||
"lint:php": "./vendor/bin/php-cs-fixer fix --dry-run",
|
"lint:php": "./vendor/bin/php-cs-fixer fix --dry-run",
|
||||||
"lint:fix:php": "./vendor/bin/php-cs-fixer fix",
|
"lint:fix:php": "./vendor/bin/php-cs-fixer fix",
|
||||||
"composer:install": "composer install --no-dev",
|
"composer:install": "composer install --no-dev -o",
|
||||||
"composer:install:dev": "composer install",
|
"composer:install:dev": "composer install -o",
|
||||||
"release:build": "node scripts/build-release.js",
|
"release:build": "node scripts/build-release.js",
|
||||||
"release:publish": "node scripts/publish-release.js"
|
"release:publish": "node scripts/publish-release.js"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<psalm
|
<psalm
|
||||||
|
totallyTyped="true"
|
||||||
errorLevel="5"
|
errorLevel="5"
|
||||||
resolveFromConfigFile="true"
|
resolveFromConfigFile="true"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
|
|
@ -1,28 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<files psalm-version="4.24.0@06dd975cb55d36af80f242561738f16c5f58264f">
|
<files psalm-version="4.8.1@f73f2299dbc59a3e6c4d66cff4605176e728ee69">
|
||||||
<file src="lib/AppInfo/Application.php">
|
|
||||||
<InvalidArgument occurrences="8">
|
|
||||||
<code>addServiceListener</code>
|
|
||||||
<code>addServiceListener</code>
|
|
||||||
<code>addServiceListener</code>
|
|
||||||
<code>addServiceListener</code>
|
|
||||||
<code>addServiceListener</code>
|
|
||||||
<code>addServiceListener</code>
|
|
||||||
<code>addServiceListener</code>
|
|
||||||
<code>addServiceListener</code>
|
|
||||||
</InvalidArgument>
|
|
||||||
</file>
|
|
||||||
<file src="lib/BigBlueButton/API.php">
|
|
||||||
<UndefinedClass occurrences="1">
|
|
||||||
<code>InsertDocumentParameters</code>
|
|
||||||
</UndefinedClass>
|
|
||||||
<UndefinedMethod occurrences="1">
|
|
||||||
<code>insertDocument</code>
|
|
||||||
</UndefinedMethod>
|
|
||||||
</file>
|
|
||||||
<file src="lib/CircleHelper.php">
|
<file src="lib/CircleHelper.php">
|
||||||
<UndefinedClass occurrences="3">
|
<UndefinedClass occurrences="3">
|
||||||
<code>\OCA\Circles\Api\v1\Circles</code>
|
|
||||||
<code>\OCA\Circles\Api\v1\Circles</code>
|
<code>\OCA\Circles\Api\v1\Circles</code>
|
||||||
<code>\OCA\Circles\Model\Member</code>
|
<code>\OCA\Circles\Model\Member</code>
|
||||||
</UndefinedClass>
|
</UndefinedClass>
|
||||||
|
@ -32,6 +11,12 @@
|
||||||
<code>null</code>
|
<code>null</code>
|
||||||
</NullArgument>
|
</NullArgument>
|
||||||
</file>
|
</file>
|
||||||
|
<file src="lib/Controller/ServerController.php">
|
||||||
|
<InvalidArgument occurrences="2">
|
||||||
|
<code>$success</code>
|
||||||
|
<code>$this->server->check($url, $secret)</code>
|
||||||
|
</InvalidArgument>
|
||||||
|
</file>
|
||||||
<file src="lib/NoPermissionResponse.php">
|
<file src="lib/NoPermissionResponse.php">
|
||||||
<MissingDependency occurrences="1">
|
<MissingDependency occurrences="1">
|
||||||
<code>Template</code>
|
<code>Template</code>
|
||||||
|
|
Loading…
Reference in New Issue