Added staff role on ccx to all the staff members of master course. - #148
Added staff role on ccx to all the staff members of master course.#148amir-qayyum-khan wants to merge 18 commits into
Conversation
3a0b91a to
7a2452f
Compare
There was a problem hiding this comment.
- Because code was not able to compare ccxLocator objects though it was able to compare courseLocator.
In sum when this line was comparing ccx keys it always give false even both key are match. Thats why I am deserialising keys and comparing them as strings. - Second option is block this PR and create small PR against ccx locator.py and override
__eq__method. Because we dont have overridden__eq__method thats why when i compare 2 ccx locator objects it always returns false.
After that resume PRs https://github.com/edx/edx-platform/pull/10672 and https://github.com/mitocw/edx-platform/pull/148/files
There was a problem hiding this comment.
I don't see a corresponding __eq__ method in https://github.com/edx/opaque-keys/blob/master/opaque_keys/edx/locator.py -- how is this dealt with elsewhere in edX?
There was a problem hiding this comment.
No it is master course object
4b40f84 to
28e8d47
Compare
|
@pdpinch fixed issues |
8b720cb to
18028d9
Compare
|
@pdpinch should i create this on upstream? |
|
Ok. Can you add "wip" to the title, until someone from our team can give it a thumbs up? I am mobile.
|
There was a problem hiding this comment.
I'm not sure this is the right or current way they want the docstrings.
18028d9 to
34d9e3d
Compare
|
Done @giocalitri |
34d9e3d to
095cfbd
Compare
There was a problem hiding this comment.
Sorry to insist on this, but I think the way they want docstrings now is something like this:
Args:
course (<the object type here>): Master course instance
ccx_key (<the object type here>): CCX course key
...
Returns:
None # Not sure this is actually necessary
There was a problem hiding this comment.
Actually I have seen both, so I am not sure
|
I know you put the test in the |
095cfbd to
7f173d0
Compare
|
@giocalitri Done with moving code and creating test file. CC @pdpinch |
There was a problem hiding this comment.
can please you use the full path for this? Even if it is correct I would avoid using this kind of imports unless the module is in the same directory of the file that imports it
If platform name or "All rights reserved" translation contain non-ascii characters, certificate HTML view would break with "'ascii' codec can't encode character...".
We were logging warnings about group names when no group names were requested. This will clean up Splunk a little bit.
…d-time Release/due times no longer round to half hours.
…jasmine-tests ECOM-3103: Added Jasmine tests for the Financial Assistance form
Fix spurious Zendesk warnings.
…-tests Problem type bok choy and a11y tests
Auto setting of verification deadlines with manual overrides
Fix issue with unicode characters in certificates.
These two directories are not added to sys.path when running the application, so there is no need to add them for pylint. When they are added, they make it impossible to run pylint properly because lms.lib.xblock is imported when trying to import xblock.
Update XBlock to 0.4.4 (just a packaging change)
409774a to
4a1c456
Compare
…_ccx Made coach dashboard available on ccx in addition to master course
b227b3c to
35592a0
Compare
35592a0 to
bfcdb54
Compare
…_hashing Use secure salt for retirement username/email hashing.
Background
From issue #126
What is done in this PR
Studio Updates: None.
LMS Updates:
@pdpinch @giocalitri @pwilkins