Commit Graph

222 Commits

Author SHA1 Message Date
Jonathan Putney
7f1d9953e4 Bug fixes and sorting issue with loadFromFlattenedJson
Also added several new test cases, most significantly some cases that test the commit functionality
2020-08-17 14:46:33 -04:00
Jonathan Putney
8c781ac378 Adding test cases for long-fill-in response type 2020-08-17 09:14:58 -04:00
Jonathan Putney
5a110dc067 [skip ci] - Updating Dist and Docs 2020-08-17 13:10:53 +00:00
Jonathan Putney
ab1f3b061b Minor code cleanup and additional test cases 2020-08-17 09:09:52 -04:00
Jonathan Putney
576d417365 Cleaning up npm package 2020-08-14 16:10:28 -04:00
Jonathan Putney
578a7e7922 Adding some additional README buttons 2020-08-14 16:09:00 -04:00
Jonathan Putney
deef88f9c9 @types/mocha shouldn't have been a regular dependency 2020-08-14 16:08:50 -04:00
Jonathan Putney
4582d733af Adding setting to always commit total_time, listeners for commit requests 2020-08-14 15:40:29 -04:00
Jonathan Putney
e9fee3c258 SCORM 2004 cmi.interactions.n.learner_response was never being set 2020-08-14 15:22:01 -04:00
Jonathan Putney
2f72c17d3a Adding CONTRIBUTING.md 2020-08-14 15:11:59 -04:00
Jonathan Putney
fc9a56e4c4 Fixing boolean logic issue 2020-08-14 14:44:46 -04:00
Jonathan Putney
c44d7c7436 Dependency updates 2020-08-14 14:44:36 -04:00
Jonathan Putney
107069963c Fixing build 2020-07-30 18:10:34 -04:00
Jonathan Putney
22408c2c0e Finalizing changes to initial data load 2020-07-30 18:05:11 -04:00
Jonathan Putney
c341d3f70f Not requiring fields to be previously set while loading existing data 2020-07-30 16:54:15 -04:00
Jonathan Putney
dcad088b25 Sort until we can't sort anymore 2020-07-30 15:53:50 -04:00
Jonathan Putney
0f9143be46 And again... 2020-07-30 14:34:21 -04:00
Jonathan Putney
6c96dadbce Still trying to make sure that cmi is sorted properly 2020-07-30 12:13:15 -04:00
Jonathan Putney
a66712d3b4 Adding objectives sorting 2020-07-30 11:57:34 -04:00
Jonathan Putney
e4e9f87f18 Making sure to sort interactions properly 2020-07-30 11:48:56 -04:00
Jonathan Putney
9bb735bf59 Removing unnecessary log statements 2020-07-28 23:08:02 -04:00
Jonathan Putney
1b48c9ee4d Fixing an issue with CMI interactions not being loaded in the proper order
Interaction ID and Type need to be loaded before most other interaction fields, so I added a built in sort when loading using the flattened JSON load.
2020-07-28 22:36:37 -04:00
Jonathan Putney
f4ab13ca8c Compiling package 2020-07-14 10:34:22 -04:00
Jonathan Putney
84296aaf6f Version bump 2020-07-14 10:33:48 -04:00
Jonathan Putney
2709afeec3 Merge branch 'master' of https://github.com/jcputney/scorm-again 2020-07-14 10:33:32 -04:00
Jonathan Putney
4a97c1c0a9 Dependency updates and fixing an issue with multiple final commits in SCORM 1.2 2020-07-14 10:33:05 -04:00
Jonathan Putney
653df7a296 [skip ci] - Updating Dist and Docs 2020-07-01 10:28:41 +00:00
dependabot-preview[bot]
050cb98138 Bump @babel/plugin-proposal-class-properties from 7.10.1 to 7.10.4
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.10.1 to 7.10.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.4/packages/babel-plugin-proposal-class-properties)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-01 10:26:51 +00:00
Jonathan Putney
97070184b8 Immediately commit if we're currently terminating 2020-06-29 21:12:27 -04:00
Jonathan Putney
2a3f9b61af Switching to lodash's debounce 2020-06-29 17:45:34 -04:00
Jonathan Putney
5af069f2ef Add getter for API error_codes 2020-06-29 17:21:09 -04:00
Jonathan Putney
2e09fde478 Missing error code for successful sendBeacon commit 2020-06-29 17:13:25 -04:00
Jonathan Putney
d1f22df4d7 Missing error codes on debounce 2020-06-29 17:11:38 -04:00
Jonathan Putney
063029e0ad Debouncing the LMS API calls 2020-06-29 16:58:24 -04:00
Jonathan Putney
79a11c6dd5 Dist update 2020-06-29 15:58:54 -04:00
Jonathan Putney
90d981b2a4 Fixing content type for sendBeacon 2020-06-29 15:58:40 -04:00
Jonathan Putney
8b58992293 Version bump 2020-06-29 15:43:42 -04:00
Jonathan Putney
075dff8eec Adding async processing of commits 2020-06-29 15:43:10 -04:00
Jonathan Putney
e56ae12d17 Merge branch 'master' of https://github.com/jcputney/scorm-again 2020-06-26 14:50:57 -04:00
Jonathan Putney
ca94ee9fb5 Adding new selfReportSessionTime setting 2020-06-26 14:50:33 -04:00
Jonathan Putney
602f3044ce [skip ci] - Updating Dist and Docs 2020-06-26 16:09:50 +00:00
Jonathan Putney
aa03f6affb Version bump and dev dependency updates 2020-06-26 12:08:03 -04:00
Jonathan Putney
9847b0f1eb Fixing an issue with double digit interaction counts 2020-06-26 12:07:06 -04:00
Jonathan Putney
8f2db32e27 [skip ci] - Updating Dist and Docs 2020-06-22 11:30:58 +00:00
dependabot-preview[bot]
338cb32a98 Bump @babel/core from 7.10.2 to 7.10.3
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.2 to 7.10.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.3/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 11:26:15 +00:00
Jonathan Putney
2606a82afd Merge pull request #98 from jcputney/dependabot/npm_and_yarn/master/websocket-extensions-0.1.4
[Security] Bump websocket-extensions from 0.1.3 to 0.1.4
2020-06-08 12:28:30 -04:00
Jonathan Putney
e1b16e4107 Dependency updates 2020-06-08 12:28:15 -04:00
dependabot-preview[bot]
37b98c1bbe [Security] Bump websocket-extensions from 0.1.3 to 0.1.4
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. **This update includes a security fix.**
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 16:45:52 +00:00
Jonathan Putney
8e0cd99a53 [skip ci] - Updating Dist and Docs 2020-06-01 17:13:59 +00:00
Jonathan Putney
4a62f930e2 Browsers don't like the XMLHttpRequest.responseType setting for synchronous requests 2020-06-01 13:12:34 -04:00