Michael Terry
3030efec78
AA-177: Add masquerading for course home MFE
...
- Looks at masquerading config for dates, outline, metadata, and
celebration APIs in course_home_api / courseware_api.
- Consolidates and cleans up places we check whether masquerading
gives us full access to a course.
2020-06-29 12:37:47 -04:00
mariajgrimaldi
c23071defc
Fix DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead ( #23909 )
...
I wanted to make a byte-sized contribution but there were no Jira tickets so we decided, thanks to a conversation with @jmbowman through the Open Edx Community #incr (Slack) channel, to collaborate in the elimination of warnings listed in the Warnings Report at https://build.testeng.edx.org/job/edx-platform-python-pipeline-master/warning_5freport_5fall_2ehtml/
This PR contributes to the elimination of deprecation warnings, specifically the one mentioned above and reported in the Warnings Report.
Changed logger.warn to logger.warning in the following files:
lms/djangoapps/experiments/utils.py
lms/djangoapps/lti_provider/outcomes.py
lms/djangoapps/courseware/module_render.py
This warning occurs due to deprecation in python 3.4+: https://docs.python.org/3.5/library/logging.html#logging.Logger.warning
2020-05-08 12:15:59 -04:00
Simon Chen
262574b815
Move all the upgrade display logic into courseware.utils
2020-05-05 17:54:22 -04:00
Dillon Dumesnil
fe91d63a0b
Show relevant dates in course dates sidebar
...
This includes (at least) upcoming assignments, FBE access
expiration, and course end date.
AA-4
2020-02-18 08:42:15 -05:00
Dillon Dumesnil
00fe1495b4
Revert commits for AA-4
2020-02-10 12:10:59 -05:00
Dillon Dumesnil
23486a560d
Show relevant dates in course dates sidebar
...
This includes (at least) upcoming assignments, FBE access
expiration, and course end date.
AA-4
2020-02-06 16:01:46 -05:00
hunytalk
73aae081c3
Remove null, blank from start field in Schedules
2020-01-22 18:10:33 +05:00
Feanil Patel
6e3fe00fff
Fix all E303 pep8 errors.
2019-12-30 12:25:38 -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
Awais Qureshi
5f6b2db31b
BOM-1111
...
Updating User.is_authenticated and User.is_anonymous as properties
2019-12-23 17:51:27 +05:00
Calen Pennington
47b8dfae75
Merge pull request #22156 from cpennington/expose-course-duration
...
Expose user course duration in the user metadata
2019-10-25 13:49:14 -04:00
julianajlk
73564a04b0
return course_upgrade_deadline even if dynamic deadline is null ( #22150 )
...
REV-943
2019-10-25 13:20:40 -04:00
Calen Pennington
d92dcb28bb
Expose user course duration in the user metadata
2019-10-25 10:02:55 -04:00
Calen Pennington
7ceb0e30fa
Mark course outline with graded and scored status in the DOM so that we can run optimizely code on them
2019-10-17 12:14:49 -04:00
julianajlk
4d3d6c0178
add dynamic_upgrade_deadline to user-metadata ( #22046 )
...
REV-943
* added dynamic and course_upgrade_deadline to user-metadata
2019-10-16 11:07:32 -04:00
Stu Young
7c6c166e73
fix toggle implementation annotations ( #21802 )
...
fix toggle implementation annotations and rename waffle flags
2019-09-27 11:45:40 -04:00
Ned Batchelder
efba6e45e8
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 09:40:15 -04:00
Stu Young
13bbf85257
clean up toggle annotations ( #21673 )
...
clean up toggle annotations and lint when running feature toggle report
2019-09-17 11:11:20 -04:00
Calen Pennington
8b4b5a4547
Move stable_bucketing into its own library to minimize circular dependencies
2019-07-03 15:03:31 -04:00
Calen Pennington
39efc54a27
Merge pull request #20884 from cpennington/discount-no-previous-purchase
...
REVEM-289: Discount no previous purchase
2019-06-25 17:12:19 -04:00
Calen Pennington
f07f2121ba
Make has_non_audit_enrollments exclude entitlements
2019-06-25 16:44:36 -04:00
Calen Pennington
388fac3b9c
Make has_non_audit_enrollments exclude honor courses correctly
2019-06-25 16:44:36 -04:00
Christie Rice
eeb265e276
REVEM-376 Disable waffle flags by default ( #20880 )
2019-06-24 11:31:10 -04:00
Christie Rice
b8401beaae
REVEM-374 Remove course prices from dashboard ( #20856 )
2019-06-24 08:56:05 -04:00
Christie Rice
4aba1b21a1
REVEM-372 Remove add_audit_deadline and deprecated_metadata waffle flags ( #20769 )
2019-06-11 09:05:06 -04:00
Stu Young
d5ee03e81d
INCR-258 Run python-modernize on lms/djangoapps/experiments ( #20560 )
...
* run python modernize
* run isort
* Fix quality
2019-05-21 11:48:28 -04:00
Christie Rice
036375322a
REVEM-350 Consolidate code for user-metadata and dashboard-metadata
2019-05-14 09:38:03 -04:00
Christie Rice
6db32a36bc
REVEM-239 Add audit access expiration deadline to user-metadata
2019-05-08 08:53:21 -04:00
Nimisha Asthagiri
dfa3728edf
Move django_comment_common from common to openedx
2019-05-03 12:10:18 -04:00
Nimisha Asthagiri
ef0e06cc0a
Revert "Discussions consolidation"
2019-05-02 14:59:56 -04:00
Nimisha Asthagiri
df962a31b7
Move django_comment_common to openedx/core/djangoapps/discussion_common
2019-05-01 19:15:02 -04:00
Christie Rice
32edefb425
REVEM-306 Remove experiments.add_program_price flag ( #20259 )
2019-04-17 15:26:08 -04:00
Christie Rice
9c1141c99d
REVEM-305 Change default value of experiment flags to true (enabled) ( #20242 )
2019-04-17 12:22:53 -04:00
albemarle
05a682f55e
use new, shorter names for feature toggle annotations ( #20202 )
2019-04-12 15:46:09 -04:00
Christie Rice
22fcc12d24
REVEM-262 Add more logging of ids
2019-04-01 10:18:31 -04:00
Christie Rice
052683f926
REVEM-203 Add course and program info to dashboard metadata
2019-03-30 08:30:07 -04:00
Christie Rice
b28515b276
REVEM-246 Add program status and one-click eligibility
2019-03-26 10:51:58 -04:00
Emma Green
8445881c91
dont error if somethings wrong, just warn
2019-03-18 13:56:18 -04:00
Christie Rice
94b680082a
REVEM-246 Use existing method to get basket page URL
2019-03-14 15:12:14 -04:00
Christie Rice
b2432ac5aa
REVEM-207 Add program price and purchase url to user metadata
2019-03-14 10:15:48 -04:00
Christie Rice
7375eb4474
REVEM-219 Handle invalid course run key
2019-03-07 13:48:48 -05:00
Calen Pennington
6f61fd74f5
Add an implementation of the stable bucketing function
2019-03-06 11:44:29 -05:00
Cali
81538fe25b
Merge pull request #19851 from edx/cstenson/dashboard_metadata
...
Add price information to enrollments and create dashboard_metadata
2019-03-06 11:04:18 -05:00
Christie Rice
df1ac42d0a
REVEM-219 Get program info even if user isn't yet enrolled in the course
2019-03-05 20:53:24 -05:00
Cali Stenson
7e6147f714
Add price information to enrollments and create dashboard_metadata
...
for experiments.
REVEM-174
2019-03-05 16:55:04 -05:00
Christie Rice
67277e72d9
REVEM-198 Add waffle flag around get programs call
2019-02-28 11:10:09 -05:00
Christie Rice
7cc0a8bf2d
REVEM-197 Add mock program info to user metadata
2019-02-22 14:50:59 -05:00
Matthew Piatetsky
6e81c84d8b
fix unicode strings in lms/ part 1
2019-02-05 15:15:02 -05:00
Ned Batchelder
48ac13e73e
Merge pull request #19591 from cclauss/print_function
...
Use print() function in both Python 2 and Python 3
2019-01-16 17:59:11 -05:00
Ned Batchelder
1e5c753807
Fix quality violations
2019-01-16 08:44:56 -05:00