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

Learning Material Downloads #1021

Merged
merged 4 commits into from
Sep 21, 2015
Merged

Conversation

jrjohnson
Copy link
Member

Tokens for learning materials are created automatically when new materials are created. They are pretty random so we can rely on them to access files without any further authentication.

Old Ilios2 learning materials can be moved into v3 compatible locations using the ilios:setup:migrate-learning-materials command. It takes the Ilios2 Source Root which is is where the relateive_file_path in the database expects to search for learning materials.

Materials can be downloaded at
/lm/TOKEN. Maybe this should be /download/lm/TOKEN, but the token is already 64 characters long so it might run into URL length issues already.

Fixes #1019

thecoolestguy added a commit that referenced this pull request Sep 21, 2015
@thecoolestguy thecoolestguy merged commit 4a37334 into ilios:master Sep 21, 2015
@jrjohnson jrjohnson deleted the 1019-filedownload branch November 10, 2015 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants