Skip to content

Commit cbaf33c

Browse files
committed
Merge from MiczFlor/future3/develop
Release v3.5.1
2 parents 92b4c4b + 9110c94 commit cbaf33c

File tree

5 files changed

+27
-3
lines changed

5 files changed

+27
-3
lines changed

documentation/developers/rfid/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* [RDM6300 Reader](rdm6300.md)
99
* [MFRC522 SPI Reader](mfrc522_spi.md)
1010
* [PN532 I2C Reader](pn532_i2c.md)
11+
* [Generic Readers without HID (NFCpy)](generic_nfcpy.md)
1112
* [Mock Reader](mock_reader.md)
1213
* [Template Reader](template_reader.md)
13-
14+

documentation/developers/rfid/generic_nfcpy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This module is based on the user space NFC reader library [nfcpy](https://nfcpy.
44
The link above also contains a list of [supported devices](https://nfcpy.readthedocs.io/en/latest/overview.html#supported-devices).
55

66
The goal of this module is to handle USB NFC devices, that don't have a HID-keyboard
7-
driver, and thus cannot be used with the [genericusb](genericusb.md) module.
7+
driver, and thus cannot be used with the [genericusb](genericusb.md) module. Also some serial devices are supported.
88

99
> [!NOTE]
1010
> Since nfcpy is a user-space library, it is required to supress the kernel from loading its driver.

installation/includes/02_helpers.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,21 @@ verify_file_contains_string() {
299299
log " CHECK"
300300
}
301301

302+
verify_file_does_not_contain_string() {
303+
local string="$1"
304+
local file="$2"
305+
log " Verify '${string}' not found in '${file}'"
306+
307+
if [[ -z "${string}" || -z "${file}" ]]; then
308+
exit_on_error "ERROR: at least one parameter value is missing!"
309+
fi
310+
311+
if grep -iq "${string}" "${file}"; then
312+
exit_on_error "ERROR: '${string}' found in '${file}'"
313+
fi
314+
log " CHECK"
315+
}
316+
302317
verify_file_contains_string_once() {
303318
local string="$1"
304319
local file="$2"

installation/routines/setup_jukebox_webapp.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ _jukebox_webapp_register_as_system_service_with_nginx() {
117117
sudo cp -f "${INSTALLATION_PATH}/resources/default-settings/nginx.default" "${WEBAPP_NGINX_SITE_DEFAULT_CONF}"
118118
sudo sed -i "s|%%INSTALLATION_PATH%%|${INSTALLATION_PATH}|g" "${WEBAPP_NGINX_SITE_DEFAULT_CONF}"
119119

120+
if [ "$DISABLE_IPv6" = true ] ; then
121+
sudo sed -i '/listen \[::\]:80/d' "${WEBAPP_NGINX_SITE_DEFAULT_CONF}"
122+
fi
123+
120124
# make sure nginx can access the home directory of the user
121125
sudo chmod o+x "${HOME_PATH}"
122126

@@ -147,6 +151,10 @@ _jukebox_webapp_check() {
147151
verify_apt_packages nginx
148152
verify_files_exists "${WEBAPP_NGINX_SITE_DEFAULT_CONF}"
149153

154+
if [ "$DISABLE_IPv6" = true ] ; then
155+
verify_file_does_not_contain_string "listen [::]:80" "${WEBAPP_NGINX_SITE_DEFAULT_CONF}"
156+
fi
157+
150158
verify_service_enablement nginx.service enabled
151159
}
152160

src/jukebox/jukebox/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
VERSION_MAJOR = 3
33
VERSION_MINOR = 5
4-
VERSION_PATCH = 0
4+
VERSION_PATCH = 1
55
VERSION_EXTRA = ""
66

77
# build a version string in compliance with the SemVer specification

0 commit comments

Comments
 (0)