Commit Graph

12296 Commits

Author SHA1 Message Date
Calen Pennington
f18fc1e7aa Expose will_recheck_access further up the LMS xblock stack 2019-04-18 14:58:15 -04:00
Michael Youngstrom
7ddb806135 Merge pull request #20223 from edx/youngstrom/deprecate-lettuce
Remove lettuce infrastructure
2019-04-18 11:54:57 -04:00
Michael Youngstrom
bfe10720c6 Remove lettuce infrastructure 2019-04-18 09:58:21 -04:00
Zainab Amir
d39b150d3b Fix Flaky test in TestSendVerificationExpiryEmail
datetime.now(UTC) gives unexpected results. Using "now()" function
from django.utils.timezone tends to be a much more reliable way to
get a time zone aware timestamp for the current time.

PROD-190
2019-04-18 10:55:48 +05:00
Christie Rice
32edefb425 REVEM-306 Remove experiments.add_program_price flag (#20259) 2019-04-17 15:26:08 -04:00
Matthew Piatetsky
44bad70b2c Merge pull request #20238 from edx/REVMI-149
[REVMI-149] remove experiment code
2019-04-17 13:57:01 -04:00
Ned Batchelder
7d964b12db Context managers need to clean up properly
An @contextmanager will raise an exception from its yield statement if
an exception happens in the with-block that uses it.  If the context
manager needs to do clean up, it should do it even if an exception is
raised, so it needs to be done in a finally clause.
2019-04-17 13:14:48 -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
Michael Roytman
93ce716327 Merge pull request #20201 from edx/mroytman/EDUCATOR-4159-masters-only-logged-in
remove enroll CTA on course homepage for logged out users visiting a …
2019-04-17 11:12:26 -04:00
Matthew Piatetsky
5ef9cf3d49 remove experiment code 2019-04-17 09:30:47 -04:00
Jeremy Bowman
cd2e58e093 DEPR-16 Stop using deprecated OpaqueKey methods (#20248) 2019-04-16 17:59:16 -04:00
Michael Roytman
f7d0753210 remove enroll CTA on course homepage for logged out users visiting a Master's only course 2019-04-16 16:05:56 -04:00
Calen Pennington
35a20d0e48 Write up Bridgekeeper proposal for permissions 2019-04-16 14:10:43 -04:00
Richard I Reilly
f468cf2208 Merge pull request #20135 from edx/rir/addProgramEnrollments
Add ProgramEnrollment app and model for masters
2019-04-16 10:28:54 -04:00
Matthew Piatetsky
62b9bb89c8 Change content_type_gating enabled_for_enrollment to return false if a course has no verified mode or a user is not enrolled in the audit mode 2019-04-14 16:32:13 -04:00
Rick Reilly
2bf3e6621e Add ProgramEnrollment app and model for masters 2019-04-12 15:50:30 -04:00
albemarle
05a682f55e use new, shorter names for feature toggle annotations (#20202) 2019-04-12 15:46:09 -04:00
Calen Pennington
484d916627 Merge pull request #20218 from cpennington/fbe-improve-support-form
Show complete reason on both content type gating and course duration …
2019-04-12 11:41:33 -04:00
Nimisha Asthagiri
aaa7b20654 Merge pull request #20126 from edx/depr/mobile-video-outline-api
DEPR-4: Remove Mobile Video Outlines API
2019-04-12 08:37:17 -04:00
Calen Pennington
446db3ac53 Show complete reason on both content type gating and course duration limits in support form 2019-04-11 12:33:58 -04:00
noraiz-anwar
eeb89c457d pass grade feeze info to xblocks 2019-04-10 19:21:26 +05:00
Matthew Piatetsky
51b991c128 fix bug and add temporary waffle flag 2019-04-09 15:38:55 -04:00
Matthew Piatetsky
064f041276 Revert "Revert both" 2019-04-09 11:04:10 -04:00
David Ormsbee
c8532c16dd Merge pull request #20084 from jolyonb/examfix
Hiding overall grades in progress page for a sequential when problem scores are hidden
2019-04-09 09:37:11 -04:00
Matthew Piatetsky
be9eb46364 Revert "handle missing fields on access denied blocks"
This reverts commit 418540b713.
2019-04-08 12:13:30 -04:00
Zainab Amir
2471c12cc4 Get current site by ID
Getting current site by NAME was failing on stage.

LEARNER-5408
2019-04-08 12:54:34 +05:00
Alan Zarembok
f9a5d93ce4 PROD-101: Do not rewrite URL for videos that do not have a video id. 2019-04-05 15:29:17 -04:00
Dave St.Germain
5b8c5d4500 Master's certs will automatically be generated 2019-04-05 12:02:38 -04:00
Dave St.Germain
66744598df Master's track will result in a verified cert 2019-04-05 12:02:38 -04:00
Dave St.Germain
d379ffc383 Added masters to cert modes 2019-04-05 12:02:38 -04:00
Matthew Piatetsky
e14c5d69ec Merge pull request #20091 from edx/check_for_denial_reason
handle missing fields on access denied blocks
2019-04-03 14:13:03 -04:00
Matthew Piatetsky
418540b713 handle missing fields on access denied blocks 2019-04-03 12:32:35 -04:00
Matthew Piatetsky
7dacd54d86 Merge pull request #20132 from edx/REVMI-92
Clarify partially enabled state in the FBE support tool
2019-04-03 09:50:33 -04:00
Nimisha Asthagiri
3d8b8a05ad DEPR-4: Remove Mobile Video Outlines API 2019-04-02 17:28:26 -04:00
Matthew Piatetsky
d9096e432e Clarify partially enabled state in the FBE support tool 2019-04-02 15:39:24 -04:00
stv
06602b1922 Cleanup datatable code in sysadmin user tab
There is no significant impact to this change;
it's just some general cleanup that I made while cleaning up this file..

We don't need to store these as instance variables,
since we never use them as such.
And since we've already factored out the remaining code from this
initialization method, we can drop it entirely.
2019-04-02 10:21:07 -07:00
David Ormsbee
e712be7892 Merge pull request #20094 from stvstnfrd/sysadmin/user-courses
Remove course listing from user tab of sysadmin
2019-04-01 17:45:26 -04:00
Christie Rice
22fcc12d24 REVEM-262 Add more logging of ids 2019-04-01 10:18:31 -04:00
Christie Rice
5462474aa6 Merge pull request #20072 from edx/crice/REVEM-203_dashboard
REVEM-203 Add course and program info to dashboard metadata
2019-04-01 09:16:53 -04:00
Christie Rice
052683f926 REVEM-203 Add course and program info to dashboard metadata 2019-03-30 08:30:07 -04:00
stv
21f79de92f Cache courses list on sysadmin courses page
We were performing this lookup multiple times in the POST handler;
this should increase speed and memory use, which has been problematic
with this feature.
2019-03-29 14:57:04 -07:00
Jolyon Bloomfield
963ec44826 Hiding overall grades for a sequential when problem scores are hidden 2019-03-29 11:48:13 -07:00
stv
f7b7963193 Remove unused version from footer
I'm not seeing this value ever initialized in `settings`,
or referenced anywhere else in platform, for that matter..
2019-03-29 10:38:18 -07:00
stv
f165f52d88 Remove course listing from user tab of sysadmin
I'm admittedly unclear why we decided to include a listing of _courses_
in the _users_ tab, when this listing is already available via the
_courses_ tab, which is where you'd expect to find it.

Particularly problematic here is the impact this has on page loads..
For instances with a large number of courses [1], pulling and rendering
adds a nontrivial amount of overhead and leads to longer load times.

In our case, this often leads to a page timeout. Since this is the main
landing page for the sysadmin dashboard, it presents the appearance that
the entire dashboard has crashed. In not being able to access the main
page, you can't access any of the other tabs via navigation, unless you
manually enter the URL :\

[1] ~750 courses, in one example
2019-03-29 10:06:19 -07:00
Matthew Piatetsky
4966b30bb5 Merge pull request #20071 from edx/revert-20064-revert-20003-mobile-access-denied
continue removing blocks from course outline
2019-03-29 11:20:59 -04:00
Matthew Piatetsky
c77ba984c9 fix traversal bug and keep current behavior as default 2019-03-28 15:50:05 -04:00
Matthew Piatetsky
1f6cd7aa5a Revert "Revert "REVMI-62 Return gated blocks in the course blocks API response with an authorization denial reason"" 2019-03-28 14:44:05 -04:00
Cory Lee
ac4845d052 DEPR-14 Remove AWS.py 2019-03-28 10:48:34 -04:00
Matthew Piatetsky
8eae694566 Revert "REVMI-62 Return gated blocks in the course blocks API response with an authorization denial reason" 2019-03-27 16:30:37 -04:00
Matthew Piatetsky
e6b55ede3d Merge pull request #20003 from edx/mobile-access-denied
REVMI-62 Return gated blocks in the course blocks API response with an authorization denial reason
2019-03-26 17:33:57 -04:00