Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
c48d1a4
Merge remote-tracking branch 'upstream/master' into GPII-2338
stegru Feb 2, 2018
ca42538
Merge remote-tracking branch 'upstream/master' into GPII-2338
stegru Mar 28, 2018
7a7efb7
Merge remote-tracking branch 'upstream/master' into GPII-2338
stegru Apr 30, 2018
db15f62
GPII-2971: The beginning of IoD.
stegru May 2, 2018
6ad68cf
GPII-2971: Moved installation routing into installer component.
stegru May 2, 2018
281b874
GPII-2971: Data source for package info
stegru May 3, 2018
1bd0a52
GPII-2971: tests for installOnDemand
stegru May 4, 2018
e84463e
GPII-2971: packageInstaller tests
stegru May 4, 2018
e9b2ba2
GPII-2972: Client + IoD connectivity.
stegru May 8, 2018
46943c1
GPII-2972: Improved IoD server detection.
stegru May 8, 2018
681e71e
Merge remote-tracking branch 'upstream/master' into GPII-2971
stegru May 8, 2018
4839108
GPII-2972: Proper jsdoc.
stegru May 8, 2018
75e5e5b
GPII-2971: Documented packageInfo.
stegru May 8, 2018
b0fa227
Merge remote-tracking branch 'upstream/master' into GPII-2338
stegru May 10, 2018
db6ca28
GPII-2971: Made the package installer creation nicer.
stegru May 10, 2018
34fb819
GPII-2971: Documented multi-language packages
stegru May 10, 2018
e58bc39
GPII-2971: Can install/uninstall packages at key-in/out (very hacky)
stegru May 11, 2018
5646ed3
GPII-2971: Fixed incorrect context awareness
stegru May 14, 2018
e69b63f
GPII-2971: Persistent storage of installation info.
stegru May 14, 2018
ea898f9
GPII-2971: Uninstall when inactive, or after restart if failed.
stegru May 17, 2018
577428b
GPII-2971: Documentation
stegru May 17, 2018
3c077a2
Merge remote-tracking branch 'upstream/master' into GPII-2971
stegru May 17, 2018
a7f58cc
GPII-2971: Documentation fix
stegru May 17, 2018
ff6615a
GPII-2971: Missing comma
stegru May 17, 2018
0e4685e
GPII-2971: Removed chocolatey installation script
stegru May 22, 2018
3620aa2
GPII-2971: IoD settings handler
stegru Jun 6, 2018
c141655
Merge remote-tracking branch 'upstream/master' into GPII-2338
stegru Jun 6, 2018
46e1638
Merge branch 'GPII-2338' into GPII-2971
stegru Jun 7, 2018
5b2f200
Merge remote-tracking branch 'upstream/master' into GPII-2338
stegru Jun 25, 2018
1c2944f
Merge remote-tracking branch 'upstream/master' into GPII-2338
stegru Jul 3, 2018
11165a2
Merge branch 'GPII-2338' into GPII-2971
stegru Jul 10, 2018
1ac70c7
Merge remote-tracking branch 'upstream/master' into GPII-2971
stegru Aug 20, 2018
1e82e14
Merge remote-tracking branch 'upstream/master' into GPII-2338
stegru Aug 20, 2018
7a6f50c
Merge branch 'GPII-2338' into GPII-2971
stegru Aug 20, 2018
d6bd666
GPII-2971: Linting fixes.
stegru Aug 20, 2018
d810e09
GPII-2971: JSON5
stegru Aug 22, 2018
0588d60
Merge remote-tracking branch 'upstream/master' into GPII-2971
stegru Sep 11, 2018
1856a1f
Merge remote-tracking branch 'upstream/master' into GPII-2338
stegru Sep 11, 2018
cdb739f
Merge branch 'GPII-2338' into GPII-2971
stegru Sep 11, 2018
de3398d
GPII-2971: Renamed IoD module name to gpii-iod
stegru Sep 11, 2018
c985951
GPII-2971: Disable IoD server auto detection by default
stegru Sep 11, 2018
5d5e7d5
GPII-2971: Start detecting if a package is already installed
stegru Sep 13, 2018
2343f37
Merge branch 'GPII-2338' into GPII-2971
stegru Aug 13, 2019
d5f2d62
GPII-2971: IoD install/uninstall on key-in/out
stegru Sep 6, 2019
64baa0d
GPII-2971: Start/stop application
stegru Sep 11, 2019
0206f9e
GPII-2971: All tests working.
stegru Sep 12, 2019
ea354a4
GPII-2971: Changed tests to json5
stegru Sep 12, 2019
3b92b64
GPII-2971: Packages support transforms, resolvers, isInstalled
stegru Sep 19, 2019
eb8e9f2
GPII-2971: IoD server/client connectivity
stegru Oct 25, 2019
c29c3bb
GPII-2971: Serve & download package data + installer
stegru Nov 7, 2019
f84c213
GPII-2971: Authorised code signing keys
stegru Nov 11, 2019
825a304
GPII-2971: Removed endpoint modification
stegru Nov 11, 2019
92f92a1
GPII-2971: Added IoD endpoint to siteconfig
stegru Nov 13, 2019
f8f68da
GPII-2971: Added support for windows installer (msi)
stegru Nov 13, 2019
4ac05d4
GPII-2971: added uninstallTime to package data
stegru Nov 14, 2019
bc868e1
GPII-2971: Auto-install, from siteconfig
stegru Nov 15, 2019
99f4435
GPII-2971: Added some preference sets for IoD
stegru Nov 19, 2019
ca83888
GPII-2971: Added some iod preference sets
stegru Nov 25, 2019
7f99ebb
GPII-2971: Not re-installing previously installed packages.
stegru Dec 27, 2019
a315c63
GPII-2971: Configurable auto-remove delay.
stegru Dec 27, 2019
378ec7d
GPII-2971: Updated tests to match new code.
stegru Dec 27, 2019
6640bb2
GPII-2971: Installers now using the same command execution method
stegru Dec 28, 2019
33d18bb
GPII-2971: Improved IoD tests, increased coverage
stegru Dec 28, 2019
a7b33cc
GPII-2971: IoD tests pass
stegru Dec 29, 2019
2eaa794
GPII-2971: Added installCommands to packageData.
stegru Dec 29, 2019
5b75e74
GPII-2971: Improved command execution
stegru Dec 30, 2019
684280d
GPII-2971: implemented multiDataSource
stegru Dec 30, 2019
9930895
GPII-2971: multiDataSource root sources can be removed.
stegru Jan 2, 2020
0743607
GPII-2971: Able to take packages from a local path.
stegru Jan 4, 2020
0a24db8
GPII-2971: Committing forgotten files.
stegru Jan 4, 2020
7fd09e4
GPII-2971: Multiple package sources specified in config work.
stegru Jan 26, 2020
8097043
GPII-2971: Corrected test expectation.
stegru Jan 26, 2020
9c0668b
GPII-2971: Detecting mounted drives for IoD
stegru Jan 27, 2020
479816a
GPII-2971: Using exit codes for installer commands
stegru Jan 29, 2020
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
7 changes: 6 additions & 1 deletion .nycrc
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@
"!**/gpii/node_modules/userListeners/src/listeners.js",
"!**/gpii/node_modules/userListeners/src/pcsc.js",
"!**/gpii/node_modules/userListeners/src/usb.js",
"!**/gpii/node_modules/gpii-iod/src/installOnDemand.js",
"!**/gpii/node_modules/gpii-iod/src/iodSettingsHandler.js",
"!**/gpii/node_modules/gpii-iod/src/packageDataSource.js",
"!**/gpii/node_modules/gpii-iod/src/packageInstaller.js",
"!**/gpii/node_modules/gpii-iod/src/packages.js",
"testData",
"tests",
"reports",
Expand All @@ -128,7 +133,7 @@
"gpii.js",
"Gruntfile.js"
],
"reporter": "none",
"reporter": "lcov",
"report-dir": "reports",
"temp-directory": "coverage",
"clean": false
Expand Down
3 changes: 2 additions & 1 deletion gpii/configs/shared/gpii.config.development.base.local.json5
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"%flowManager/configs/gpii.flowManager.config.local.base.json5",
"%preferencesServer/configs/gpii.preferencesServer.config.base.json5",
"%flatMatchMaker/configs/gpii.flatMatchMaker.config.base.json5",
"%gpii-universal/gpii/configs/shared/gpii.config.couch.development.base.json5"
"%gpii-universal/gpii/configs/shared/gpii.config.couch.development.base.json5",
"%gpii-iod/configs/gpii.iod.config.development.json"
]
}
6 changes: 6 additions & 0 deletions gpii/node_modules/flowManager/src/FlowManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,12 @@ fluid.defaults("gpii.flowManager.local", {
},
userErrors: {
type: "gpii.userErrors"
},
installOnDemand: {
type: "gpii.iod",
options: {
gradeNames: ["gpii.iodLifeCycleManager"]
}
}
},
requestHandlers: {
Expand Down
2 changes: 2 additions & 0 deletions gpii/node_modules/gpii-iod/.gitignore

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

119 changes: 119 additions & 0 deletions gpii/node_modules/gpii-iod/README.md

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

3 changes: 3 additions & 0 deletions gpii/node_modules/gpii-iod/configs/gpii.iod.config.base.json

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.

20 changes: 20 additions & 0 deletions gpii/node_modules/gpii-iod/configs/gpii.iod.config.local.base.json

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.

29 changes: 29 additions & 0 deletions gpii/node_modules/gpii-iod/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* Install on Demand.
*
* Copyright 2018 Raising the Floor - International
*
* Licensed under the New BSD license. You may not use this file except in
* compliance with this License.
*
* The R&D leading to these results received funding from the
* Department of Education - Grant H421A150005 (GPII-APCP). However,
* these results do not necessarily represent the policy of the
* Department of Education, and you should not assume endorsement by the
* Federal Government.
*
* You may obtain a copy of the License at
* https://github.com/GPII/universal/blob/master/LICENSE.txt
*/

"use strict";

var fluid = require("infusion");

fluid.module.register("gpii-iod", __dirname, require);

require("./src/iodSettingsHandler.js");
require("./src/installOnDemand.js");
require("./src/packageInstaller.js");
require("./src/packages.js");
require("./src/packageDataSource.js");
13 changes: 13 additions & 0 deletions gpii/node_modules/gpii-iod/package.json

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

Loading