Commit Graph

821 Commits

Author SHA1 Message Date
9a1a641b03 Translated using Weblate (Russian)
Currently translated at 88.3% (53 of 60 strings)

Co-authored-by: D P <dpokrasko@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/fprintd/fprintd/ru/
Translation: fprintd/fprintd
2021-12-08 13:16:23 +01:00
8fb67836b8 Translated using Weblate (Czech)
Currently translated at 100.0% (60 of 60 strings)

Co-authored-by: Pavel Borecki <pavel.borecki@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.fedoraproject.org/projects/fprintd/fprintd/cs/
Translation: fprintd/fprintd
2021-12-08 13:16:23 +01:00
73cb590acc Translated using Weblate (Finnish)
Currently translated at 100.0% (60 of 60 strings)

Co-authored-by: Jan Kuparinen <copper_fin@hotmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.fedoraproject.org/projects/fprintd/fprintd/fi/
Translation: fprintd/fprintd
2021-12-08 13:16:23 +01:00
abf3831755 Translated using Weblate (French)
Currently translated at 100.0% (60 of 60 strings)

Co-authored-by: Thibault HEINRICH <thibault@lexikal-seo.net>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.fedoraproject.org/projects/fprintd/fprintd/fr/
Translation: fprintd/fprintd
2021-12-08 13:16:23 +01:00
7c1e1f67bf po: Update PO files based on template 2021-12-02 10:59:28 +01:00
4ed76ba997 Translated using Weblate (French)
Currently translated at 100.0% (56 of 56 strings)

Co-authored-by: Thibault HEINRICH <thibault@lexikal-seo.net>
Translate-URL: https://translate.fedoraproject.org/projects/fprintd/fprintd/fr/
Translation: fprintd/fprintd
2021-11-30 11:10:56 +01:00
2d9543fe94 po: Update POT template
This was forgotten after the last string changes in commit b483edbe.

Co-authored-by: Thibault HEINRICH <thibault.heinrich@ac-nancy-metz.fr>

Fixes: #123
2021-11-30 09:28:26 +00:00
865439a665 Translated using Weblate (Friulian)
Currently translated at 100.0% (60 of 60 strings)

Co-authored-by: Fabio Tomat <f.t.public@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/fprintd/fprintd/fur/
Translation: fprintd/fprintd
2021-11-07 17:18:56 +01:00
a734ceff71 Release 1.94.1 v1.94.1 2021-11-03 15:34:26 +01:00
0595f416f9 data: Fix udev event delivery for systemd service
PrivateNetwork=true is a bad idea, as it means that udev events cannot
be delivered. Remove it, we already restrict the address families
sufficiently anyway.

Closes: #119
2021-11-03 10:46:03 +00:00
38c21e3952 Fix typo in 0.5.1 release notes 2021-11-02 15:13:05 +00:00
50943b1bd4 build: Do not use positional arguments in i18n.merge_file
This was never really used and it's breaking meson 60.
While this may just become a warning in 60.1, it's just better to avoid
using it.

See: https://github.com/mesonbuild/meson/issues/9441
2021-11-02 15:06:29 +00:00
245dcfa218 fix: fix typo in man page 2021-10-30 16:49:45 -03:00
090016fdcd Translated using Weblate (Spanish)
Currently translated at 100.0% (60 of 60 strings)

Co-authored-by: Emilio Herrera <ehespinosa57@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.fedoraproject.org/projects/fprintd/fprintd/es/
Translation: fprintd/fprintd
2021-10-03 17:05:10 +02:00
90babad082 Translated using Weblate (Croatian)
Currently translated at 100.0% (60 of 60 strings)

Co-authored-by: Gogo Gogsi <linux.hr@protonmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/fprintd/fprintd/hr/
Translation: fprintd/fprintd
2021-10-03 17:05:10 +02:00
47af2bada5 Update it.po 2021-09-15 15:26:45 +00:00
c1bc6b4da0 Translated using Weblate (Czech)
Currently translated at 100.0% (60 of 60 strings)

Co-authored-by: Pavel Borecki <pavel.borecki@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.fedoraproject.org/projects/fprintd/fprintd/cs/
Translation: fprintd/fprintd
2021-09-15 17:24:36 +02:00
0bb8271ede Translated using Weblate (German)
Currently translated at 100.0% (60 of 60 strings)

Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.fedoraproject.org/projects/fprintd/fprintd/de/
Translation: fprintd/fprintd
2021-09-15 17:24:36 +02:00
b393eddd4b Translated using Weblate (Croatian)
Currently translated at 100.0% (60 of 60 strings)

Co-authored-by: Gogo Gogsi <linux.hr@protonmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/fprintd/fprintd/hr/
Translation: fprintd/fprintd
2021-09-15 17:24:36 +02:00
2c9cf975a2 Translated using Weblate (Japanese)
Currently translated at 100.0% (60 of 60 strings)

Co-authored-by: Takuro Onoue <kusanaginoturugi@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.fedoraproject.org/projects/fprintd/fprintd/ja/
Translation: fprintd/fprintd
2021-09-15 17:24:36 +02:00
29a976b483 Translated using Weblate (Marathi)
Currently translated at 100.0% (60 of 60 strings)

Translated using Weblate (Marathi)

Currently translated at 5.0% (3 of 60 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: girish joshi <girish946@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/fprintd/fprintd/mr/
Translation: fprintd/fprintd
2021-09-15 17:24:36 +02:00
7d4331b29a ci: Reference image directly for forks
Otherwise forks will not find the image and things fall apart (due to
the method of how we build the image).
2021-09-15 17:20:14 +02:00
b440acb57d tests: Use dbusmock start_system_bus instead of GLib server 2021-09-15 15:06:06 +00:00
0cf0fea902 tests: Better cleanup helper processes and objects
We were leaking the bus connections for the proxy objects. Also, now the
subprocesses will be forcefully killed at shutdown.
2021-09-15 15:06:06 +00:00
b3d6bf0825 tests: Set G_MESSAGES_DEBUG=all for daemon as it is needed
Otherwise executing the test script outside of the meson environment
will fail as the inhibitor test relies on being able to parse the log.
2021-09-15 15:06:06 +00:00
fc65055279 device: Always report selected finger if there is only one
If the user specified "any" finger, then we would mirror this back even
if there is only one finger available. Change it so that we act as if
that finger was passed explicitly, meaning we use the "verify" method
and also send the signal for the selected finger accordingly.
2021-09-15 15:00:14 +00:00
02468366b2 ci: Add patch to dependencies
Seems like this is not pulled in indirectly anymore.
2021-09-15 16:48:54 +02:00
3d309ea400 ci: Update to new FDO templates 2021-09-15 16:33:31 +02:00
b483edbe92 device.policy: Fix permission dialogue titles
Fix the action description for some actions which are used to both
enroll and delete fingerprints for users.

Closes: #116
2021-09-02 17:14:07 +02:00
e4c155d5b8 tests: Give fprintd some more time to be ready
While the delay inhibitor is grabbed almost immediately, this can be
slow enough to not have happened immediately after the bus name has been
registered. Add a generous timeout to prevent issues.
2021-08-25 15:27:26 +02:00
717a919996 tests: Make class cleanup more robust
Use addClassCleanup rather than doing cleanup in tearDownClass, which
may not be called in all cases.
2021-08-25 15:22:42 +02:00
e6fc854a9a tests: Use addCleanup to stop polkitd 2021-08-25 15:19:43 +02:00
5d7422e17a tests: Cleanup inhibitor fifo properly
Unlink the fifo itself and use addCleanup to close it.
2021-08-25 13:43:30 +02:00
fc7e058e93 Release 1.94.0 v1.94.0 2021-08-20 13:59:06 +00:00
ff4ba1da47 data: Allow access to hidraw devices
The elanspi driver needs access to a hidraw device in order to reset the
SPI reader.
2021-08-20 13:59:06 +00:00
626128a0fa device: Remove local storage prints if they've been removed from device
If a print we have stored locally is not available in device anymore, we
need to cleanup the local database.

We do not get a proper DATA_NOT_FOUND error for most devices (indeed, at
this point no device does this properly). As such, do this when we see a
DATA_NOT_FOUND error and the first time that we get a verify-no-match
results on a device which is capable of listing all known prints.

Co-Authored-by: Marco Trevisan (Treviño) <mail@3v1n0.net>
2021-08-19 18:22:36 +02:00
0bba073dff device: Handle data not-found error as verify-no-match
In case we got a data-not-found error, it means that the device has not
such prints stored, and thus the verification failed, and there's no
need to expose the internal reasons to fprintd clients.
2021-08-18 13:09:38 +02:00
ec74c849be Translated using Weblate (Indonesian)
Currently translated at 100.0% (60 of 60 strings)

Co-authored-by: Andika Triwidada <andika@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/fprintd/fprintd/id/
Translation: fprintd/fprintd
2021-08-17 04:04:53 +02:00
e09d90c81b Update ca.po 2021-08-15 12:03:43 +00:00
e3b0d52ce5 device: Catch client disconnect during Release
If the client disconnected while the release call was stopping the
current action, then the disconnect will be processed. This means that
the device can be closed already and the session is destroyed.

Add a check for this, in the same way that the vanished handler deals
with this corner case.
2021-08-11 08:58:26 +00:00
70182083a1 Implement suspend/resume handling 2021-08-09 13:25:11 +02:00
66e7df1105 Keep alive fprintd if any device is WARM or HOT
This renames the internal "in-use" property to "busy" and redefines the
value to be TRUE either if a client is connected or if the device is
considered WARM or HOT.

This prevents fprintd shutdown while devices are warm in order to ensure
that the libfprint hardware protection is functional.
2021-08-09 13:25:11 +02:00
96b911913e data: Allow tuning USB parameters
Newer libfprint versions try to tune the wakeup and persist option of
USB devices. Add access rules to permit this.
2021-08-06 15:31:24 +02:00
37e6939fa9 tests: Verify PAM VerifyStop/disconnect behaviour
For verify-match, the PAM module should simply drop off the bus. In
other cases it should correctly run VerifyStop and Release the device.
Verify this for verify-match and verify-no-match.
2021-08-02 13:00:43 +02:00
bb23b7e9d0 pam: Immediately return verify-match/verify-no-match
In the verify-match case, this means disconnecting from the bus rather
than stopping the verification. This is the only way to make sure that
the result is immediately reported and we do not wait for the device to
be idle again (which generally means waiting for finger removal).

In the verify-no-match case we simply send the string first before the
operation is stopped. An exceeded retry limit is only reported after
VerifyStop has finished.
2021-08-02 13:00:43 +02:00
80eb673e83 tests: Remove broken test_verify_stop_restarts_immediately test
Before VerifyStart can be called again the current verify operation
needs to be completed. This requires waiting for VerifyStop to happen.

As such, remove the test, which is expected to fail randomly.
2021-08-02 13:00:43 +02:00
88d7d97c0d device: Remove incorrect comment about delaying verify-no-match result
We report a verify-match/verify-no-match immediately to the user. The
comment is not accurate.
2021-08-02 13:00:43 +02:00
6bc19c8892 tests: Speed up tests by only using parts of the image
We just need large enough samples to tell them apart correctly. For this
a 128x128 area from the center of each image is sufficient.

This speeds up the test run considerably. Other ways of achieving this
could be to also lower the number of enroll steps for the image device.
2021-07-31 11:53:33 +02:00
c690542e7c ci: Conveniently expose coverage report 2021-07-31 11:53:33 +02:00
5f6e80de01 file_storage: Ensure username/finger match our expectations
Otherwise we would need to track this separately, which would be a bit
of a pain.

The alternative would be simply overriding the values.
2021-07-30 23:52:00 +02:00