aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/res (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename app module to uiHarsh Shandilya2020-03-0957-2519/+0
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Fix tablet mode crashes and UI inconsistenciesHarsh Shandilya2020-03-091-18/+24
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Switch to CoordinatorLayout for activity containerHarsh Shandilya2020-03-091-3/+4
| | | | | | Snackbars use it to infer the right margins Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* backend: do not depend on anything except configJason A. Donenfeld2020-03-099-14/+8
| | | | | | | | | This is likely broken but should make for a good starting point. It also should hopefully handle stopping tunnels before starting new ones, in the case of the GoBackend. Again, untested. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Add Hindi translationShashank Baghel2020-03-081-0/+180
| | | | | Signed-off-by: Shashank Baghel <theradcolor@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Resolve some lint and build warningsHarsh Shandilya2020-02-261-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Add Simplified Chinese translationLilligantMatsuri2020-02-251-0/+174
| | | | | Signed-off-by: LilligantMatsuri <srb12345@vip.qq.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* remove <item quantity=one> tag due to no plural form in Japanese.Eiji Tanioka2020-02-251-6/+0
| | | | | Signed-off-by: Eiji Tanioka <tanioka404@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Make exclusions dialog fit more items in viewportHarsh Shandilya2020-02-251-3/+5
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Replace FrameLayouts with recommended FragmentContainerViewHarsh Shandilya2020-02-252-9/+5
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Resolve format string warningsHarsh Shandilya2020-02-234-4/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Japanese translation: change "Deselect All" to "Toggle All"Eiji Tanioka2020-02-231-1/+1
| | | | | | 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>
* AppListDialogFragment: change "Deselect All" to "Toggle All"Sébastien LEBEAU2020-02-233-3/+3
| | | | | | | | 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>
* Add japanese translation.Eiji Tanioka2020-02-151-0/+180
| | | | | Signed-off-by: Eiji Tanioka <tanioka404@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Port tunnel creation UI from ViscerionHarsh Shandilya2020-02-149-93/+95
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Implement custom theming to match Google's AOSP designHarsh Shandilya2020-02-1225-53/+147
| | | | | Closes: #4 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Update Russian translationAlexey2020-02-091-15/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Add Russian translationAlexey2020-02-061-0/+180
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Add Italian translationxalloc2020-01-221-0/+180
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Introduce TunnelToggleActivityHarsh Shandilya2019-12-201-0/+13
| | | | | | | | | | | | | | | | 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>
* Implement statisticsJason A. Donenfeld2019-11-203-0/+26
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Google doesn't want to enable others to support free open source softwareJason A. Donenfeld2019-10-162-3/+0
| | | | | | | | | | | | 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>
* Download modules after verifying signify signatureJason A. Donenfeld2019-10-142-0/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* export: use content resolver on android Q+Jason A. Donenfeld2019-10-121-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* preferences: add donation linkJason A. Donenfeld2019-10-122-0/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelList: Get focus to toggle button via remote for Fire TVRevath S Kumar2019-06-051-1/+5
| | | | | | | | | | | | | | | | | | | | | | 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>
* strings: %i is invalidJason A. Donenfeld2019-03-191-4/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* project: bump dependenciesJason A. Donenfeld2019-02-171-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: squelch warning on multiple %sJason A. Donenfeld2018-12-181-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Migrate to AndroidXHarsh Shandilya2018-12-188-22/+18
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Clean up error messagesSamuel Holland2018-12-152-32/+52
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Squelch xml warningJason A. Donenfeld2018-12-111-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Order stringsJason A. Donenfeld2018-12-111-55/+53
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Localize exception messagesZachary Wander2018-12-111-0/+30
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Remodel the ModelSamuel Holland2018-12-086-32/+29
| | | | | | | | | | | | | | - 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>
* Auto-format the source directoriesSamuel Holland2018-11-1113-51/+58
| | | | | | Blame Jason for writing Java in vim. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: properly mark positionalsJason A. Donenfeld2018-10-011-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Extract error messages to string resourcesHarsh Shandilya2018-08-261-0/+12
| | | | | | Useful for validation errors and localisation later on Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Style: use attrs from appcompat rather than from frameworksJason A. Donenfeld2018-07-303-5/+5
| | | | | | | 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>
* Show different color for multiselectionJason A. Donenfeld2018-07-303-7/+14
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Replace hard-coded colors with theme colorsJason A. Donenfeld2018-07-306-23/+17
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Remove placeholder color and directly use alphaHarsh Shandilya2018-07-303-7/+1
| | | | | | Why wasn't this done like this in the first place? Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ConfigNamingDialog: use name input filterJason A. Donenfeld2018-07-291-2/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MSF: make it more obvious what needs to be doneJason A. Donenfeld2018-07-292-4/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MainActivity: only show two column on tabletsJason A. Donenfeld2018-07-291-0/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MainActivity: Fix fragment selection logicSamuel Holland2018-07-282-2/+39
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* style: coloring the navbar looks a bit strange when rotatedJason A. Donenfeld2018-07-251-9/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* qrcode: minor adjustmentsJason A. Donenfeld2018-07-252-11/+13
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Added QR code scanner as tunnel import methodEric Kuck2018-07-254-21/+68
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Make placeholder prettyJason A. Donenfeld2018-07-234-6/+22
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>