Commit graph

1791 commits

Author SHA1 Message Date
Maximiliano Sandoval R
e887e0a56c
Remove dark mode setting
It does not make sense to keep supporting this.
2023-04-10 11:58:26 +02:00
Bilal Elmoussaoui
b31c342fba accounts/details: Drop Editable widgets
They are basically useless, so switch to Adw equivalents where possible
Note our provider selection widget is still very bad :(
2023-04-10 04:51:19 +02:00
Bilal Elmoussaoui
157e014fc9 models/account: Don't go through GValue szerialization for setting the provider 2023-04-10 03:50:31 +02:00
Bilal Elmoussaoui
cbd087f645 widgets/providers: Drop some unnecessary clones 2023-04-10 03:41:59 +02:00
Bilal Elmoussaoui
b8cef05ecd widgets: Mark provider as nullable for ProviderImage
Fix a regression since the migration to properties macro
2023-04-10 03:30:57 +02:00
Bilal Elmoussaoui
5c4fb11220 backup/aegis: Skip counter/period on totp/hotp 2023-04-10 03:23:07 +02:00
Bilal Elmoussaoui
01439548fb qrcode: Simplify the paintable 2023-04-10 03:06:58 +02:00
Bilal Elmoussaoui
81cd95f907 models: Merge Token with otp module
It makes everything much more cleaner
2023-04-10 02:56:52 +02:00
Bilal Elmoussaoui
fa24e74595 Clippy fixes 2023-04-10 01:46:35 +02:00
Bilal Elmoussaoui
8930284cd7 secrets: Zeroize on drop 2023-04-10 01:46:35 +02:00
Bilal Elmoussaoui
ba4b10ab71 backup: Add freeotp+ json format tests 2023-04-09 18:05:01 +00:00
Bilal Elmoussaoui
64936e790b backup: Add more tests to Bitwarden & fixes 2023-04-09 18:05:01 +00:00
Bilal Elmoussaoui
dc1a69cd79 backup: Add andOTP parser tests 2023-04-09 18:05:01 +00:00
Bilal Elmoussaoui
d2f33af16e backup: Add freeotp tests 2023-04-09 18:05:01 +00:00
Bilal Elmoussaoui
e212e32f26 backup: Clean up tests
Move tests data to external files
2023-04-09 18:05:01 +00:00
Ekaterine Papava
16c16cd222 Update Georgian translation 2023-04-09 17:51:54 +00:00
Bilal Elmoussaoui
26f7cb2626 backup: use a const for the identifier 2023-04-09 14:46:07 +02:00
Piotr Drąg
7a81a69d3c Update Polish translation 2023-04-09 10:18:54 +00:00
Мирослав Николић
27f9c33537 Update Serbian translation 2023-04-09 08:56:31 +00:00
Martin
4cc7b9c54f Update Slovenian translation 2023-04-09 07:37:47 +00:00
Yuri Chornoivan
2c58e8a36e Update Ukrainian translation 2023-04-09 06:04:31 +00:00
Bilal Elmoussaoui
5d0911704c restore: Add FreeOTP+ json format support
Fixes #323
2023-04-09 03:28:14 +00:00
Ekaterine Papava
a6ed339ed6 Update Georgian translation 2023-04-09 02:22:29 +00:00
Bilal Elmoussaoui
d442324992 account/add: Allow opening a QR code image
The actual fix for this issue would be to fix the camera support
on pipewire/libcamera side but for now, we would provide a workaround
for allowing the user to load the QR code from an image file

Fixes #368
2023-04-09 03:33:21 +02:00
Bilal Elmoussaoui
7623625ea8 backup: Make some IO operations async
Still, the most problematic ones are the creation
of the accounts/providers which would need more thinking
in order to make them fully async
2023-04-09 03:22:43 +02:00
Bilal Elmoussaoui
a2b00dc2b5 otp: Use unpadded base32 encoding 2023-04-09 02:12:09 +02:00
Bilal Elmoussaoui
cdee19ccb8 otp: Fix compatibility with 2FAS
See https://2fas.com/check-token/
2023-04-08 23:52:06 +00:00
Aleksandr Melman
598cdf9d6b Update Russian translation 2023-04-08 12:02:05 +00:00
Martin
d82ae7078a Update Slovenian translation 2023-04-07 21:23:59 +00:00
Hugo Carvalho
e39cf99e29 Update Portuguese translation 2023-04-07 10:05:45 +00:00
Ekaterine Papava
6c5816bccf Update Georgian translation 2023-04-07 02:22:30 +00:00
Bilal Elmoussaoui
8b2e71226d Drop unneeded derives
Should reduce compile time slightly bit
2023-04-07 03:42:34 +02:00
Bilal Elmoussaoui
4bb81c3cee OTPUri: Fix encoding when generating a URI
Also add some basic tests for now
Fixes #363
2023-04-07 02:33:19 +02:00
Bilal Elmoussaoui
d4810bb6f9 models: Rename OTPMethod to Method 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
6e38e1455c models: Use Self where possible 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
2fbbb2155d models/method: Add helper methods 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
27e814029a Fix clippy warnings 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
9670e978bf Update dependencies 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
86a5293cfb models: Cleanup imports 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
a5d95724d2 models/provider: Fix table name 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
abcd47fe88 Prefer using prelude for diesel 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
f0a5443d97 models/Account: Port to properties macro
Except for the Provider property as the generated code
assumes the property is nullable which is not the case
2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
7d380d6021 Prefer using .parse instead of from_str 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
2de62fc767 flatpak: Use sparce crates.io 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
d2304a4bcd flatpak: Update dependencies & SDKs 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
8bf625c5aa search-provider: Use a wrapper type
Because we have to run the service using tokio runtime so we can no longer send the application itself to a differnt thread
2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
00392d07a9 models/Provider: Port to Properties macro 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
90674dd0b4 Fix nightly clippy warnings 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
2224521d4d Disable unwanted features
Reduce build dependencies a little bit
2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
c8ae5f4816 Bump dependencies 2023-04-07 01:45:13 +02:00