Commit graph

1037 commits

Author SHA1 Message Date
Bilal Elmoussaoui
663f907fce providers: allow creating new ones 2021-01-31 00:21:49 +01:00
Bilal Elmoussaoui
b6d4e630b6 Merge branch 'main-minor-imps' into 'master'
Fix steam 2fa gen

See merge request World/Authenticator!186
2021-01-30 23:08:31 +00:00
Maximiliano Sandoval R
a02db13a32
otp: Add method to generate time based counter 2021-01-30 23:59:18 +01:00
Maximiliano Sandoval R
2d54818621
otp: Add steam test unit
Fix typo.
2021-01-30 23:40:43 +01:00
Maximiliano Sandoval R
7fa24986c5
Fix Steam auth
Kinda.
2021-01-30 23:40:43 +01:00
Yuri Chornoivan
d6510c570d Update Ukrainian translation 2021-01-30 12:14:41 +00:00
Bilal Elmoussaoui
87ef17e274 freeotp: use filter_map as well 2021-01-30 12:34:25 +01:00
Bilal Elmoussaoui
3decba1a68 account: filter only valid accounts
instead of unwrapping causing a crash
fixes #206
2021-01-30 12:29:25 +01:00
Bilal Elmoussaoui
c1be2f9597 providers: type to search 2021-01-30 12:07:02 +01:00
Bilal Elmoussaoui
11d6464bd6 providers: prepare for greatness
make sure we all i18n ready
2021-01-30 11:43:10 +01:00
Bilal Elmoussaoui
be4b00e39b preferences: bind switch & spin sensitivity 2021-01-30 11:05:28 +01:00
Yuri Chornoivan
c94862cab6 Update Ukrainian translation 2021-01-30 08:13:39 +00:00
Bilal Elmoussaoui
d70bba8747 bump version to 4.0.0
get slowely ready for the next release
2021-01-30 01:08:24 +01:00
Bilal Elmoussaoui
c145a377d2 keyring: create a secret-service only once 2021-01-30 00:49:23 +01:00
Bilal Elmoussaoui
6ac06a75f2 css: set a border-bottom for the progress bar 2021-01-30 00:25:25 +01:00
Bilal Elmoussaoui
3f0d40c454 re-enable type on search
now that's fixed in gtk4
2021-01-29 23:43:17 +01:00
Bilal Elmoussaoui
cd4c241958 otp: use our Algorithm enum everywhere
do the conversion only once at the very end
2021-01-29 23:34:40 +01:00
Bilal Elmoussaoui
c02115107c make account/providers descriptions clearer 2021-01-29 23:28:00 +01:00
Bilal Elmoussaoui
a2ce9fc671 camera: only create a pipeline for the first found device
until we add a device selector thing
2021-01-29 23:01:57 +01:00
Bilal Elmoussaoui
4108c192fb stop using static_resources
makes iterating on the ui depends on statically re-compiling everything
2021-01-29 22:30:19 +01:00
Bilal Elmoussaoui
30dd1b2416 log the result of backup/restore 2021-01-29 22:21:13 +01:00
Bilal Elmoussaoui
0d211f7105 Merge branch 'unwraps' into 'master'
Reduce Unwrap usage

Closes #225

See merge request World/Authenticator!185
2021-01-29 20:05:52 +00:00
Maximiliano Sandoval R
981ebfd83d
cargo: Update deps
Allows to drop unwraps on get_text from an editable.
2021-01-29 19:06:02 +01:00
Maximiliano Sandoval R
8e0927036b
account_add: Better error handling
In the case where the token is not a valid Base32 string or the provider
was not found the ErrorRevealer widget is used.

Fixes: https://gitlab.gnome.org/World/Authenticator/-/issues/225
2021-01-29 18:49:44 +01:00
Yuri Chornoivan
5690074b38 Update Ukrainian translation 2021-01-29 17:37:33 +00:00
Maximiliano Sandoval R
758f5d0c54
account: Move unwrap down the line 2021-01-29 18:13:36 +01:00
Maximiliano Sandoval R
ad17b145a6
window: Remove unwrap 2021-01-29 17:12:30 +01:00
Maximiliano Sandoval R
b66238f16a
app: Expropriate about page 2021-01-29 17:12:08 +01:00
Bilal Elmoussaoui
fbc0bacac6 Merge branch 'ctrl-t-keybinding' into 'master'
Remove camera shortcut

See merge request World/Authenticator!184
2021-01-29 14:49:55 +00:00
Maximiliano Sandoval R
aac7dfb72a
shortcuts: Rephrase some actions 2021-01-29 15:46:46 +01:00
Maximiliano Sandoval R
6644c74379
shortcuts: Remove trailing whitespace 2021-01-29 15:43:39 +01:00
Maximiliano Sandoval R
0e15ad1a20
shortcuts: Adding shortcut which was missing 2021-01-29 15:43:39 +01:00
Maximiliano Sandoval R
1d9316375e
shortcuts: Use action name rather than hardcoding
The binding.
2021-01-29 15:22:01 +01:00
Maximiliano Sandoval R
21cf5f1b18
shortcuts: Remove shortcut to scan QR
There is already a shortcut for New QR which makes this almost redundant.
2021-01-29 15:16:49 +01:00
Bilal Elmoussaoui
cc9cc2c9c1 Merge branch 'rustfmt' into 'master'
un-break rustfmt

See merge request World/Authenticator!183
2021-01-29 14:08:51 +00:00
Maximiliano Sandoval R
f655bfe2b0
un-break rustfmt 2021-01-29 15:07:53 +01:00
Bilal Elmoussaoui
50ac7d01de Merge branch 'auto-lock-app' into 'master'
app: Add a function to lock the app on timeout

See merge request World/Authenticator!182
2021-01-29 14:00:14 +00:00
Maximiliano Sandoval R
815371ec21
application: Reset timeout on setting changed 2021-01-29 14:58:53 +01:00
Maximiliano Sandoval R
e75eccc408
gschema: replace single quote with double quotes 2021-01-29 14:58:53 +01:00
Maximiliano Sandoval R
bbaa77ae39
gschema: Reduce lock time to 5 minutes
15 is absurdly long, considering that this time is refreshed on action.
2021-01-29 14:58:53 +01:00
Maximiliano Sandoval R
a32bcff979
app: Use timeout from settings
Also made the setting a unsigned integer as it does not make sense to
have negative lock timers.
2021-01-29 14:58:53 +01:00
Maximiliano Sandoval R
c90e64766e
app: Listen to can_be_locked to cancel timeout
If the password is unset the timeout should be canceled.
2021-01-29 01:30:16 +01:00
Maximiliano Sandoval R
fef615e460
window: Restart lock timout on unlock 2021-01-29 00:50:14 +01:00
Maximiliano Sandoval R
ef9482e22f
window: Listen to settings for auto-lock 2021-01-29 00:49:48 +01:00
Maximiliano Sandoval R
091d0621aa
window: Add controllers to reset lock timeout 2021-01-29 00:03:32 +01:00
Maximiliano Sandoval R
9c016de1be
app: Add a function to lock the app on timeout 2021-01-28 23:19:07 +01:00
Bilal Elmoussaoui
c028454c03 Merge branch 'prgname' into 'master'
main: Mark app name translatable

See merge request World/Authenticator!181
2021-01-28 20:09:47 +00:00
Maximiliano Sandoval R
b09c453118
main: Mark app name translatable
Also remove prgname following https://developer.gnome.org/gtk4/stable/gtk-migrating-3-to-4.html#id-1.7.4.3.15.
2021-01-28 21:09:07 +01:00
Yuri Chornoivan
02cbd06d6b Update Ukrainian translation 2021-01-28 08:21:55 +00:00
Bilal Elmoussaoui
138bee95c9 preferences: bind auto-lock-timeout
there's a weird state syncing somewhere still
2021-01-28 01:02:59 +01:00