Ali-D-Akbar
8b857edd80
removing logs, waffle flag and other old data
2020-07-15 17:00:05 +05:00
Robert Raposa
77e490f057
ARCHBOM-1305: remove deprecated flag_undefined_default ( #24426 )
...
This is the final step in removing the deprecated
flag_undefined_default as explained by the following ADR:
https://github.com/edx/edx-platform/blob/master/openedx/core/djangoapps/waffle_utils/docs/decisions/0001-refactor-waffle-flag-default.rst
Notes:
* All uses of flag_undefined_default=False were always
supposed to have been no-ops.
* All uses of flag_undefined_default=True that are removed
in this PR have been replaced by migrations in past PRs.
* The temporary metric temp_flag_default_used id no longer
reporting any data.
ARCHBOM-1305
2020-07-09 09:31:31 -04:00
Diana Huang
1655ecd063
Remove final shoppingcart references from instructor.
2020-07-08 09:36:43 -04:00
Feanil Patel
ca85021187
DEPR-43 - Remove shopping cart from instructor analytics.
2020-07-07 16:38:32 -04:00
Ali-D-Akbar
b2755a35a0
optimize course enrollment count query
2020-07-06 12:47:46 +05:00
Feanil Patel
cf5f9482e3
Merge pull request #23975 from edx/depr/shoppingcart-instructor-report
...
instructor_task: remove shoppingcart (DEPR-43)
2020-06-29 11:05:26 -04:00
Nimisha Asthagiri
80ea0a61f0
instructor_task: remove shoppingcart (DEPR-43)
2020-06-29 10:28:26 -04:00
alangsto
d694582441
Displays escalation email on Special Exams tab ( #24331 )
...
* Displays escalation email on Special Exams tab of instructor dashboard. MST-274
* updates for requested changes
* updates necessary for unit testing
* Fixes for pylint warning
* fix for quality tests
2020-06-29 09:11:48 -04:00
Michael Terry
d4506b73f4
AA-184: Fix extension dashboard for self-paced courses
...
- Have it load dates from edx-when, not just write to it. This
fixes self-paced courses where edx-when is only place dates are
kept.
- Have it read original date for a homework from edx-when when
resetting a date. This fixes the message it gives the instructor
about whether it was successfully reset.
- Have it recursively set a date, rather than assuming that dates
are only ever set on the subsection layer. This fixes setting
dates on self-paced courses (where dates are set all the way
down) and just in case somebody somewhere edits the course xml
to have a date where it's not expected.
2020-06-19 11:34:52 -04:00
Diana Huang
c7bd5a8a15
Remove more references to fix tests.
2020-06-09 13:06:44 -04:00
Diana Huang
a0f24bbb64
Remove shoppingcart references from instructor.
2020-06-09 13:06:44 -04:00
Dave St.Germain
c6344aa577
Only the data download tab should appear for data researchers
...
TNL-7222
2020-05-15 08:11:45 -04:00
Dave St.Germain
b7927bedc9
Allow global staff to access data download tab
2020-05-04 11:31:53 -04:00
Aarif
98af9ce418
remove useless-supression warnings
2020-05-01 19:42:15 +05:00
Dave St.Germain
7336ea91fe
This refactors instructor dashboard access to use Bridgekeeper permissions and allows the Data Researcher course/org role to access only the data downloads tab of the dashboard.
...
TNL-7176
2020-04-22 11:06:08 -04:00
Aarif
6ee2089077
fixed warnings for wrong-import-order
2020-04-08 23:43:06 +05:00
Diana Huang
99863aebff
Remove course_id field from CourseMode.
...
Handle this change appropriately in CourseModeFactory.
2020-04-06 11:21:28 -04:00
Michael Terry
24aaebdfa5
Use relative dates flag for dates widget v2
...
Switch from a separate waffle flag for the dates widget v2 work
and just use the relative dates experiment flag instead.
2020-03-05 16:38:07 -05:00
Troy Sankey
d428f7530d
Revert "Revert "Rename values in SiteConfiguration (2/3) attempt #2 ""
...
This reverts commit e6f58b6d4c .
This is our third (3rd!) attempt to deploy stage 2 of this column rename.
2020-03-04 14:53:47 -05:00
Awais Jibran
5577539b0a
Fix due date extension view.
...
Return error when user is not enrolled in the course.
PROD-1339
2020-03-02 12:03:14 +05:00
Troy Sankey
e6f58b6d4c
Revert "Rename values in SiteConfiguration (2/3) attempt #2 "
2020-02-27 13:24:55 -05:00
Troy Sankey
c422dec083
Revert "Revert "Rename values in SiteConfiguration (2/3)""
...
This reverts commit b85aa4b3fb .
2020-02-26 12:54:24 -05:00
Troy Sankey
b85aa4b3fb
Revert "Rename values in SiteConfiguration (2/3)"
2020-02-26 11:23:56 -05:00
Julia Eskew
3541643dd5
Rename values in SiteConfiguration (2/3)
...
This stage does the following:
- Includes a data migration to copy the values from old to new field.
- Changes business logic to switch to using new field.
- Deletes all code references of the old field.
2020-02-25 13:54:02 -05:00
Troy Sankey
3f85ba3fe6
Merge pull request #23144 from edx/pwnage101/rename_site_configuration_siteconfiguration_values_1.1
...
Rename values in SiteConfiguration/History (1/3) (retry)
2020-02-21 11:42:15 -05:00
Calen Pennington
98328ea426
On publish, add evenly spaced dates to self-paced courses
2020-02-21 10:50:22 -05:00
Troy Sankey
18deacde54
Revert "Revert "This stage does the following: ( #22692 )""
...
This reverts commit 84de6bc6de
which reverts commit cebeab4348
which implements the first stage of the `values` column rename in
SiteConfiguration. However, I included a small change:
This time, we set a default value on the new `site_values` column so
that the ORM will happily deserialize the JSONField without throwing a
JSONDecodeError.
2020-02-19 12:01:57 -05:00
Diana Huang
c99bf692cc
Remove class_dashboard.
2020-02-18 13:35:26 -05:00
Manjinder Singh
d7bd80a100
Renamed OAuth2Authentication to BearerAuthentication ( #23128 )
...
* Renamed OAuth2Authentication to BearerAuthentication
* Added back OAuth2Authentication name
-there are libraries such as edx-enterprise that still import OAuth2Authentication. The OAuth2Authentication class should be fully removed when everything is importing BearerAuthentication correctly
2020-02-18 13:29:29 -05:00
Ahtisham Shahid
19137e2737
Fixed staff debug on instructor page
...
added unit test js
fixed test js
updated test commetn
updated xss
2020-02-14 12:20:14 +05:00
Manjinder Singh
cce8cdd661
Replacing OAuth2Auth ( #23067 )
...
- Removing deprecated auth classes
- Replacing OAuth2AuthenticationAllowInactiveUserDeprecated with OAuth2AuthenticationAllowInactiveUser
- the old class was a child class of a deprecated class that we are removing and replacing.
2020-02-11 10:38:13 -05:00
Manjinder Singh
cea795b02e
Added new auth class ( #23018 )
...
* Added new auth class
- Created new class called OAuth2AuthenticationAllowInactiveUser, which replaces old class with same name
- Renames previous OAuth2AuthenticationAllowInactiveUser to OAuth2AuthenticationAllowInactiveUserDeprecated
- Replaced all imports of OAuth2AuthenticationAllowInactiveUser to call deprecated class instead
- testing new class in discussion(added flag based on django setting)
2020-02-06 10:37:27 -05:00
Calen Pennington
019a97c084
Duplicate signals handlers for course content dates from edx-when
2020-02-03 15:35:23 -05:00
Dave St.Germain
42adb72aa5
Merge pull request #22336 from edx/dcs/data-researcher
...
Add new role for course data researcher
2020-01-31 10:07:27 -05:00
Dave St.Germain
1aa8c9c53d
Add a new courseware API Django app to support the courseware micro-frontend.
2020-01-28 14:59:07 -05:00
Dave St.Germain
3d82ce18f9
Check for data download permission in report endpoints
2020-01-27 13:55:18 -05:00
Dave St.Germain
8b815b802b
Added new role for course data researcher.
2020-01-27 13:55:18 -05:00
Julia Eskew
84de6bc6de
Revert "This stage does the following: ( #22692 )"
...
This reverts commit cebeab4348 .
2020-01-14 13:01:21 -05:00
Julia Eskew
cebeab4348
This stage does the following: ( #22692 )
...
- Adds the new field and migration to create the column.
- Makes all writes go to both old and new field.
2020-01-14 10:40:39 -05:00
atesker
b4202bf8b7
EDUCATOR-4828
2020-01-07 15:42:02 -05:00
Calen Pennington
151b309225
Convert custom storage subclasses into mixins so that we can store to either the filesystem or S3
2020-01-02 14:49:19 -05:00
Calen Pennington
0ee1c2f05a
Remove S3ReportStorage, because S3BotoStorage already handles a custom_domain argument
2020-01-02 10:25:53 -05:00
Feanil Patel
046feb0cf0
Merge pull request #22649 from edx/feanil/fix_pep8
...
Fix all E303 pep8 errors.
2019-12-30 13:32:26 -05:00
Feanil Patel
6e3fe00fff
Fix all E303 pep8 errors.
2019-12-30 12:25:38 -05:00
Feanil Patel
2df8b8226b
Merge pull request #22643 from edx/feanil/2to3_asserts
...
Run `2to3 -f asserts . -w` on edx-platform.
2019-12-30 12:13:42 -05:00
Feanil Patel
39d3a7ca17
Fix pep8 issues caused by the fixer.
2019-12-30 11:42:04 -05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Feanil Patel
70294b0ad2
Run 2to3 -f asserts . -w on edx-platform.
...
https://docs.python.org/3.5/library/2to3.html#2to3fixer-asserts
2019-12-30 10:22:19 -05:00
Hasnain Naveed
2316aba391
Merge pull request #22456 from edx/hasnain-naveed/ENT-1961
...
ENT-1961 | Making the manual enrollment reason field optional via con…
2019-12-13 11:03:20 +05:00
hasnain.naveed
c926a13f41
ENT-1961 | Making the manual enrollment reason field optional via configuration flag ENABLE_MANUAL_ENROLLMENT_REASON_FIELD.
2019-12-10 17:31:58 +05:00