Carla Duarte
d9b0f7483c
Merge pull request #24130 from edx/ciduarte/AA-173
...
AA-173: Assignment Type on Dates Page
2020-06-08 11:11:06 -04:00
Carla Duarte
01b693a5c3
AA-173: Assignment Type on Dates Page
...
Appending the assignment type to each graded
assignment on the Dates Tab. Exposed the 'format'
field, which corresponds to the graded assignment type.
2020-06-08 10:27:50 -04:00
Dillon Dumesnil
304b000b1b
Merge pull request #24134 from edx/ddumesnil/dates-widget-enhancement-AA-103
...
AA-103: Dates widget enhancements
2020-06-08 06:21:44 -07:00
Aura Milena Alba
b7a838c34b
Remove pattern library of course_experience/course-updates-fragment.html. ( #24062 )
2020-06-05 09:54:03 -04:00
Dillon Dumesnil
f32c51383b
AA-103: Dates widget enhancements
...
Reducing dates widget to one assignment. Adding link to dates
page in the dates widget
2020-06-04 12:48:00 -06:00
Calen Pennington
75a39451b1
Only mark a section as containing gated content if the content is *only* available to full-access learners
2020-06-03 15:08:49 -04:00
Calen Pennington
d3b11ec25b
Refactor dates_banner_should_display to only return a single value, and to have a clearer set of conditions
2020-06-03 10:14:11 -04:00
Calen Pennington
f9cfbd8593
Revert "Merge pull request #24131 from edx/revert-24085-use-content-type-gating-in-dates-banner"
...
This reverts commit c3ec8b837a , reversing
changes made to 4252b14927 .
2020-06-03 09:57:22 -04:00
Calen Pennington
561cdab7dd
Revert "Use content type gating in dates banner"
2020-06-03 09:52:24 -04:00
Calen Pennington
4252b14927
Merge pull request #24085 from cpennington/use-content-type-gating-in-dates-banner
...
Use content type gating in dates banner
2020-06-03 09:50:09 -04:00
Calen Pennington
7c4585ebfe
Only prompt to upgrade in order to completed graded content (or shift dates) when content_type_gating is enabled
2020-06-02 14:23:28 -04:00
Jason Myatt
4d01a736d2
Check for none on subsection due date
2020-06-02 11:29:09 -04:00
Michael Terry
03860c7359
AA-76: Add is_allowed property to DatesSummary
...
This takes over some of the logic in the is_enabled property which
previously checked two things: (1) is the date time-sensitive and
(2) is the date even applicable to this course.
Now, is_enabled is only responsible for time-sensitive checks and
the new is_allowed property checks applicability.
In this way, we can more cleanly separate whether a date block
should show up on the dates sidebar (is_enabled and is_allowed)
and the dates tab (is_allowed).
2020-06-02 09:26:24 -04:00
Calen Pennington
6f568d097c
Set missed_deadlines in the course outlines template to simplify the logic in the dates_banner.html
2020-06-01 15:48:40 -04:00
Hasnain Naveed
1712ad7a11
Merge pull request #24033 from edx/hasnain-naveed/ENT-2818
...
ENT-2818 | Added enterprise slug login's url on edx login page.
2020-05-28 21:07:48 +05: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
julianajlk
902f8646ea
Update FPD holdback function call order ( #24074 )
...
REV-1153
2020-05-28 11:13:11 -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
Calen Pennington
34c03bf14a
Fix some accidental tuples in the variables passed to the dates_banner
2020-05-27 11:24:10 -04: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
julianajlk
565018bd2e
Update FPD holdback to 10% for longitudinal analysis ( #24037 )
...
REV-1153
2020-05-26 13:16:40 -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
Michael Terry
3f2b2da22b
Don't assume due dates on sections
...
The content highlights code assumed due dates existed on all
sections. But we recently broke that assumption. So now we
recalculate the spread of sections across the expected duration
ourselves rather than rely on due dates.
2020-05-14 09:26:49 -04:00
Emma Green
4a9f88b3c1
not sure why we are getting errors here, but they shouldn't stop people checking out
2020-05-13 17:59:01 -04:00
Nick
821eb84486
Merge pull request #23963 from edx/ndalfonso/AA-157-dates-page-missed-deadlines
...
AA-157 dates page missed deadlines
2020-05-13 10:24:10 -04:00
Nicholas D'Alfonso
637b639e78
AA-157 dates page missed deadlines
...
- add banner to dates page when deadlines are missed
2020-05-12 13:02:26 -04:00
Farhanah Sheets
d37b333d53
Revert "Add financial assistance link in course tools ( #23921 )"
...
This reverts commit cbb4cfb988 .
2020-05-10 16:43:39 -04:00
Carla Duarte
6fd6605eed
Remove Shorten Welcome Message flag
...
Removed use of the 'shorten_welcome_message' waffle flag
AA-108
2020-05-08 15:25:59 -04:00
Diane Kaplan
cbb4cfb988
Add financial assistance link in course tools ( #23921 )
...
Add financial assistance link in course tools for eligible courses, so it'll be more visible to learners
2020-05-08 10:35:10 -04:00
Nick
d24e4fe5a8
Merge pull request #23876 from edx/revert-23871-ndalfonso/AA-138-banner-debug
...
Revert "add logs for debugging"
2020-05-07 15:31:00 -04:00
Dillon Dumesnil
10759a9046
Merge pull request #23819 from edx/ddumesnil/more-date-pills-aa-99
...
AA-99: Adding in new date pills for the dates tab
2020-05-06 06:12:50 -07:00
Simon Chen
262574b815
Move all the upgrade display logic into courseware.utils
2020-05-05 17:54:22 -04:00
Nicholas D'Alfonso
4a26d47a06
Check if subsection is graded on course outline page
2020-05-04 12:12:59 -04:00
Dillon Dumesnil
858154a7d6
AA-99: Adding in new date pills for the dates tab
2020-05-04 07:24:01 -07:00
Nick
ede713002d
Revert "add logs for debugging"
2020-05-01 17:32:17 -04:00
Simon Chen
34d4d162f7
MST-108 Add masquerading fix to the upgrade message display
2020-05-01 16:54:43 -04:00
Nicholas D'Alfonso
21358b764e
add logs for debugging
2020-05-01 15:19:26 -04:00
Aarif
98af9ce418
remove useless-supression warnings
2020-05-01 19:42:15 +05:00
Calen Pennington
ff88f3d423
Only show the resets date banner if you have missed the due date on a graded subsection
...
[AA-138]
2020-04-30 11:50:45 -04:00
Michael Terry
0f81765ac7
Show graded icons in more places
...
In the course outline, if a subsection has any graded content,
show a graded icon (the pencil icon).
Also, show the graded icon for LTI xmodule units (xblocks is a
different repo, but will get same treatment).
AA-75
2020-04-24 14:16:32 -04:00
HammadAhmadWaqas
11893ad69e
refactored imports from edx-django-utils
2020-04-20 12:11:28 +05:00
David Joy
7a400e2917
Factoring redirects out of check_course_access so it can be used with courseware_api ( #23651 )
...
TNL-7053
The courseware_api view will use check_course_access - which now returns AccessResponse objects, and all other uses of check_course_access will now use check_course_access_with_redirect, which is a drop-in replacement for the original check_course_access implementation.
We also added a few new helpers to access_utils:
- check_public_access is a replacement for allow_public_access, which now returns AccessResponse objects
- check_enrollment checks if the learner is enrolled, and uses check_public_access to account for COURSE_ENABLE_UNENROLLED_ACCESS_FLAG
- check_survey checks whether there is a required survey that the learner must complete prior to accessing the course.
There are two new kinds of AccessError subclasses:
- SurveyRequiredAccessError
- EnrollmentRequiredAccessError
2020-04-15 10:29:24 -04:00
Nick
ca3012c07b
Merge pull request #23707 from edx/ndalfonso/AA-83-special-exam-icon
...
AA-83 special exam icon
2020-04-14 11:56:35 -04:00
Nicholas D'Alfonso
9e41268322
AA-83 special exam icon
...
- fix template rendering so that pencil icon is displayed for
a special exam and also ensure it is not rendered twice
2020-04-14 11:08:44 -04:00
HammadAhmadWaqas
b4ebe11a6b
removed get_cache_key and using it from edx-django-utils.
2020-04-13 12:51:39 +05:00
Nicholas D'Alfonso
396050703e
AA-97 mobile reset message
...
- remove code for displaying banner in mobile dates fragment
- replace button with link to web app in reset dates banner on
the mobile problem template
- adjust spacing of reset dates button in banner when button wraps
on smaller screen
2020-04-09 12:55:26 -04:00
Aarif
6ee2089077
fixed warnings for wrong-import-order
2020-04-08 23:43:06 +05:00
Michael Terry
7a71356cd2
Cut off long course welcome messages
...
If a course welcome message is very long, cut it off with an
ellipsis and show a Show More button to reveal the full thing.
AA-46
2020-04-07 10:49:40 -04:00
Zia Fazal
3a73def603
Merge pull request #23622 from edx/ziafazal/ENT-2710
...
ENT-2710: Improved enterprise target regex
2020-04-06 18:36:18 +05:00