Skip to content

#229 change submission type to on canvas #232

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

Merged
merged 1 commit into from
Dec 14, 2020
Merged

Conversation

umarmughal824
Copy link

@umarmughal824 umarmughal824 commented Dec 11, 2020

fixes #229

Canvas: Change "Submission Type" to No Submissionon Canvas

In lieu of #231

@umarmughal824
Copy link
Author

@shaidar @blarghmatey @pdpinch here I have put up the PR against mitx/koa.

@blarghmatey
Copy link
Member

👍

@pdpinch pdpinch merged commit 95a504b into mitx/koa Dec 14, 2020
@pdpinch
Copy link
Member

pdpinch commented Dec 14, 2020

Since Umar is out, I'll merge this.

@mitodl/devops please let me know when we can deploy this to QA and test.

@umarmughal824 umarmughal824 deleted the umar/mit-229-1 branch December 14, 2020 19:16
blarghmatey pushed a commit that referenced this pull request Jan 25, 2021
- Change submission type to "None"
- Change published state to "False"
blarghmatey pushed a commit that referenced this pull request Feb 8, 2021
- Change submission type to "None"
- Change published state to "False"
blarghmatey pushed a commit that referenced this pull request Feb 18, 2021
- Change submission type to "None"
- Change published state to "False"
umarmughal824 pushed a commit that referenced this pull request Apr 15, 2021
- Change submission type to "None"
- Change published state to "False"
umarmughal824 pushed a commit that referenced this pull request Apr 20, 2021
* Canvas Commits (#223)

* Sync canvas enrollments

* Added instructor dashboard button to push edX grades to Canvas

* Fixed canvas grade syncing JS

* Changed 'edX' reference to 'MITx'

* Use EDIT_COURSE_ACCESS permission instead of is_staff

* Use OVERRIDE_GRADES rule instead

* Use instructor_tasks for canvas work (#183)

* Add per_page to paginated requests

* Static method

* Fix email lowercase mismatch

* Use instructor_tasks to handle canvas work

* Fix transaction error

* Decorator needs to be at the top

* Attempt to fix polling of tasks

* More task bug fixes

* Fix typo

* Fix course key bug

* Update message for push edx grades command

* Use course_key so sync_canvas_enrollments uses the same message

* Format the submitted time

* Don't return output to prevent task output max size error (#189)

Co-authored-by: George Schneeloch <[email protected]>
Co-authored-by: Gavin Sidebottom <[email protected]>

* Reimplemented legacy dashboard enrollment data functionality (60a6ddc)

* Fix syntax error in import statement

* Cherry-Picked: Enrolment commits (#228)

* Adding enrollment restriction for users based on social auth providers

In order to prevent users outside of MIT creating a collaborator account and self-enrolling in courses we need to be able to restrict self-enrollment to users who authenticate using the MIT Kerberos SAML backend. This adds filtering of self-enrollment based on a feature flag that sets the allowed provider ids.

(cherry picked from commit a4c53a1)

* Bugfix for collaborator account access check

Co-authored-by: Tobias Macey <[email protected]>

* Fixing import path for canvas_integration plugin

* Fix import namespace for relative imprts

edX requires the full namespace for imports so importing e.g. `remote_gradebook.tasks` is no longer valid. Instead it
requires `from lms.djangoapps.remote_gradebook import tasks`.

* #229 change submission type and published state on canvas (#232)

- Change submission type to "None"
- Change published state to "False"

* Fixing encoding of header row for posting to remote gradebook

Posting to the remote gradebook via lmod proxy was failing due to a key error when parsing the CSV content. This was due to erroneously encoding a string object. This commit adds a check for the type of the header value to prevent double encoding it.

* fix the imports

* address feedback

Co-authored-by: Asad Iqbal <[email protected]>
Co-authored-by: George Schneeloch <[email protected]>
Co-authored-by: Gavin Sidebottom <[email protected]>
Co-authored-by: sar <[email protected]>
Co-authored-by: Arslan Ashraf <[email protected]>
Co-authored-by: Tobias Macey <[email protected]>
blarghmatey pushed a commit that referenced this pull request Jun 3, 2021
- Change submission type to "None"
- Change published state to "False"
blarghmatey added a commit that referenced this pull request Sep 7, 2021
* Canvas Commits (#223)

* Sync canvas enrollments

* Added instructor dashboard button to push edX grades to Canvas

* Fixed canvas grade syncing JS

* Changed 'edX' reference to 'MITx'

* Use EDIT_COURSE_ACCESS permission instead of is_staff

* Use OVERRIDE_GRADES rule instead

* Use instructor_tasks for canvas work (#183)

* Add per_page to paginated requests

* Static method

* Fix email lowercase mismatch

* Use instructor_tasks to handle canvas work

* Fix transaction error

* Decorator needs to be at the top

* Attempt to fix polling of tasks

* More task bug fixes

* Fix typo

* Fix course key bug

* Update message for push edx grades command

* Use course_key so sync_canvas_enrollments uses the same message

* Format the submitted time

* Don't return output to prevent task output max size error (#189)

Co-authored-by: George Schneeloch <[email protected]>
Co-authored-by: Gavin Sidebottom <[email protected]>

* Reimplemented legacy dashboard enrollment data functionality (60a6ddc)

* Fix syntax error in import statement

* Cherry-Picked: Enrolment commits (#228)

* Adding enrollment restriction for users based on social auth providers

In order to prevent users outside of MIT creating a collaborator account and self-enrolling in courses we need to be able to restrict self-enrollment to users who authenticate using the MIT Kerberos SAML backend. This adds filtering of self-enrollment based on a feature flag that sets the allowed provider ids.

(cherry picked from commit a4c53a1)

* Bugfix for collaborator account access check

Co-authored-by: Tobias Macey <[email protected]>

* Fixing import path for canvas_integration plugin

* Fix import namespace for relative imprts

edX requires the full namespace for imports so importing e.g. `remote_gradebook.tasks` is no longer valid. Instead it
requires `from lms.djangoapps.remote_gradebook import tasks`.

* #229 change submission type and published state on canvas (#232)

- Change submission type to "None"
- Change published state to "False"

* Fixing encoding of header row for posting to remote gradebook

Posting to the remote gradebook via lmod proxy was failing due to a key error when parsing the CSV content. This was due to erroneously encoding a string object. This commit adds a check for the type of the header value to prevent double encoding it.

* fix the imports

* address feedback

Co-authored-by: Asad Iqbal <[email protected]>
Co-authored-by: George Schneeloch <[email protected]>
Co-authored-by: Gavin Sidebottom <[email protected]>
Co-authored-by: sar <[email protected]>
Co-authored-by: Arslan Ashraf <[email protected]>
Co-authored-by: Tobias Macey <[email protected]>
asadiqbal08 pushed a commit that referenced this pull request Sep 16, 2021
arslanashraf7 added a commit that referenced this pull request Oct 29, 2021
* Canvas Commits (#223)

* Sync canvas enrollments

* Added instructor dashboard button to push edX grades to Canvas

* Fixed canvas grade syncing JS

* Changed 'edX' reference to 'MITx'

* Use EDIT_COURSE_ACCESS permission instead of is_staff

* Use OVERRIDE_GRADES rule instead

* Use instructor_tasks for canvas work (#183)

* Add per_page to paginated requests

* Static method

* Fix email lowercase mismatch

* Use instructor_tasks to handle canvas work

* Fix transaction error

* Decorator needs to be at the top

* Attempt to fix polling of tasks

* More task bug fixes

* Fix typo

* Fix course key bug

* Update message for push edx grades command

* Use course_key so sync_canvas_enrollments uses the same message

* Format the submitted time

* Don't return output to prevent task output max size error (#189)

Co-authored-by: George Schneeloch <[email protected]>
Co-authored-by: Gavin Sidebottom <[email protected]>

* Reimplemented legacy dashboard enrollment data functionality (60a6ddc)

* Fix syntax error in import statement

* Cherry-Picked: Enrolment commits (#228)

* Adding enrollment restriction for users based on social auth providers

In order to prevent users outside of MIT creating a collaborator account and self-enrolling in courses we need to be able to restrict self-enrollment to users who authenticate using the MIT Kerberos SAML backend. This adds filtering of self-enrollment based on a feature flag that sets the allowed provider ids.

(cherry picked from commit a4c53a1)

* Bugfix for collaborator account access check

Co-authored-by: Tobias Macey <[email protected]>

* Fixing import path for canvas_integration plugin

* Fix import namespace for relative imprts

edX requires the full namespace for imports so importing e.g. `remote_gradebook.tasks` is no longer valid. Instead it
requires `from lms.djangoapps.remote_gradebook import tasks`.

* #229 change submission type and published state on canvas (#232)

- Change submission type to "None"
- Change published state to "False"

* Fixing encoding of header row for posting to remote gradebook

Posting to the remote gradebook via lmod proxy was failing due to a key error when parsing the CSV content. This was due to erroneously encoding a string object. This commit adds a check for the type of the header value to prevent double encoding it.

* fix the imports

* address feedback

Co-authored-by: Asad Iqbal <[email protected]>
Co-authored-by: George Schneeloch <[email protected]>
Co-authored-by: Gavin Sidebottom <[email protected]>
Co-authored-by: sar <[email protected]>
Co-authored-by: Arslan Ashraf <[email protected]>
Co-authored-by: Tobias Macey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants