app event handler now turns app networking on/off based on ACN status #96
Loading…
Reference in New Issue
No description provided.
Delete Branch "networkAfterOnline"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
requires cwtch.im/cwtch#456
and servers treatment
WIP: app event handler now turns app networking on/off based on ACN statusto app event handler now turns app networking on/off based on ACN statusDrone Build Status: failure
https://build.openprivacy.ca/cwtch.im/libcwtch-go/8
0ff8cc508d
tod22e52c54c
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/libcwtch-go/9
d22e52c54c
tod3d38b07d1
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/libcwtch-go/10
d3d38b07d1
to28d3c87a9a
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/libcwtch-go/11
28d3c87a9a
to635edacf1c
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/libcwtch-go/12
635edacf1c
tod7449c0ef3
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/libcwtch-go/13
d7449c0ef3
to46951722da
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/libcwtch-go/14
46951722da
to0b5d03529b
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/libcwtch-go/15
0b5d03529b
tod30ba0741c
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/libcwtch-go/16
d30ba0741c
to65b661804e
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/libcwtch-go/17
65b661804e
tob87de7f82d
b87de7f82d
to7fbc2312cc
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/libcwtch-go/18
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/libcwtch-go/19
@ -1304,1 +1306,4 @@
log.Infof("Loaded servers, making list")
acnStatus, _ := globalACN.GetBootstrapStatus()
for _, serverOnion := range serversList {
log.Infof(" got sercer %v\n", serverOnion)
sercer
@ -1309,2 +1314,3 @@
application.GetPrimaryBus().Publish(ev)
if serverInfo.Autostart {
if serverInfo.Autostart && acnStatus == 100 {
log.Infof(" LaunchServer %v...\n", serverOnion)
Info?
@ -1294,20 +1294,26 @@ func c_LoadServers(passwordPtr *C.char, passwordLen C.int) {
func LoadServers(password string) {
serversHandler, err := servers.ExperimentGate(utils.ReadGlobalSettings().Experiments)
if err == nil {
log.Infof("serversHandler.LoadServers...\n")
Info?
@ -1299,3 +1300,4 @@
log.Errorf("Error attempting to load servers :%s\n", err)
application.GetPrimaryBus().Publish(event.NewEventList(servers.ZeroServersLoaded))
} else if len(serversList) == 0 {
log.Infof("loaded 0 servers\n")
Info?
@ -1302,2 +1303,4 @@
log.Infof("loaded 0 servers\n")
application.GetPrimaryBus().Publish(event.NewEventList(servers.ZeroServersLoaded))
} else {
log.Infof("Loaded servers, making list")
Info?
@ -1302,2 +1303,4 @@
log.Infof("loaded 0 servers\n")
application.GetPrimaryBus().Publish(event.NewEventList(servers.ZeroServersLoaded))
} else {
log.Infof("Loaded servers, making list")
Info?
7fbc2312cc
tob5dff0f0f6
b5dff0f0f6
tof75286cb97