Commit graph

242 commits

Author SHA1 Message Date
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
c02115107c make account/providers descriptions clearer 2021-01-29 23:28:00 +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
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
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
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
091d0621aa
window: Add controllers to reset lock timeout 2021-01-29 00:03:32 +01: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
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
Maximiliano Sandoval R
d5057c4d5e
camera: Remove empty string 2021-01-27 17:07:12 +01:00
Bilal Elmoussaoui
b01a2b373b split empty pages into no search results & no accounts at all 2021-01-27 17:04:59 +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
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
Bilal Elmoussaoui
e40843c102 add initial scanning from a camera stream
closes #107
2021-01-23 01:41:57 +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
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
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
a38d1580c7
Port from libhandy to libadwaita 2021-01-21 19:05:09 +01:00
Christopher Davis
3c5f426e37 account_add: Use GtkShortcut instead of event controller
GtkShortcut is much cleaner than manually adding the
GtkEventControllerKey and checking for the right key.
2021-01-14 13:54:41 -08:00
Christopher Davis
5dd1e721a6 providers_dialog: Use GtkShortcut instead of event controller
This is much cleaner and can be done within the UI file.
2021-01-14 13:51:07 -08:00
Bilal Elmoussaoui
b8ff9873ab fixes #217
along with some metainfo/desktop cleanup
2021-01-10 01:31:29 +01:00
Bilal Elmoussaoui
28e5f61075 sync the qrcode paintable thingy 2021-01-10 01:22:28 +01:00
scootergrisen
8dc33996f9 Make "The recommended value is" string consistent with other string 2020-12-20 00:33:08 +00:00
Bilal Elmoussaoui
cd3a113a10 improve favicons fetching 2020-12-19 05:03:40 +01:00
Bilal Elmoussaoui
11196b6412 fix capitalization of headers
fixes #213
2020-12-18 23:47:56 +01:00
Bilal Elmoussaoui
39a287d577 account details: allow swiping back
fixes #207
2020-12-18 23:29:34 +01:00
Bilal Elmoussaoui
ce89cf0b8a preferences: add more mnemonics
fixes #202 for real
2020-12-18 23:15:23 +01:00
Bilal Elmoussaoui
da1d4e4302 account row: rename share to details
fixes #208
2020-12-18 23:10:22 +01:00
Bilal Elmoussaoui
f4ecce39ac ui: swipe back when possible 2020-12-18 22:54:07 +01:00
Kavan Mevada
328604f7fe window: fix minimum size width 2020-12-18 12:10:18 +00:00
Bilal Elmoussaoui
a9ede03c9e rename providers_all to providers_dialog 2020-12-16 12:27:05 +01:00
Bilal Elmoussaoui
2987282fb9 remove unused icon 2020-12-16 12:23:25 +01:00
Bilal Elmoussaoui
e6b4b1d36c ui files: use proper name for props 2020-12-16 12:22:44 +01:00
Bilal Elmoussaoui
608d94b043 few design improvements 2020-12-16 03:24:00 +01:00
Bilal Elmoussaoui
60ada45b60 better default size 2020-12-16 02:58:13 +01:00
Bilal Elmoussaoui
377dcb6046 add missing mnemonics
fixes #202
2020-12-16 00:43:59 +01:00
Bilal Elmoussaoui
af35b86dca margin & spacing adjustments 2020-12-15 23:59:54 +01:00
Bilal Elmoussaoui
027574a8a1 use ProviderImage from UI file directly 2020-12-15 23:44:36 +01:00
Bilal Elmoussaoui
8c5a947511 define url rows in ui files 2020-12-15 23:26:41 +01:00
Bilal Elmoussaoui
918e299842 sync new account action state with app locked one
fixes #201
2020-12-15 00:18:00 +01:00