Skip to content
24 changes: 24 additions & 0 deletions gpii/node_modules/lifecycleActions/src/LifecycleActions.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

94 changes: 94 additions & 0 deletions gpii/node_modules/lifecycleActions/test/LifecycleActionsTests.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 41 additions & 5 deletions gpii/node_modules/lifecycleManager/src/LifecycleManager.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions testData/deviceReporter/installedSolutions.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,7 @@
},

{
"id": "webinsight.webAnywhere.windows"
},

{
"id": "webinsight.webAnywhere.linux"
"id": "webinsight.webAnywhere"
},

{
Expand Down
6 changes: 1 addition & 5 deletions testData/deviceReporter/linux_installedSolutions.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,7 @@
},

{
"id": "webinsight.webAnywhere.windows"
},

{
"id": "webinsight.webAnywhere.linux"
"id": "webinsight.webAnywhere"
}
]
}
6 changes: 1 addition & 5 deletions testData/deviceReporter/win32_installedSolutions.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@
},

{
"id": "webinsight.webAnywhere.windows"
},

{
"id": "webinsight.webAnywhere.linux"
"id": "webinsight.webAnywhere"
},

{
Expand Down
16 changes: 16 additions & 0 deletions testData/preferences/webanywhere.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"flat": {
"contexts": {
"gpii-default": {
"name": "Default preferences",
"preferences": {
"http://registry.gpii.net/applications/webinsight.webAnywhere": {
"locale": "en",
"voicepitch": 12,
"voicespeed": 400
}
}
}
}
}
}
14 changes: 14 additions & 0 deletions testData/preferences/webanywhere_common.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"flat": {
"contexts": {
"gpii-default": {
"name": "Default preferences",
"preferences": {
"http://registry.gpii.net/common/language": "es",
"http://registry.gpii.net/common/pitch": 0.4,
"http://registry.gpii.net/common/speechRate": 160
}
}
}
}
}
30 changes: 19 additions & 11 deletions testData/solutions/linux.json
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,7 @@
}
},

"webinsight.webAnywhere.linux": {
"webinsight.webAnywhere": {
"name": "Web Anywhere",
"contexts": {
"OS": [
Expand All @@ -1285,26 +1285,34 @@
"type": "gpii.settingsHandlers.noSettings",
"capabilities": [
"display.screenReader",
"applications.webinsight\\.webAnywhere\\.linux.id",
"display.screenReader.applications.webinsight\\.webAnywhere\\.linux.name"
]
"applications.webinsight\\.webAnywhere.id"
],
"capabilitiesTransformations": {
"locale": "http://registry\\.gpii\\.net/common/language",
"voicepitch": "http://registry\\.gpii\\.net/common/pitch",
"voicespeed": "http://registry\\.gpii\\.net/common/speechRate"
}
}
],
"lifecycleManager" : {
"start": [
"start": [
{
"type": "gpii.launch.exec",
"command": "google-chrome http://webanywhere.cs.washington.edu/beta/?starting_url=http%3A%2F%2Fcloud4all.info"
"type": "gpii.launch.browser",
"URL": "http://webanywhere.cs.washington.edu/beta/",
"parameters": {
"locale": "${{settings.webinsight.webAnywhere.locale}}",
"voicepitch": "${{settings.webinsight.webAnywhere.voicepitch}}",
"voicespeed": "${{settings.webinsight.webAnywhere.voicespeed}}"


}
}
],
"stop": [
{
"type": "gpii.launch.exec",
"command": "pkill -2 chrome"
}
]
}
},

"org.freedesktop.xrandr": {
"name": "Xrandr",
"contexts": {
Expand Down
Loading