mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
network: big feature enrichment
- Dedicated view in settings - VPN profile management - Ethernet disconnection - Turn prompts into floating windows
This commit is contained in:
@@ -31,7 +31,7 @@ import (
|
||||
"github.com/AvengeMedia/DankMaterialShell/core/pkg/syncmap"
|
||||
)
|
||||
|
||||
const APIVersion = 20
|
||||
const APIVersion = 21
|
||||
|
||||
type Capabilities struct {
|
||||
Capabilities []string `json:"capabilities"`
|
||||
@@ -1073,7 +1073,7 @@ func Start(printDocs bool) error {
|
||||
log.Info(" network.getState - Get current network state")
|
||||
log.Info(" network.wifi.scan - Scan for WiFi networks (params: device?)")
|
||||
log.Info(" network.wifi.networks - Get WiFi network list")
|
||||
log.Info(" network.wifi.connect - Connect to WiFi (params: ssid, password?, username?, device?)")
|
||||
log.Info(" network.wifi.connect - Connect to WiFi (params: ssid, password?, username?, device?, eapMethod?, phase2Auth?, caCertPath?, clientCertPath?, privateKeyPath?, useSystemCACerts?)")
|
||||
log.Info(" network.wifi.disconnect - Disconnect WiFi (params: device?)")
|
||||
log.Info(" network.wifi.forget - Forget network (params: ssid)")
|
||||
log.Info(" network.wifi.toggle - Toggle WiFi radio")
|
||||
@@ -1089,6 +1089,11 @@ func Start(printDocs bool) error {
|
||||
log.Info(" network.vpn.disconnect - Disconnect VPN (params: uuidOrName|name|uuid)")
|
||||
log.Info(" network.vpn.disconnectAll - Disconnect all VPNs")
|
||||
log.Info(" network.vpn.clearCredentials - Clear saved VPN credentials (params: uuidOrName|name|uuid)")
|
||||
log.Info(" network.vpn.plugins - List available VPN plugins")
|
||||
log.Info(" network.vpn.import - Import VPN from file (params: file|path, name?)")
|
||||
log.Info(" network.vpn.getConfig - Get VPN configuration (params: uuid|name|uuidOrName)")
|
||||
log.Info(" network.vpn.updateConfig - Update VPN configuration (params: uuid, name?, autoconnect?, data?)")
|
||||
log.Info(" network.vpn.delete - Delete VPN connection (params: uuid|name|uuidOrName)")
|
||||
log.Info(" network.preference.set - Set preference (params: preference [auto|wifi|ethernet])")
|
||||
log.Info(" network.info - Get network info (params: ssid)")
|
||||
log.Info(" network.credentials.submit - Submit credentials for prompt (params: token, secrets, save?)")
|
||||
|
||||
Reference in New Issue
Block a user