Commit graph

158 commits

Author SHA1 Message Date
Gaurav Ujjwal
ff010b2ef2 Enable database schema export via Room 2021-05-24 17:49:41 +05:30
Gaurav Ujjwal
f290c6a5bb Remove unnecessary arguments of default value 2021-05-22 22:03:57 +05:30
Gaurav Ujjwal
9a4653f189 Highlight Drawer Toolbars for first time users 2021-05-22 15:46:29 +05:30
Gaurav Ujjwal
7935dd5186 Remove extra margin from SSH fields in advanced editor 2021-05-21 14:07:43 +05:30
Gaurav Ujjwal
34f2993a8c Enable minification for release builds 2021-05-21 13:59:56 +05:30
Gaurav Ujjwal
d3a84ad282 Use correct style for FABs
We were using intermediate 'design' styles.
This also fixes a warning about custom background not being supported for FAB.
2021-05-21 09:51:01 +05:30
Gaurav Ujjwal
f022010ec4 Fix experimental indicator not working after device rotation (Activity restart)
Also slightly reduced the animation time
2021-05-20 22:10:33 +05:30
Gaurav Ujjwal
4da68d40ab Rename Interface pref category to UI 2021-05-20 21:31:03 +05:30
Gaurav Ujjwal
e415e158de Make UserCredential immutable 2021-05-20 21:17:19 +05:30
Gaurav Ujjwal
64911fc1e7 Fix credential "Remember" feature
Intended behaviour was to wait until successful connection before persisting credentials to database. But due to Intent instance being shared across activity restarts, modifications to profile were not reverted.

Now we make a copy of profile from intent and only modify the profile after successful connection.
2021-05-20 21:16:37 +05:30
Gaurav Ujjwal
56648abf44 Upgrade SDK & Dependencies 2021-05-20 08:34:08 +05:30
Gaurav Ujjwal
6e1ac2bdb2 Rename SSH.kt to better reflect its use 2021-05-12 18:13:43 +05:30
Gaurav Ujjwal
cd8dace3a2 Turn on auto-mirror for back icon 2021-05-12 13:59:53 +05:30
Gaurav Ujjwal
083dad11bc Align CheckBox text with other views in Profile Editor 2021-05-12 13:50:15 +05:30
Gaurav Ujjwal
92206e6b72 Add help button for compatibility mode 2021-05-12 13:33:05 +05:30
Gaurav Ujjwal
4a51482788 Improve CredentialFragment:
- Enable credential suggestions by default
- Don't show dropdown arrow if suggestions are disabled
- Make password suggestion slightly more obfuscated
2021-05-12 12:10:28 +05:30
Gaurav Ujjwal
85af129a98 Refactor SSH auth constants 2021-05-12 10:38:57 +05:30
Gaurav Ujjwal
11178b0349 Reimplemented KeyHandler to allow legacy KeySyms 2021-05-11 22:09:47 +05:30
Gaurav Ujjwal
3c71c1661d Properly cleanup local SSH forwarder 2021-05-08 14:11:55 +05:30
Gaurav Ujjwal
e5ea0b8ef9 Update strings & dimensions 2021-05-08 10:06:50 +05:30
Gaurav Ujjwal
1bb1794481 Add preference to directly open Advanced editor mode 2021-05-07 21:40:30 +05:30
Gaurav Ujjwal
a360a0e515 Add hint icon for SSH Tunnel 2021-05-07 14:32:24 +05:30
Gaurav Ujjwal
04603aa6a8 Add experimental feature close toolbar drawer by swiping in scrim area 2021-05-07 14:02:21 +05:30
Gaurav Ujjwal
e650b118af Move Toolbar drawer to start 2021-05-07 13:54:56 +05:30
Gaurav Ujjwal
79ef7ee505 Miscellaneous fixes:
- Suppress compiler warning in VncClient.kt
- Remove unused attributes in activity_url.xml
- Remove memory constraints for Gradle (now using global config)
2021-05-05 14:30:37 +05:30
Gaurav Ujjwal
0141a42cc2 Switch to ViewPager2 2021-05-05 11:21:04 +05:30
Gaurav Ujjwal
7d8d6a7334 Update submodules 2021-05-05 10:18:27 +05:30
Gaurav Ujjwal
fdae547952 Update dependencies 2021-05-05 10:18:05 +05:30
Gaurav Ujjwal
d1e134a779 Minor update to Code Style 2021-05-04 19:00:53 +05:30
Gaurav Ujjwal
c5dbca3bca Fix Lint issues:
1. Remove unused resources
2. Correct data type for framebuffer size
3. Use Compat library for drawable and ImageView tint
2021-05-04 15:18:41 +05:30
Gaurav Ujjwal
10b836fd7f Implement ability to hide remote cursor 2021-05-03 12:31:03 +05:30
Gaurav Ujjwal
30907a422f Refactor Import\Export + Add user authentication before Export 2021-05-03 11:28:34 +05:30
Gaurav Ujjwal
2ffb30708a Give feedback to user when something is copied to clipboard 2021-04-29 19:07:47 +05:30
Gaurav Ujjwal
ba63cba731 Give feedback to user when new server is added 2021-04-29 19:00:13 +05:30
Gaurav Ujjwal
b4a5f291da Refactor HomeViewModel:
- Group related method together
- Rename async method to reflect the intention of IO
2021-04-29 18:24:36 +05:30
Gaurav Ujjwal
f216c38aa9 Rename ServerProfile's address to host 2021-04-28 10:38:23 +05:30
Gaurav Ujjwal
86ac24b124 Update Host field hint based on repeater use 2021-04-28 09:50:05 +05:30
Gaurav Ujjwal
0b351ac56b Refactor gesture-action labels 2021-04-27 16:21:41 +05:30
Gaurav Ujjwal
ec0a40d454 Added some Tips 2021-04-27 16:01:05 +05:30
Gaurav Ujjwal
16dd6649d8 Add cancellation support to LiveRequest 2021-04-26 14:47:08 +05:30
Gaurav Ujjwal
ba58c2eed9 Refactor VncUri usage:
- Switch from getters to properties
- Handle invalid host errors in UI layer instead of VncClient
- Improve docs
- Add SSH parameters parsing
2021-04-26 11:15:07 +05:30
Gaurav Ujjwal
1a6006af70 Refactor LiveEvents:
- cleanup API
- Allow multiple observers
- Allow null values
2021-04-26 08:17:18 +05:30
Gaurav Ujjwal
f3c8d06fe0 Added Advanced Editor mode to allow editing SSH Tunnel & Repeater options 2021-04-26 08:17:18 +05:30
Gaurav Ujjwal
c880cf84da Implement support for Repeater & SSH Tunnel 2021-04-26 08:17:18 +05:30
Gaurav Ujjwal
1d7001b64b Refactor status bar color handling. 2021-04-26 08:17:18 +05:30
Gaurav Ujjwal
33ac852fda Introduce LiveRequest to simplify data passing across threads 2021-04-13 21:21:34 +05:30
Gaurav Ujjwal
c65df9484f Add 'Space' to list of key-codes for which we always use lookup table 2021-04-08 21:28:05 +05:30
Gaurav Ujjwal
f12ed7ef2d Added ability to view logs 2021-04-08 21:26:51 +05:30
Gaurav Ujjwal
f0625ebc18 Refactor clipboard sync
It also fixes an issue where disabling clipboard sync would break context menu options for copying server name/host.
2021-04-05 10:26:06 +05:30
Gaurav Ujjwal
ff71cda227 Refactor KeyEvent handling:
- Move Android -> X KeySym translation from native code to Kotlin side
- Split key handling from `FrameInputConnection` into new `KeyHandler`
- Add hardware keyboard support
- Misc fixes to key handling
2021-04-04 07:46:23 +05:30