Compare commits

...

6 Commits

Author SHA1 Message Date
Jonas 1b9bf8e27b
Merge 80933d83ca into d023ffa331 2024-12-08 20:40:04 +01:00
brtbr 80933d83ca
feat: add a checkbox to toggle password visibility
This commit adds the ability to toggle the password visibility for the
password input for guests in password-protected bbb rooms.
2024-12-08 20:39:59 +01:00
Thibaut d023ffa331
Merge pull request #310 from arawa/fix/309_group_displayname_is_null
fix: #309 group displayname might be null
2024-12-05 10:06:49 +01:00
Sebastien Marinier 834e2a7800 fix: #309 group displayname might be null 2024-12-05 09:59:22 +01:00
Baptiste Fotia e2c58cd791
Merge pull request #308 from littleredbutton/doc/update-changelog-v2.7.3
doc: Update the changelog
2024-12-03 11:13:31 +01:00
zak39 4d280b46e1 doc: Update the changelog
Updated CHANGELOG for the release 2.7.3.
2024-12-03 11:02:34 +01:00
4 changed files with 50 additions and 4 deletions

View File

@ -6,6 +6,31 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
## 2.7.3 (2024-12-03)
### Added
- missing icon and adapt dialog style to NC30 by @smarinier in [#304](https://github.com/littleredbutton/cloud_bbb/pull/304)
### Changed
- readme, screenshots and project files. by @smarinier in [#300](https://github.com/littleredbutton/cloud_bbb/pull/300)
- remove NC25 support by @smarinier in [#302](https://github.com/littleredbutton/cloud_bbb/pull/302)
### Fix
- max number of rooms shloud take only owned rooms in account by @smarinier in [#296](https://github.com/littleredbutton/cloud_bbb/pull/296)
- admin interface displays groups gid instead of displayname by @smarinier in [#295](https://github.com/littleredbutton/cloud_bbb/pull/295)
- style lint warnings and typescript compiler need upgrade by @smarinier in [#294](https://github.com/littleredbutton/cloud_bbb/pull/294)
### Misc
- psalm github actions by @smarinier in [#298](https://github.com/littleredbutton/cloud_bbb/pull/298)
- update php versions for tests in github actions by @smarinier in [#297](https://github.com/littleredbutton/cloud_bbb/pull/297)
- expose app capabilities by @smarinier in [#293](https://github.com/littleredbutton/cloud_bbb/pull/293)
- make clean-dev and release:build by @smarinier in [#303](https://github.com/littleredbutton/cloud_bbb/pull/303)
- psalm bump 5.0 by @smarinier in [#301](https://github.com/littleredbutton/cloud_bbb/pull/301)
- Release/2.7.3 by @smarinier in [#307](https://github.com/littleredbutton/cloud_bbb/pull/307)
## 2.7.2 (2024-10-08)
### Misc
- rebuild frontend client

View File

@ -34,8 +34,8 @@ class Restriction extends Entity implements JsonSerializable {
$this->addType('allowRecording', 'boolean');
}
public function setGroupName(string $groupName) {
$this->groupName = $groupName;
public function setGroupName(?string $groupName) {
$this->groupName = $groupName ?? '';
}
public function jsonSerialize(): array {

View File

@ -23,9 +23,11 @@
required minlength="3" autofocus />
<?php if (isset($_['passwordRequired']) && $_['passwordRequired']): ?>
<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=""
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')); ?>
<div class="submit-icon icon-confirm-white"></div></button>
<?php else: ?>

View File

@ -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";
}
}
});
});