aboutsummaryrefslogtreecommitdiffstats
path: root/Sources/WireGuardApp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* App: version bumpHEAD1.0.16-27masterJason A. Donenfeld2023-02-151-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* App: bump copyrightJason A. Donenfeld2023-02-1593-93/+93
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* App: bump minimum OS versionsJason A. Donenfeld2023-02-1510-130/+37
| | | | | | This allows us to remove a good deal of legacy cruft. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: apply MIT more consistentlyJason A. Donenfeld2022-11-172-2/+2
| | | | | | People keep asking. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* UI: When saving on-demand rules, deactivate if reqd and then saveRoopesh Chander2021-09-282-14/+30
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: When saving on-demand rules on a config, enable on-demand if activeRoopesh Chander2021-09-242-3/+13
| | | | | | | | When a user saves on-demand rules on the configuration, set onDemandEnabled to true if the tunnel is active, and false if it isn't. Then deactivate the tunnel. Signed-off-by: Roopesh Chander <roop@roopc.net>
* App: version bump1.0.15-26Jason A. Donenfeld2021-09-231-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* UI: macOS: increase login detector file timeoutJason A. Donenfeld2021-09-231-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* UI: iOS: remove list pinking when no configJason A. Donenfeld2021-09-232-5/+0
| | | | | | This reverts commit 86afd1a46a83038a787176272a7c486b7269e1a3. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* WireGuardApp: restore old keychain consistency behaviorJason A. Donenfeld2021-09-231-7/+9
| | | | | | This reverts commit adcbd17ebeedaf6fa8106c8835ebf43667170878. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* App: version bump1.0.14-25Jason A. Donenfeld2021-09-221-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* UI: iOS: disable list rows when no configJason A. Donenfeld2021-09-222-0/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* WireGuardApp: use file to communicate launch-by-login-helperJason A. Donenfeld2021-09-225-40/+43
| | | | | | Apple event params are broken on recent macOS versions. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* WireGuardApp: do not delete unverifying profiles everJason A. Donenfeld2021-09-221-9/+7
| | | | | | | The Keychain code is much too fragile, and it's better to err on the safe side. Instead just log an error when this happens. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MacAppStoreUpdateDetector: Detect StoreAEService correctlyRoopesh Chander2021-09-221-1/+1
| | | | | | | | | | In macOS 10.15 and macOS 11, the quit Apple event is sent by: com.apple.AppStoreDaemon.StoreAEService In some earlier macOS release, the quit Apple event was sent by: com.apple.CommerceKit.StoreAEService Signed-off-by: Roopesh Chander <roop@roopc.net>
* MacAppStoreUpdateDetector: Add pid to the logRoopesh Chander2021-09-221-1/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* build: Fix swiftlint warningsRoopesh Chander2021-09-228-8/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* build: Fix swift warningsRoopesh Chander2021-09-227-8/+8
| | | | | | Use 'AnyObject' instead of 'class' to restrict protocol inheritance Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: Use 'On-Demand', with hyphen, consistentlyJason A. Donenfeld2021-09-221-6/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* UI: macOS: do on-demand ritual for clicking list item tooJason A. Donenfeld2021-09-222-7/+16
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* UI: Consider on-demand to be enabled iff the tunnel provider is enabledRoopesh Chander2021-08-031-3/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: When setting on-demand, avoid a second saveToPreferences() callRoopesh Chander2021-08-031-14/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: When saving on-demand rules, don't set isOnDemandEnabledRoopesh Chander2021-08-021-1/+1
| | | | | | | | | When adding or modifying a config, when on-demand options are set by a user, the rules are saved, but isOnDemandEnabled is left unset (and can be set by the appropriate control in the detail view (switch in iOS / button in macOS)). Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: macOS: Incorporate on-demand-ness in status menuRoopesh Chander2021-07-301-6/+29
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: macOS: Tunnel detail: Incorporate on-demand-ness in toggle buttonRoopesh Chander2021-07-303-27/+59
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: macOS: Tunnel detail: Incorporate on-demand-ness in the status rowRoopesh Chander2021-07-303-19/+43
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: macOS: Tunnel list: Incorporate on-demand-ness in the status circleRoopesh Chander2021-07-301-6/+18
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: macOS: Add yellow circle imageRoopesh Chander2021-07-304-3/+25
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: Localizations: Remove alertTunnelActivationFailureOnDemandAddendumRoopesh Chander2021-07-2818-29/+0
| | | | | | It's not used anymore. Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: Remove addendum on on-demand from error on tunnel activationRoopesh Chander2021-07-282-6/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: When setting on-demand, enable the tunnel if requiredRoopesh Chander2021-07-281-0/+16
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: iOS: Tunnels list: Move the "On Demand" label to the rightRoopesh Chander2021-07-282-44/+24
| | | | | | | Having that at the bottom makes it harder for iOS to get the row height correctly. Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: iOS: Show on-demand state in 'Status' if there are on-demand rulesRoopesh Chander2021-07-282-0/+6
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: When reloading tunnels, preserve '.waiting' stateRoopesh Chander2021-07-281-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: When deactivating for activating another tunnel, disable on-demandRoopesh Chander2021-07-281-1/+11
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: Keep on-demand rules even if on-demand is disabledRoopesh Chander2021-07-282-15/+13
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: iOS: Tunnel detail: Incorporate on-demand-ness in 'Status'Roopesh Chander2021-07-283-14/+54
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: iOS: Show "on-demand is active" for tunnels with the active on-demandAndrej Mihajlov2021-07-282-5/+54
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: iOS: Tunnels list: Incorporate on-demand-ness in the switchRoopesh Chander2021-07-283-10/+44
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: TunnelsManager: Add setOnDemandEnabled() instance methodRoopesh Chander2021-07-281-0/+30
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: TunnelsManager: Add TunnelContainer.hasOnDemandRulesRoopesh Chander2021-07-281-2/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Global: bump copyright yearJason A. Donenfeld2021-06-1793-93/+93
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* App: version bump1.0.13-24Jason A. Donenfeld2021-06-161-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* UI: iOS: asynchronously load from NEHotspotNetwork on iOS 14Jason A. Donenfeld2021-03-091-22/+44
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* UI: iOS: clean up visuals in SSID editorJason A. Donenfeld2021-03-093-4/+14
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* UI: iOS: Disable "copy" action on on-demand cellsAndrej Mihajlov2021-01-111-0/+2
| | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net>
* UI: iOS: Remove duplicate call to addSubviewAndrej Mihajlov2020-12-231-2/+0
| | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net>
* UI: iOS: Fix placeholder label alignment in text fields.Andrej Mihajlov2020-12-231-1/+8
| | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net>
* App: version bump1.0.12-22Jason A. Donenfeld2020-12-231-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* project: sync translations and improve id generation againJason A. Donenfeld2020-12-2318-402/+772
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>