mirror of https://github.com/sualko/cloud_bbb
Compare commits
11 Commits
f01ca9ff19
...
92996864ae
Author | SHA1 | Date |
---|---|---|
Jonas | 92996864ae | |
Baptiste Fotia | c2e61304c1 | |
Sébastien Marinier | c5f8eab5e5 | |
Sebastien Marinier | 632ea4a0f5 | |
Sébastien Marinier | e70ddcc322 | |
Sebastien Marinier | 6226921652 | |
Sebastien Marinier | bbf0abfa75 | |
Sebastien Marinier | 63982ac2e7 | |
Sebastien Marinier | 9f2d820d63 | |
Sebastien Marinier | 9fd051ac3b | |
brtbr | 2c30b2fd85 |
|
@ -12,7 +12,10 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php-versions: ['8.0', '8.1', '8.2']
|
php-versions: ['8.0', '8.1', '8.2']
|
||||||
nextcloud-versions: ['stable26', 'stable27', 'stable28']
|
nextcloud-versions: ['stable26', 'stable27', 'stable28', 'stable29', 'stable30']
|
||||||
|
exclude:
|
||||||
|
- php-versions: '8.0'
|
||||||
|
nextcloud-versions: 'stable30'
|
||||||
name: php${{ matrix.php-versions }} on ${{ matrix.nextcloud-versions }} unit tests
|
name: php${{ matrix.php-versions }} on ${{ matrix.nextcloud-versions }} unit tests
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
|
|
|
@ -6,7 +6,11 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
ocp-version: [ '^28', '^27', '^26']
|
ocp-version: [ "^30", "^29", '^28', '^27', '^26']
|
||||||
|
include:
|
||||||
|
- psrcontainer: "psr/container"
|
||||||
|
- psrcontainer: "psr/container:^1.1.2"
|
||||||
|
ocp-version: '^26'
|
||||||
name: Nextcloud ${{ matrix.ocp-version }}
|
name: Nextcloud ${{ matrix.ocp-version }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -21,7 +25,7 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer i
|
run: composer i
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer require --dev nextcloud/ocp:${{ matrix.ocp-version }} symfony/service-contracts
|
run: composer require --dev nextcloud/ocp:${{ matrix.ocp-version }} ${{ matrix.psrcontainer }} symfony/service-contracts
|
||||||
- name: Run coding standards check
|
- name: Run coding standards check
|
||||||
run: composer run psalm
|
run: composer run psalm
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ Contributors are welcome! If you have time it would be awesome if you could help
|
||||||
|
|
||||||
*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.7.2</version>
|
<version>2.7.3</version>
|
||||||
<licence>agpl</licence>
|
<licence>agpl</licence>
|
||||||
<author mail="cloud_bbb@arawa.fr" homepage="https://arawa.fr/">Arawa</author>
|
<author mail="cloud_bbb@arawa.fr" homepage="https://arawa.fr/">Arawa</author>
|
||||||
<author>Klaus Herberth</author>
|
<author>Klaus Herberth</author>
|
||||||
|
@ -44,7 +44,7 @@ Contributors are welcome! If you have time it would be awesome if you could help
|
||||||
<lib>curl</lib>
|
<lib>curl</lib>
|
||||||
<lib>mbstring</lib>
|
<lib>mbstring</lib>
|
||||||
<lib>SimpleXML</lib>
|
<lib>SimpleXML</lib>
|
||||||
<nextcloud min-version="26" max-version="28"/>
|
<nextcloud min-version="26" max-version="30"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<commands>
|
<commands>
|
||||||
<command>OCA\BigBlueButton\Command\ClearAvatarCache</command>
|
<command>OCA\BigBlueButton\Command\ClearAvatarCache</command>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
"phpstan/phpstan": "^0.12.29",
|
"phpstan/phpstan": "^0.12.29",
|
||||||
"nextcloud/ocp": "^25.0 || ^26.0 || ^27.0",
|
"nextcloud/ocp": "^25.0 || ^26.0 || ^27.0",
|
||||||
"vimeo/psalm": "^5.0",
|
"vimeo/psalm": "^5.0",
|
||||||
"psr/container": "^1.1.2"
|
"psr/container": "^1.1.2 || ^2.0.2"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"optimize-autoloader": true,
|
"optimize-autoloader": true,
|
||||||
|
|
|
@ -6,6 +6,12 @@ use OCP\AppFramework\Http\ContentSecurityPolicy;
|
||||||
use OCP\AppFramework\Http\Response;
|
use OCP\AppFramework\Http\Response;
|
||||||
use OCP\Template;
|
use OCP\Template;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @template-extends Response<int, array<string, mixed>>
|
||||||
|
*
|
||||||
|
* (NC < 28)
|
||||||
|
* @psalm-suppress TooManyTemplateParams
|
||||||
|
*/
|
||||||
class NoPermissionResponse extends Response {
|
class NoPermissionResponse extends Response {
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
|
|
|
@ -6,6 +6,12 @@ use OCP\AppFramework\Http\ContentSecurityPolicy;
|
||||||
use OCP\AppFramework\Http\Response;
|
use OCP\AppFramework\Http\Response;
|
||||||
use OCP\Template;
|
use OCP\Template;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @template-extends Response<int, array<string, mixed>>
|
||||||
|
*
|
||||||
|
* (NC < 28)
|
||||||
|
* @psalm-suppress TooManyTemplateParams
|
||||||
|
*/
|
||||||
class NotFoundResponse extends Response {
|
class NotFoundResponse extends Response {
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
|
|
|
@ -23,9 +23,11 @@
|
||||||
required minlength="3" autofocus />
|
required minlength="3" autofocus />
|
||||||
<?php if (isset($_['passwordRequired']) && $_['passwordRequired']): ?>
|
<?php if (isset($_['passwordRequired']) && $_['passwordRequired']): ?>
|
||||||
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
|
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
|
||||||
<input type="text" name="password" id="password" class="bbb-input"
|
<input type="password" name="password" id="password" class="bbb-input"
|
||||||
placeholder="<?php p($l->t('Password')); ?>" value=""
|
placeholder="<?php p($l->t('Password')); ?>" value=""
|
||||||
required minlength="8" />
|
required minlength="8" />
|
||||||
|
<input type="checkbox" name="password-visibility-toggle" id="password-visibility" class="checkbox" value=""/>
|
||||||
|
<label for="password-visibility"><?php p($l->t('Show Password')); ?></label>
|
||||||
<button class="primary"><?php p($l->t('Join')); ?>
|
<button class="primary"><?php p($l->t('Join')); ?>
|
||||||
<div class="submit-icon icon-confirm-white"></div></button>
|
<div class="submit-icon icon-confirm-white"></div></button>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
|
21
ts/join.ts
21
ts/join.ts
|
@ -1 +1,20 @@
|
||||||
import './join.scss';
|
import './join.scss';
|
||||||
|
|
||||||
|
|
||||||
|
$(() => {
|
||||||
|
$<HTMLInputElement>('#password-visibility').on('change', function (ev) {
|
||||||
|
ev.preventDefault();
|
||||||
|
|
||||||
|
console.log(`checkbox ${ev.target.name} changed to ${ev.target.checked}`);
|
||||||
|
|
||||||
|
const passwordField = document.querySelector("#password") as HTMLInputElement | null;
|
||||||
|
|
||||||
|
if (passwordField != null) {
|
||||||
|
if (passwordField.type === "password") {
|
||||||
|
passwordField.type = "text";
|
||||||
|
} else {
|
||||||
|
passwordField.type = "password";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
Loading…
Reference in New Issue