Commit graph

1028 commits

Author SHA1 Message Date
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
Bilal Elmoussaoui
d1347d4c9f account: avoid re-reading the token when creating an account
this also moves the removal of a token in a different thread
2021-01-27 23:24:36 +01:00
Bilal Elmoussaoui
6e68edb378 restore: split item into it's own trait 2021-01-27 22:39:16 +01:00
Bilal Elmoussaoui
b0fc9ffdb8 providers dialog: listview has to be a direct child of scrolled window
for tracking the scroll & creating new items
2021-01-27 21:20:29 +01:00
Bilal Elmoussaoui
14ffc9a0c0 ui: valign=center all status pages 2021-01-27 21:06:32 +01:00
Bilal Elmoussaoui
95c805d14f add an empty result page for providers
along with fixes from latest pr
2021-01-27 21:00:27 +01:00
Bilal Elmoussaoui
b808c8262b make Provider::create api more logical
we shouldn't require a period/counter/digits and defaults to something
2021-01-27 19:34:18 +01:00
Bilal Elmoussaoui
e5fdf8f568 define default values only once
this also makes most of the values u32, we don't need them be signed
2021-01-27 19:25:43 +01:00
Bilal Elmoussaoui
0015c81c1a Merge branch 'search' into 'master'
search: Also look for matches on the provider name

See merge request World/Authenticator!179
2021-01-27 16:09:58 +00:00
Maximiliano Sandoval R
d5057c4d5e
camera: Remove empty string 2021-01-27 17:07:12 +01:00