Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: adaptlearning/adapt-contrib-spoor
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.8.0
Choose a base ref
...
head repository: adaptlearning/adapt-contrib-spoor
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing with 11,552 additions and 1,670 deletions.
  1. +8 −0 .github/CONTRIBUTING.md
  2. +18 −0 .github/ISSUE_TEMPLATE.md
  3. +25 −0 .github/pull_request_template.md
  4. +19 −0 .github/workflows/addtomainproject.yml
  5. +25 −0 .github/workflows/releases.yml
  6. +1 −0 .gitignore
  7. +150 −81 README.md
  8. +48 −6 bower.json
  9. +15 −3 example.json
  10. +39 −41 js/adapt-contrib-spoor.js
  11. +217 −203 js/adapt-offlineStorage-scorm.js
  12. +260 −240 js/adapt-stateful-session.js
  13. +10 −0 js/enums/completionStateEnum.js
  14. +7 −0 js/enums/successStateEnum.js
  15. +79 −0 js/scorm/Connection.js
  16. +221 −0 js/scorm/cookieLMS.js
  17. +28 −32 js/scorm/error.js
  18. +53 −57 js/scorm/logger.js
  19. +822 −625 js/scorm/wrapper.js
  20. +159 −153 js/serializers/ComponentSerializer.js
  21. +32 −5 js/serializers/SCORMSuspendData.js
  22. +2 −0 libraries/lzma-min.js
  23. +5 −0 libraries/lzma_worker-min.js
  24. +6,945 −0 package-lock.json
  25. +59 −0 package.json
  26. +117 −9 properties.schema
  27. 0 required/connection.txt
  28. +7 −7 required/index.html
  29. +13 −9 required/index_lms.html
  30. +1 −1 required/log_output.html
  31. +0 −182 required/offline_API_wrapper.js
  32. +9 −16 required/scorm_test_harness.html
  33. +243 −0 schema/config.schema.json
  34. +31 −0 schema/course.schema.json
  35. 0 {required → scorm/1.2}/adlcp_rootv1p2.xsd
  36. 0 {required → scorm/1.2}/ims_xml.xsd
  37. 0 {required → scorm/1.2}/imscp_rootv1p1p2.xsd
  38. 0 {required → scorm/1.2}/imsmanifest.xml
  39. 0 {required → scorm/1.2}/imsmd_rootv1p2p1.xsd
  40. +402 −0 scorm/2004/XMLSchema.dtd
  41. +111 −0 scorm/2004/adlcp_v1p3.xsd
  42. +61 −0 scorm/2004/adlnav_v1p3.xsd
  43. +93 −0 scorm/2004/adlseq_v1p3.xsd
  44. +203 −0 scorm/2004/datatypes.dtd
  45. +373 −0 scorm/2004/imscp_v1p1.xsd
  46. +42 −0 scorm/2004/imsmanifest.xml
  47. +67 −0 scorm/2004/imsss_v1p0.xsd
  48. +19 −0 scorm/2004/imsss_v1p0auxresource.xsd
  49. +20 −0 scorm/2004/imsss_v1p0control.xsd
  50. +17 −0 scorm/2004/imsss_v1p0delivery.xsd
  51. +47 −0 scorm/2004/imsss_v1p0limit.xsd
  52. +67 −0 scorm/2004/imsss_v1p0objective.xsd
  53. +16 −0 scorm/2004/imsss_v1p0random.xsd
  54. +46 −0 scorm/2004/imsss_v1p0rollup.xsd
  55. +108 −0 scorm/2004/imsss_v1p0seqrule.xsd
  56. +94 −0 scorm/2004/imsss_v1p0util.xsd
  57. +81 −0 scorm/2004/xml.xsd
  58. +17 −0 scripts/postcopy.js
8 changes: 8 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
We heartily welcome contributions to the Adapt project source code and community.
Here is a list of resources you may find useful:

* [Contributing to the Adapt project documentation](https://github.com/adaptlearning/adapt_framework/wiki/Contributing-to-the-Adapt-Project)
* [The Adapt framework wiki](https://github.com/adaptlearning/adapt_framework/wiki)
* [Gitter chat room](https://gitter.im/adaptlearning/adapt_framework)
* [General GitHub documentation](http://help.github.com/)
* [GitHub pull request documentation](http://help.github.com/send-pull-requests/)
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
### Subject of the issue/enhancement/features
Describe your issue here.

### Your environment
* version (AT/Framework)
* which browser and its version
* device(s) + operating system(s)

### Steps to reproduce
Tell us how to reproduce this issue.

### Expected behaviour
Tell us what should happen

### Actual behaviour
Tell us what happens instead

### Screenshots (if you can)
25 changes: 25 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[//]: # (Please title your PR according to eslint commit conventions)
[//]: # (See https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-eslint#eslint-convention for details)

[//]: # (Link the PR to the original issue)

[//]: # (Delete Fix, Update, New and/or Breaking sections as appropriate)
### Fix
* A sentence describing each fix

### Update
* A sentence describing each udpate

### New
* A sentence describing each new feature

### Breaking
* A sentence describing each breaking change

[//]: # (List appropriate steps for testing if needed)
### Testing
1. Steps for testing

[//]: # (Mention any other dependencies)


19 changes: 19 additions & 0 deletions .github/workflows/addtomainproject.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Add to main project

on:
issues:
types:
- opened
pull_request:
types:
- opened

jobs:
add-to-project:
name: Add to main project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.1.0
with:
project-url: https://github.com/orgs/adaptlearning/projects/2
github-token: ${{ secrets.ADDTOPROJECT_TOKEN }}
25 changes: 25 additions & 0 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
Loading