aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* LogViewerActivity: constify requestJason A. Donenfeld2020-03-261-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* LogViewerActivity: set a separate titleJason A. Donenfeld2020-03-262-2/+3
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: root: rewrite in kotlinJason A. Donenfeld2020-03-267-398/+352
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: cleanup various pieces of kotlinJason A. Donenfeld2020-03-267-16/+21
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* xml: cleanupJason A. Donenfeld2020-03-2630-114/+130
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* preferences: add key to all items to squelch warningsJason A. Donenfeld2020-03-261-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Introduce realtime log viewerHarsh Shandilya2020-03-2620-117/+449
| | | | | | | | | 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>
* strings: update Russian translateAlexey2020-03-251-1/+8
| | | | | Signed-off-by: Alexey <zasranecc@bk.ru> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* LogExporterPreference: Don't ask for storage permissions on Android 10 and aboveHarsh Shandilya2020-03-251-6/+12
| | | | | | We use the proper MediaStore implementation on Android 10 which makes it unnecessary. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* strings: Explicit indexing for 'import_partial_success'Eiji Tanioka2020-03-251-2/+2
| | | | | | | | | | 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>
* Upgrade to Gradle 6.3Harsh Shandilya2020-03-252-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: squelch warningsJason A. Donenfeld2020-03-242-2/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelManager: disallow remote apps for LJason A. Donenfeld2020-03-242-1/+7
| | | | | | I don't trust old Android versions to have gotten this right. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Resolve manifest warningsHarsh Shandilya2020-03-242-1/+3
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* TunnelManager: save settings before restartJason A. Donenfeld2020-03-231-3/+6
| | | | | | Otherwise these get lost and then the restored state is confusing. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Upgrade to Kotlin 1.3.71Harsh Shandilya2020-03-231-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* libwg-go: update go modulesJason A. Donenfeld2020-03-222-13/+13
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bump0.0.20200322Jason A. Donenfeld2020-03-221-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Preferences: hide advanced settingsJason A. Donenfeld2020-03-222-9/+11
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* SettingsActivity: remove from parent instead of fixed screenJason A. Donenfeld2020-03-221-6/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: bump go versionJason A. Donenfeld2020-03-221-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelManager: enable Tasker supportJason A. Donenfeld2020-03-229-11/+11
| | | | | | | 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>
* model: begin conversionJason A. Donenfeld2020-03-222-57/+24
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: Update Japanese translation.Eiji Tanioka2020-03-211-0/+2
| | | | | Signed-off-by: Eiji Tanioka <tanioka404@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* viewmodel: port to kotlinJason A. Donenfeld2020-03-218-674/+505
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Replace PermissionRequestCallback with direct methodsHarsh Shandilya2020-03-203-31/+16
| | | | | | These are much cleaner in Kotlin code. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: Load keystore file from rootProjectHarsh Shandilya2020-03-201-1/+1
| | | | | | | Since the signing config is also stored in the project root it makes sense to have storeFile path be relative to it. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Convert activity package to KotlinHarsh Shandilya2020-03-2014-532/+455
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* AddTunnels: rearrange and relabelJason A. Donenfeld2020-03-208-28/+16
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* widget: rewrite in kotlinJason A. Donenfeld2020-03-2011-460/+359
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* EdgeToEdge: move into widgetJason A. Donenfeld2020-03-204-10/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: Update Indonesian translationFiqri Ardyansyah2020-03-191-12/+13
| | | | | Signed-off-by: Fiqri Ardyansyah <fiqri15072019@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* preferences: rewrite in kotlinJason A. Donenfeld2020-03-1912-600/+452
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelListFragment: cleanup list typeJason A. Donenfeld2020-03-191-4/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelListFragment: catch all parsing exceptionsJason A. Donenfeld2020-03-191-4/+1
| | | | | | | Otherwise we crash if weird things happen. Reported-by: Luis Ressel <aranea@aixah.de> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* InetEndpoint: return proper parser exceptionJason A. Donenfeld2020-03-191-1/+1
| | | | | | | Wrapping this in something foreign doesn't make sense. Reported-by: Luis Ressel <aranea@aixah.de> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Use more Kotlin-esque code where applicableHarsh Shandilya2020-03-197-90/+70
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: Convert fragment package to KotlinHarsh Shandilya2020-03-1912-1271/+1119
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* codestyle: Require atleast 10 references before using star importsHarsh Shandilya2020-03-191-0/+9
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: Convert configStore package to KotlinHarsh Shandilya2020-03-193-125/+98
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* strings: Update Japanese TranslationEiji Tanioka2020-03-191-0/+1
| | | | | Signed-off-by: Eiji Tanioka <tanioka404@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* strings: Remove now defunct translationsHarsh Shandilya2020-03-186-11/+0
| | | | | | The original strings are removed. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* preference: restart application immediatelyJason A. Donenfeld2020-03-173-21/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: update Hindi translationShashank Baghel2020-03-171-9/+19
| | | | | Signed-off-by: Shashank Baghel <theradcolor@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: add Indonesian translationsFiqri Ardyansyah2020-03-171-0/+187
| | | | | Signed-off-by: Fiqri Ardyansyah <fiqri15072019@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* publish.gradle: Use non-deprecated API to prevent eager configuration of tasksHarsh Shandilya2020-03-141-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tunnel: Add an initial set of unit testsHarsh Shandilya2020-03-1415-13/+323
| | | | | | | Includes a control set of broken configuration files that we attempt to parse and verify that the parser fails in a predictable and consistent manner. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tunnel: Remove MISSING_VALUE from BadConfigException reasonsHarsh Shandilya2020-03-148-8/+0
| | | | | | | 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>
* config: show missing section error correctlyJason A. Donenfeld2020-03-131-1/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: update Simplified Chinese translationLilligantMatsuri2020-03-121-15/+25
| | | | | Signed-off-by: LilligantMatsuri <srb12345@vip.qq.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>