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
dc6292e0db
Allowing empty comments in SCORM 1.2
2020-10-29 11:45:40 -04:00
Jonathan Putney
fc9a56e4c4
Fixing boolean logic issue
2020-08-14 14:44:46 -04:00
Jonathan Putney
ca94ee9fb5
Adding new selfReportSessionTime setting
2020-06-26 14:50:33 -04:00
Jonathan Putney
c311b4dbc7
Fixing a write-only issue with SCORM 1.2 nav.event until I figure out what to do with it
...
Not sure if it's even necessary outside of Moodle, or if it is custom for their player.
2020-05-25 19:55:30 -04:00
Jonathan Putney
3103707aec
cmi.core.suspend_data vs. cmi.suspend_data
...
It seems to be a common issue that some SCORM 1.2 modules are trying to store "suspend_data" in cmi.core.suspend_data instead of cmi.suspend_data, which is actually the correct field according to the spec. We're still only storing it once, but will allow getting and setting from cmi.core.suspend_data. Exported JSON will continue to only output spec compliant data.
2020-02-06 12:35:49 -05:00
Jonathan Putney
ccf1f7b4b7
Adding some additional AICC CMI parameters
2020-01-16 08:58:46 -05:00
Jonathan Putney
7882608fb6
Rework of constants and some additional tests
2020-01-15 12:21:57 -05:00
Jonathan Putney
f2637f10b5
Blank string is valid for cmi.core.exit/cmi.exit
2019-12-30 13:19:06 -05:00
Jonathan Putney
6e4f2e3663
Removing total_time from JSON export, unless it's for the final commit
2019-12-26 14:36:36 -05:00
Jonathan Putney
a084f35f0e
eslint fix
2019-12-23 20:42:33 -05:00
Jonathan Putney
45d4e6ef02
Merge branch 'master' of https://github.com/jcputney/scorm-again
2019-12-20 14:37:43 -05:00
Jonathan Putney
b4d598eed0
Allowing cmi.core.lesson_location to contain empty string
2019-12-20 14:35:24 -05:00
Jonathan Putney
1257df6d18
Storing data on terminate/finish and calling listeners for LMS sequencing
2019-11-19 12:16:31 -05:00
Jonathan Putney
8e6f6c47e9
Working on the saving of data
2019-11-15 17:24:30 -05:00
Jonathan Putney
929176fb3e
More tests and fixes
2019-11-14 16:07:42 -05:00
Jonathan Putney
ce503a25cb
Adding more API tests
2019-11-14 14:50:49 -05:00
Jonathan Putney
360d30bdf0
Adding more API tests
2019-11-14 13:17:16 -05:00
Jonathan Putney
755259afdf
More test cases and breaking out valid/invalid values to be reusable
2019-11-13 13:09:01 -05:00
Jonathan Putney
d2cc923f94
More CMI tests
2019-11-12 21:41:39 -05:00
Jonathan Putney
9e8896fa32
Removed circular dependencies between APIs and CMI objects
...
No longer directly setting error codes on the API when a read/write or data validation fails, throwing exceptions instead that can then be caught by the APi.
2019-11-12 11:17:41 -05:00
Jonathan Putney
2f5c9804c9
Fixing eslint issues, and still working on test cases
2019-11-11 15:05:02 -05:00
Jonathan Putney
5dae5ca0ae
Splitting up constants
2019-11-10 23:02:40 -05:00
Jonathan Putney
eae2a688f6
Disabling eslint in build for now
2019-11-10 20:52:23 -05:00
Jonathan Putney
2816220943
Removing copyrights
2019-11-10 16:01:03 -05:00
Jonathan Putney
da4af1edba
Initial push, working on test cases
2019-11-10 12:29:43 -05:00