summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res
AgeCommit message (Collapse)Author
2020-03-08Add Hindi translationShashank Baghel
Signed-off-by: Shashank Baghel <theradcolor@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-26Resolve some lint and build warningsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-25Add Simplified Chinese translationLilligantMatsuri
Signed-off-by: LilligantMatsuri <srb12345@vip.qq.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-25remove <item quantity=one> tag due to no plural form in Japanese.Eiji Tanioka
Signed-off-by: Eiji Tanioka <tanioka404@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-25Make exclusions dialog fit more items in viewportHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-25Replace FrameLayouts with recommended FragmentContainerViewHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-23Resolve format string warningsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-23Japanese translation: change "Deselect All" to "Toggle All"Eiji Tanioka
Fixes: 1eb4ce7 ("AppListDialogFragment: change "Deselect All" to "Toggle All"") Signed-off-by: Eiji Tanioka <tanioka404@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-23AppListDialogFragment: change "Deselect All" to "Toggle All"Sébastien LEBEAU
Change functionality in excluded apps dialog for better user experience when user wants only one or few apps to use WireGuard. Signed-off-by: Sébastien LEBEAU <sebcbi1@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-15Add japanese translation.Eiji Tanioka
Signed-off-by: Eiji Tanioka <tanioka404@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-14Port tunnel creation UI from ViscerionHarsh Shandilya
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-12Implement custom theming to match Google's AOSP designHarsh Shandilya
Closes: #4 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-09Update Russian translationAlexey
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-06Add Russian translationAlexey
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-01-22Add Italian translationxalloc
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-12-20Introduce TunnelToggleActivityHarsh Shandilya
On Android 10, apps cannot start services when they're in the background. This means that starting VpnService from within QuickTileService when the app is not active ends badly. To mitigate this situation, we introduce a proxy activity of sorts that will handle starting VpnService for us. The activity is completely transparent and invisible, and does only four things: - Toggle the tunnel state - Request the Tile bound by QuickTileService to refresh its state - Handle any error that might have been thrown during toggle - Call finishAffinity() and go away Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2019-11-20Implement statisticsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-16Google doesn't want to enable others to support free open source softwareJason A. Donenfeld
Revert "preferences: add donation link" This reverts commit e5455f579aec48abb30ba68b0248b02d79303126. The app was removed from the Play Store for violating their payments policy. Upon filing an appeal, I was told that they do not allow donations to projects like WireGuard. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-14Download modules after verifying signify signatureJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-12export: use content resolver on android Q+Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-12preferences: add donation linkJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-05TunnelList: Get focus to toggle button via remote for Fire TVRevath S Kumar
This removes a no-longer-needed workaround for the ListView OnItemClickListener (it won't fire if a focusable view is inside the item view). Since converting our ListView instances to RecyclerView instances, we set the OnClick and OnLongClick listeners directly on the item view, and this workaround no longer has any effect. Unsurprisingly, the workaround breaks focusability of the Switch, which is necessary to toggle tunnels on devices with keypad-based navigation, such as the Fire TV. This commit also adds explicit focusability hints for the Switch. Related mail thread: https://lists.zx2c4.com/pipermail/wireguard/2019-May/004112.html Reported-by: Christophe-Marie Duquesne <chmd@chmd.fr> Reported-by: Revath S Kumar <gmail@revathskumar.com> [Samuel: sorted attributes; expanded commit message] Signed-off-by: Samuel Holland <samuel@sholland.org>
2019-03-19strings: %i is invalidJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-17project: bump dependenciesJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-18strings: squelch warning on multiple %sJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-18Migrate to AndroidXHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-12-15Clean up error messagesSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-11Squelch xml warningJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-11Order stringsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-11Localize exception messagesZachary Wander
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-08Remodel the ModelSamuel Holland
- The configuration and crypto model is now entirely independent of Android classes other than Nullable and TextUtils. - Model classes are immutable and use builders that enforce the appropriate optional/required attributes. - The Android config proxies (for Parcelable and databinding) are moved to the Android side of the codebase, and are designed to be safe for two-way databinding. This allows proper observability in TunnelDetailFragment. - Various robustness fixes and documentation updates to helper classes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-11-11Auto-format the source directoriesSamuel Holland
Blame Jason for writing Java in vim. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-01strings: properly mark positionalsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-26Extract error messages to string resourcesHarsh Shandilya
Useful for validation errors and localisation later on Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-30Style: use attrs from appcompat rather than from frameworksJason A. Donenfeld
This isn't possible for colorForeground, colorBackground, textAppearanceMedium, but at least it's useful for some things here. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-30Show different color for multiselectionJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-30Replace hard-coded colors with theme colorsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-30Remove placeholder color and directly use alphaHarsh Shandilya
Why wasn't this done like this in the first place? Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-29ConfigNamingDialog: use name input filterJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-29MSF: make it more obvious what needs to be doneJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-29MainActivity: only show two column on tabletsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-28MainActivity: Fix fragment selection logicSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-07-25style: coloring the navbar looks a bit strange when rotatedJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-25qrcode: minor adjustmentsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-25Added QR code scanner as tunnel import methodEric Kuck
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-23Make placeholder prettyJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-22Show help text when no tunnels are importedHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-22RTL layout fixesHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-20fab: move in direct ratio to scrollJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-20UI: use background color for navbar in dark modeHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>