Commit graph

972 commits

Author SHA1 Message Date
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
Bilal Elmoussaoui
733af58e89 otp: implement steam algorithm
fixes #115
2021-01-23 02:53:53 +01:00
Bilal Elmoussaoui
e40843c102 add initial scanning from a camera stream
closes #107
2021-01-23 01:41:57 +01:00
Bilal Elmoussaoui
3c5898fbe9 otp uri: use a period if it's not a hotp 2021-01-23 00:14:47 +01:00
Bilal Elmoussaoui
f101f69be7 providers page: fix rename leftover issue 2021-01-23 00:14:32 +01:00
Bilal Elmoussaoui
ffedc21896 provider row: pass a strong ref of self
this should avoid being dropped somehow which could cause #209

Should fix #209
2021-01-23 00:13:28 +01:00
Bilal Elmoussaoui
7f088c0218 otp uri: don't use a counter if it's not a hotp 2021-01-22 23:12:12 +01:00
Bilal Elmoussaoui
8b65abd83c meson: set env variables & timeout for cargo tests 2021-01-22 22:53:18 +01:00
Bilal Elmoussaoui
c81bff0d0d move more binding stuff to ui files 2021-01-22 22:47:19 +01:00
Bilal Elmoussaoui
c7d66ad91e ui files cleanup 2021-01-22 22:16:39 +01:00
Bilal Elmoussaoui
b79ede5f73 meson: add cargo tests
this will make our tests run on the CI for free without extra setup
2021-01-22 21:53:31 +01:00
Bilal Elmoussaoui
5181f5c2d1 fix otp tests 2021-01-22 21:51:33 +01:00
Bilal Elmoussaoui
fac2ae8ad5 rustfmt: run with automerge enabled 2021-01-22 21:40:48 +01:00
Bilal Elmoussaoui
adab1fd7f3 migrations: resync from twofactorauth 2021-01-22 21:38:29 +01:00
Bilal Elmoussaoui
f9204f4d30 add a doap file
fixes #218
2021-01-22 21:28:06 +01:00
Bilal Elmoussaoui
d58ffb787a track can-be-locked state in app & fixes password page issues
fixes #211
2021-01-22 21:25:25 +01:00
Bilal Elmoussaoui
1d35693007 use adw instead of libadwaita 2021-01-22 20:25:02 +01:00
Bilal Elmoussaoui
bffea44ee2 sync app password state using a property 2021-01-22 20:01:09 +01:00
Bilal Elmoussaoui
e58cab08bc Merge branch 'fix-2fa-gen' into 'master'
row: Adds a correction to account for app init

See merge request World/Authenticator!173
2021-01-22 17:47:27 +00:00
Maximiliano Sandoval R
412f5d95b1
row: Make the callback run once at correct time 2021-01-22 18:33:35 +01:00
Maximiliano Sandoval R
df2406bf27
row: Dispose of the tick callback on dipose() 2021-01-22 17:54:38 +01:00
Maximiliano Sandoval R
fc5741d127
Handle errors in otp generation 2021-01-22 16:59:03 +01:00
Maximiliano Sandoval R
fae9b39c04
provider_row: Red progress when less than 6 secs
margins to fix the bar cropping out of the listbox.
2021-01-22 16:59:03 +01:00
Maximiliano Sandoval R
b199cdaa91
utils: Add a function to format codes
If the number of digits is even, inserts an empty space in the middle.

HINT: Most codes are 6 digits long, except steam of course.
2021-01-22 16:59:03 +01:00
Maximiliano Sandoval R
e9499bd428
account_row: Increase size of code
Rather than using margin on the CSS use spacing on the box containing
the labels and buttons.
2021-01-22 16:59:03 +01:00
Maximiliano Sandoval R
59c748f61f
Fix OTP generation 2021-01-22 16:59:02 +01:00
Maximiliano Sandoval R
2630089c47
Update the bar at the start of a cycle
If we update the bar when time <= 0.0001 we will get the previous counter.
2021-01-22 16:59:02 +01:00
Maximiliano Sandoval R
c884e8c146
Update progress bar on each frame
Rather than on a 20 millis timeout, which provides less than 60fps.
2021-01-22 15:58:30 +01:00
Maximiliano Sandoval R
f57b702072
row: Adds a correction to account for app init
If app starts at 00:00:42 instead of 00:00:00, a 12 should be
subtracted to see the actual time at which the current code was
generated, which happens each 30 secs.
2021-01-22 15:34:29 +01:00
Daniel Șerbănescu
cbbaa1070b Update Romanian translation 2021-01-21 19:45:46 +00:00
Bilal Elmoussaoui
d5b2459a26 Merge branch 'update' into 'master'
Update deps & port to libadwaita

See merge request World/Authenticator!172
2021-01-21 18:17:20 +00:00
Maximiliano Sandoval R
a38d1580c7
Port from libhandy to libadwaita 2021-01-21 19:05:09 +01:00