Davide De Rosa
fdc3869d29
Move baseVPNConfiguration to TransientStore
...
Simplifies configuration update.
2019-03-22 19:09:52 +01:00
Davide De Rosa
c391663d11
Persist masking flag
2019-03-22 19:09:52 +01:00
Davide De Rosa
9f6307dbc2
Make default VPN configuration mutable
2019-03-22 18:46:04 +01:00
Davide De Rosa
f661008679
Make framework internal components public
2019-03-18 11:50:52 +01:00
Davide De Rosa
39fb191309
Log documents migration event
...
If anything was moved.
2019-03-11 10:17:45 +01:00
Davide De Rosa
9005bf6c19
Skip "Inbox" during migration
...
No permission.
2019-03-11 10:17:01 +01:00
Davide De Rosa
87249cb8ad
Migrate documents to App Group
2019-03-11 10:16:33 +01:00
Davide De Rosa
8ede1ed3d4
Use App Group container for documents and caches
2019-03-11 10:05:54 +01:00
Davide De Rosa
7a21338042
Update copyright
2019-03-09 11:44:44 +01:00
Davide De Rosa
e4ef4a9dbc
Rearrange lines to isolate throwing code
2019-03-06 17:10:37 +01:00
Davide De Rosa
bc0568cc38
Do not re-save profiles on (de)activate
...
Only service JSON is affected.
2018-11-04 14:55:25 +01:00
Davide De Rosa
9e7c4960e5
Update GitHub URL in license preamble
2018-11-04 10:53:16 +01:00
Davide De Rosa
56c0a1a15e
Add profile renaming logic
...
- Suspend delegation of internal add/remove.
- Review several try/throws.
2018-11-02 15:52:36 +01:00
Davide De Rosa
af870e2a84
Fix migrateJSON declarations and exposure
...
Unit tests could not compile.
2018-11-01 23:55:59 +01:00
Davide De Rosa
964a4d701b
Make serviceURL an external static var
2018-11-01 13:40:15 +01:00
Davide De Rosa
36995e089b
Locate profiles via relative URLs
...
Avoid absolute URLs, profiles directory is always relative to
documents. Assume profiles to be based in the documents root
unless directory is != nil.
Given that, starting from iOS 8, the documents location can change
from time to time, could this fix #19 ?
2018-11-01 13:39:55 +01:00
Davide De Rosa
78abb8c764
Refactor service to use external profile JSONs
...
- Store only profile key/metadata into service.
- Map profiles by (context, id), context being either provider
or host.
- Initialize cache with a placeholder profile, lazily load full
profile (e.g. after opening profile).
- Only serialize non-placeholder profiles (opened once).
- Do not load full profiles for organizer listing
WARNING: always load active profile as non-placeholder.
2018-10-26 18:30:37 +02:00
Davide De Rosa
c73c2e3826
Rename tunnelConfiguration to baseConfiguration
...
It's much less confusing. Migrate too.
2018-10-25 22:45:50 +02:00
Davide De Rosa
09685e6994
Activate service migration
2018-10-25 22:45:50 +02:00
Davide De Rosa
62d1c2d882
Add promoting alert for subreddit
2018-10-18 10:04:23 +02:00
Davide De Rosa
b9ec01945d
Initial commit
2018-10-11 09:13:19 +02:00