-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
feat: add amnezia side-by-side
- Loading branch information
1 parent
681b066
commit e84d7e3
Showing
59 changed files
with
1,172 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# name of the workflow | ||
name: Android CI Tag Deployment (Pre-release) | ||
|
||
on: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
190 changes: 190 additions & 0 deletions
190
app/schemas/com.zaneschepke.wireguardautotunnel.data.AppDatabase/8.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,190 @@ | ||
{ | ||
"formatVersion": 1, | ||
"database": { | ||
"version": 8, | ||
"identityHash": "b4d4a7c489f6b2f0d3aa4fa6f37b4935", | ||
"entities": [ | ||
{ | ||
"tableName": "Settings", | ||
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `is_tunnel_enabled` INTEGER NOT NULL, `is_tunnel_on_mobile_data_enabled` INTEGER NOT NULL, `trusted_network_ssids` TEXT NOT NULL, `is_always_on_vpn_enabled` INTEGER NOT NULL, `is_tunnel_on_ethernet_enabled` INTEGER NOT NULL, `is_shortcuts_enabled` INTEGER NOT NULL DEFAULT false, `is_tunnel_on_wifi_enabled` INTEGER NOT NULL DEFAULT false, `is_kernel_enabled` INTEGER NOT NULL DEFAULT false, `is_restore_on_boot_enabled` INTEGER NOT NULL DEFAULT false, `is_multi_tunnel_enabled` INTEGER NOT NULL DEFAULT false, `is_auto_tunnel_paused` INTEGER NOT NULL DEFAULT false, `is_ping_enabled` INTEGER NOT NULL DEFAULT false, `is_amnezia_enabled` INTEGER NOT NULL DEFAULT false)", | ||
"fields": [ | ||
{ | ||
"fieldPath": "id", | ||
"columnName": "id", | ||
"affinity": "INTEGER", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "isAutoTunnelEnabled", | ||
"columnName": "is_tunnel_enabled", | ||
"affinity": "INTEGER", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "isTunnelOnMobileDataEnabled", | ||
"columnName": "is_tunnel_on_mobile_data_enabled", | ||
"affinity": "INTEGER", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "trustedNetworkSSIDs", | ||
"columnName": "trusted_network_ssids", | ||
"affinity": "TEXT", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "isAlwaysOnVpnEnabled", | ||
"columnName": "is_always_on_vpn_enabled", | ||
"affinity": "INTEGER", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "isTunnelOnEthernetEnabled", | ||
"columnName": "is_tunnel_on_ethernet_enabled", | ||
"affinity": "INTEGER", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "isShortcutsEnabled", | ||
"columnName": "is_shortcuts_enabled", | ||
"affinity": "INTEGER", | ||
"notNull": true, | ||
"defaultValue": "false" | ||
}, | ||
{ | ||
"fieldPath": "isTunnelOnWifiEnabled", | ||
"columnName": "is_tunnel_on_wifi_enabled", | ||
"affinity": "INTEGER", | ||
"notNull": true, | ||
"defaultValue": "false" | ||
}, | ||
{ | ||
"fieldPath": "isKernelEnabled", | ||
"columnName": "is_kernel_enabled", | ||
"affinity": "INTEGER", | ||
"notNull": true, | ||
"defaultValue": "false" | ||
}, | ||
{ | ||
"fieldPath": "isRestoreOnBootEnabled", | ||
"columnName": "is_restore_on_boot_enabled", | ||
"affinity": "INTEGER", | ||
"notNull": true, | ||
"defaultValue": "false" | ||
}, | ||
{ | ||
"fieldPath": "isMultiTunnelEnabled", | ||
"columnName": "is_multi_tunnel_enabled", | ||
"affinity": "INTEGER", | ||
"notNull": true, | ||
"defaultValue": "false" | ||
}, | ||
{ | ||
"fieldPath": "isAutoTunnelPaused", | ||
"columnName": "is_auto_tunnel_paused", | ||
"affinity": "INTEGER", | ||
"notNull": true, | ||
"defaultValue": "false" | ||
}, | ||
{ | ||
"fieldPath": "isPingEnabled", | ||
"columnName": "is_ping_enabled", | ||
"affinity": "INTEGER", | ||
"notNull": true, | ||
"defaultValue": "false" | ||
}, | ||
{ | ||
"fieldPath": "isAmneziaEnabled", | ||
"columnName": "is_amnezia_enabled", | ||
"affinity": "INTEGER", | ||
"notNull": true, | ||
"defaultValue": "false" | ||
} | ||
], | ||
"primaryKey": { | ||
"autoGenerate": true, | ||
"columnNames": [ | ||
"id" | ||
] | ||
}, | ||
"indices": [], | ||
"foreignKeys": [] | ||
}, | ||
{ | ||
"tableName": "TunnelConfig", | ||
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `name` TEXT NOT NULL, `wg_quick` TEXT NOT NULL, `tunnel_networks` TEXT NOT NULL DEFAULT '', `is_mobile_data_tunnel` INTEGER NOT NULL DEFAULT false, `is_primary_tunnel` INTEGER NOT NULL DEFAULT false, `am_quick` TEXT NOT NULL DEFAULT '')", | ||
"fields": [ | ||
{ | ||
"fieldPath": "id", | ||
"columnName": "id", | ||
"affinity": "INTEGER", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "name", | ||
"columnName": "name", | ||
"affinity": "TEXT", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "wgQuick", | ||
"columnName": "wg_quick", | ||
"affinity": "TEXT", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "tunnelNetworks", | ||
"columnName": "tunnel_networks", | ||
"affinity": "TEXT", | ||
"notNull": true, | ||
"defaultValue": "''" | ||
}, | ||
{ | ||
"fieldPath": "isMobileDataTunnel", | ||
"columnName": "is_mobile_data_tunnel", | ||
"affinity": "INTEGER", | ||
"notNull": true, | ||
"defaultValue": "false" | ||
}, | ||
{ | ||
"fieldPath": "isPrimaryTunnel", | ||
"columnName": "is_primary_tunnel", | ||
"affinity": "INTEGER", | ||
"notNull": true, | ||
"defaultValue": "false" | ||
}, | ||
{ | ||
"fieldPath": "amQuick", | ||
"columnName": "am_quick", | ||
"affinity": "TEXT", | ||
"notNull": true, | ||
"defaultValue": "''" | ||
} | ||
], | ||
"primaryKey": { | ||
"autoGenerate": true, | ||
"columnNames": [ | ||
"id" | ||
] | ||
}, | ||
"indices": [ | ||
{ | ||
"name": "index_TunnelConfig_name", | ||
"unique": true, | ||
"columnNames": [ | ||
"name" | ||
], | ||
"orders": [], | ||
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_TunnelConfig_name` ON `${TABLE_NAME}` (`name`)" | ||
} | ||
], | ||
"foreignKeys": [] | ||
} | ||
], | ||
"views": [], | ||
"setupQueries": [ | ||
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", | ||
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'b4d4a7c489f6b2f0d3aa4fa6f37b4935')" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...uardautotunnel/data/model/GeneralState.kt → ...ardautotunnel/data/domain/GeneralState.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/src/main/java/com/zaneschepke/wireguardautotunnel/data/repository/AppDataRepository.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rc/main/java/com/zaneschepke/wireguardautotunnel/data/repository/AppDataRoomRepository.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/src/main/java/com/zaneschepke/wireguardautotunnel/data/repository/AppStateRepository.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...n/java/com/zaneschepke/wireguardautotunnel/data/repository/DataStoreAppStateRepository.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...c/main/java/com/zaneschepke/wireguardautotunnel/data/repository/RoomSettingsRepository.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...in/java/com/zaneschepke/wireguardautotunnel/data/repository/RoomTunnelConfigRepository.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/src/main/java/com/zaneschepke/wireguardautotunnel/data/repository/SettingsRepository.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...c/main/java/com/zaneschepke/wireguardautotunnel/data/repository/TunnelConfigRepository.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.