Commit graph

327 commits

Author SHA1 Message Date
Yuri Chornoivan
e306fcb735 l10n: Initial Ukrainian translation
New status: 33 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-09-06 16:21:55 +00:00
akia
d474f43835 l10n: Added Swedish translation
New status: 33 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-09-04 11:02:43 +00:00
Miloš Popović
1a9eaab267 l10n: Added Serbian Translation
New status: 33 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-08-30 13:24:53 +00:00
Piotr Drąg
b3df0c5f1f l10n: Initial Polish (pl) translation
New status: 33 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-08-22 19:31:28 +00:00
Jorge González
6054505bf0 l10n: Added Spanish translation.
New status: 33 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-08-21 10:26:31 +00:00
mariobl
2f3645aeba l10n: Added initial German translation
New status: 33 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-08-20 17:48:19 +00:00
Luca Ferretti
9a83d1428c l10n: Add Italian translation
New status: 33 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-08-20 14:42:09 +00:00
Andika Triwidada
767bd3e70e l10n: New Indonesian translation
New status: 33 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-08-20 13:19:50 +00:00
kelemeng
a575414365 l10n: Added Hungarian translation
New status: 33 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-08-20 12:49:09 +00:00
khaled
e2c0799bf7 l10n: Initial Arabic translation
New status: 33 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-08-20 12:40:37 +00:00
frandieguez
cd62776a8a l10n: Added Galician translations
New status: 33 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-08-20 12:22:37 +00:00
Bastien Nocera
30b88fa181 Add transifex token 2010-08-20 12:55:49 +01:00
Bastien Nocera
8719b25d43 Add British English translations
As a test case for the build system.
2010-08-20 11:53:01 +01:00
Bastien Nocera
731b22d368 0.2.0
Fix a missing brace in main.c, fix distchecking.
2010-08-19 16:01:23 +01:00
Bastien Nocera
7872479415 Change g_errors to g_warnings
So as to avoid aborts when D-Bus isn't available.

https://bugzilla.redhat.com/show_bug.cgi?id=549484
2010-08-17 15:34:20 +01:00
Ray Strode
7544102f2e Fix screensaver unlock for some users
pam_fprintd is very careful to use its own main loop context (as it
should) to prevent getting in the way of the gnome-screensaver.

Unfortunately, there's a small bug in its logic where it ends up
removing a random file descriptor from the default context. In the
bug report that file descriptor is really important.  It's what
tells gnome-screensaver when to drop the dialog.

The patch is as simple as:

-   g_source_remove (timeout_id);
+   g_source_destroy (source);

(g_source_remove always operates on the default context)

https://bugzilla.redhat.com/show_bug.cgi?id=614573
2010-08-16 19:35:57 +01:00
Bastien Nocera
4f30f39699 Add man page for the command-line utilities 2010-08-16 19:35:10 +01:00
Bastien Nocera
5a90a806dc Remove all use of g_error()
Otherwise we get bug reports about crashers that aren't crashers.
2010-08-16 19:33:45 +01:00
Matthias Clasen
24fefbe332 Port to PolicyKit 1.0
See https://bugzilla.redhat.com/show_bug.cgi?id=498368
and
https://fedoraproject.org/wiki/Features/PolicyKitOne
2010-08-16 19:33:01 +01:00
Bastien Nocera
4ea1c48f9f Detect when a device is disconnected
Pretty hacky way to detect whether the device we're handling has
been disconnected during a verify or enrollment. This should allow
us to avoid users having to wait when somebody pulls the plug.
2009-01-27 16:45:47 -03:00
Bastien Nocera
bbead87f58 Fix distcheck
A single file missing from the distribution.
2009-01-27 16:45:16 -03:00
Bastien Nocera
190b8480fb Add new TODO item
From browsing the web
2009-01-27 16:45:16 -03:00
Bastien Nocera
04fd09cfa8 dbus + fprintd error
On Mon, 2009-01-12 at 12:18 +0000, Konstantin V. Gavrilenko wrote:
> Hi Bastien,
>
> by default the fprintd installs the pam_fprintd into the /usr/lib64/security, whil egentoo searches them in /lib/security.
> So I simply simlinked it to the correct location /usr/lib64/security/pam_fprintd.so to /lib/security/pam_fprintd.so
> I've removed the symlink, and copied the file, but it does not change anything, the same error appears.
>
> As you asked,  recompiled some of the packages with "-O1 -gddb" and  "nostrip" options.

> #4  0x00007fa3344a3899 in dbus_connection_unref (connection=0x624e20) at dbus-connection.c:2686
>         __FUNCTION__ = "dbus_connection_unref"
> #5  0x00007fa334915284 in pam_sm_authenticate (pamh=0x6105c0, flags=<value optimized out>, argc=<value optimized out>, argv=<value optimized out>) at pam_fprintd.c:375
>         rhost = 0x0
>         username = 0x610740 "root"
>         i = <value optimized out>
>         r = 0

Could you please test the attached patch?

Cheers
2009-01-24 17:10:05 -03:00
Bastien Nocera
9498800f20 More cleanups
Some objects were leaked when no devices were available. Plug those
leaks.
2008-12-20 11:46:32 +00:00
Bastien Nocera
b2b81d0df9 Update D-Bus config file
Following the recent changes in D-Bus, the configuration file
needs to be a bit more explicit.
2008-12-10 00:54:28 +00:00
Bastien Nocera
d93b272f06 Install interfaces files
Apparently helps developers who want to read the interfaces
by hand, rather than using the API docs. Mentioned by Matthias in
his fprintd package review:
https://bugzilla.redhat.com/show_bug.cgi?id=469955#c9
2008-12-10 00:54:27 +00:00
Bastien Nocera
6be837a5fb Fix warnings during docs build
cd ./html && gtkdoc-mkhtml fprintd ../fprintd-docs.xml
../fprintd-docs.xml:79: element include: XInclude error : ../../COPYING
contains invalid char
../fprintd-docs.xml:79: element include: XInclude error : could not load
../../COPYING, and no fallback was found

Remove the Ctrl-L characters in the COPYING file.
2008-12-10 00:54:27 +00:00
Bastien Nocera
9874ac4b91 Add string helper for results and fingers
Add a simple header file which can be copied to other projects
to simplify i18n of results and strings.
2008-12-10 00:54:27 +00:00
Daniel Drake
43fe72a2aa license is GPLv2
Not sure how v3 creeped in, oops! thanks to bastien for pointing this
out
2008-12-04 14:53:02 +00:00
Bastien Nocera
6a480f409d Stop extra signals from being emitted
Some devices keep sending us signals when an enrollment or
verification finished. Ignore all those signals, we hate them.
2008-12-04 13:23:51 +00:00
Bastien Nocera
3941c3bff2 Add fprintd-delete program
Deletes all the fingerprints on all the registered devices.
2008-12-04 13:23:51 +00:00
Bastien Nocera
5ba723e3f2 Fix program description
In the source header
2008-12-04 13:23:51 +00:00
Bastien Nocera
4efa0d4878 Fix stupidness in the fprintd-enroll
This fixes fprintd-enroll not working on devices that require
more than one swipe.
2008-12-04 13:23:51 +00:00
Bastien Nocera
c1dc3f1394 Fix fprintd exiting after a device goes unused
Simple logic error that caused fprintd to exit when a device
was used then unused.
2008-12-04 13:23:50 +00:00
Bastien Nocera
c1ec85006e Add README for the PAM module
With some more info about the options.
2008-12-04 13:23:50 +00:00
Bastien Nocera
af5b8a6e37 Don't error out when there's no fingerprints
Instead, print out some information about the device, and carry
on to the next one.
2008-12-04 13:23:50 +00:00
Bastien Nocera
6f69aef553 Remove some dead code in PAM
verify_result_str() isn't used anymore.
2008-12-04 13:23:50 +00:00
Bastien Nocera
69e987b335 Fix return value for GetDefaultDevice
Tell the front-end there's no devices available when there isn't
any, instead of erroring out.
2008-12-04 13:23:50 +00:00
Bastien Nocera
64e415aaac Fix memleak on VerifyStart
Clean up the data pass to the async verification and identification
functions ourselves.
2008-11-24 17:20:46 +00:00
Bastien Nocera
7b06c4b7f3 Review possible errors and document them
Review all the possible errors and document them for each function.
2008-11-24 17:20:46 +00:00
Bastien Nocera
1abf51afa4 Don't crash the server if there's no devices
Big ninny just crashed because there's no fingerprint readers. Hoo,
hoo. My eyes are bleeding.
2008-11-24 17:20:46 +00:00
Bastien Nocera
9743d9d2a0 Register errors with D-Bus
So we get errors like:
net.reactivated.Fprint.Error.DiscoverPrints
instead of:
org.freedesktop.DBus.GLib.UnmappedError.FprintdErrorQuark.Code2
2008-11-24 17:20:46 +00:00
Bastien Nocera
6fc861a154 Use dbus_g_proxy_new_from_proxy
Removes the need to have the dbus connection around.
2008-11-24 17:20:45 +00:00
Bastien Nocera
b225947a56 Fix make distcheck
Fix missing documentation file when --enable-gtk-doc isn't passed
along to configure.
2008-11-24 17:19:08 +00:00
Bastien Nocera
b4ee4a5cdd Add debug option for PAM
When the debug option is set in the PAM configuration, redirect
debug output to syslog (usually /var/log/secure).
2008-11-24 17:19:08 +00:00
Bastien Nocera
af42ec70f3 Fix possible warning when timeout is enabled
We'd get a warning when the first device starts being used, but
we don't use --no-timeout.
2008-11-22 13:01:16 +00:00
Bastien Nocera
2b71776124 Fix GetAll properties call
The error wasn't properly initialised, but wasn't used anyway, and
we were missing the interface argument.
2008-11-22 13:01:16 +00:00
Bastien Nocera
c9fdeb47aa Use D-Bus properties instead of GetProperties
- Use D-Bus native properties instead of a GetProperties call.
- Fix a number of front-ends by registering the right signals and
marshallers following the "done" signal argument addition
- Fix VerifyStart call in the pam module
2008-11-22 13:00:48 +00:00
Bastien Nocera
f1f2ae35f8 Fix "--no-timeout" argument
Fix logic error in the manager code causing it to exit when no
devices are in use even when --no-timeout is passed.
2008-11-22 13:00:47 +00:00
Bastien Nocera
dfa539a1f8 Add documentation
Documentation FTW!
2008-11-21 18:15:51 +00:00