Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MBS-8543: Option added to pass on WLAN data via QR code #9

Merged
merged 5 commits into from
Mar 11, 2024

Conversation

fdagner
Copy link
Contributor

@fdagner fdagner commented Jan 30, 2024

No description provided.

Copy link
Contributor

@sh-csg sh-csg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice feature, works well!

Maybe you might want to change the variable names from "wlan" to "wifi" as it is the more common expression in English.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

String wlan_passkey is missing (you see that if hovering over the help icon in the edit form).

$authenticationoptions = [
'nopass' => get_string('none', 'block_qr'),
'WEP' => get_string('wep', 'block_qr'),
'WPA/WPA2' => get_string('wpa', 'block_qr'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe encrypted wifi is the more common use case for this option, so this might be the default?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strings should be in alphabetical order

edit_form.php Outdated
@@ -82,7 +82,8 @@ protected function specific_definition($mform) {
'internalcontent' => get_string('internalcontent', 'block_qr'),
'owncontent' => get_string('owncontent', 'block_qr'),
'event' => get_string('event', 'block_qr'),
'geolocation' => get_string('geolocation', 'block_qr')
'geolocation' => get_string('geolocation', 'block_qr'),
'wlan' => get_string('wlan', 'block_qr')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comma at the end of a multi-line array

@fdagner
Copy link
Contributor Author

fdagner commented Feb 19, 2024

Thanks for your feedback. New commits added

@sh-csg sh-csg merged commit 91ad403 into main Mar 11, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants