Commit Graph

2640 Commits

Author SHA1 Message Date
Davide De Rosa 5627e6c4a9
Address UI race conditions (#229)
* Make some managers concurrency-safe

- IntentsManager: @MainActor, non-shared, continuation

- SSIDReader: @MainActor, continuation

- Reviewer: main queue, non-shared

* Review wrong use of Concurrency framework

There were background thread calls e.g. in VPNToggle, because
ProfileManager was used inside a VPNManager async call.

Annotate @MainActor wherever a Task involves UI.

* Make main managers MainActor

* Apply MainActor to Mac menus

* [ci skip] Update CHANGELOG

* Set MainActor consistently on Mac menu view models
2022-10-13 08:53:50 +02:00
Davide De Rosa 54dc8a2556 Use MockVPN from TunnelKit
Rather than ad hoc strategy.
2022-10-12 22:37:40 +02:00
Davide De Rosa fb4d563804 Do not sort Core Data entities by UUID
Crash on compare.
2022-10-11 09:43:26 +02:00
Davide De Rosa f21d05aa53 Add IVPN metadata 2022-10-08 11:33:03 +02:00
Davide De Rosa d40e40ae02 Wrap UIKit extension inside canImport
See fab982bf81
2022-10-08 09:20:27 +02:00
Davide De Rosa 1cf74d56d6 Update OpenSSL to 1.1.1q 2022-10-08 08:49:59 +02:00
Davide De Rosa 88f40525cf Fix warning about script w/o output 2022-10-08 08:41:22 +02:00
Davide De Rosa a4831feb0f Unify release notes
Discard platform.
2022-10-06 22:31:16 +02:00
Davide De Rosa b69c7df2ba Credit community in README 2022-10-06 21:49:30 +02:00
Davide De Rosa 145c9cbcc9 Drop old script fixing frameworks bug 2022-10-05 21:58:21 +02:00
Davide De Rosa 07328982d6 Restore PIA provider 2022-10-05 08:18:46 +02:00
Davide De Rosa a427d48c1b Drop stale submodule files
Fix 157f336184
2022-10-05 08:11:04 +02:00
Davide De Rosa 63c3ac80b4 Attempt beta release 2022-10-04 22:37:53 +02:00
Davide De Rosa e2c1a4c686 Fix Oeck eligibility regression 2022-10-04 22:37:53 +02:00
Davide De Rosa 8fed92c52e Update API 2022-10-04 21:49:34 +02:00
Davide De Rosa 157f336184 Embed fastlane scripts locally
Drop submodule.
2022-10-04 08:20:06 +02:00
Davide De Rosa 1cbc481516 Allow spaces as legal filename characters 2022-10-04 07:56:28 +02:00
Davide De Rosa fab982bf81 Fix UI idiom in debug log 2022-10-04 07:34:32 +02:00
Davide De Rosa 70c56f039f [ci skip] Set release date 2022-10-02 20:06:55 +02:00
Davide De Rosa 6183433c13 Drop unused libraries 2022-09-30 22:26:56 +02:00
Davide De Rosa 3a2ff219b6 Restore lost job need
Added in 3b5d5db, lost in 4aba5f4.
2022-09-30 22:01:01 +02:00
Davide De Rosa 4327e4ca52 Refine beta commit script
- Ensure API pull succeeds (do it early)

- Include base build number
2022-09-30 22:01:01 +02:00
Davide De Rosa 45827271c0 Drop outdated README snapshot 2022-09-30 22:01:01 +02:00
Davide De Rosa ecb3138817 Attempt beta release 2022-09-25 08:55:15 +02:00
Davide De Rosa a3a245c499 Update outdated scripts 2022-09-25 08:50:32 +02:00
Davide De Rosa 025421aa08 Refactor some alert translations 2022-09-25 08:35:52 +02:00
Davide De Rosa 496d993e3d Attempt beta release 2022-09-23 23:07:40 +02:00
Davide De Rosa 09e5edeead Fix scripts in release workflow 2022-09-23 23:07:12 +02:00
Davide De Rosa 1364d5153e Attempt beta release 2022-09-23 22:57:36 +02:00
Davide De Rosa a3fd5c40d4 Fix access to hidden OpenVPN.Configuration.Fallback 2022-09-23 22:56:27 +02:00
Davide De Rosa be6726fbd8 Attempt beta release 2022-09-23 21:56:37 +02:00
Davide De Rosa 7fe63ba796 Use versioned TunnelKit 2022-09-23 21:54:40 +02:00
Davide De Rosa f755550974 Increase debug log view size 2022-09-23 09:04:27 +02:00
Davide De Rosa c2aef310f3 Fix again server ordering 2022-09-21 22:32:33 +02:00
Davide De Rosa db6f7bdf28 Revisit app metadata and screenshots
- Add script to import localized metadata

- Update app name, subtitle, keywords

- Update App Store description

    - Replace "OpenVPN" with "VPN"

    - Add .conf file extension (WireGuard)

    - Drop PIA (404)

    - Drop trailing notices

- Update README snapshots (Mac versions unused)

- Update App Store screenshots

- Revert to legacy launch screen (SwiftUI method stretches)
2022-09-15 17:41:22 +02:00
Davide De Rosa 38bdbc3697 Move diagnostics to settings 2022-09-12 22:58:37 +02:00
Davide De Rosa 940e0cf8c9 Attempt beta release 2022-09-05 22:35:22 +02:00
Davide De Rosa 5c681d6c3f Import new localizations 2022-09-05 22:34:51 +02:00
Davide De Rosa 3b146b3e0f Fix var syntax 2022-09-05 07:58:20 +02:00
Davide De Rosa 092d4f5de2 Drop return in one-line functions 2022-09-04 20:30:55 +02:00
Davide De Rosa ca2c2b9d9c Update API (SurfShark issues) 2022-09-04 20:00:42 +02:00
Davide De Rosa 1005a12a66 Add extended provider location description
- Profile: Below location row

- Menu: On top of server list
2022-09-04 19:23:40 +02:00
Davide De Rosa 7975ddd194 Fix provider header in profile view 2022-09-04 19:23:27 +02:00
Davide De Rosa b322bde137 Refactor string ids after adding SettingsView 2022-09-03 14:59:17 +02:00
Davide De Rosa 3b1a1954b9 Set persistent history tracking even for local containers
Allows switching between local and CloudKit mode.
2022-09-03 12:47:40 +02:00
Davide De Rosa 4c4b3ee0c9 Revert to concrete-only managers
Abstraction was overcomplicated. Strategy pattern is enough.
2022-09-03 12:47:40 +02:00
Davide De Rosa ac0f994997 Update bundle 2022-09-03 09:17:23 +02:00
Davide De Rosa 28f7c6bbe8 Restore longer localizations in Settings/About 2022-08-28 09:24:02 +02:00
Davide De Rosa f36d7596d0 Integrate settings with about screen
Move everything to SettingsView and remove invite actions.
2022-08-27 23:15:51 +02:00
Davide De Rosa 10270b02ee On Mac, copy debug log to pasteboard, do not share
UIActivityViewController is lame.
2022-08-27 22:21:34 +02:00