Commit graph

1771 commits

Author SHA1 Message Date
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
Bilal Elmoussaoui
4aa3d2333e cleanup imports 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
17160f371e favicon-scrapper: Take a ref for base url 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
dabea68d5c window: Implement Initable 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
ed01da7f0c Drop usage of gtk-macros 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
a8607acea9 Update dependencies 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
5144405d41 window: Fix action not being found 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
a7656cdc6b widgets: Make use of properties for model 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
66e513264b preferences/window: Make model a property 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
819ea517bd Reduce usage of gtk-macros crate
Ideally we would completely remove usage of it
2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
8a8fb2c0b5 Make use of ExitCode 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
0654f60ff7 More clippy warnings fixes 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
75a54ac134 Make use of OptionCast trait 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
6b6921de16 Mark main menu as primary
Fixes #361
2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
41d2af40a0 Asyncify more operations 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
ce1b543e8a Replace base64 crate 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
8d3edf44d2 Silence deprecated clippy warnings
We need a new list view based widget to replace the completion entry
2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
93dcc6ab68 provider/dialog: Port to properties macro 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
84a31f1922 Remove useless imports 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
ff963b17ff Various clippy fixes 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
1e6ed2777d Port more objects to properties macro 2023-04-07 01:45:13 +02:00