From c3649dca3a2b15d887c338d8a170f9dd4a5d5280 Mon Sep 17 00:00:00 2001 From: boltgolt Date: Sun, 6 Jan 2019 16:04:57 +0100 Subject: [PATCH] Added changelog --- debian/changelog | 12 ++++++++++++ src/cli/test.py | 4 ++-- src/config.ini | 2 +- src/pam.py | 2 +- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 6e8f309..66a0ecb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +howdy (2.5.0) xenial; urgency=medium + + * Added FFmpeg and v4l2 recorders (thanks @timwelch!) + * Added automatic PAM inclusion on installation + * Added optional notice on detection attempt (thanks @mrkmg!) + * Added support for grayscale frame encoding (thanks @dmig and @sapjunior!) + * Massively improved recognition speed (thanks @dmig!) + * Fixed typo in "timout" config value + * Removed unneeded dependencies (thanks @dmig!) + + -- boltgolt Sun, 06 Jan 2019 14:37:41 +0100 + howdy (2.4.0) xenial; urgency=medium * Cameras are now selected by path instead of by video device number (thanks @Rhiyo!) diff --git a/src/cli/test.py b/src/cli/test.py index 3c99289..c3cbebb 100644 --- a/src/cli/test.py +++ b/src/cli/test.py @@ -15,8 +15,8 @@ path = os.path.dirname(os.path.abspath(__file__)) config = configparser.ConfigParser() config.read(path + "/../config.ini") -if config.get("video", "recording_plugin") == "ffmpeg": - print("Howdy has been configured to use ffmpeg as recorder, which doesn't support the test command yet") +if config.get("video", "recording_plugin") != "opencv": + print("Howdy has been configured to use a recorder which doesn't support the test command yet") print("Aborting") sys.exit(12) diff --git a/src/config.ini b/src/config.ini index 70a063d..34d5685 100644 --- a/src/config.ini +++ b/src/config.ini @@ -3,7 +3,7 @@ [core] # Print that face detection is being attempted -show_detection_attempt = false +detection_notice = false # Do not print anything when a face verification succeeds no_confirmation = false diff --git a/src/pam.py b/src/pam.py index b4a2c37..da98cf1 100644 --- a/src/pam.py +++ b/src/pam.py @@ -26,7 +26,7 @@ def doAuth(pamh): sys.exit(0) # Alert the user that we are doing face detection - if config.get("core", "show_detection_attempt") == "true": + if config.get("core", "detection_notice") == "true": pamh.conversation(pamh.Message(pamh.PAM_TEXT_INFO, "Attempting face detection")) # Run compare as python3 subprocess to circumvent python version and import issues