Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add File, LocalFile, ContentTag, and AssessmentMetadata models to kolibri_public #3929

Closed
bjester opened this issue Jan 26, 2023 · 1 comment
Assignees
Labels

Comments

@bjester
Copy link
Member

bjester commented Jan 26, 2023

Parent: #3808
Depends: #3927

Desired behavior

  • Add a new model ContentTag to the kolibri_public app
    • Could inherit ContentTag from Studio's kolibri_content
    • It should have fields id and tag_name
  • Add a new model LocalFile to the kolibri_public app
    • Could inherit LocalFile from Studio's kolibri_content
    • It should have fields id, extension, and file_size
  • Add a new model File to the kolibri_public app
    • Could inherit File from Studio's kolibri_content
    • It should at least have fields: id, contentnode_id, preset, lang_id, local_file_id, supplementary, and priority
    • The lang field (lang_id) should be a FK to the core Language model
    • The local_file field (local_file_id) should be a FK to the LocalFile model
  • Add a new model AssessmentMetadata to the kolibri_public app
    • Could inherit AssessmentMetadata from Studio's kolibri_content
    • It should have fields: id, contentnode_id, assessment_item_ids, number_of_assessments, mastery_model, randomize, and is_manipulable

Current behavior

The models do not exist

References

Value add

These models will support remote content browsing on Studio

@bjester bjester changed the title Add FileMetadata and AssessmentMetadata models to kolibri_public Add File, LocalFile, ContentTag, and AssessmentMetadata models to kolibri_public Jan 30, 2023
@rtibbles rtibbles self-assigned this Jan 31, 2023
@bjester bjester added the P0 - critical Priority: Release blocker or regression label Feb 8, 2023
@rtibbles
Copy link
Member

Fixed in #3955

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants