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
Robert Raposa
10ab63995a
remove temporary USE_DEFAULT_TRUE_NAMESPACE ( #24404 )
...
Once USE_DEFAULT_TRUE_NAMESPACE is fully rolled out
and proves to return True where we wish, we can
remove this temporary roll-out flag introduced in:
https://github.com/edx/edx-platform/pull/24322
ARCHBOM-1316
2020-07-07 15:07:59 -04:00
Aura Milena Alba
6026a98e11
Remove pattern library in course_home.py ( #24157 )
...
[BD-10] [DEPR-83][DEPR-81] Remove pattern library in course_home.py
2020-07-07 11:23:22 -04:00
Robert Raposa
7f22041fc1
ARCHBOM-1316: always enable some course_experience flags ( #24322 )
...
In order to remove the deprecated flag_undefined_default=True
argument, this commit updates the following flags to always be
enabled using a new temporary class:
- course_experience.course_outline_page
- course_experience.unified_course_tab
Adds a temporary setting `USE_DEFAULT_TRUE_NAMESPACE`,
to enable a monitored rollout of this change.
TNL-7061 is the ticket where these flags will actually be
removed. This requires more careful work including removing
all dead code, and potentially refactoring tests that were
testing shared functionality, but only when the flag was
False.
ARCHBOM-1316
2020-07-02 12:00:23 -04:00
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
Adam Butterworth
c37f73c40e
Merge pull request #24158 from eduNEXT/lmm/course_sock_standalone
...
[BD-10] Remove unused course sock URL.
2020-06-18 09:16:26 -04:00
Adam Butterworth
4ebe6a8458
Merge pull request #24111 from eduNEXT/ama/DEPR-79
...
[BD-10] [DEPR-79] Remove pattern library of mobile/course-dates-fragment.html
2020-06-18 09:15:43 -04:00
Adam Butterworth
98dd03a638
Merge pull request #24077 from eduNEXT/ama/DEPR-78/DEPR-82
...
[BD-10] [DEPR-78][DEPR-82] Remove pattern library of latest-update-fragment.html and welcome-message-fragment.html
2020-06-18 09:15:20 -04:00
Adam Butterworth
0768acbf40
Remove pattern library of course_experience/course-outline-fragment.html ( #24044 )
2020-06-18 09:14:38 -04:00
morenol
41543edd93
Remove course_experience.use_bootstrap waffle flag ( #24028 )
...
[BD-10] [DEPR-83]
2020-06-17 13:26:51 -04:00
Nick
badf3281b3
Merge pull request #24122 from edx/ndalfonso/AA-133-mfe-dates-banner
...
AA-133 mfe dates banner
2020-06-15 15:08:02 -04:00
Nicholas D'Alfonso
9a83d0781b
AA-133 mfe dates banner
...
- add serializer mixin to expose date banner info
- add endpoint to reset deadlines for a sepcific course
2020-06-15 14:22:23 -04:00
Calen Pennington
86e2677f26
Use a standard function to find out if a course has ended
2020-06-11 11:40:56 -04:00
Calen Pennington
1cf46e76d0
Don't compare None to a date when a course doesn't have an end date
2020-06-11 11:40:56 -04:00
Calen Pennington
333c9ccddf
Simplify how the course-outline template context is constructed to bring it into parity with other template contexts
2020-06-11 11:40:56 -04:00
Calen Pennington
2b2a6cca23
Never show the dates banner on archived courses
2020-06-11 11:13:55 -04:00
Calen Pennington
c6695e0b6f
Only actually reset user schedule if they have missed deadlines and not missed any gated content deadlines
2020-06-10 15:18:53 -04:00
Calen Pennington
15df17034a
Only prompt the user to upgrade if they have missed the deadline of gated graded content
2020-06-10 15:18:53 -04:00
Luis Moreno
070eb3807d
Remove unused URL.
2020-06-10 13:59:21 -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
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
Aura M. Alba
941a93f531
Remove pattern library of course_experience/course-outline-fragment.html
2020-06-01 18:45:45 -05: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
Aura M. Alba
2a79db8dce
Remove pattern library of mobile/course-dates-fragment.html
2020-06-01 12:02:42 -05:00
Aura M. Alba
0ad20bd5b9
Remove pattern library of course_experience/latest-update-fragment.html
2020-05-29 11:52:44 -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
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
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
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
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