Jason A. Donenfeld
b3c43e428f
tv: use our own file picker
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-09-23 17:56:37 +02:00
Jason A. Donenfeld
e72b4fc144
tv: hook up isFocused as observable property
...
This is kind of ridiculous, since the items own state should clearly be
queryable, but it doesn't appear to be the case here, so just shuffle it
around into kotlin and back.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-09-22 23:54:41 +02:00
Jason A. Donenfeld
03189e7b20
tv: add text when there are no tunnels
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-09-22 23:54:38 +02:00
Harsh Shandilya and Jason A. Donenfeld
8b596697b7
tv: do theming
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev >
2020-09-22 23:54:04 +02:00
Jason A. Donenfeld
c536bbb7e9
tv: account for broken TVs with no file picker
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-09-22 23:54:01 +02:00
Jason A. Donenfeld
9df8e5e239
tv: add ugly deletion mode
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-09-22 23:53:44 +02:00
Jason A. Donenfeld
3748a1da88
AdminKnobs: allow enterprise admins to disable private key export
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-07-23 17:35:47 +02:00
Harsh Shandilya
115a87af32
ui: remove unneeded actionBarPopupTheme attribute
...
This caused inconsistencies between our overflow icon and actionbar title's tint
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev >
2020-05-09 15:49:43 +05:30
Jason A. Donenfeld
830d0992a7
ui: show excluded/included apps in details view
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-04-06 19:08:57 -06:00
Jason A. Donenfeld
4bbb1a0fcd
ui: add suffix to persistent keepalive in editor
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-04-06 18:24:08 -06:00
Jason A. Donenfeld
77b5937fbb
ui: add missing fields to detail view
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-04-06 18:09:03 -06:00
Jason A. Donenfeld and Harsh Shandilya
521bbb4b4c
AppListDialogFragment: refine singular grammar
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-04-06 19:56:53 +05:30
Jason A. Donenfeld and Harsh Shandilya
0a55e10b94
AppListDialogFragment: remove colons from tabs
...
Harsh's club became ill upon seeing them.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-04-06 19:56:53 +05:30
Harsh Shandilya
d6e5fd9301
ui: tweak cards to make them nicer on the eyes
...
Surprisingly-requested-by: Jason A. Donenfeld <Jason@zx2c4.com >
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev >
2020-04-06 19:56:53 +05:30
Jason A. Donenfeld
7db0fa915e
AppListDialogFragment: support both inclusion and exclusion
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-04-06 02:40:49 -06:00
Jason A. Donenfeld
d74b988f75
global: cleanup code style
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-03-30 13:57:43 -06:00
Harsh Shandilya and Jason A. Donenfeld
d2721f2d7d
BiometricAuthenticator: implement biometric authentication for sensitive operations
...
When biometric hardware is available, it will be used to authenticate
the user before private keys are shown on screen or when zip exports
are executed.
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev >
2020-03-30 03:23:32 -06:00
Harsh Shandilya and Jason A. Donenfeld
b00aacbc41
Fix tunnel editor theming
...
Also set textInputStyle in the base theme to avoid setting styles to all elements
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev >
2020-03-28 22:38:04 -06:00
Jason A. Donenfeld
bee6ebe3b4
TunnelEditor: move generate button to inside box
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-03-28 16:26:22 -06:00
Jason A. Donenfeld
5989298d3f
TunnelEditor: subdue section font
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-03-28 16:26:22 -06:00
Jason A. Donenfeld
0235f19543
TunnelEditor: abstract out section font
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-03-28 16:26:22 -06:00
Jason A. Donenfeld
75252cf9d5
TunnelEditor: move hint to label and add discouraged optional
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-03-28 16:26:22 -06:00
Jason A. Donenfeld
fe6b788f6b
MonkeyedTextInputEditText: introduce a new horror
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-03-28 16:26:22 -06:00
Harsh Shandilya and Jason A. Donenfeld
fb3fec299f
TunnelEditor: replace tunnel detail view with ConstraintLayout implementation
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev >
2020-03-28 15:22:11 -06:00
Jason A. Donenfeld
a3a429bc41
LogViewerActivity: re-add error case to log export
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-03-26 15:58:02 -06:00
Jason A. Donenfeld and Harsh Shandilya
a984127e28
LogViewerActivity: set a separate title
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev >
2020-03-26 14:59:31 +05:30
Jason A. Donenfeld
ade8f18a95
xml: cleanup
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-03-26 00:49:01 -06:00
Harsh Shandilya and Jason A. Donenfeld
63a395125a
Introduce realtime log viewer
...
This contains a share button and a save button, the former using a
custom content provider.
Co-authored-by: Jason A. Donenfeld <Jason@zx2c4.com >
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev >
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-03-26 00:49:01 -06:00
Eiji Tanioka and Harsh Shandilya
90bf46e8d3
strings: Explicit indexing for 'import_partial_success'
...
When translate it to Japanese, values are exchanged.
For example, '1 of 10' is '10 個中の 1'.
So this string should be explicit indexed.
Signed-off-by: Eiji Tanioka <tanioka404@gmail.com >
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev >
2020-03-25 20:23:45 +05:30
Jason A. Donenfeld
edba640641
TunnelManager: enable Tasker support
...
Also fix up wording for the permission prompt that Tasker will show when
initially setting this up.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-03-22 00:51:37 -06:00
Jason A. Donenfeld
85aa5fbd46
AddTunnels: rearrange and relabel
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-03-20 02:56:10 -06:00
Jason A. Donenfeld
6a3b143876
preference: restart application immediately
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-03-17 23:51:41 -06:00
Harsh Shandilya
6c8a4a6a28
tunnel: Remove MISSING_VALUE from BadConfigException reasons
...
This is covered under SYNTAX_ERROR which feels like a reasonable choice,
so get rid of this unused field and associated resource string.
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev >
2020-03-14 10:25:57 +05:30
Jason A. Donenfeld
492fcce053
KernelModuleDisabler: allow disabling the kernel module backend
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-03-09 15:21:34 -06:00
Jason A. Donenfeld
d61f17dbd3
Preferences: give dual state summary for restore on boot
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-03-09 14:54:20 -06:00
Jason A. Donenfeld
d62526fde6
WgQuickBackend: by default use single-tunnel mode like GoBackend, but add option
...
Note that this currently doesn't play well with people activating
wg-quick tunnels from outside the app. Those tunnels won't be
deactivated. But presumably that's desired behavior anyway, considering
people are mucking around at the command line.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-03-09 10:02:00 -06:00
Harsh Shandilya
7d48bef70a
Rename app module to ui
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev >
2020-03-09 19:24:27 +05:30