Commit Graph

22621 Commits

Author SHA1 Message Date
Calen Pennington
2d306781a7 On mobile dates banner, distinguish between the missed-deadlines and no-missed-deadlines case on the dates page 2020-05-28 15:17:39 -04:00
Calen Pennington
fe417cd6c1 Use the separate defs for outline-page behavior 2020-05-28 15:17:39 -04:00
Calen Pennington
4d42d3eb79 Pull specific dates_banner content out into separate defs to separate the logic from the display 2020-05-28 15:17:39 -04:00
Calen Pennington
1c9b18f8ee Remove redundant conditions in the third clause of dates_banner.html 2020-05-28 15:17:39 -04:00
Calen Pennington
28aedc7cde Remove redundant conditions in the second clause of dates_banner.html 2020-05-28 15:17:38 -04:00
Calen Pennington
87dab3d996 Remove redundant conditions in the first clause of dates_banner.html 2020-05-28 15:17:38 -04:00
Calen Pennington
39e72d3886 Separate out various boolean values in the dates_banner.html in order to make it easier to reference them 2020-05-28 15:17:38 -04:00
Calen Pennington
9a60465874 Split separate dates-banner conditions into multiple copies of the same code 2020-05-28 15:17:38 -04:00
Calen Pennington
0c7947c8a2 Pass whether content type gating is enabled for the current user into the dates_banner template 2020-05-28 11:34:05 -04:00
hasnain.naveed
c51dc9db20 ENT-2818 | Added enterprise slug login's url on edx login page. 2020-05-28 19:58:46 +05:00
Nimisha Asthagiri
5b3f5ee85a commerce app: remove code related to shoppingcart (#23974)
Part of DEPR-43 - https://openedx.atlassian.net/browse/DEPR-43

Co-authored-by: Jeremy Bowman <jbowman@edx.org>
2020-05-28 09:46:12 -04:00
Jeremy Bowman
49fd99acfb Remove obsolete shoppingcart refund page - DEPR-43 (#24063)
As part of the deprecated shoppingcart code removal, remove the old refund support page (which was only ever used for shoppingcart purchases, not ecommerce transactions).

I checked in New Relic for good measure, and this view hasn't been accessed in the past week.
2020-05-27 15:26:08 -04:00
Calen Pennington
f3c1747051 Check for the mobile app specifically in the dates banner conditionals 2020-05-27 11:19:12 -04:00
Zainab Amir
bfd95c7fbb Remove transcript credential saving in VAL (#24066) 2020-05-27 18:38:01 +05:00
Calen Pennington
f2d44abb61 Merge pull request #24060 from cpennington/dont-extend-course-duration
Use a fixed time for course duration limits, so that schedule extensi…
2020-05-26 17:10:02 -04:00
Calen Pennington
fc21a337aa Use a fixed time for course duration limits, so that schedule extensions don't extend FBE duration limits 2020-05-26 16:29:28 -04:00
Simon Chen
e7bfb7aed0 Add the ADR for the accepted decision to support the enrollment of a single user to the same course from multiple programs 2020-05-26 14:57:15 -04:00
Dillon Dumesnil
0a1745ab60 Merge pull request #24054 from edx/ddumesnil/general-course-home-api-AA-150
AA-150: Adding an end point for Course Metadata in the Course Home MFE
2020-05-26 11:22:55 -07:00
Dillon Dumesnil
8a74bbd5fb AA-150: Adding a general end point for the Course Home MFE
This endpoint is intended to contain generic information for
every page in the Course Home MFE. It contains course information
for the header (Course title, org, number, key) as well as staff
status for the user and the Course tabs to display.
2020-05-26 10:59:32 -07:00
Diana Huang
1c1c2e1c75 Remove shoppingcart references from templates. 2020-05-26 13:09:32 -04:00
Ali Akbar
27b0e8d845 Merge pull request #23983 from edx/aakbar/PROD-1362
fix admin unable to delete course team
2020-05-22 13:08:03 +05:00
Ali-D-Akbar
32d4b2dae6 fix admin unable to delete course team
modify delete team unit test for admin

test improvements

test improvements

test improvements

test improvements

add team unauthorized access test

add team unauthorized and forbidden access test
2020-05-22 12:34:47 +05:00
Nimisha Asthagiri
b8655ee32c Merge pull request #23697 from mitodl/pdpinch/sysadmin-dashboard-adr
Sysadmin Dashboard ADR
2020-05-21 17:53:15 -04:00
Nick
d1ac7d4b16 Merge pull request #24015 from edx/ndalfonso/AA-151-dates-banner-on-course-outline-and-refactor
AA-151 dates banner on course outline and refactor
2020-05-21 13:57:25 -04:00
Nicholas D'Alfonso
b454f9be1d AA-151 dates banner on course outline and refactor
- use new dates banner template on course outline page
- remove old banner from main.html
- let dates tab use new dates banner template
- remove dates banner completely from the courseware problem view
  on the web app
- use new banner on the courseware problem view on the mobile app
- update banner util to use get_course_blocks
2020-05-21 13:23:05 -04:00
Carla Duarte
f8963fe11e Merge pull request #24016 from edx/ciduarte/AA-152
AA-152: Course Start Date for PLS
2020-05-21 08:56:33 -04:00
adeelehsan
cc3d3aa4ab Merge pull request #24023 from edx/aehsan/PROD-1610/fixed_xss_lint_issues
Fixed lint issues
2020-05-21 17:45:43 +05:00
adeelehsan
98590dbddf Fixed xss lint issues
PROD-1609
PROD-1610
PROD-1614
PROD-1615
PROD-1616
2020-05-21 17:22:32 +05:00
Peter Pinch
d952cb2c8b ADR for Sysadmin Dashboard status quo 2020-05-21 07:48:01 -04:00
Awais Jibran
2d2015f463 Merge pull request #23981 from edx/aj/details/code-refactor
Code Refactor
2020-05-21 13:18:50 +05:00
Waheed Ahmed
c7f4e16470 Fix XSS lint issues for course_cta_text
PROD-1602
2020-05-21 12:51:07 +05:00
jinder1s
6b8ebd5a8d Code Refactor 2020-05-21 10:19:14 +05:00
Carla Duarte
8b376e271c AA-152: Course Start Date for PLS
Updated the displayed start date for a learner in a self paced course
that appears in the Learner Dashboard and the Dates tab.
Used the max of the course start date and the learner's enrollment date.
2020-05-20 13:18:31 -04:00
Ben Warzeski
ee6eac546b Test non-ascii utf-8 character team member name upload. (#24009)
* remove old_format reference in teams config

* validate uploaded character values for team csv upload

Co-authored-by: Ben Warzeski <benwarzeski@edX-C02CD0HCLVDM.cable.rcn.com>
2020-05-20 12:13:27 -04:00
Jeff LaJoie
efa7b3b816 AA-164: Performance fixes for course home 2020-05-20 10:09:41 -04:00
Ben Warzeski
1703a88d46 remove old_format from team config tests (#24010)
* remove old_format from team config tests

* remove old format from teams_config

Co-authored-by: Ben Warzeski <benwarzeski@edX-C02CD0HCLVDM.cable.rcn.com>
2020-05-20 08:56:46 -04:00
Guruprasad Lakshmi Narayanan
a7bd0050a6 Log the username to help with investigating the edge cases 2020-05-20 13:07:57 +05:30
Guruprasad Lakshmi Narayanan
c739151a27 Select children again when current children don't match the selections
This prevents errors when the current children do not match the
selected children any more.
2020-05-20 13:07:57 +05:30
Guruprasad Lakshmi Narayanan
5a2b607ea6 Fix the order randomization behaviour of Randomized Content Block
The Randomized Content Block XBlock only randomizes the selection of
the children blocks and has unpredictable randomization of
the order of the selected child blocks due to the usage of sets, which
are unordered, for storing the selected blocks. This becomes apparent
when all the available child blocks in a library are chosen for a
Randomized Content Block, to randomize just the order of the child
blocks and not just the selection of the blocks. The order of the
selected blocks ends up being similar for multiple learners.

This change modifies the XBlock to store the selected child blocks in
a list, instead of a set, after randomly shuffling them.
2020-05-20 13:07:57 +05:30
stvn
17d1391f8f Add HTTP GET endpoint for masquerade
to inquire about active and available options.

This is to be used, at least initially, by the new Courseware
Experience, the Learning MFE.
2020-05-19 14:59:07 -07:00
stvn
4125ae0e23 Merge PR #24012 add/masquerade
* Commits:
  Add is_staff check to masquerade POST
  Convert masquerade view to class-based
2020-05-19 14:44:15 -07:00
stvn
69417396aa Add is_staff check to masquerade POST 2020-05-19 13:55:37 -07:00
stvn
5bf38f5416 Convert masquerade view to class-based 2020-05-19 13:55:37 -07:00
Ned Batchelder
9c721d78c5 Merge pull request #24026 from open-craft/kshitij/cri-174/fix-lti
[CRI-174] [BB-2402] Fix LTI issues due to duplicated Content-Length header
2020-05-19 16:21:02 -04:00
Dillon Dumesnil
97af77e785 Merge pull request #23902 from edx/ddumesnil/dates-external-api-AA-115
AA-115: Adding external API for dates tab
2020-05-19 13:01:50 -07:00
Dillon Dumesnil
7cd821b52e AA-115: Adding external API for dates tab
This adds in the API for the Dates Tab for use by the
Course Home MFE.
2020-05-19 12:35:43 -07:00
Kshitij Sobti
746eeb1383 Fix LTI issues due to duplicated Content-Length header 2020-05-19 23:16:42 +05:30
Diane Kaplan
e1c6801d85 Hide financial assistance link for two cases 2020-05-19 12:45:44 -04:00
atesker
cfff2a86aa EDUCATOR-5053 2020-05-19 12:07:05 -04:00
Jeremy Bowman
5077479959 Remove shoppingcart code from courseware index page (#23977)
Remove code from the courseware index page that was only relevant if the shopping cart was enabled.
2020-05-19 11:11:34 -04:00