Skip to content

Changes

Started by timer
Started 15 hr ago
Took 2 min 11 sec

Summary

  1. Update LaunchAppUseCase to set activity id argument as per GetXapiActivityForPublicationUseCase to ensure this is set consistently. (commit: 54437d7) (details)
  2. Change the return type of getAssignmentProgress so that the datasource can take care of loading the assignment statement. (commit: 6877db5) (details)
  3. Chagne GetStatementParams.agent parameter type to XapiActor because the spec allows for this to be an identified group. (commit: 23bcdba) (details)
  4. Fix serialization of XapiGroup: As per Xapi spec XapiGroup objectType must be group, must not be null. Must add custom serializer to ensure default property is still serialized. (commit: cd998c3) (details)
  5. Fix for XapiActorSerializer: had incorrect use of jsonPrimitive.content (commit: 5e64863) (details)
Commit 54437d7b066cca0b823e6d625f514f9087ccc0c0 by Mike Dawson
Update LaunchAppUseCase to set activity id argument as per GetXapiActivityForPublicationUseCase to ensure this is set consistently.

Update XapiStatementsResourceRepository and README notes: always use exact format when fetching statements over the network from the repository.
(commit: 54437d7)
The file was modifiedrespect-lib-shared/src/androidMain/kotlin/world/respect/shared/domain/xapi/getxapilaunchurl/GetXapiLaunchUrlUseCaseAndroid.kt (diff)
The file was modifiedrespect-lib-shared/src/androidMain/kotlin/world/respect/shared/domain/launchapp/LaunchAppUseCaseAndroid.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/xapi/getxapilaunchurl/GetXapiLaunchUrlUseCase.kt (diff)
The file was modifiedrespect-lib-xapi-core/README.md (diff)
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was modifiedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/school/xapi/XapiStatementsResourceRepository.kt (diff)
Commit 6877db5592f1b065036490592ca28b9d66938446 by Mike Dawson
Change the return type of getAssignmentProgress so that the datasource can take care of loading the assignment statement.
(commit: 6877db5)
The file was modifiedrespect-lib-xapi-core/src/commonMain/kotlin/world/respect/lib/xapi/resources/XapiStatementsResource.kt (diff)
The file was addedrespect-lib-xapi-core/src/commonMain/kotlin/world/respect/lib/xapi/composites/AssignmentAndProgress.kt
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/xapi/XapiStatementsResourceDb.kt (diff)
The file was modifiedrespect-datalayer-db/src/jvmTest/kotlin/world/respect/datalayer/db/school/xapi/XapiStatementsResourceDbTest.kt (diff)
The file was modifiedrespect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/school/xapi/XapiStatementsResourceHttp.kt (diff)
The file was modifiedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/school/xapi/XapiStatementsResourceRepository.kt (diff)
Commit 23bcdba379c357ab8bd7b749eb89efa6badb4a6b by Mike Dawson
Chagne GetStatementParams.agent parameter type to XapiActor because the spec allows for this to be an identified group.
(commit: 23bcdba)
The file was modifiedrespect-lib-xapi-core/src/commonMain/kotlin/world/respect/lib/xapi/resources/XapiStatementsResource.kt (diff)
Commit cd998c38325f2b282447a4287c9bdc4b21a76ca0 by Mike Dawson
Fix serialization of XapiGroup: As per Xapi spec XapiGroup objectType must be group, must not be null. Must add custom serializer to ensure default property is still serialized.
(commit: cd998c3)
The file was modifiedrespect-lib-xapi-core/src/commonMain/kotlin/world/respect/lib/xapi/model/XapiStatement.kt (diff)
The file was modifiedrespect-lib-xapi-core/src/commonMain/kotlin/world/respect/lib/xapi/model/XapiGroup.kt (diff)
Commit 5e64863acd46d2a1b25cbebb45ce389222cc483e by Mike Dawson
Fix for XapiActorSerializer: had incorrect use of jsonPrimitive.content

Should use contentOrNull
(commit: 5e64863)
The file was modifiedrespect-lib-xapi-core/src/commonMain/kotlin/world/respect/lib/xapi/model/XapiStatement.kt (diff)
The file was modifiedrespect-lib-xapi-core/src/commonMain/kotlin/world/respect/lib/xapi/model/XapiStatementObject.kt (diff)
The file was modifiedrespect-lib-xapi-core/src/commonMain/kotlin/world/respect/lib/xapi/model/XapiActor.kt (diff)