Commit Graph

54599 Commits

Author SHA1 Message Date
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
David Ormsbee
998d38b8b1 Merge pull request #23344 from edx/ormsbee/learning_seq_api
Learning Sequence / Course Outline API
2020-06-03 09:45:39 -04:00
Ahtisham Shahid
b69163fae7 Merge pull request #24079 from edx/ahtisham/PROD-1412-2
Added v2 for confirm email backward compatibility
2020-06-03 17:13:49 +05:00
AsadAzam
8e5d9b5e55 Merge pull request #23998 from edx/asad/prod-1336
fixed visibility state for self paced
2020-06-03 15:17:26 +05:00
asadazam93
86d7725f26 fixed visibility state for self paced 2020-06-03 14:06:54 +05:00
Jansen Kantor
13956a0d93 bump ora version (#24125) 2020-06-02 18:56:56 -04:00
David Ormsbee
5d1b24988e Create learning_sequences app, Course Outline API.
Introduces the learning_sequences app, intended to provide metadata for
sequences and course outlines. The short term goal is to provide faster
source of this information for the new Courseware microfrontend
(frontend-app-learning). The medium term goal is to provide an in-proc
API that is useful to other parts of the platform that need fast access
to course outline information customized for a user. The long term
goals are outlined in the README.rst.

This first iteration of the API only lays out the basic structure for
how we'd arrange the pieces, with enough of an implementation to feel
"real" (simple schedules, staff_only content hiding). It's not ready to
be turned on, and is not currently plugged into the publish-flow. The
only way to get data into this new API is via the update_course_outline
management command. The REST endpoint is also currently limited to
global staff only, though it's possible to get the outline for a student
by using the ?username= query parameter.

TNL-7122
2020-06-02 15:31:21 -04:00
Nathan Sprenkle
e0ddb1e0e2 Team Assignments Dashboard (#24019)
* Add team assignments to frontend

* Limit team assignments to the given teamset

* Remove deprecated django render_to_response

* Move team assignments panel behind feature flag
2020-06-02 15:05:47 -04:00
Calen Pennington
287cb14e37 Allow the chromeless view to render the reset banner when not in mobile 2020-06-02 14:31:42 -04:00
Calen Pennington
6029d53a4f Don't upsell content to mobile app users in the dates_banner 2020-06-02 14:23:28 -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
atesker
de0e8524a2 EDUCATOR 5065 - updates
EDUCATOR 5065 - CR comments 3
2020-06-02 14:03:01 -04:00
Jason Myatt
7adb6dd9ac Merge pull request #24120 from edx/jmyatt/check-for-empty-due-date
Check for none on subsection due date
2020-06-02 13:28:24 -04:00
Jason Myatt
4d01a736d2 Check for none on subsection due date 2020-06-02 11:29:09 -04:00
Michael Terry
61b20d3f8e Merge pull request #24103 from edx/mikix/summary-dates-is-allowed
AA-76: Add is_allowed property to DatesSummary
2020-06-02 10:01:47 -04:00
Kyle McCormick
7e3470db42 Expose was_ever_proctored_exam dict entry on xblock_info (#24040)
In a follow-up PR, this entry will be used to validate
on the client-side that a block that *is* or *ever was*
a proctored/practice/onboarding exam cannot be configured
as a different proctored/practice/onboarding exam, as that
has led to problematic exam configuration states between
edX and proctoring providers.

MST-258
2020-06-02 09:44:12 -04:00
Carla Duarte
f574ed3713 Merge pull request #24071 from edx/ciduarte/AA-120
AA-120: Course Tools API
2020-06-02 09:28:34 -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
Dillon Dumesnil
39b6215921 Merge pull request #24119 from edx/ddumesnil/fix-date-ordering-AA-158
AA-158: Fix date ordering for multiple events on the same date
2020-06-02 06:21:42 -07:00
Emma Green
104c24bd39 Merge pull request #24104 from edx/emma-green/REV-1197/add-temporary-management-command-to-get-FBE-info
get-FBE-info-from-temp-management-command
2020-06-02 09:03:10 -04:00
Dillon Dumesnil
03bc4bc1be AA-158: Fix date ordering for multiple events on the same date
This change will prefer putting assignments before other course
events (such as end date or verification deadline date) in the
case where they share the same date.
2020-06-02 06:51:25 -06:00
Ahtisham Shahid
af033d25cc Added v2 for confrim email backward compatiblity
updated tests

fixed style issue

Fixed tests for v2 api
2020-06-02 13:01:58 +05:00
Emma Green
2076a8a9bb get-FBE-info-from-temp-management-command 2020-06-01 21:06:31 -04:00
David Ormsbee
25f22ddc56 Merge pull request #24117 from edx/revert-24112-ddumesnil/fix-date-ordering-AA-158
Revert "AA-158: Fix date ordering for multiple events on the same date"
2020-06-01 20:25:16 -04:00
Adam Stankiewicz
ecfda2c115 bump edx-enterprise (#24115) 2020-06-01 19:46:24 -04:00
David Ormsbee
71a38cf449 Revert "AA-158: Fix date ordering for multiple events on the same date" 2020-06-01 19:45:47 -04:00
Carla Duarte
277e34f384 AA-120: Course Tools API
Created an API to be called by the Outline Tab
in the Course Home MFE. This API currently only
returns Course Tool data. Preemptively using the
`course_home_api/outline/v1/...` naming scheme to
make way for more Outline Tab data within this API.
2020-06-01 16:14:47 -04:00
Kellie Selinka
6281b0a96b Merge pull request #24113 from edx/ks_release_enterprise/ent-2577
upgrade requirements to new edx-enterprise version
2020-06-01 16:02:44 -04:00
Calen Pennington
07d9d74b7c Remove extraneous variables from dates_banner.html 2020-06-01 15:48:46 -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
Kellie Selinka
97494f8999 upgrade requirements to new edx-enterprise version
ENT-2577
2020-06-01 15:24:39 -04:00
Dillon Dumesnil
109e608e9c Merge pull request #24112 from edx/ddumesnil/fix-date-ordering-AA-158
AA-158: Fix date ordering for multiple events on the same date
2020-06-01 12:12:06 -07:00
Jeff LaJoie
ee13cd8819 Merge pull request #24110 from edx/jlajoie/bump-edx-when
Bumps edx-when to 1.2.4
2020-06-01 14:19:06 -04:00
Dillon Dumesnil
dbcff660cc AA-158: Fix date ordering for multiple events on the same date
This change will prefer putting assignments before other course
events (such as end date or verification deadline date) in the
case where they share the same date.
2020-06-01 12:15:20 -06:00
Jeff LaJoie
d777712387 Bumps edx-when to 1.2.4 2020-06-01 13:30:25 -04:00
Robert Raposa
59e0f6efcf ARCHBOM-1244: Add code_owner custom metric (#24084)
* includes ADR for Monitoring by Code Owner
* add monitoring middleware to add the following custom metrics:
- code_owner: The owning team mapped to the current view.
- code_owner_mapping_error: If there are any errors when trying to
        perform the mapping.
- view_func_module: The __module__ of the view_func, which can
        be used to find missing mappings.
* add script to generate `settings.CODE_OWNER_MAPPINGS` from
     a csv file.

ARCHBOM-1244
2020-06-01 12:27:38 -04:00
edX cache uploader bot
a976a71623 Updating Bokchoy testing database cache (#24076) 2020-06-01 12:19:26 -04:00
Simon Chen
d0f99ec778 MST-264 Fix bug for course staff user in unrelated course (#24099)
* MST-264 Fix the wrong assumption that a course_staff of a course not related to programs should be in course_staff logic
2020-06-01 11:11:37 -04:00
Diana Huang
215e2d0530 Merge pull request #24051 from edx/diana/bridgekeeper-cleanup
Move to bridgekeeper upstream.
2020-06-01 10:08:24 -04:00
edX requirements bot
85e2575f83 Updating Python Requirements (#24108) 2020-06-01 14:07:57 +00:00
Ahtisham Shahid
d66cfcfe46 updated cms pages 2020-06-01 19:07:30 +05:00
Ahtisham Shahid
5d9555f6a3 removed technical email from module error 2020-06-01 19:07:30 +05:00
Nick
d8ac4621fd Merge pull request #24090 from edx/ndalfonso/AA-117-mfe-dates-tab-waffle-flag
AA-117 mfe date tab waffle flag
2020-06-01 09:37:12 -04:00
ericfab179
01f56ba530 Make upgrade requirement files. (#24078)
Remove pandas requirement.
Replace pandas functionality with itertools.group_by.
2020-06-01 09:08:09 -04:00
edX Transifex Bot
740550491d fix(i18n): update translations 2020-05-31 17:35:59 -04:00
Ned Batchelder
24bc26867b Merge pull request #24068 from eduNEXT/defz/3521-resourcewarning-unclosed-file
Added 'with' statement to close file before returning
2020-05-29 16:43:54 -04:00
Feanil Patel
a88da3b5cd Merge pull request #24089 from edx/feanil/improve_import_error_logging
Log what thing we failed to import.
2020-05-29 15:52:45 -04:00
Diana Huang
92b10b564c Update to handle new format of ManyRelation. 2020-05-29 15:01:09 -04:00
Feanil Patel
e32c12b531 Merge pull request #24097 from edx/feanil/update_codeowners
Remove github teams that don't map to anything useful right now.
2020-05-29 13:26:43 -04:00