Commit graph

1153 commits

Author SHA1 Message Date
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
Maximiliano Sandoval R
acdbd2da6a
freeotp: mark string as translatable 2021-01-27 17:07:12 +01:00
Maximiliano Sandoval R
097ea4a5cb
search: Also look for matches on the provider name 2021-01-27 17:07:11 +01:00
Bilal Elmoussaoui
b01a2b373b split empty pages into no search results & no accounts at all 2021-01-27 17:04:59 +01:00
Fabio Tomat
2c0f12bcf5 Update Friulian translation 2021-01-27 15:53:49 +00:00
Bilal Elmoussaoui
822f7c8095 update per latest gtk-rs changes 2021-01-27 15:03:07 +01:00
Piotr Drąg
d87381f0e1 Update Polish translation 2021-01-24 12:46:59 +00:00
Yuri Chornoivan
9f47f49ca3 Update Ukrainian translation 2021-01-24 07:36:44 +00:00
Bilal Elmoussaoui
f08d105a9c Merge branch 'password_page' into 'master'
Password Page: Some improvements

See merge request World/Authenticator!178
2021-01-23 23:20:46 +00:00
Maximiliano Sandoval R
1130ae215d
password_page: Do not allow passwordless resets 2021-01-23 23:47:50 +01:00
Maximiliano Sandoval R
0253e8073f
password_page: Bind entry sensitivity
To the has-set-password prop, it does not make sense to enter current
password when there is none.
2021-01-23 23:44:49 +01:00
Bilal Elmoussaoui
129871798f Merge branch 'notifications' into 'master'
Adds a minimal notification revealer

See merge request World/Authenticator!177
2021-01-23 22:43:31 +00:00
Maximiliano Sandoval R
0783cf53b3
Adds a minimal notification revealer for errors
The widget auto hides itself after 3 seconds.
2021-01-23 23:12:58 +01:00
Yuri Chornoivan
7926efd140 Update Ukrainian translation 2021-01-23 19:52:24 +00:00
Bilal Elmoussaoui
8d4ef176d9 Merge branch 'argon2' into 'master'
Store attributes & app pass with argon2

See merge request World/Authenticator!175
2021-01-23 19:15:22 +00:00
Bilal Elmoussaoui
cd61f0843d Merge branch 'argon2' into 'master'
Store attributes & app pass with argon2

See merge request World/Authenticator!175
2021-01-23 19:14:56 +00:00
Bilal Elmoussaoui
f8a8158f8b Merge branch 'potfiles' into 'master'
Update Potfiles & other translator goodies

See merge request World/Authenticator!176
2021-01-23 19:14:48 +00:00
Maximiliano Sandoval R
015c28a2e9
andotp: Add translators notes 2021-01-23 19:57:56 +01:00
Maximiliano Sandoval R
9f10e29099
algorithm.rs: Add translators note. 2021-01-23 19:57:56 +01:00
Maximiliano Sandoval R
1311d2a6a5
keyring: mv base64_token to base64_ecoded_token 2021-01-23 19:56:41 +01:00
Maximiliano Sandoval R
495fde3f93
POTFILES: Add algorithm.rs 2021-01-23 17:36:10 +01:00
Maximiliano Sandoval R
09448846dd
Store attributes & app pass with argon2 2021-01-23 15:30:37 +01:00
Bilal Elmoussaoui
7e4d4cf9ae Merge branch 'base32' into 'master'
otp: Use BASE32 rather than BASE32_NOPAD

See merge request World/Authenticator!174
2021-01-23 14:05:18 +00:00
Maximiliano Sandoval R
11a833b99b
otp: Use BASE32 rather than BASE32_NOPAD
Seems this causes a lot of valid secrets to throw errors.
2021-01-23 14:39:31 +01:00
Yuri Chornoivan
18cbc1dac6 Update Ukrainian translation 2021-01-23 11:58:52 +00:00
Bilal Elmoussaoui
fd4d6e5537 bump dependencies 2021-01-23 12:26:46 +01:00