Skip to content

Conversation

@valera-rozuvan
Copy link
Contributor

Includes new and updated Python tests for the LTI module. LTI must use HTTPS for lis_outcome_service_url.

BLD-564

Reviewers

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to comment this line out? Perhaps it should just be removed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

@valera-rozuvan
Copy link
Contributor Author

@auraz , @jmclaus , @singingwolfboy please finish with reviewing this PR. If all OK, give your thumbs up. I will squash all commits into 1, rebase, and merge.

@jmclaus
Copy link

jmclaus commented Dec 5, 2013

@valera-rozuvan Sure but could you please look at my comments first? Thanks.

@valera-rozuvan
Copy link
Contributor Author

@jmclaus Sorry. = ) Forgot the one "this.el.find('.lti') should be cached.". Doing now.

@jmclaus
Copy link

jmclaus commented Dec 5, 2013

@valera-rozuvan Good. And your call on using requireJS or not.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

data -> _

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/edx/edx-platform/wiki/Python-Guidelines

For unused args, you can prefix the arguments with _ to mark them as unused (as convention), and pylint will accept that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@auraz Maybe data -> _data ?

@valera-rozuvan
Copy link
Contributor Author

@jmclaus I have decided to use RequireJS. You are right that we should try to standardize the process of writing JavaScript code for XModules.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pass error from server here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove this line

@auraz
Copy link
Contributor

auraz commented Dec 9, 2013

please ensure how this works in real mode with sandbox server

@olmar
Copy link
Contributor

olmar commented Dec 10, 2013

@auraz I fixed issues.

@olmar olmar closed this Dec 10, 2013
@olmar olmar reopened this Dec 10, 2013
@olmar
Copy link
Contributor

olmar commented Dec 10, 2013

@auraz, fixed. please continue review.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you leave the scheme off the URL, the browser will use either http or https, as appropriate for the page. http://stackoverflow.com/questions/4831741/can-i-change-all-my-http-links-to-just

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scheme is used in oauth signing, and current oauthlib implementation throws Exception, if scheme is not specified (https://github.com/idan/oauthlib/blob/master/oauthlib/oauth1/rfc5849/signature.py#L136)

@auraz
Copy link
Contributor

auraz commented Dec 17, 2013

👍

olmar added a commit that referenced this pull request Dec 17, 2013
@olmar olmar merged commit ae61db9 into master Dec 17, 2013
@auraz auraz deleted the valera/lti_graded_additional_tests_2 branch December 17, 2013 12:02
@auraz auraz restored the valera/lti_graded_additional_tests_2 branch December 17, 2013 16:44
@valera-rozuvan valera-rozuvan deleted the valera/lti_graded_additional_tests_2 branch February 25, 2014 09:12
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.

6 participants