Christopher Davis
4aab7065e5
password_page: Use AdwStatusPage
2021-01-31 13:47:28 -08:00
Bilal Elmoussaoui
20208e8b73
window: use a stack for login/unlocked
2021-01-31 22:37:56 +01:00
Bilal Elmoussaoui
f214a6fc16
update release notes
2021-01-31 21:32:53 +01:00
Bilal Elmoussaoui
ef4b4d521b
providers: don't allow the user to remove them if they have accounts
2021-01-31 20:52:20 +01:00
Bilal Elmoussaoui
0b01f4687b
bigger windows by default
2021-01-31 20:52:20 +01:00
Bilal Elmoussaoui
0636847fb0
providers: allow setting a custom image & resetting it
2021-01-31 18:05:13 +01:00
Bilal Elmoussaoui
e349194c8d
ui: add tooltips to buttons where needed
2021-01-31 14:50:38 +01:00
Bilal Elmoussaoui
108baf5ac3
use multiple of 6 for margins/spacing
2021-01-31 14:50:38 +01:00
Bilal Elmoussaoui
da9ae0d46c
css: move margin specific stuff to ui files
...
so we can use margin-start/margin-end instead of margin-left, margin-right
2021-01-31 04:25:58 +01:00
Christopher Davis
3d102529b1
providers_dialog: Add search shortcut
...
Adds a shortcut for searching within the providers dialog.
This will match the shortcut for the preferences window and
main window.
2021-01-30 18:50:41 -08:00
Christopher Davis
5630cc1f4a
window: Move search to headerbar
...
Newer apps have their search entries in the headerbar.
To match these newer apps and AdwPreferencesWindow, move
our own search into the headerbar as well.
2021-01-30 18:33:02 -08:00
Christopher Davis
3248e55cc1
providers_dialog: Move search entry to HeaderBar
...
Search in HeaderBar is the newer pattern apps are using
instead of GtkSearchBar. To match these newer apps and
AdwPreferencesWindow, we should move our own search
to the HeaderBar.
2021-01-30 18:32:58 -08:00
Christopher Davis
b141ae571f
providers_list: Adjust empty results label
2021-01-30 17:15:04 -08:00
Christopher Davis
f4d8835ffe
providers_dialog: Adjust the description for zero results
2021-01-30 17:14:38 -08:00
Bilal Elmoussaoui
3904834077
update empty results string
2021-01-31 02:06:19 +01:00
Christopher Davis
d965e4606c
style: Use title-3 and adjust margins
...
Use title-3 for more subtle bold labels, and adjust margins
to be multiples of 6px per https://developer.gnome.org/hig/stable/visual-layout.html.en
2021-01-30 17:02:24 -08:00
Bilal Elmoussaoui
9b201c3df9
css: fix provider row border-bottom for hotp/steam
2021-01-31 00:44:36 +01:00
Bilal Elmoussaoui
be4b00e39b
preferences: bind switch & spin sensitivity
2021-01-30 11:05:28 +01:00
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