Commit History

Autor SHA1 Mensaxe Data
  Michael ac851a08b9 exclude this file from windows builds %!s(int64=10) %!d(string=hai) anos
  Rod Hynes 2ff0acd5ee * Merge branch 'master' of https://github.com/Psiphon-Labs/psiphon-tunnel-core; %!s(int64=10) %!d(string=hai) anos
  Michael Goldberger 6d6d425d4d made migrateDataStore.go only stubs, moved real code to migrateDataStore_windows.go; moved some global variables inside function scope %!s(int64=10) %!d(string=hai) anos
  Michael Goldberger 88fac10852 promote the first pulled server entry after migration to retain affinity; migrateEntries cannot fail fatally, so doesn't return errors; added comment to config.go about client_platforms that include 'windows' and client_version <= 44 failing; fixed typo in NoticeAlert and NoticeError godoc comments %!s(int64=10) %!d(string=hai) anos
  Michael Goldberger edf118e47e close sqlite connection after reading out server entries %!s(int64=10) %!d(string=hai) anos
  Michael Goldberger a24febe34b migration errors are no longer fatal; remove legacy data store file on successful migration; removed all references to target server entries in the migration code; do not export any methods or types from the migration code; placed call to migrateEntries inside of singleton.init.Do after singleton.db is assigned; removed unused global migratableServerEntries; reversed the order of the data store file existence checks and added explanatory comments %!s(int64=10) %!d(string=hai) anos
  Michael Goldberger 46596f0cdb Added LEGACY_DATA_STORE_FILENAME (for sqlite db); changed DATA_STORE_FILENAME to psiphon.boltdb; moved dataStore_alt.go to dataStore.go; added migrateDataStore.go (copies in previous code for working with sqlite datastore); modified new dataStore.go to call out to migrateDataStore PrepareMigrationEntries and MigrateEntries methods; updated gitignore to ignore compiled binaries; TODO: windows specific build flags and runtime.GOOS checks for new code?, ConsoleClient/psiphonClient.go import needs to return to the proper github path before merging %!s(int64=10) %!d(string=hai) anos