Anton Golubev
05b8cb5b9e
Fix segfault when adding a model via howdy-gtk
...
On all test machines available to me (3), the "map" event was apparently
fired before the "Please look directly into the camera" dialog was
finally created. Therefore, the dialog was not displayed at all when
scanning a face, and a segfault occurred when calling destroy().
Copied the code from onboarding.py, it works well there.
2023-11-09 17:38:27 +03:00
Sayafdine Said
c5b17665d5
Merge pull request #839 from Gliese852/source-subdirs
...
Use subdirs for 'py_sources_dir' too
2023-09-24 12:25:45 +02:00
Anton Golubev
47e5a3bdac
Use subdirs for 'py_sources_dir' too
...
If you explicitly specify the 'py_sources_dir' option, the howdy and
howdy-gtk source files get mixed up, fixed that.
2023-09-22 18:05:08 +03:00
boltgolt
95df4d2d48
Merge pull request #803 from musikid/meson
...
build: add meson build system
2023-09-14 10:34:04 +02:00
Sayafdine Said
466c859cb8
refactor: remove useless conversion
2023-09-12 23:06:47 +02:00
Sayafdine Said
0eb3eeb6a7
build: fix pamdir path
2023-09-12 22:51:03 +02:00
Sayafdine Said
29f218d9dc
build: templatize autocomplete and pam-config
2023-09-12 22:37:53 +02:00
Sayafdine Said
5133d05141
refactor: rename variable
2023-09-12 20:02:22 +02:00
Sayafdine Said
7ce795b755
Merge branch 'beta' into meson
2023-09-12 19:31:27 +02:00
boltgolt
f7649fc922
Merge pull request #824 from Gliese852/pam-messages-order
...
Change the display order of PAM messages
2023-09-11 13:56:14 +02:00
Anton Golubev
40720bbf87
Fixup: don't else after return and no det. notice
2023-09-06 12:03:39 +03:00
boltgolt
1e5145e0ad
Merge pull request #775 from raelgc/patch-1
...
Adding missing `v4l-utils` package to Ubuntu dependencies
2023-09-05 23:06:22 +02:00
boltgolt
93a3d71a76
Merge branch 'beta' into meson
2023-09-05 23:02:09 +02:00
boltgolt
13f59e0d31
Merge pull request #834 from Joseph-DiGiovanni/beta
...
Add configurable device frame rate
2023-09-05 22:59:00 +02:00
boltgolt
3cc017b7b5
Merge pull request #831 from Gliese852/ensure-unique-id
...
Ensure Model ID is unique
2023-09-05 22:51:31 +02:00
Joseph DiGiovanni
d6e35cfd1d
Add configurable device frame rate
2023-08-30 17:51:13 -04:00
Anton Golubev
ef60fa519c
Ensure Model ID is unique
...
The ID of the newly created model was obtained as the length of the
array of models, but if some models "in the middle" were deleted, the
new ID could be the same as the existing one.
We are sure that the last ID is the maximum, so we just take +1 than the
last element.
2023-08-28 14:16:40 +03:00
boltgolt
538569921e
Merge pull request #828 from ciaoly/beta
...
Fix some bugs
2023-08-21 10:46:14 +02:00
chaol
ab82274a33
Fix wrong config path
2023-08-21 14:20:40 +08:00
chaol
7b835b26b4
Fix: "name 'os' is not defined" fault in preinst
2023-08-21 13:31:10 +08:00
Anton Golubev
a5184dc663
Fixup: check if the user has a model directry in the PAM module
...
Revert the use of pipe to signal from the script that the face model is
not found and do it directly in the module.
2023-08-11 10:21:46 +03:00
Anton Golubev
1b4f1c2d85
Change the display order of PAM messages
...
- do not show a message if the face model is not found
- show a message if the user could not be recognized
- show prompt if face model found (and enabled option)
- enable the "detection_notice" option by default as this will only be
shown to users who created the face model
2023-08-08 14:51:23 +03:00
Sayafdine Said
a74ee5ae7c
build: move datadir variable
2023-07-02 14:39:43 +02:00
Sayafdine Said
19f5b8d4d6
build: remove mandatory modules
2023-06-27 21:51:39 +02:00
Sayafdine Said
9b20bc2544
ci: fix argument
2023-06-26 17:40:19 +02:00
Sayafdine Said
ef2187aa8e
ci: fix workflow
2023-06-26 17:38:31 +02:00
Sayafdine Said
241bc6bb04
feat: add meson root script with howdy-gtk
...
Add meson for howdy-gtk and a global meson script for both.
2023-06-26 17:33:46 +02:00
Sayafdine Said
1f8ee26d3d
refactor: use only paths_factory
2023-06-25 18:45:17 +02:00
Sayafdine Said
54ba84e033
fix: convert to string
2023-06-25 17:24:08 +02:00
Sayafdine Said
37a59a06a7
style: change clang tidy configuration
2023-06-25 17:24:08 +02:00
Sayafdine Said
a92a3aade2
feat: add config path to PAM module
2023-06-25 17:24:08 +02:00
Sayafdine Said
d0ca17b1ec
refactor: add data dir for logo
2023-06-25 17:24:08 +02:00
Sayafdine Said
8bc95efda6
fix: convert to string when necessary
2023-06-25 17:24:08 +02:00
Sayafdine Said
61222197c3
build: add .clang-tidy to root src folder
2023-06-25 17:24:08 +02:00
Sayafdine Said
81db5c3bf1
fix: use correct shebang
2023-06-25 17:24:08 +02:00
Sayafdine Said
c9e24e37d9
fix: convert paths to string
2023-06-25 17:24:07 +02:00
Sayafdine Said
73adb06f45
build: add paths_factory file
2023-06-25 17:24:07 +02:00
Sayafdine Said
c97164f9f5
ci: use latest meson version
2023-06-25 17:24:07 +02:00
Sayafdine Said
5d3e69d3ad
build: add meson_options.txt for compatibility
2023-06-25 17:24:07 +02:00
Sayafdine Said
a30fbd3d42
build: remove license_files
2023-06-25 17:24:07 +02:00
Sayafdine Said
c12dce0956
refactor: add path factory to not recreate paths
2023-06-25 17:24:07 +02:00
Sayafdine Said
87017faf86
fix: use build options to configure paths
2023-06-25 17:24:07 +02:00
Sayafdine Said
d95f5e2451
fix: replace deprecated function
2023-06-25 17:24:07 +02:00
Sayafdine Said
452dac8708
ci: fix workflow
2023-06-25 17:24:07 +02:00
Sayafdine Said
2d2480054d
build: add meson build system
...
Add Meson as a build system for the whole howdy package,
which allow better flexibility for the paths configuration.
Generate a python module,
which contains the paths used by the other modules
and the header containing the paths for the PAM module.
2023-06-25 17:24:06 +02:00
Sayafdine Said
53a6ea5eb1
chore: move man page
2023-06-25 17:24:06 +02:00
Gleb Popov
488176adae
Put all path variables into a separate module.
...
This makes it easier for downstream packagers to customize where howdy installs
its files.
2023-06-25 17:24:06 +02:00
Rael Gugelmin Cunha
4061b6573a
Make v4l-utils a recommended package
2023-06-25 08:49:20 -03:00
boltgolt
c17a834a52
Merge pull request #798 from izvyk/beta
...
Add doas support
2023-06-25 12:52:49 +02:00
boltgolt
2b3f38c2a9
Merge pull request #802 from musikid/fix_prompt
...
Ignore compare error if password is typed
2023-06-24 16:09:01 +02:00