aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/confview.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* global: bump dateJason A. Donenfeld2022-01-061-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: apply gofumptJason A. Donenfeld2021-12-091-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: prefer WireGuardNT over wireguard-go/WintunJason A. Donenfeld2021-09-121-51/+5
| | | | | | Also remove Wintun driver on startup. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* conf: use wgnt for those enrolled in insider programJason A. Donenfeld2021-09-091-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: add visible knob for kernel testing [revert me please!]Jason A. Donenfeld2021-08-131-5/+51
| | | | | | | | | | I really, really hate visible knobs. But we need some way of getting wider testing of this, and a lot of people who are interested in dare devilish things might not to think to flip some registry knobs. Hopefully this commit will be reverted as soon as possible. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: support turning off automatic routing tableJason A. Donenfeld2021-06-181-0/+8
| | | | | | | This supports the familiar "Table = off" syntax as on Linux, and then interprets other valid values as simply "on". Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: go fmt for 1.17 build tagsJason A. Donenfeld2021-06-181-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: bump copyright dateJason A. Donenfeld2021-02-011-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: update headersJason A. Donenfeld2020-11-221-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: enable {Pre,Post}{Up,Down} scripts gated behind admin knobJason A. Donenfeld2020-11-221-0/+25
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* manager: allow S-1-5-32-556 users to launch a limited UIJason A. Donenfeld2020-11-221-3/+11
| | | | | | | | | | | | | | | | | I still have serious security reservations about this, both conceptually -- should users be allowed to do this stuff? -- and pratically -- there are issues with this implementation that need some examination. TODO: - Is that registry key a secure path? Should we double check it? - Are we leaking handles to the unpriv'd process from the manager? Audit this too. - IPC notifications are blocking. Should we move this to a go routine to mitigate DoS potential? - Is GOB deserialization secure? Can an NCO user crash or RCE the manager? Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: go fmtJason A. Donenfeld2020-06-081-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* syntax: update to latest from wireguard-tools, for dns search domainsJason A. Donenfeld2020-06-051-4/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* l18n: add localization supportSimon Rozman2020-03-151-27/+27
| | | | | | | | | | | | | | | | | | | | | Revise the messages to make them localizable. Note: The log messages are not marked for localization. Probably, we want to keep log files in English for easier global troubleshooting. Having a user run `go generate` requires a valid and up-to-date Go environment. Rather than instructing users how to setup the environment correctly, the `go generate` was integrated into build.bat. This reuses the Go building environment downloaded and prepared by build.bat to provide controllable and consistent result. Use `make generate` on Linux. As the zgotext.go output varies for GOARCH=386 and amd64, one had to be chosen to provide stable output. The former is the first one to build in build.bat. Signed-off-by: Simon Rozman <simon@rozman.si>
* ui: remove unused structJason A. Donenfeld2019-10-041-6/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: annotate controlsSimon Rozman2019-10-041-0/+2
| | | | | | | | | | | | | | Regarding interface and peer info text boxes: The read-only edit boxes containing interface and peer status and information were read as "<value> read-only multiline" by NVDA screen reader. The read-only edit boxes that serve the informative purpose only must be annotated as ROLE_SYSTEM_STATICTEXT instead of edit box-inherited ROLE_SYSTEM_TEXT role. Regarding logo image in about dialog: NVDA reads "unknown" when reading the dialog without this patch. Signed-off-by: Simon Rozman <simon@rozman.si>
* ui: add label mnemonicsSimon Rozman2019-08-301-2/+2
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* ui: improve error handlingAlexander Neumann2019-07-291-67/+187
| | | | | Signed-off-by: Alexander Neumann <an2048@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: confview: only suspend if interface is changingJason A. Donenfeld2019-06-111-4/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: remove hacks from confviewAlexander Neumann2019-06-071-25/+3
| | | | | Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: confview: add more super horrible wm_sizing hacksJason A. Donenfeld2019-06-071-0/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: add WM_SIZING hack back to confviewJason A. Donenfeld2019-05-271-0/+1
| | | | | | Helps selection of initial item. I'm not happy about this. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: confview: hide groupbox when removingJason A. Donenfeld2019-05-231-0/+1
| | | | | | This prevents us from loosing focus for a second. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: trade one hack for another in confviewJason A. Donenfeld2019-05-221-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: use compact height text edits in confviewJason A. Donenfeld2019-05-201-2/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* service: split into tunnel and managerJason A. Donenfeld2019-05-201-27/+28
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: remove TODO from confview about loadingJason A. Donenfeld2019-05-161-4/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: change acronyms to uppercaseSimon Rozman2019-05-161-5/+5
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* ui: fix dpi related code smellsAlexander Neumann2019-05-151-23/+7
| | | | | Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: centralize state labelsJason A. Donenfeld2019-05-141-24/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: always do WM_SIZING hack in confviewJason A. Donenfeld2019-05-131-2/+1
| | | | | | | Gets around the situation where a row is hidden in the interface but not the peer and a gap is left. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: somewhat aggressively cache iconsJason A. Donenfeld2019-05-101-23/+27
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: confview: recycle more peerviewsJason A. Donenfeld2019-05-081-1/+21
| | | | | | | | If there are no similarities between one peer list and the next, then ordering between peers can't possibly matter, so recycle all of the peerviews that we can. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: confview: do not poll when minimizedJason A. Donenfeld2019-05-081-0/+3
| | | | | | Also poll for the log less often. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: get correctly sized system iconsv0.0.1Jason A. Donenfeld2019-05-081-10/+14
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* confview: show in the case that there are no peersJason A. Donenfeld2019-05-081-1/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: move things out of iconproviderJason A. Donenfeld2019-05-071-3/+19
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: confview should be more picky about which tunnelJason A. Donenfeld2019-05-071-13/+20
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: fix up confview ticker and list sync logicJason A. Donenfeld2019-05-031-6/+38
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: set zero spacing in grid viewJason A. Donenfeld2019-05-021-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: rework marginsJason A. Donenfeld2019-05-011-2/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: fix logic error in confviewJason A. Donenfeld2019-04-301-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: make IPC calls in go routinesJason A. Donenfeld2019-04-291-14/+31
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* service: pass global state with notificationJason A. Donenfeld2019-04-291-21/+22
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: fix the status dot alignmentDmitry Bagdanov2019-04-281-1/+5
| | | | | Signed-off-by: Dmitry Bagdanov <dimbo_job@mail.ru> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: partially fix dot placementJason A. Donenfeld2019-04-281-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: use normal line edit in confviewJason A. Donenfeld2019-04-271-8/+15
| | | | | | This gives better row alignment, but breaks the icon. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: enable double buffering on confviewJason A. Donenfeld2019-04-271-1/+1
| | | | | | | This fixes the flickering, but now the header labels are cut off. I'll let lxn fix this part. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: simplify everythingJason A. Donenfeld2019-04-271-41/+14
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: remove leftover cruft from confviewJason A. Donenfeld2019-04-251-6/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>