Skip to content
Merged
Show file tree
Hide file tree
Changes from 62 commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
ed2ec4b
Merge branch 'master' of https://github.com/GPII/universal into GPII-442
Jan 26, 2017
899d5ba
GPII-442: Using dynamic device reporter in most tests
Mar 1, 2017
9df7931
GPII-442: Using dynamic device reporter in most tests
Mar 1, 2017
edeb9ac
GPII-442: Fixed failing Journal integration tests
Mar 1, 2017
60b7c21
GPII-442: Merged with Joseph's latest changes
Mar 1, 2017
957d488
GPII-442: Removed REST related processReporter functionality
Mar 2, 2017
a5a5909
GPII-442: Improvements to linux gsettings launch handler
Mar 7, 2017
ac4f90e
GPII-1230: Working with already running solutions plus other minor im…
Mar 8, 2017
30e77a1
GPII-1230: Fixed most of the windows acceptance tests
Mar 9, 2017
a645511
GPII-1230: Committing to do Acceptance tests in linux
Mar 10, 2017
6b74c91
GPII-1230: Linted, fixed minor issues
Mar 14, 2017
3beba55
GPII-1230: Fixed unit tests for launch handler
Mar 14, 2017
f39112b
GPII-1230: Fixed up tests and linting... still needs more work
Mar 20, 2017
b9af1c8
GPII-1230: Added and fixed a bunch of LFM unit tests
Mar 29, 2017
17992ae
GPII-1230: Added integration tests for closing conflicting solutions
Apr 6, 2017
625a684
GPII-1230: Added integration tests for closing conflicting solutions
Apr 6, 2017
659bfbf
Merge branch 'GPII-1230' of github.com:kaspermarkus/universal into GP…
Apr 18, 2017
c4ecb80
GPII-2106: Added reference to JIRA for which a test case showed fix
Apr 19, 2017
eb2a8c3
GPII-1230: Linted and cleaned code a bit
Apr 19, 2017
1afe724
GPII-1230: Fixed failing web-based test
Apr 19, 2017
6db70de
GPII-1230: Fixed failing web based test
Apr 19, 2017
1720750
Merge branch 'GPII-1230' of github.com:kaspermarkus/universal into GP…
Apr 19, 2017
fed0fe0
GPII-1230: Removed outdated multiSH stuff
Apr 19, 2017
a7db3b2
GPII-1230: Updated to latest master
Apr 25, 2017
c856292
GPII-1230: updated with latest changes from master
Jul 20, 2017
712a434
GPII-442: updating with latest changes from joseph
Jul 27, 2017
c87f07e
GPII-1230: Updated with latest master
Jul 27, 2017
fb025af
GPII-1230: Updated with latest changes from Joseph
Jul 27, 2017
4dabf33
Merge branch 'GPII-442' into GPII-1230
Aug 15, 2017
8b5e17c
GPII-1230: Updated with latest changes from joseph/master
Aug 15, 2017
d1e9945
GPII-1230: Merged with latest master
Aug 31, 2017
a3d6cc9
GPII-1230: Added latest changes from master
Aug 31, 2017
4b85dc4
GPII-1230: Factored out the selection of restore actions
Sep 4, 2017
c1481d9
GPII-1230: Merged with latest changes from master
Sep 4, 2017
19f7889
GPII-1230: Addressed most of Antranigs comments
Sep 6, 2017
c497abc
GPII-1230: Merged with latest master
Sep 6, 2017
44e13f8
GPII-1230: Dispose options from matchmaker are now only accept and re…
Sep 14, 2017
30dd8c3
GPII-1230: Updated with master and fixed merge conflict
Sep 14, 2017
2425cf2
GPII-1230: Updated with latest version of master
kaspermarkus Nov 8, 2017
55ee04f
GPII-1230: Updated with latest master
kaspermarkus Nov 15, 2017
da34eaa
GPII-1230: Merged with latest master
kaspermarkus Nov 30, 2017
cd4bb3e
GPII-1230: Resolved conflicts with master
kaspermarkus Dec 5, 2017
a1febde
GPII-1230: Merged with latest master
kaspermarkus Dec 13, 2017
2a4bbd6
GPII-1230:
kaspermarkus Dec 19, 2017
1b5616c
GPII-1230: Updated windows tests to work with latest changes in regis…
kaspermarkus Dec 20, 2017
c2e06fc
GPII-1230: Fixed remaining instances of queryProcess without .exe
kaspermarkus Dec 20, 2017
40965a5
GPII-2824: Updated and extended documentation of the matchmaker
kaspermarkus Jan 23, 2018
9ac98e9
Broken stuff
kaspermarkus Feb 7, 2018
f57be71
Updated from master
kaspermarkus Feb 7, 2018
4249807
GPII-1230: Change an entry that i missed from settings. to launcher.
kaspermarkus Feb 7, 2018
72dc6f0
GPII-1230: Added remaining instances of taking launchhandler block in…
kaspermarkus Feb 7, 2018
536fc35
GPII-1230: All tests passing again after splitting settings/launch ha…
kaspermarkus Feb 8, 2018
57fc8ea
Merge branch 'GPII-631' into tmp
kaspermarkus Feb 8, 2018
8c3bbc2
GPII-1230: Take liveness into account in case there is no 'update' di…
kaspermarkus Feb 8, 2018
da90666
GPII-1230: Support for implicit configure, restore, start and stop di…
kaspermarkus Feb 9, 2018
dda19a0
GPII-1230: Renaming of all magnifierEnabled to magnification/enabled
kaspermarkus Feb 14, 2018
c2b3dff
GPII-1230: Saving to work on updating infusion related bug
kaspermarkus Feb 14, 2018
ea0b5a8
GPII-1230: Merged with latest changes from master, and updated infusi…
kaspermarkus Feb 16, 2018
82307b1
GPII-1230: Web based tests passing again
kaspermarkus Feb 16, 2018
84c534f
GPII-1230: *enabled functionality working but needs tests, linting an…
kaspermarkus Feb 21, 2018
82c34de
GPII-1230: Fixing the last remaining tests, still missing documentati…
kaspermarkus Feb 22, 2018
3e28eb7
GPII-1230: All tests passing again. Still missing documentation
kaspermarkus Feb 27, 2018
08e8599
GPII-1230: Merged with latest changes from master
kaspermarkus Feb 27, 2018
27d43a4
GPII-1230: Added an extra test. Addressed two minor comments from Ant…
kaspermarkus Feb 27, 2018
f2a8881
GPII-1230: Fixed minor linting error
kaspermarkus Feb 27, 2018
f44b1fb
GPII-1230: Now taking 'enabled' terms into account on updates (from t…
kaspermarkus Feb 28, 2018
64e8a22
GPII-1230: Merged GPII-2824 documentation changes
kaspermarkus Feb 28, 2018
982911a
GPII-1230: Documentation now updated according to latest functionality
kaspermarkus Feb 28, 2018
4a9f691
GPII-1230: Addressed some of antranigs comments
kaspermarkus Mar 12, 2018
1f54342
GPII-1230: Fixed an error in the lifecycle manager tests
kaspermarkus Mar 23, 2018
51ccd0f
GPII-1230: Merge branch 'master' of github.com:GPII/universal into GP…
kaspermarkus Apr 2, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions documentation/BrowserChannel.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ The workflow between the client and server can be summarised as follows:
* When the flow manager emits either the _connectionSucceeded_ (after being registered) or the _onSettingsChanged_ (after a user login/logout) signal to the client, it is delivering the current available settings for the client in the following way:
```
{
"screenReaderTTSEnabled":false,
"highContrastEnabled":true,
"screenReaderTTS/enabled":false,
"highContrast/enabled":true,
"invertColours":false,
"magnifierEnabled":true,
"magnification":2,
Expand Down
7 changes: 5 additions & 2 deletions documentation/CanopyMatchMaker.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,16 @@ To ensure that several conflicting solutions (e.g. two screenreaders) are not la

The apptology is described in more details here: [Apptology.md](Apptology.md).

## Dispositions
As described below, the matchmaker will assign a disposition to each solution based on priority and canopy matching. There are three dispositions available: "accept", "reject" and "deactivate". "accept" means that the solution will be accepted (and started, if relevant for that solution). "reject" means we do not do anything to the solution. "deactivate" means that we ensure that the solution is not running (i.e. running stop if required). The latter case is relevant for solutions that are conflicting with other solutions that the user might need.

## Disposing from prioriy:
Explicit priorities are declared in the NP sets metadata section and will always be a floating point value of 1024 or more. Implicit priorities are deduced from application specific settings. When a user has application specific settings for a solution a priority of 512 is set for that solution.

Goes through all solutions from high priority to low. If a solution already has a disposition, it is ignored. Else it will be selected (accepted). Any solution with the same type, but a lower priority (or no priority) will be rejected. If there are two or more solutions of the same priority _and_ the same type (even partly), these will be considered a "tie". All lower-priority solutions of this type will still be rejected. The tied solutions will have their current disposition and priority removed and left to be disposed by some other disposal algorithm.

## Disposing from Canopy
The Canopy matching strategy is used for deciding how to dispose solutions in case no priorities are available or there is a priority-tie between two applications of the same type.
The Canopy matching strategy is used for deciding how to dispose solutions in case no priorities are available or there is a priority-tie between two applications of the same type.

* The canopy approach is based on a vectorial "fitness measure" of a solution plus a lexicographical ordering
* It is similar to the strategy used in resolving CSS rules.
Expand All @@ -45,7 +48,7 @@ The Canopy matching strategy is used for deciding how to dispose solutions in ca
* Compute capabilities of solution
* Compute vector of prefix depths for each leaf el path from NP set
* Sort vector in descending order of fitness ("fitness vector")
* Rank solutions by fitness using lexicographic ordering
* Rank solutions by fitness using lexicographic ordering

*The canopy matching*
* Compute fitness vectors for each solution and sort in rank order
Expand Down
2 changes: 1 addition & 1 deletion documentation/FlowManager.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ OR if the last login/logout process for <mytoken> finished less than 5 seconds a
"gpii-default": {
"name": "Default preferences",
"preferences": {
"http://registry.gpii.net/common/onScreenKeyboardEnabled": true,
"http://registry.gpii.net/common/onScreenKeyboard/enabled": true,
"http://registry.gpii.net/common/initDelay": 0.120,
"http://registry.gpii.net/common/cursorSpeed": 0.850
}
Expand Down
2 changes: 1 addition & 1 deletion documentation/MatchMakerFramework.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ The input for these POST requests will be in the following format. Note that it

### Return payload

The return payload from at call to `/match` should be in the following format:
The return payload from at call to `/match` should be in the following format. The "active" key expresses whether the application should be set to running. A `true` value means that it should be running, `undefined` means we leave it in its current run state and `false` mean we should actively ensure that it is not running.

```
{
Expand Down
14 changes: 7 additions & 7 deletions documentation/PreferencesServer.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ Return payload:
"gpii-default": {
"name": "Default preferences",
"preferences": {
"http://registry.gpii.net/common/onScreenKeyboardEnabled": true,
"http://registry.gpii.net/common/onScreenKeyboard/enabled": true,
"http://registry.gpii.net/common/initDelay": 0.120,
"http://registry.gpii.net/common/cursorSpeed": 0.850,
"http://registry.gpii.net/common/cursorAcceleration": 0.800,
"http://registry.gpii.net/common/mouseEmulationEnabled": true,
"http://registry.gpii.net/common/mouseEmulation/enabled": true,
"http://registry.gpii.net/common/unknown": true,
"http://registry.gpii.net/applications/org.alsa-project": {
"volume": 14,
Expand Down Expand Up @@ -70,7 +70,7 @@ Return payload:
"cursorSpeed": 0.85,
"cursorAcceleration": 0.8,
"-provisional-initDelay": 0.12,
"-provisional-mouseEmulationEnabled": true
"-provisional-mouseEmulation/enabled": true
}
},
"applications": {
Expand Down Expand Up @@ -110,11 +110,11 @@ Example POST body:
"gpii-default": {
"name": "Default preferences",
"preferences": {
"http://registry.gpii.net/common/onScreenKeyboardEnabled": true,
"http://registry.gpii.net/common/onScreenKeyboard/enabled": true,
"http://registry.gpii.net/common/initDelay": 0.120,
"http://registry.gpii.net/common/cursorSpeed": 0.850,
"http://registry.gpii.net/common/cursorAcceleration": 0.800,
"http://registry.gpii.net/common/mouseEmulationEnabled": true,
"http://registry.gpii.net/common/mouseEmulation/enabled": true,
"http://registry.gpii.net/common/unknown": true,
"http://registry.gpii.net/applications/org.alsa-project": {
"volume": 14,
Expand All @@ -138,11 +138,11 @@ Given that the above payload was stored with the token `123e4567-e89b-12d3-a456-
"gpii-default": {
"name": "Default preferences",
"preferences": {
"http://registry.gpii.net/common/onScreenKeyboardEnabled": true,
"http://registry.gpii.net/common/onScreenKeyboard/enabled": true,
"http://registry.gpii.net/common/initDelay": 0.120,
"http://registry.gpii.net/common/cursorSpeed": 0.850,
"http://registry.gpii.net/common/cursorAcceleration": 0.800,
"http://registry.gpii.net/common/mouseEmulationEnabled": true,
"http://registry.gpii.net/common/mouseEmulation/enabled": true,
"http://registry.gpii.net/common/unknown": true,
"http://registry.gpii.net/applications/org.alsa-project": {
"volume": 14,
Expand Down
3 changes: 1 addition & 2 deletions documentation/SolutionsRegistryFormat.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ The `settingsHandlers` block is unique and one of the most important blocks in t
"presentation.reportHelpBalloons": { ... metadata for setting ... },
"speech.nonTransformableSetting": { ... metadata for setting ... }
},
"capabilities": [],
"capabilitiesTransformations": {
"speech.espeak.pitch": {
"transform": {
Expand Down Expand Up @@ -146,7 +145,7 @@ Each of these lifecycle blocks allow the same content - which is an array with e

The `update` block works very similarly to the configure, restore, start and stop blocks. It describes what should happen when the configuration needs to be updated (e.g. due to context changes, PCP adjustments, etc).

The format of the `update` block allows for the same entries as the configure, restore, start and stop blocks - that is: arbitrary lifecycle action blocks and `settings.<blockname>`. Unlike for the other lifecycle blocks, the `update` block furthermore allows references to the `start`, `stop` and `configure` blocks. This is one by putting a string with the name of that block. When the system encounters one of these references, the entries of that block will be run.
The format of the `update` block allows for the same entries as the configure, restore, start and stop blocks - that is: arbitrary lifecycle action blocks and `settings.<blockname>`. Unlike for the other lifecycle blocks, the `update` block furthermore allows references to the `start`, `stop` and `configure` blocks. This is done by putting a string with the name of that block. When the system encounters one of these references, the entries of that block will be run.

**Example block**:
```
Expand Down
3 changes: 2 additions & 1 deletion gpii/node_modules/canopyMatchMaker/src/CanopyMatchMaker.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.

Loading