b9d58c33e7
79871 - scorm tried initializing twice
2024-09-10 16:11:03 -04:00
fb18690c44
fix keepalive setting
2023-03-03 11:32:56 -05:00
7d5da3bd78
configure fetchKeepalive
2023-03-03 10:28:52 -05:00
27fffa96ad
fix regex
2023-02-23 09:54:45 -05:00
ccdff1c7b9
remove char limits
2023-02-22 00:56:56 -05:00
Jonathan Putney
6d1d2861a6
Starting work on 2.0.0
2022-06-22 22:05:10 -04:00
Jonathan Putney
ba787c0e50
Dependency and dist updates
2022-06-22 21:42:28 -04:00
Jonathan Putney
f224d244cf
[skip ci] - Updating Dist and Docs
2022-04-14 18:06:36 +00:00
Jonathan Putney
a91b608c11
Switching from grunt to webpack for compilation, minify wasn't working
2022-02-11 08:41:08 -05:00
Rubén Herrero
d25fabee28
Add a onLogMessage setting to BaseAPI.
...
This allows intercepting log messages,
for example to allow displaying them in
a user-visible interface.
2022-02-10 18:33:03 +01:00
Jonathan Putney
1f42c090aa
Dependency updates
2022-01-10 21:49:48 -05:00
Jonathan Putney
3adbf5c9df
[skip ci] - Updating Dist and Docs
2021-10-15 16:44:58 +00:00
Jonathan Putney
d1602bbfe0
Merge branch 'master' into pr/338
2021-09-07 13:58:00 -04:00
Jonathan Putney
3a19efb91c
Fixing an issue with "urn:scormdriver:" values in SCORM 2004 4th edition
2021-09-07 13:45:56 -04:00
Ross Steele
e7249d9869
feat(add-headers):
...
- Adds 2 new settings to BaseAPI, xhrWithCredentials and xhrHeaders.
- xhrWithCredentials is set to false default to make this a non breaking change but will allow people to set this to try to send Domain Cookies
- xhrHeaders gives the ability to add custom headers to the XHR Request to the LMS, allowing additional information to be sent
2021-07-09 08:49:21 +01:00
Jonathan Putney
25186d870d
[skip ci] - Updating Dist and Docs
2021-05-27 16:02:39 +00:00
Jonathan Putney
099eec0084
Splitting out module files, so each API can be used separately
2021-05-27 11:59:40 -04:00
Jonathan Putney
7847921fac
[skip ci] - Updating Dist and Docs
2021-05-27 15:04:10 +00:00
Jonathan Putney
983d750be1
[skip ci] - Updating Dist and Docs
2021-05-27 15:00:43 +00:00
Jonathan Putney
338d5b107d
Allowing the creation of ValidationErrors with just error codes, but setting the proper message for debugging
2021-05-27 10:56:17 -04:00
Jonathan Putney
7b92c65061
1.6.0 build
2021-05-27 09:11:45 -04:00
Jonathan Putney
1a5d8d3241
Only allowing 'not attempted' when CMI has not been initialized
2021-04-19 15:50:35 -04:00
Jonathan Putney
6d1eabc3fc
Updating dependencies, fixing cmi.core.lesson_status for 'not attempted'
2021-04-19 15:38:28 -04:00
Jonathan Putney
f2ed09e9ff
[skip ci] - Updating Dist and Docs
2021-02-23 13:42:14 +00:00
Jonathan Putney
e52bf85903
Fixing issue with commit callback not being called for scheduled commits
2021-02-20 12:07:41 -05:00
Jonathan Putney
2c2bd7a66c
[skip ci] - Updating Dist and Docs
2021-02-08 12:51:13 +00:00
Jonathan Putney
28fe544ef5
Adding ability to deregister event listeners
2020-12-14 12:17:43 -05:00
Jonathan Putney
3080069b75
[skip ci] - Updating Dist and Docs
2020-11-24 10:27:20 +00:00
Jonathan Putney
a523d048b6
[skip ci] - Updating Dist and Docs
2020-11-23 11:21:22 +00:00
Jonathan Putney
b22b607209
Apparently it is common for SCORM 1.2 Objective IDs to break spec and include spaces
2020-10-29 12:05:10 -04:00
Jonathan Putney
dc6292e0db
Allowing empty comments in SCORM 1.2
2020-10-29 11:45:40 -04:00
Jonathan Putney
c727c052c0
[skip ci] - Updating Dist and Docs
2020-10-11 04:11:34 +00:00
Jonathan Putney
96e18a54ef
[skip ci] - Updating Dist and Docs
2020-08-25 12:41:34 +00:00
Jonathan Putney
54005312fd
Checking commit response for result.result instead of errorCode
2020-08-19 09:27:17 -04:00
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
5a110dc067
[skip ci] - Updating Dist and Docs
2020-08-17 13:10:53 +00: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
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