aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/main/res (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* ui: fix and silence lint errorsHarsh Shandilya2021-10-281-1/+0
| | | | | | | | | | - The `copied_to_clipboard` translation for Farsi does not include the placeholder, so it has been removed. - A couple lints that are errors but we cannot particularly do anything about were downgraded to warnings. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* strings: sync translationsHarsh Shandilya2021-10-272-0/+357
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* strings: sync with crowdinJason A. Donenfeld2021-09-2613-4/+208
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui,tunnel: support DNS search domainsJason A. Donenfeld2021-09-252-5/+33
| | | | | | | | wg-quick has supported this for a while, but not the config layer, and not the Go backend, so wire this all up. Requested-by: Alexis Geoffrey <alexis.geoffrey97@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: sync translationsHarsh Shandilya2021-07-2924-95/+737
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: mark app_name string as untranslatableHarsh Shandilya2021-07-291-1/+1
| | | | | | WireGuard is a brand name that should not be localized. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tunnel: retry DNS resolution for 10 secondsJason A. Donenfeld2021-05-261-0/+1
| | | | | | | | | | This has several problems: 1) it blocks the main thread; 2) it doesn't distinguish between a permanent error and a transient one; 3) the 10 seconds is hard coded; 4) there's no way for the user to cancel it. We'll have to improve this. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: abstract out theme attributes to reduce overlapHarsh Shandilya2021-04-212-22/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* strings: replace three dots with ellipsis characterHarsh Shandilya2021-04-212-4/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: remove unnecessary v21 styles overrideHarsh Shandilya2021-04-211-26/+0
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* strings: remove invalid translation from FarsiHarsh Shandilya2021-04-211-1/+0
| | | | | | copied_to_clipboard is a format string and must have a format specifier Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: reduce size of QS tile drawableHarsh Shandilya2021-04-211-2/+2
| | | | | | | This will be rendered on an even smaller scale on devices, but 400dp x 400dp was simply too big and could cause performance issues. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* strings: fix resource qualifier for IndonesianHarsh Shandilya2021-04-211-0/+0
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* strings: sync translationsHarsh Shandilya2021-04-1114-56/+653
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tunnel: report git commit as wgVersionJason A. Donenfeld2021-02-1216-16/+16
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: sync translationsHarsh Shandilya2021-01-233-31/+236
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ClipboardUtils: localize clipboard notification snackJason A. Donenfeld2021-01-011-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: sync with crowdinJason A. Donenfeld2020-12-217-0/+532
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: sync translationsHarsh Shandilya2020-11-071-0/+184
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: add crowdin syncer script and use itJason A. Donenfeld2020-10-1412-4/+1013
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: handle going up directories betterJason A. Donenfeld2020-09-241-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: cleanup code after churnJason A. Donenfeld2020-09-233-204/+204
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: use our own file pickerJason A. Donenfeld2020-09-233-7/+99
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: hook up isFocused as observable propertyJason A. Donenfeld2020-09-222-4/+7
| | | | | | | | 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>
* tv: add text when there are no tunnelsJason A. Donenfeld2020-09-222-1/+16
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: make cards slightly smallerJason A. Donenfeld2020-09-221-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: tweak TV layout to fit 3 rows betterHarsh Shandilya2020-09-221-6/+8
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tv: set layout manager from XMLHarsh Shandilya2020-09-221-0/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tv: make logo almost betterJason A. Donenfeld2020-09-222-9/+21
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: anchor RV bottom to top of delete buttonHarsh Shandilya2020-09-221-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tv: remove useless attributeJason A. Donenfeld2020-09-221-1/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: use plus instead of text for importingJason A. Donenfeld2020-09-221-3/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: do themingHarsh Shandilya2020-09-225-18/+71
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tv: account for broken TVs with no file pickerJason A. Donenfeld2020-09-221-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: remove tiny words from tv bannerJason A. Donenfeld2020-09-221-0/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: add tv bannerJason A. Donenfeld2020-09-224-0/+220
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: use proper icon for buttonJason A. Donenfeld2020-09-221-3/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: hide deletion button when nothing to deleteJason A. Donenfeld2020-09-221-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: add ugly deletion modeJason A. Donenfeld2020-09-223-2/+38
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: wire in statsJason A. Donenfeld2020-09-221-1/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: wire up tunnel start/stopJason A. Donenfeld2020-09-222-10/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: begin to wire up databindingsJason A. Donenfeld2020-09-222-34/+39
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tv: initial draft of Android TV supportHarsh Shandilya2020-09-222-0/+104
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: add tooling label for exclusions buttonHarsh Shandilya2020-09-201-1/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: add navigation hints for D-Pad and IMEHarsh Shandilya2020-09-207-0/+106
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: add xhdpi banner resourceHarsh Shandilya2020-09-181-0/+0
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ConfigNamingDialogFragment: fix focus request for config naming dialogHarsh Shandilya2020-09-161-2/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* global: lint codebase with recent changesJason A. Donenfeld2020-09-162-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MonkeyedTextInputEditText: au revoirJason A. Donenfeld2020-09-152-8/+13
| | | | | | | Remember to go back to using com.google.android.material when 1.3.0-alpha03 comes out. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* gradle: desugar retrofuture and remove old depsJason A. Donenfeld2020-09-152-10/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>